Negative Binomial Likelihood Function In Python