The six-hour flyby, which swooped to within 4,070 miles of the lunar surface, came six days into a spaceflight.