Least square with multi-value function

I found the problem. The initial parameter vector was a row. It needs to be a column:

p0 = [ α1, α2, k, T2 ]