Nonlinear logistic regression python. My interest in using logit regression was purely academic