It seems to me that your function SS
vanishes on the two axes k1=0
and k2=0
, and it is positive elsewhere. No wonder that the numerical minimization method converges to a point very close to k1=0
. If you are expecting a minimum point elsewhere, then you may check again how you defined the functions.