The distance and spectrum of the Apollo gamma-ray burst