Just in case, the weights provided to LsqFit.jl should be inverse variances. See this other thread.
LsqFit.jl