Photon comes out before it goes in.
I don't really understand it either, but keep in mind this is happening at nearly lightspeed, so it's not like the detector is lighting up right before they press the button to emit the photon.
Which makes me wonder, what happens if you combine this with "slow light" effects?