Using LsqFit to make a line using a model

“”"
@. model(x, p) = (p[1] + p[2]*x) + (p[3]/(p[5]√(2π) ))exp(-(x-p[4])^2/(2p[5]^2))
end
“”"
I have to fit this data into a steppere line graph I have and I can’t figure out how to use LsqFit to integrate the data.