Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weird bright feature leads to spurious redshifts on 10184/116955 #11

Closed
schlafly opened this issue Jan 24, 2022 · 14 comments
Closed

Weird bright feature leads to spurious redshifts on 10184/116955 #11

schlafly opened this issue Jan 24, 2022 · 14 comments
Labels
dailyops For listing individual dailyops problems doesnotblockmtl This dailyops issue does not block MTL updates; tiles are marked good.

Comments

@schlafly
Copy link
Contributor

Weird bright feature on r8; presumably a hot row or something?
https://data.desi.lbl.gov/desi/spectro/redux/daily/tiles/cumulative/10184/20220106/tile-qa-10184-thru20220106.png
Pretty clear in sframe:
https://data.desi.lbl.gov/desi/spectro/redux/daily/nightqa/20220106/sframesky-20220106.pdf

Leaving this as unsure for now.

@schlafly schlafly added the dailyops For listing individual dailyops problems label Jan 25, 2022
@Waelthus
Copy link

Looks like r8-D had a hot row indeed

image

@schlafly
Copy link
Contributor Author

@julienguy , @sbailey , do we have a policy for what we want to do with these? Options:

  1. Mark the row as bad and reprocess
  2. Mark the amp as bad and reprocess
  3. Mark the exposure as bad and reobserve

This is rare enough that (3), while wasteful, isn't completely crazy. But we should make a policy.

@julienguy
Copy link

  1. is what the current pipeline is set up to do: either we mark 'manually' this amplifier as bad in the exposures table, or the code auto-detects a bad amplifier with an overscan step measurement greater than 5 electron (this apparently did not work well for that exposure).

Looking at this exposure, the header keyword OSTEPD (overscan step for amplifier D) has a value of 4.67 electrons, and the threshold to declare the amplifier bad is set at 5 electrons. However, because OSTEPD>2, overscan subtraction per row was triggered, see in header:
OMETHD = 'PER_ROW ' / use average overscan per row

Quite unexpectedly, it is the overscan subtraction per row that generates this horizontal band (!) ...

  • this is caused by a negative trail from a large charge deposit from a cosmic ray or radioactive decay bleeding in the overscan region (see image below)
  • we have in place this 'dark trail correction' (see PR Darktrail desispec#798 and issue Dark trails in LBL CCDs desispec#796), but it comes with calibration parameters that have to be tuned for each CCD.
  • I am opening a ticket on this in desispec.

Screenshot from 2022-01-27 10-28-46

@djschlegel
Copy link

The underlying issue is CTE from cosmics (desihub/desispec#1619). I've added this to that ticket as another example. I think it's common enough on Z8-D, Z3-D, Z5-8 that we don't want to throw out these data, but rather figure out how to mitigate in the spectro pipeline.

@sbailey
Copy link
Contributor

sbailey commented Jan 31, 2022

@schlafly it appears that tile 10184 was flagged as GOOD and thus got slurped up in the archiving on January 25 (last Tuesday) before the fix in PR desihub/desispec#1636 and before reprocessing could have fixed this.

Please confirm whether that is ok (i.e. "good enough"), or whether we need to reprocesses this petal and re-MTL update this tile (to be interleaved with Fuji). I think the danger is the possibility of LyA QSOs getting overridden by bogus low-z galaxy fits due to this overscan dip feature.

@djschlegel
Copy link

Note there have been no overlapping DARK tile observations of this tile between when it was observed (20220106) through last night (20220130), so it would even be possible to just back out these MTL updates and load new ones.

@araichoor
Copy link
Contributor

For what is worth, the newlya identified Ly-a diagnosis for this tile looks ok:
Screen Shot 2022-01-31 at 10 03 03 AM
It is the point at (x,y) ~ (2.6, 80) in this plot: the y-value is not significantly below the expectation.
Though we are talking here about one petal only, i.e. one tenth of stats, so not sure how much the effect would be visible.

@ashleyjross
Copy link
Contributor

ashleyjross commented Jan 31, 2022 via email

@schlafly
Copy link
Contributor Author

No, it looks like I marked it as good with the commit "Moving more tiles with marginal problems documented at desisurveyops from unsure to good." I don't think it was my intent to get this one---I didn't mark this problem as "doesnotblockmtl"---sorry. For my two cents it doesn't mess with LyA decisions and we can safely ignore. If we want to reincorporate, I'd rather do that through the "normal" MTL reincorporation mechanism than backing out---it just seems safer and more like standard procedure.

@geordie666
Copy link

My two cents: I agree with Eddie that in general, now we have the reprocessing code for MTL, we should re-archive these sorts of tiles and then apply the MTL reprocessing code, instead of backing tiles out.

Backing out is tempting, in this case, as it's so simple. But, I'd rather have a standard procedure where once a month (say) we re-archive and re-process any problematic tiles. Otherwise we'll be tempted to end up back in a situation where we're doing something "special" on a semi-regular basis.

@ashleyjross
Copy link
Contributor

ashleyjross commented Jan 31, 2022 via email

@schlafly
Copy link
Contributor Author

No, the software fix just fixes this and the data is fine, so nothing is lost if the LyA decisions are okay.

And we can discuss again at the survey-ops telecon, but I understand the new standard to be that if we're not messing up LyA decisions, we can proceed with MTL updates. So marking half a petal later as bad is something that I would say need not hold up MTL updates.

@ashleyjross
Copy link
Contributor

ashleyjross commented Jan 31, 2022 via email

@schlafly schlafly added the doesnotblockmtl This dailyops issue does not block MTL updates; tiles are marked good. label Feb 1, 2022
@schlafly
Copy link
Contributor Author

Fixed in software, added to closed issues, and closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dailyops For listing individual dailyops problems doesnotblockmtl This dailyops issue does not block MTL updates; tiles are marked good.
Projects
None yet
Development

No branches or pull requests

8 participants