Analysis of Josephson junctions switching time distributions for the detection of single microwave photons. (January 2021)