bug fixes
 * fixed a problem with the peakmin/peakmax vs fluxmin/fluxmax parameters
   for tweakreg (we currently can't use fluxmin/fluxmax)