maximum likelihood estimation poisson python