what are the `kwargs`?
all the optimization options and convergence criteria are hard coded