Test range end was chosen automatically to either be at 30 ns or at the point where less than 0.1% of counts were obtained. Data points were upsampled via linear interpolation with added Poisson noise for improved numerical stability and then subjected to optimization with 100 lifetimes linearly spaced between 0.001 and 10 ns.