<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 16:41:41 JST 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>PFS-JIRA</title>
    <link>https://pfspipe.ipmu.jp/jira</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.3.4</version>
        <build-number>803005</build-number>
        <build-date>13-09-2019</build-date>
    </build-info>


<item>
            <title>[INSTRM-1976] photometric zero-point from AG</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/INSTRM-1976</link>
                <project id="10300" key="INSTRM">Instrument control development</project>
                    <description>&lt;p&gt;The obsproc working group would like to suggest that we measure the photometric zero-point in each AG exposure.&#160; This will allow us to measure the median zero-point and rms during an PFS exposure, which will be very useful for us to do an initial quality assessment at the summit in real-time.&#160; We consider this functionality crucial for the future PFS science operation.&#160; The color-term to translate the Gaia photometry into the AG system needs to be estimated.&lt;/p&gt;</description>
                <environment></environment>
        <key id="23428">INSTRM-1976</key>
            <summary>photometric zero-point from AG</summary>
                <type id="3" iconUrl="https://pfspipe.ipmu.jp/jira/secure/viewavatar?size=xsmall&amp;avatarId=10518&amp;avatarType=issuetype">Task</type>
                                            <priority id="10000" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/priorities/medium.svg">Normal</priority>
                        <status id="3" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/inprogress.png" description="This issue is being actively worked on at the moment by the assignee.">In Progress</status>
                    <statusCategory id="4" key="indeterminate" colorName="yellow"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="karr">karr</assignee>
                                    <reporter username="msyktnk">Masayuki Tanaka</reporter>
                        <labels>
                            <label>EngRun</label>
                    </labels>
                <created>Thu, 11 May 2023 07:57:40 +0000</created>
                <updated>Tue, 30 Jan 2024 00:10:03 +0000</updated>
                                                                            <component>ics_agccActor</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                <comments>
                            <comment id="32710" author="yuki.moritani" created="Thu, 18 May 2023 06:10:41 +0000"  >&lt;p&gt;(for recording) Jennifer will work on after she improved conversion formula using the 2023 April/May run.&lt;/p&gt;</comment>
                            <comment id="34271" author="karr" created="Tue, 15 Aug 2023 09:51:57 +0000"  >&lt;p&gt;I&apos;m working on the colour-term from GAIA to the AG cameras, and have the sample code from Arnaud for the calculation.&#160;&lt;/p&gt;

&lt;p&gt;Have any standard stars been systematically observed with the AG?&#160; If so, what are the stars/visit IDs. Otherwise, I can run through the observed stars looking for appropriate candidates and observing conditions.&#160;&lt;/p&gt;</comment>
                            <comment id="34275" author="msyktnk" created="Thu, 17 Aug 2023 06:56:34 +0000"  >&lt;p&gt;If we do not care too much about the absolute zero-point of the AG, then&lt;br/&gt;
