- SoS didn't realize that plate 9585 were and ELG plate and didn't trigger the special reductions.
- The red camera SN2 were all coming out to be zero.
To correct the first issue, I first tried doing a re reduction to understand what is going wrong. Everything went well in the re reduction and the SoS was correctly recognizing the plate as an ELG plate. I do not know what went wrong during night observations. I just stopped the SoS-deamon and re-started it.
The second issue was more challenging. I first had to understand what is triggering the SoS SN2 to be 0. After much poking around, I found that there are no objects in the magnitude range [z-band 21-22] where the SN2 fitting is done. I checked this for all the plates in that tiling and none had any sources in this magnitude range. I compared it with several other ELG chunks [SGC, test plates] etc. Clearly, only this chunk had this issue. I plotted the magnitude distributions of ELG_NGC and ELG_SGC chunks for comparison. Clearly, there is a difference in the distributions. See the plot below. If this magnitude difference is real, we had to devise a new strategy to estimate the plate SN2 and plate completeness. Else, we have to update the database with correct magnitudes. I contacted Johan and requested him to take a look at this. (He supplied the ELG targets).
The next morning, Johan verified that there was a bug in his targeting code which copied wrong magnitudes. He sent me a target file with updated magnitudes. Now, I basically had to modifiy all the relevant files in the database which have a dependence on magnitudes. I did a thorough scan of the platelist-dir and found out that the following files need to be modified,
- '$PLATELIST_DIR/runs/2016.11.[a,b].eboss /plPlugMapP-????.par'
- '$PLATELIST_DIR/plates/009?XX/00????/plateHoles-00????.par'
- '$PLATELIST_DIR/plates/009?XX/00????/plateHolesSorted-00????.par'
- '$PLATELIST_DIR/plates/009?XX/00????/plPlugMapP-????.par'
After my update, everything is working fine. What I did for in between days is that I updated the relevant files at the observatory and did a rerun early morning. After seeing the correct SoS output, I modified the plug request for that day. I had to wake up very early in the morning to do this re run so that I can send the modified plug request by 8 am in the morning.
Altogether, last week was too hectic and tiring. But, happy that I was able to resolve the issue all by myself.

No comments:
Post a Comment