Estimating parameters of a function for curve fitting

You might try Optim.jl.