Before the shooting, local law enforcement had noticed Crooks pacing around the edges of the rally, peering into the lens of a rangefinder toward the rooftops behind the stage where the president later stood, officials have told The Associated Press.