/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17265 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1606.9+5919_weekly_bin809 RA = 241.734, Dec = 59.3201 tmin = 728265601, tmax = 728870401 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='39094154', job_status='RUN', time_executed='2024-02-06 01:02:09.159864', time_epoch_executed='1707210129.16' WHERE source_name='4FGL J1606.9+5919' and cadence='weekly' and bin_id='809' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/39094154 Creating custom pfile directory: /lscratch/kocevski/39094154/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=728265601.0 && nMetStart<728870401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=728265601.0 && nMetStart<728870401.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/39094154/ft1_4FGL_J1606.9+5919_weekly_bin809.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=728265601.0 && nMetStart<728870401.0' /Data/Flight/Level1/LPA Retrieving 106 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/39094154/ft1_4FGL_J1606.9+5919_weekly_bin809.fits outfile=/lscratch/kocevski/39094154/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin809.fits ra=241.734 dec=59.3201 rad=12.0 tmin=728265601.0 tmax=728870401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.91 user 4.49 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/39094154/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin809.fits evtable="EVENTS" outfile="/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 0.48 user 0.23 sys 0.12 Number of photons that the gtmktime cut: 1545 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits" evtable="EVENTS" scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits sctable="SC_DATA" outfile=/lscratch/kocevski/39094154/ltcube_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits .....................! real 19.04 user 18.56 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits evtable="EVENTS" scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits sctable="SC_DATA" expcube=/lscratch/kocevski/39094154/ltcube_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits outfile=/lscratch/kocevski/39094154/expmap_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/39094154/ltcube_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits .....................! real 69.67 user 65.20 sys 4.03 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Added 221 point sources and 0 extended sources Setting source of interest to: 4FGL J1606.9+5919 @ 241.734 59.3201 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits outfile=/lscratch/kocevski/39094154/cmap_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=241.734 yref=59.3201 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.44 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits outfile=/lscratch/kocevski/39094154/cmap_HighResolution_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=241.734 yref=59.3201 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.46 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits evtable="EVENTS" scfile=/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/39094154/Model_4FGL_J1606.9+5919_weekly_bin809.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 Working on... /lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits.....................! real 48.03 user 46.80 sys 0.77 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits', '/lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits', expMap='/lscratch/kocevski/39094154/expmap_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits', expCube='/lscratch/kocevski/39094154/ltcube_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/39094154/Model_4FGL_J1606.9+5919_weekly_bin809.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1606.9+5919' 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 2.197e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 2.114e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/39094154/ft1_filtered_4FGL_J1606.9+5919_weekly_bin809.fits Spacecraft file(s): /lscratch/kocevski/39094154/ft2_4FGL_J1606.9+5919_weekly_bin809.fits Exposure map: /lscratch/kocevski/39094154/expmap_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits Exposure cube: /lscratch/kocevski/39094154/ltcube_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/39094154/Model_4FGL_J1606.9+5919_weekly_bin809.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16756.9883627 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16756.9886816 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .71008E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .72745E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.0538 1.0000 .0000 .10000E+07 4 'Prefactor ' .33949E-03 1.0000 .0000 .10000E+07 5 'norm ' 3.6424 1.0000 .0000 .10000E+07 6 'Prefactor ' 41.188 1.0000 .0000 .10000E+07 7 'Prefactor ' .60330 1.0000 .0000 .10000E+07 8 'norm ' .28996 1.0000 .0000 .10000E+07 9 'Prefactor ' .14286E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' 43.435 1.0000 .0000 .10000E+07 11 'Prefactor ' 3.2480 1.0000 .0000 .10000E+07 12 'norm ' 4.5673 1.0000 .0000 .10000E+07 13 'Prefactor ' 4.4484 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.4269 1.0000 .0000 .10000E+07 15 'norm ' .58065E-05 1.0000 .0000 .10000E+07 16 'Prefactor ' 7.5832 1.0000 .0000 .10000E+07 17 'Prefactor ' 3.5269 1.0000 .0000 .10000E+07 18 'Prefactor ' .46279E-03 1.0000 .0000 .10000E+07 19 'norm ' .83100E-07 1.0000 .0000 .10000E+07 20 'Prefactor ' .15964 1.0000 .0000 .10000E+07 21 'Prefactor ' 3.4156 1.0000 .0000 .10000E+07 22 'Prefactor ' .44779E-04 1.0000 .0000 .10000E+07 23 'Prefactor ' 5.9432 1.0000 .0000 .10000E+07 24 'Prefactor ' .31617E-02 1.0000 .0000 .10000E+07 25 'Normalizat' .91145 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0281 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16756.99 FROM MIGRAD STATUS=CONVERGED 185 CALLS 2454 TOTAL EDM= .83E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11102E-09 3.1060 -.14777E-05** at limit ** 2 Prefactor .55511E-10 9.3156 -.13535E-05** at limit ** 3 Prefactor 4.0428 3.4791 -.47024E-06 -.14095E-02 4 Prefactor .18524E-06 172.41 .10955E-04** at limit ** 5 norm 3.6419 1.4909 -.13662E-06 -.27844E-02 6 Prefactor 41.326 2.0802 -.46817E-07 -.99095E-01 7 Prefactor .60584 1.5846 -.77696E-06 .25889E-02 8 norm .28658 4.1466 -.11916E-05 -.20178E-02 9 Prefactor .17764E-08 5.2031 .19225E-05** at limit ** 10 Prefactor 43.462 1.2089 -.35369E-07 .90008E-01 11 Prefactor 3.2420 2.9940 -.37822E-07 -.11801E-02 12 norm 4.5669 5.6824 .79103E-06 .25949E-02 13 Prefactor 4.4495 3.9127 .53906E-06 .50608E-03 14 Prefactor 7.4467 2.3716 -.48614E-06 .38959E-01 15 norm .0000 1.0962 .12692E-06** at limit ** 16 Prefactor 7.5834 2.4228 -.13831E-06 .44290E-02 17 Prefactor 3.5283 5.1110 .10637E-05 -.36330E-02 18 Prefactor .14988E-08 4.3769 .10203E-05** at limit ** 19 norm .0000 1.1545 .81092E-06** at limit ** 20 Prefactor .14516 22.961 -.51733E-05** at limit ** 21 Prefactor 3.4140 3.8051 -.60388E-06 .24421E-01 22 Prefactor .55511E-10 1.6488 -.92105E-07** at limit ** 23 Prefactor 5.9715 4.3701 -.14032E-06 -.22595E-02 24 Prefactor .12546E-07 9.4579 .26775E-05** at limit ** 25 Normalizat .91144 .11784 -.78036E-05 -.53819E-03 26 Prefactor 1.0281 .11466 .78935E-05 -.61675E-03 ERR DEF= .500 Final values: Prefactor = 1.11022e-10 Prefactor = 5.55112e-11 Prefactor = 4.0428 Prefactor = 1.85241e-07 norm = 3.64187 Prefactor = 41.3257 Prefactor = 0.605841 norm = 0.286579 Prefactor = 1.77636e-09 Prefactor = 43.4622 Prefactor = 3.24197 norm = 4.56693 Prefactor = 4.4495 Prefactor = 7.44667 norm = 0 Prefactor = 7.58339 Prefactor = 3.52832 Prefactor = 1.4988e-09 norm = 0 Prefactor = 0.145164 Prefactor = 3.41396 Prefactor = 5.55112e-11 Prefactor = 5.97145 Prefactor = 1.25455e-08 Normalizat = 0.911436 Prefactor = 1.02813 ********** ** 18 **HESSE ********** FCN= 16756.99 FROM HESSE STATUS=OK 532 CALLS 2986 TOTAL EDM= .12E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11102E-09 3.1148 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .55511E-10 9.3852 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 4.0428 3.4771 .50055E-03 -1.5668 4 Prefactor .18524E-06 168.79 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 3.6419 1.5194 .52908E-03 -1.5670 6 Prefactor 41.326 52.080 .15583E-03 -1.5579 7 Prefactor .60584 1.6318 .68933E-03 -1.5692 8 norm .28658 1.4702 .48325E-02 -1.5697 9 Prefactor .17764E-08 5.2139 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 43.462 41.291 .15175E-03 -1.5576 11 Prefactor 3.2420 3.0594 .56173E-03 -1.5672 12 norm 4.5669 5.6956 .47079E-03 -1.5665 13 Prefactor 4.4495 3.9255 .47720E-03 -1.5666 14 Prefactor 7.4467 16.834 .36778E-03 -1.5653 15 norm .0000 1.0989 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 7.5834 2.4295 .36394E-03 -1.5653 17 Prefactor 3.5283 5.1592 .53803E-03 -1.5670 18 Prefactor .14988E-08 4.3950 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .0000 .15576 .27535E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .14516 1.5138 .93262E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 3.4140 13.996 .54712E-03 -1.5671 22 Prefactor .55511E-10 1.6502 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 5.9715 4.3764 .41167E-03 -1.5659 24 Prefactor .12546E-07 9.5631 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .91144 .10329 .45048E-01 -.96059 26 Prefactor 1.0281 .98305E-01 .41409E-01 -.91798 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.24981e-06 Minuit parameter uncertainties: 1 3.47826e-05 2 3.77429e-05 3 3.47707 4 0.0111838 5 1.51944 6 52.0806 7 1.63182 8 1.2982 9 0.00019278 10 41.291 11 3.05943 12 5.6956 13 3.92554 14 16.8339 15 3.04742e-06 16 2.42952 17 5.15919 18 0.00016129 19 3.43567e-07 20 0.937552 21 13.8251 22 1.40772e-05 23 4.37638 24 0.000693263 25 0.103314 26 0.0983221 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16756.9881497 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 1.776e-09 1.928e-04 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 2.114e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 703 Prefactor: 1.028e+00 9.832e-02 0.000e+00 1.000e+01 ( 1.000e+00) 704 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 705 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 702 Normalization: 9.114e-01 1.033e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 241.734 59.320 Photon Flux Upper Limit: 1.83567893266e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00138943802007 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/39094154/likelihoodResults_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16757.0800675 delta logL = -0.0919177490287 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16756.9881498 delta logL = -3.12611518893e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26590E-07 1.0000 .0000 .10000E+07 2 'Index ' 1.5540 1.0000 .0000 10.000 3 'Normalizat' .91146 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0281 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7060E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16756.99 FROM MIGRAD STATUS=CONVERGED 42 CALLS 246 TOTAL EDM= .27E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 1.6880 .42118E-03** at limit ** 2 Index .43174 .58549 -.13245E-03 .0000 3 Normalizat .91144 1.2462 .54670E-07 .60965E-03 4 Prefactor 1.0281 1.2221 -.16380E-06 .22696E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.431743 Normalizat = 0.911438 Prefactor = 1.02813 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 16756.99 FROM HESSE STATUS=FAILED 9 CALLS 255 TOTAL EDM= .27E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 1.6880 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .20862E-01 .60453 -.13245E-03 -1.1522 3 Normalizat .91144 1.2462 .54670E-07 -.96059 4 Prefactor 1.0281 1.2221 -.16380E-06 -.91798 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.67577e-10 Minuit parameter uncertainties: 1 9.37673e-08 2 0.593909 3 1.28941 4 1.25772 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 16756.9881497 delta logL = 8.73114913702e-11 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 0.000e+00 9.377e-08 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 4.317e-01 5.939e-01 0.000e+00 1.000e+01 (-1.000e+00) 331 Scale: 2.350e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 703 Prefactor: 1.028e+00 1.258e+00 0.000e+00 1.000e+01 ( 1.000e+00) 704 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 705 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 702 Normalization: 9.114e-01 1.289e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 241.734 59.320 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/39094154/cmap_HighResolution_728265601_728870401_4FGL_J1606.9+5919_weekly_bin809.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.39e-03', job_status='DONE', photon_flux_upper_limit='1.84e-08', time_completed='2024-02-06 01:14:09.156393', job_id='39094154', GAL2='1.03', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1707210849.16', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='8.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='809' AND source_name='4FGL J1606.9+5919' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Feb 6 01:14:09 PST 2024