Up to now I was running measureCoaddSources.py with the folloing configuration file:
import lsst.meas.extensions.shapeHSM
config.measurement.plugins.names |= ["ext_shapeHSM_HsmShapeRegauss", "ext_shapeHSM_HsmSourceMoments",
"ext_shapeHSM_HsmPsfMoments"]
config.measurement.plugins['ext_shapeHSM_HsmShapeRegauss'].deblendNChild=''
config.measurement.slots.shape = "ext_shapeHSM_HsmSourceMoments"
import lsst.meas.modelfit
import lsst.shapelet
config.measurement.plugins.names |= ["modelfit_GeneralShapeletPsfApprox", "modelfit_DoubleShapeletPsfApprox", "modelfit_CModel"]
config.doApCorr=True
But I am getting warnings like the following:
Cannot aperture correct modelfit_CModel_dev because could not find modelfit_CModel_dev_flux or modelfit_CModel_dev_fluxSigma in apCorrMap
And while running mergeCoaddMeasurements I get:
Can't find flag ext_photometryKron_KronFlux_flag in schema: "Field 'ext_photometryKron_KronFlux_flag' not found in Schema."
What should I add in the configuration file to avoid this ?