Peter,
Atlas track throughout.
Do you have both outside rails connected together? If not, try jumpering them together in one of the offending blocks.
Also, meter connectivity between each rail and the adjacent rails within each offending block.
Your problem is almost certainly a loss of contact between the engine's pickup rollers or wheels, and the track, or a loss of connectivity between a power wire and the track..