``minimizer_kwargs`` is mutable. It should be `None`, or maybe better, put it at the end as ``**minimizer_kwargs``.