<!-- 
RSS generated by JIRA (8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b) at Sat Feb 10 15:35:47 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>[PIPE1D-33] Failed to compute continuum fit for some spectra</title>
                <link>https://pfspipe.ipmu.jp/jira/browse/PIPE1D-33</link>
                <project id="10700" key="PIPE1D">DRP 1D pipeline</project>
                    <description>&lt;p&gt;Running the latest master branch (as of Nov. 9), the following error occurs:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(lsst-scipipe-1172c30) [yabe@fe B0]$ cat process_spectra.log 2020-11-09 13:21:23,830 :: INFO :: Running process_spectra 0.14.0 2020-11-09 13:21:23,892 :: INFO :: Loading /gpfs02/work/yabe/pfs/drp/pipe_e2e/regular_processing/pipe1d_results/calibration/linecatalogs/linecatalogamazedvacuum_F1_noHepsilon.txt 2020-11-09 13:21:23,931 :: INFO :: Loading /gpfs02/work/yabe/pfs/drp/pipe_e2e/regular_processing/pipe1d_results/calibration/linecatalogs/linecatalogamazedvacuum_F2_noHepsilon-linemeas.txt 2020-11-09 13:21:23,931 :: INFO :: Loading /gpfs02/work/yabe/pfs/drp/pipe_e2e/regular_processing/pipe1d_results/calibration/templates/BC03_sdss_tremonti21 2020-11-09 13:22:00,255 :: ERROR :: Can&apos;t process : &#160; Operator-Linemodel: Failed to compute continuum fit. Negative amplitude detected! aborting...
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;(lsst-scipipe-1172c30) [yabe@fe B0]$ cat amazed.log Info:&#160; Loaded 21 templates for category galaxy. Info:&#160; Processing context initialization Info:&#160; Continuum estimation on input spectrum: using IrregularSamplingMedian Info:&#160; Continuum estimation - IrregularSamplingMedian - medianKernelWidth = 400.00 Info:&#160; =============================================== Info:&#160; &amp;lt;proc-spc&amp;gt;&amp;lt;pfsObject-00000-00000-0,0-0000000000000004-004-0x44b41c65176b07dc.fits&amp;gt; Info:&#160; Processing spc:pfsObject-00000-00000-0,0-0000000000000004-004-0x44b41c65176b07dc.fits (CLambdaRange: 3853.599854-11999.200195:0.800049) Info:&#160; Stellar solve enabled : yes Info:&#160; &#160; &#160; Processflow - Loading star templates catalog : templates/stars_templates_vlba37_2018 Info:&#160; Loaded 37 templates for category star. Info:&#160; stellar-solve: Loaded (category=star) template count = 37 Info:&#160; Stellar fitting redshift range = [-0.00100, 0.00100], step=0.000050 Info:&#160; Processing stellar fitting Info:&#160; Method parameters: Info:&#160; &#160; &#160; -overlapThreshold: 1.000 Info:&#160; &#160; &#160; -component: nocontinuum Info:&#160; &#160; &#160; -interp: precomputedfinegrid Info:&#160; &#160; &#160; -IGM extinction: no Info:&#160; &#160; &#160; -ISM dust-fit: yes Info:&#160; &#160; &#160; -pdfcombination: bestchi2 Info:&#160; &#160; &#160; -saveintermediateresults: 0 Info:&#160; Info:&#160; Iterating over 1 tplCategories Info: &#160; &#160; trying star (37 templates) Info:&#160; chisquare2solve: Pdfz computation Info:&#160; chisquare2solve: using cstLog = 332733.329288 Info:&#160; &#160; &#160; chisquare2solve: Pdfz combination - BestChi2 Info:&#160; Found 1 z-candidates Info:&#160; Computing candidates Probabilities Warning:&#160; &#160; Deltaz: Deltaz computation failed for half range 5 samples Warning:&#160; &#160; Deltaz: Deltaz computation failed for half range 2 samples Error:&#160; &#160; Deltaz: Deltaz for candidate 0.000500 couldnt be calculated Info:&#160; &#160; Integrating 1 candidates proba. Info:&#160; &#160; &#160; CPdfCandidateszResult::Compute pdf peaks info (method=direct integration) Info:&#160; Saving stellar fitting results Info:&#160; Chisquare2Solve-result: extracting best redshift from PDF: z=-0.001000 Info:&#160; Chisquare2Solve-result: extracted best model: model=A_uka0v.dat Info:&#160; QSO solve enabled : no Info:&#160; Linemodel parameters: Info:&#160; &#160; &#160; -linetypefilter: no Info:&#160; &#160; &#160; -lineforcefilter: no Info:&#160; &#160; &#160; -fittingmethod: individual Info:&#160; &#160; &#160; -linewidthtype: combined Info:&#160; &#160; &#160; -instrumentresolution: 4300.00 Info:&#160; &#160; &#160; -velocity emission: 200.00 Info:&#160; &#160; &#160; -velocity absorption: 300.00 Info:&#160; &#160; &#160; -velocity fit: yes Info:&#160; &#160; &#160; -nsigmasupport: 8.0 Info:&#160; &#160; &#160; -em velocity fit min : 10.0 Info:&#160; &#160; &#160; -em velocity fit max : 400.0 Info:&#160; &#160; &#160; -em velocity fit step : 20.0 Info:&#160; &#160; &#160; -abs velocity fit min : 150.0 Info:&#160; &#160; &#160; -abs velocity fit max : 500.0 Info:&#160; &#160; &#160; -abs velocity fit step : 50.0 Info:&#160; &#160; &#160; -man velocity fit dz min : -6.00e-04 Info:&#160; &#160; &#160; -man velocity fit dz max : 6.00e-04 Info:&#160; &#160; &#160; -man velocity fit dz step : 1.00e-04 Info:&#160; &#160; &#160; -rigidity: tplshape Info:&#160; &#160; &#160; &#160; -tplratio_catalog: linecatalogs_tplshapes/linecatalogs_tplshape_ExtendedTemplatesJan2017v3_20170602_B14C_v6_emission Info:&#160; &#160; &#160; &#160; -tplratio_ismfit: no Info:&#160; &#160; &#160; &#160; -tplfit_priors_dirpath: Info:&#160; &#160; &#160; &#160; -tplratio_priors_betaA:&#160; 1.000000 Info:&#160; &#160; &#160; &#160; -tplratio_priors_betaTE:&#160; 1.000000 Info:&#160; &#160; &#160; &#160; -tplratio_priors_betaZ:&#160; 1.000000 Info:&#160; &#160; &#160; -linemodel offsets_catalog: linecatalogs_offsets/offsetsCatalogs_20170410_m150 Info:&#160; &#160; &#160; -continuumcomponent: tplfit Info:&#160; &#160; &#160; &#160; -tplfit_ismfit: yes Info:&#160; &#160; &#160; &#160; -tplfit_igmfit: yes Info:&#160; &#160; &#160; &#160; -continuum fit count:&#160; 1 Info:&#160; &#160; &#160; &#160; -tplfit_ignorelinesupport: no Info:&#160; &#160; &#160; &#160; -tplfit_secondpass-LC-fitting-method: -1 Info:&#160; &#160; &#160; &#160; -tplfit_priors_dirpath: Info:&#160; &#160; &#160; &#160; -tplfit_priors_betaA:&#160; 1.000000 Info:&#160; &#160; &#160; &#160; -tplfit_priors_betaTE:&#160; 1.000000 Info:&#160; &#160; &#160; &#160; -tplfit_priors_betaZ:&#160; 1.000000 Info:&#160; &#160; &#160; -continuumreestimation: no Info:&#160; &#160; &#160; -extremacount: 5 Info:&#160; &#160; &#160; -extremacount-firstpass B: 0 Info:&#160; &#160; &#160; -extrema cut proba-threshold: -1 Info:&#160; &#160; &#160; -first pass: Info:&#160; &#160; &#160; &#160; -largegridstep: 0.001000 Info:&#160; &#160; &#160; &#160; -fittingmethod: individual Info:&#160; &#160; &#160; &#160; -tplratio_ismfit: no Info:&#160; &#160; &#160; &#160; -multiplecontinuumfit_disable: yes Info:&#160; &#160; &#160; -second pass: Info:&#160; &#160; &#160; &#160; -skip second pass: no Info:&#160; &#160; &#160; &#160; -continuum fit method: retryall Info:&#160; &#160; &#160; -pdf-stronglinesprior: -1.000000e+00 Info:&#160; &#160; &#160; -pdf-hapriorstrength: -1.000000e+00 Info:&#160; &#160; &#160; -pdf-euclidNHaEmittersPriorStrength: -1.000000e+00 Info:&#160; &#160; &#160; -pdf-modelpriorzStrength: -1.000000e+00 Info:&#160; &#160; &#160; -pdf-combination: marg Info:&#160; &#160; &#160; -pdf-margAmpCorrection: no Info:&#160; &#160; &#160; -save-intermediate-chisquaretplshaperesults: 0 Info:&#160; &#160; Operator-Linemodel: FastFitLargeGrid enabled: 1781 redshifts will be calculated on the large grid (1782 initially) Info:&#160; &#160; Operator-Linemodel: TemplatesOrthogonalization enabled = 1 Info:&#160; &#160; Operator-Linemodel: Templates store prepared. Info:&#160; &#160; Operator-Linemodel: sourcesize init to: ss=0.10 Info:&#160; &#160; Operator-Linemodel: Tpl-ratios init Info:&#160; &#160; &#160; CatalogsTplShape - Loading tplshape catalog : linecatalogs_tplshapes/linecatalogs_tplshape_ExtendedTemplatesJan2017v3_20170602_B14C_v6_emission Info:&#160; &#160; &#160; CatalogsTplShape - Found 13 tplshaped velocities files Info:&#160; &#160; &#160; CatalogsTplShape - Found 0 tplshaped priors files Info:&#160; &#160; &#160; CatalogsTplShape - Found 0 tplshaped priorsPz files Info:&#160; &#160; &#160; CatalogsTplShape - Loaded 13 tplshaped catalogs Info:&#160; &#160; Operator-Linemodel: Lambda offsets init Info:&#160; &#160; &#160; CatalogsOffsets - Loading offsets catalog : linecatalogs_offsets/offsetsCatalogs_20170410_m150 Info:&#160; &#160; &#160; CatalogsOffsets - Loaded 1 lines offsets catalogs Info:&#160; &#160; Operator-Linemodel: initialized Info:&#160; &#160; Operator-Linemodel: continuum tpl fitting: sampling:log, step=1.00000e-03, min=1.00000e-02, max=4.99515e+00 Info:&#160; &#160; Operator-Linemodel: continuum tpl redshift list n=1785 Info:&#160; &#160; Operator-Linemodel: precomputing- with operator = chisquarelog Info:&#160; &#160; Operator-Linemodel: tplfit-precompute done in 4.5929e+00 sec Info:&#160; &#160; Operator-Linemodel: fitcontinuum_maxCount set to 1 Error:&#160; &#160; Operator-Linemodel: Negative amplitude found at z=0.00700: best continuum tpl ssp_100Myr_z008.dat, amplitude = 0.000000e+00 &amp;amp; error = 9.021289e-19
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;It seems that the problematic spectra are sky fibers, which have continuum level of almost zero. The parameter file and the pfsObject file have been already sent to &lt;a href=&quot;https://pfspipe.ipmu.jp/jira/secure/ViewProfile.jspa?name=ali.allaoui&quot; class=&quot;user-hover&quot; rel=&quot;ali.allaoui&quot;&gt;Ali Allaoui&lt;/a&gt; .&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="15017">PIPE1D-33</key>
            <summary>Failed to compute continuum fit for some spectra</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="10002" iconUrl="https://pfspipe.ipmu.jp/jira/images/icons/statuses/generic.png" description="The issue is resolved, reviewed, and merged">Done</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="ali.allaoui">Ali Allaoui</assignee>
                                    <reporter username="kiyoto.yabe">Kiyoto Yabe</reporter>
                        <labels>
                    </labels>
                <created>Mon, 9 Nov 2020 05:12:29 +0000</created>
                <updated>Fri, 12 Feb 2021 08:48:05 +0000</updated>
                            <resolved>Fri, 12 Feb 2021 08:48:05 +0000</resolved>
                                                                    <component>drp_1d</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                <comments>
                            <comment id="18045" author="vlebrun" created="Thu, 12 Nov 2020 11:37:44 +0000"  >&lt;p&gt;Actually the mean level is negative, which indeed provokes an error, as the code expects to fit a continuum with at least a null amplitude (within the error). I will investigate more deeply since the noise seems to be larger that flux, hence the spectrum should be treated as null, but extreme values around 1e-11 erg/cm2/s/AA could induce strange behaviors&#160;&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </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|zzs31s:</customfieldvalue>

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