logistic regression convergence