1 - select visits with clear skies&lt;br/&gt;
2 - identify Gaia stars in those visits&lt;br/&gt;
3 - retrieve G, Bp, and Rp photometry of the stars from the gaiaDB&lt;br/&gt;
4 - plot AG_mag - G against Bp - Rp, where AG_mag = 2.5log(AG_flux) + zero-point&#160; (you might want to worry about the vignetting in AG_flux)&lt;br/&gt;
5 - fit a curve&lt;br/&gt;
6 - set the AG zero-point so that AG_mag - G =0 at Bp - Rp = 0&lt;br/&gt;
You end up with AG_mag = G + f(Bp - Rp) and I think this is what we want.&lt;/p&gt;</comment>
                            <comment id="34276" author="karr" created="Thu, 17 Aug 2023 07:03:24 +0000"  >&lt;p&gt;Thanks, that matches what I was planning if there weren&apos;t systematic calibration observations.&#160;&lt;/p&gt;</comment>
                            <comment id="34618" author="karr" created="Fri, 1 Sep 2023 07:12:29 +0000"  >&lt;p&gt;Filtering the data by seeing (using the spot size), flux (eliminating faint sources), and sources near the edge of the detector (via the flags), gives sets of reasonably well behaved fluxes/colours. Fitting each set of sources using a linear fit with outlier rejection to derive the colour term and a zero point&#160; produces generally consistent values, with some scatter. Looking at the fits, in some fields, particularly those with a small number of sources, the outlier rejection obviously needs to be fine-tuned.&#160;&lt;/p&gt;</comment>
                            <comment id="34637" author="msyktnk" created="Mon, 4 Sep 2023 00:54:45 +0000"  >&lt;p&gt;Could you share a few plots? I think we want a higher order function to fit the data. Probably 2nd or 3rd order polynomials. As Jim mentioned the other day, we can estimate the color term using the response functions and a stellar library. I can do that and you can compare it with yours, if that is useful.&lt;/p&gt;</comment>
                            <comment id="34813" author="karr" created="Wed, 13 Sep 2023 07:50:18 +0000"  >&lt;p&gt;For the plots below&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;Data filtered by magnitude (GAIA g &amp;lt; 18.5)&lt;/li&gt;
	&lt;li&gt;Seeing (via median FWHM in frame, excluding camera 2)&lt;/li&gt;
	&lt;li&gt;sources near edge of image removed&lt;/li&gt;
	&lt;li&gt;linear fit with outlier rejection&lt;/li&gt;
	&lt;li&gt;each exposure was fit separately, as there&apos;s enough variation in transparency over the observations to make the fitting&#160;&lt;/li&gt;
	&lt;li&gt;the derived parameters of the fits plotted in a histogram&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;for the plot of AGmag - Gaia G vs GAIA rp - GAIA bp the best slope and intercept&#160; are -0.30 and -30.45 (with a bin size of 0.01).&lt;/p&gt;

&lt;p&gt;The first two figures show the histograms; the results are consistent within the bin size for small changes in limiting magnitude;&#160; increasing the limiting magnitude, lowering the seeing threshold or combining images produces a larger scatter.&#160;&lt;/p&gt;

&lt;p&gt;The next two pairs of plots show example colour and magnitude plots for two fields, one with a small number of sources, one with a large.&#160;&lt;/p&gt;

&lt;p&gt;Higher order fits will, I think, need to be left for systematically taken measurements of standard stars in photometric conditions.&#160;&lt;/p&gt;</comment>
                            <comment id="34814" author="karr" created="Wed, 13 Sep 2023 07:51:02 +0000"  >&lt;p&gt;&lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/16367/16367_a_2.5_18.5_a.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="34816" author="msyktnk" created="Wed, 13 Sep 2023 08:23:17 +0000"  >&lt;p&gt;In your mag_AG - G vs. Bp - Rp plots, I see stars have Bp-Rp ~ -2. This is too blue. See, e.g.,&lt;/p&gt;

&lt;p&gt;&#160;&lt;a href=&quot;https://sci.esa.int/web/gaia/-/60198-gaia-hertzsprung-russell-diagram&quot; class=&quot;external-link&quot; rel=&quot;nofollow&quot;&gt;https://sci.esa.int/web/gaia/-/60198-gaia-hertzsprung-russell-diagram&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="35276" author="karr" created="Thu, 28 Sep 2023 10:24:03 +0000"  >&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/16520/16520_agCam.pdf&quot; title=&quot;agCam.pdf attached to INSTRM-1976&quot;&gt;agCam.pdf&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="35277" author="karr" created="Thu, 28 Sep 2023 10:25:27 +0000"  >&lt;p&gt;The PDF attached above has notes about the AG calibration and validation of measured results.&#160;&lt;/p&gt;</comment>
                            <comment id="35323" author="rhl" created="Sat, 30 Sep 2023 12:59:30 +0000"  >&lt;p&gt;I&apos;m assuming that this ticket is where the analysis for &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/browse/INSTRM-2073&quot; title=&quot;Verify AG photometry calculations&quot; class=&quot;issue-link&quot; data-issue-key=&quot;INSTRM-2073&quot;&gt;INSTRM-2073&lt;/a&gt; is being done.&lt;/p&gt;

