Adds DA/DB specification in the photometry files

Adds two 'sub-stages'. 31 is an explicit DA (same behavior as default), and 32 is an explicit DB (sets wdType = DB on primary and secondary)