The SPMG2 basis function has 2 parameters, one for the
basic gamma variate function, one for its derivative.
It is likely you want the first beta. The derivative
is often ignored.
The -stim_maxlag option is mostly antiquated at this
point. It does not seem to be hurting here since you
used 0, but it does not help and it may be confusing.