&lt;ol&gt;
	&lt;li&gt;Why are you fitting for the slope of the fit to Gaia?  The only reason for that would be concerns about non-linearity.  Are we worried about non-linearity in the AG chips?  If so, what data do we have?  And should we take some more, e.g. photometry as a function of sky background.   I don&apos;t think this is likely to be a first order problem (a percent or so at worst?) so for now please set the slope to be 1.0 and only fit the offsets.  Is this the cause of the non-linearity you report below c. 19.5;  in particular, is this onset independent of the sky brightness?  In a similar way, we should be fitting the slope of the colour correction once and for all for GAIA v. PFS, unless you have evidence that it&apos;s different for the different AGs (possible, but unlikely).&lt;/li&gt;
	&lt;li&gt;What is causing the outliers in the plots v. GAIA?  When you look at them, does something jump out?   What is the RMS to the fit after clipping?  Is it consistent with the expected errors in the photometry (both GAIA and PFS)?&lt;/li&gt;
	&lt;li&gt;If you don&apos;t have enough GAIA stars, have you looked at the match to SDSS or PanSTARRS?  If you haven&apos;t done this, and don&apos;t have the tooling setup to do it, ignore this for now.  If you &lt;em&gt;do&lt;/em&gt; have more catalogue matches available, though, it&apos;ll be easier to understand our photometry.&lt;/li&gt;
	&lt;li&gt;Please remake all the mag v. mag plots as plots with the &lt;em&gt;residual&lt;/em&gt; on the y-axis (e.g. &lt;tt&gt;AGMag - G&lt;/tt&gt; v. &lt;tt&gt;G&lt;/tt&gt;).  Please make these &lt;em&gt;after&lt;/em&gt; as well as before the colour correction derived from GAIA &lt;tt&gt;BP - RP&lt;/tt&gt;.&lt;/li&gt;
	&lt;li&gt;Is your photometry independent of seeing?  If not, what aperture would you have to use to make it seeing independent (for bright stars, of course)?&lt;/li&gt;
	&lt;li&gt;How well can you tie the photometry from the different AGs together?  E.g. what&apos;s the mean scatter, both raw and after you&apos;ve solved for the side-to-side and chip-to-chip offsets (possibly as a function of seeing)&lt;/li&gt;
	&lt;li&gt;How consistent are the zero points from standard catalogues derived from bright and faint stars (after a colour cut to restrict the fits to reasonable coloured objects, e.g. the ones that you think will have g-r of c. 0.0?   How about the other cut into red and blue samples?  You&apos;ll probably want to do this once you&apos;ve established that each AG chip is on the same system.&lt;/li&gt;
	&lt;li&gt;How much do the fluxes of individual stars vary during an exposure?  How do these correlate between stars and between AG chips?   If you take out the average variability, how consistent are the fluxes?  Can you find nights when there doesn&apos;t seem to be any transparency variation?&lt;/li&gt;
	&lt;li&gt;Once you&apos;ve taken out transparency variations, is the scatter in the flux of each star consistent with your quoted errors?&lt;/li&gt;
&lt;/ol&gt;
</comment>
                            <comment id="35366" author="yuki.moritani" created="Thu, 5 Oct 2023 07:45:20 +0000"  >&lt;p&gt;(This is for recording) Jennifer will work on 1. and 4. first. Some items may be addressed in the new tickets.&lt;/p&gt;</comment>
                            <comment id="35453" author="karr" created="Fri, 13 Oct 2023 10:53:43 +0000"  >&lt;p&gt;An updated report is attached.&#160;&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/16563/16563_agCamNew.pdf&quot; title=&quot;agCamNew.pdf attached to INSTRM-1976&quot;&gt;agCamNew.pdf&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                            <comment id="36777" author="yuki.moritani" created="Wed, 24 Jan 2024 16:08:18 +0000"  >&lt;p&gt;(Recapping activities in the last a few months)&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;For photometry itself, Jennifer
	&lt;ul&gt;
		&lt;li&gt;applied bias and flat-fielding, but the resultant scattering didn&apos;t change&lt;/li&gt;
		&lt;li&gt;changed parameter for sep, but&#160; the resultant scattering didn&apos;t change&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;For fitting of mag(GP) vs mag(AG),
	&lt;ul&gt;
		&lt;li&gt;She filtered objects with bad seeing, as well as objects flagged as non-MS in gaia catalogue.&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;Applying the fitting to each half region of each camera separately, variation gets small (0.05mag), and residual deviates from linear at fainter sources&lt;/li&gt;
	&lt;li&gt;She will upload the latest version of the slides that she explained at ICS/PFI telecon in November/December 2023 by the end of this week, in order to see if the current formula is good enough or not&lt;/li&gt;
	&lt;li&gt;I also requested to use the following visits where the same stars were observed in different AGs, to check her fitting
	&lt;ul&gt;
		&lt;li&gt;visit = 98353 &amp;#8211; 98360 (ngc6633, PA=90)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;ul&gt;
	&lt;li&gt;
	&lt;ul&gt;
		&lt;li&gt;visit = 98371 &amp;#8211; 98378 (ngc6633, PA=-90)&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="36868" author="karr" created="Tue, 30 Jan 2024 00:10:02 +0000"  >&lt;p&gt;Report is attached.&#160;&lt;span class=&quot;nobr&quot;&gt;&lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/attachment/17094/17094_report.pdf&quot; title=&quot;report.pdf attached to INSTRM-1976&quot;&gt;report.pdf&lt;sup&gt;&lt;img class=&quot;rendericon&quot; src=&quot;https://pfspipe.ipmu.jp/jira/images/icons/link_attachment_7.gif&quot; height=&quot;7&quot; width=&quot;7&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/sup&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10000">
                    <name>Blocks</name>
                                            <outwardlinks description="blocks">
                                        <issuelink>
            <issuekey id="24011">INSTRM-2072</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="24012">INSTRM-2073</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="16369" name="371097_col.png" size="35499" author="karr" created="Wed, 13 Sep 2023 07:53:01 +0000"/>
                            <attachment id="16368" name="371097_flux.png" size="23443" author="karr" created="Wed, 13 Sep 2023 07:53:01 +0000"/>
                            <attachment id="16371" name="385980_flux.png" size="18496" author="karr" created="Wed, 13 Sep 2023 07:53:09 +0000"/>
                            <attachment id="16370" name="385981_col.png" size="21392" author="karr" created="Wed, 13 Sep 2023 07:53:09 +0000"/>
                            <attachment id="16367" name="a_2.5_18.5_a.png" size="14729" author="karr" created="Wed, 13 Sep 2023 07:52:34 +0000"/>
                            <attachment id="16563" name="agCamNew.pdf" size="496450" author="karr" created="Fri, 13 Oct 2023 10:53:39 +0000"/>
                            <attachment id="16520" name="agCam.pdf" size="423966" author="karr" created="Thu, 28 Sep 2023 10:24:01 +0000"/>
                            <attachment id="16366" name="b_2.5_18.5_a.png" size="16348" author="karr" created="Wed, 13 Sep 2023 07:52:34 +0000"/>
                            <attachment id="17094" name="report.pdf" size="372382" author="karr" created="Tue, 30 Jan 2024 00:10:01 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                <customfield id="customfield_10500" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10010" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|zzt0xa:r</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10005" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue id="167">Eng13Oct</customfieldvalue>
    <customfieldvalue id="172">PreEngRun15Mar</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                    </customfields>
    </item>
</channel>
</rss>