Some reorganization of ptsrc_photom_uvis.py, untested as yet.