Writing out photon details