making lsqnonlin  using scipy's curve_fit
bla