debugging and suppressing poisson distribution for single-photon flashs.