Real-time measurements, rare events and photon economics