Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: obs_lsst
-
Story Points:5
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
In the analysis done on DM-16875, the suggestion was made to override the default config settings for the source selection criteria for consideration of a given source as a suitable candidate for the PSF modeling. In particular, the default setting of a minimum flux of 12500 (raw counts, I believe) seems way too high and, ideally, the cut would not be based on flux, but rather on S/N. Justification for this based on HSC data as well as the S/N thresholding functionality was added on DM-17043. [Note that the fluxMin value has long been overridden to 4000 in obs_subaru].
It seemed this change was widely agreed upon by those involved in the imsim/DC2 Run2.2i processing and was adopted – in addition to several other source selection overrides for other calibration phases – in at least some of the DESC workflows (see, e.g. the overrides in their "dc2/run2.2" branch run: https://github.com/lsst/obs_lsst/blob/dc2/run2.2/config/imsim/processCcd.py#L39-L42
and note the other overrides in that file). Unfortunately, during an investigation on PREOPS-885, it was noted that these overrides have not found their way into the master/main config files in obs_lsst, so they are not currently in effect for any processing based off the master/main configs. This situation should be rectified.
Some care may be required in the actual S/N threshold set and whether the other updates in the file pointed to above should also be adopted. In particular, I would love to hear from anyone involved the DC2 processing campaigns as to the validation of those choices (I added a few watchers as a first guess, but please do add/remove as you see fit!) I also have no idea what was used in the DP0.1 processing run, so if anyone could chime in on that, it would be greatly appreciated!
I have attached a couple of plots based on our most recent DC2 processing run (
DM-32071). These are the equivalents of the HSC-based ones presented onDM-17043. The histograms indicate the distributions for two fluxMin values (the default 12500 and the override in 4000) and which stars were actually used in the PSF modeling. There are dashed vertical lines at S/N = 20 and 100 (just to guide the eye).The u-band is likely to be the most affected, and is often where SFM failures due to poor PSF modeling occur (see examples on PREOPS-855), so I'll highlight a randomly selected one here (the labels got cut off in the plot...the visit is 277060):
As you can see, the flux > 12500 cut roughly coincides with a S/N ~ 70, so we are missing out on a significant number of reasonably high S/N.
And here is a randomly selected g-band visit (193827):
Here the flux cut roughly coincides with S/N ~ 50, so we are not missing as significant a fraction.
Feel free to peruse these plots for any visit in the DC2 processing at:
https://lsst.ncsa.illinois.edu/~lauren/DC2.2i_gen2/w_2021_40/plots/
and the plots of interest are in:
BAND/tract-3829/visit-NNNN/plot-vNNNN-BAND-base_PsfFluxSn_raw-hist.png
where BAND is the single character band label and NNNN is the visit number
The value used in the workflow I point to in the description was S/N > 20 which, based on these plots, may seem a bit on the low side, but if there has been some battle testing (in particular demonstrating that is at least does no harm, but ideally also provides better PSF models/fewer failures in some cases) using it, I'm all ears!