Fit a simple slope and constant to many healpixels
xdata should have keys: sunAlt hpid
args: 0: slope 1:hpid: magnitudes hpid+1:2*hpid: constant offsets
simple_twi()