rules for performing the extended source fits and petrosian analysis are defined in psphotChooseAnalysisOptions.c