removed print statements from poisson_fit_function