Custom Maximum Likelihood Models in Python with Statsmodels