finished logit with optim()