/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 = 17299 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1606.9+5919_weekly_bin839 RA = 241.734, Dec = 59.3201 tmin = 746409601, tmax = 747014401 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='55072661', job_status='RUN', time_executed='2024-09-06 18:46:18.693690', time_epoch_executed='1725673578.69' WHERE source_name='4FGL J1606.9+5919' and cadence='weekly' and bin_id='839' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/55072661 Creating custom pfile directory: /lscratch/kocevski/55072661/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/55072661/ft1_4FGL_J1606.9+5919_weekly_bin839.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=746409601.0 && nMetStart<747014401.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/55072661/ft1_4FGL_J1606.9+5919_weekly_bin839.fits outfile=/lscratch/kocevski/55072661/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin839.fits ra=241.734 dec=59.3201 rad=12.0 tmin=746409601.0 tmax=747014401.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 6.40 user 5.98 sys 0.33 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.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/55072661/ft1_filteredMKT_4FGL_J1606.9+5919_weekly_bin839.fits evtable="EVENTS" outfile="/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.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.40 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 1661 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits" evtable="EVENTS" scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits sctable="SC_DATA" outfile=/lscratch/kocevski/55072661/ltcube_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.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/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits .....................! real 17.30 user 16.86 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits sctable="SC_DATA" expcube=/lscratch/kocevski/55072661/ltcube_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits outfile=/lscratch/kocevski/55072661/expmap_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.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/55072661/ltcube_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits .....................! real 62.99 user 59.12 sys 3.41 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/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits outfile=/lscratch/kocevski/55072661/cmap_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.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.39 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits outfile=/lscratch/kocevski/55072661/cmap_HighResolution_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.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.39 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits evtable="EVENTS" scfile=/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/55072661/Model_4FGL_J1606.9+5919_weekly_bin839.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/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits.....................! real 47.52 user 46.16 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits', '/lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits', expMap='/lscratch/kocevski/55072661/expmap_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits', expCube='/lscratch/kocevski/55072661/ltcube_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/55072661/Model_4FGL_J1606.9+5919_weekly_bin839.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/55072661/ft1_filtered_4FGL_J1606.9+5919_weekly_bin839.fits Spacecraft file(s): /lscratch/kocevski/55072661/ft2_4FGL_J1606.9+5919_weekly_bin839.fits Exposure map: /lscratch/kocevski/55072661/expmap_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits Exposure cube: /lscratch/kocevski/55072661/ltcube_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/55072661/Model_4FGL_J1606.9+5919_weekly_bin839.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) = 17619.1728185 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17619.1424332 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .44267E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' .38628E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 5.6828 1.0000 .0000 .10000E+07 4 'Prefactor ' 16.381 1.0000 .0000 .10000E+07 5 'norm ' 4.7268 1.0000 .0000 .10000E+07 6 'Prefactor ' .35740 1.0000 .0000 .10000E+07 7 'Prefactor ' .20740E-05 1.0000 .0000 .10000E+07 8 'norm ' 4.9601 1.0000 .0000 .10000E+07 9 'Prefactor ' .36624E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .20291E-01 1.0000 .0000 .10000E+07 11 'Prefactor ' .82490E-07 1.0000 .0000 .10000E+07 12 'norm ' .31543E-05 1.0000 .0000 .10000E+07 13 'Prefactor ' 4.8780 1.0000 .0000 .10000E+07 14 'Prefactor ' .34193E-02 1.0000 .0000 .10000E+07 15 'norm ' .19628E-02 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.5249 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.0971 1.0000 .0000 .10000E+07 18 'Prefactor ' 16.506 1.0000 .0000 .10000E+07 19 'norm ' 4.8601 1.0000 .0000 .10000E+07 20 'Prefactor ' .25710E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' 25.929 1.0000 .0000 .10000E+07 22 'Prefactor ' .14988E-08 1.0000 .0000 .10000E+07 23 'Prefactor ' 3.6780 1.0000 .0000 .10000E+07 24 'Prefactor ' .10539E-02 1.0000 .0000 .10000E+07 25 'Normalizat' 1.2188 1.0000 .10000E-01 10.000 26 'Prefactor ' .68436 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= 17619.14 FROM MIGRAD STATUS=CONVERGED 168 CALLS 1795 TOTAL EDM= .15E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-09 2.2278 .48509E-06** at limit ** 2 Prefactor .14681E-05 6.3035 .56449E-06** at limit ** 3 Prefactor 5.6735 4.1312 .29405E-07 .73787E-03 4 Prefactor 16.513 1.0990 -.24515E-07 -.77402E-02 5 norm 4.7286 1.6622 .20584E-07 -.29399E-03 6 Prefactor .26922E-04 167.44 -.55733E-05** at limit ** 7 Prefactor .55511E-09 2.3888 .98157E-07** at limit ** 8 norm 4.9556 4.2465 -.40358E-07 .39659E-03 9 Prefactor .17208E-08 4.0876 .17178E-06** at limit ** 10 Prefactor .0000 20.347 .50941E-06** at limit ** 11 Prefactor .10002E-05 4.6607 .16473E-06** at limit ** 12 norm .25424E-07 4.8206 -.19670E-06** at limit ** 13 Prefactor 4.9026 4.0941 -.45232E-07 -.21825E-02 14 Prefactor .90539E-07 13.279 -.12897E-05** at limit ** 15 norm .11102E-08 2.9244 .89486E-07** at limit ** 16 Prefactor 3.5239 1.6124 -.30489E-08 .21405E-04 17 Prefactor 4.0798 4.2169 -.51761E-07 -.20300E-03 18 Prefactor 16.326 2.7222 .84380E-08 .41936E-01 19 norm 4.8598 .70216 .89587E-07 .89209E-02 20 Prefactor .92365E-06 8.3091 -.11393E-05** at limit ** 21 Prefactor 25.906 1.1801 -.53911E-08 -.66103E-02 22 Prefactor .22204E-09 1.2054 -.23472E-06** at limit ** 23 Prefactor 3.6691 3.1826 .90117E-07 -.26482E-04 24 Prefactor .48705E-06 32.937 .88990E-07** at limit ** 25 Normalizat 1.2189 .11983 -.33722E-05 -.45687E-04 26 Prefactor .68444 .11136 .24730E-05 -.91397E-06 ERR DEF= .500 Final values: Prefactor = 5.55112e-10 Prefactor = 1.4681e-06 Prefactor = 5.67349 Prefactor = 16.5128 norm = 4.7286 Prefactor = 2.69219e-05 Prefactor = 5.55112e-10 norm = 4.95559 Prefactor = 1.72085e-09 Prefactor = 0 Prefactor = 1.0002e-06 norm = 2.54241e-08 Prefactor = 4.90262 Prefactor = 9.05387e-08 norm = 1.11022e-09 Prefactor = 3.52389 Prefactor = 4.07981 Prefactor = 16.3262 norm = 4.85979 Prefactor = 9.2365e-07 Prefactor = 25.9062 Prefactor = 2.22045e-10 Prefactor = 3.66915 Prefactor = 4.87055e-07 Normalizat = 1.21889 Prefactor = 0.684442 ********** ** 18 **HESSE ********** FCN= 17619.14 FROM HESSE STATUS=OK 522 CALLS 2317 TOTAL EDM= .50E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-09 2.2299 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .14681E-05 1.5954 .65733E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 5.6735 4.1978 .42114E-03 -1.5660 4 Prefactor 16.513 14.579 .24719E-03 -1.5627 5 norm 4.7286 1.6644 .46258E-03 -1.5664 6 Prefactor .26922E-04 206.01 .94598E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .55511E-09 2.3872 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm 4.9556 4.2532 .45133E-03 -1.5663 9 Prefactor .17208E-08 4.0995 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 20.221 .17018E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .10002E-05 .88751 .70158E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .25424E-07 4.8857 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 4.9026 4.1339 .45520E-03 -1.5664 14 Prefactor .90539E-07 13.431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm .11102E-08 2.9228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 3.5239 1.6168 .53819E-03 -1.5670 17 Prefactor 4.0798 4.2266 .49782E-03 -1.5668 18 Prefactor 16.326 11.347 .24625E-03 -1.5627 19 norm 4.8598 .77514 .45605E-03 -1.5664 20 Prefactor .92365E-06 9.7700 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 25.906 16.938 .19643E-03 -1.5606 22 Prefactor .22204E-09 1.2066 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 3.6691 3.1902 .52641E-03 -1.5670 24 Prefactor .48705E-06 33.654 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.2189 .10417 .34446E-01 -.86021 26 Prefactor .68444 .96277E-01 .61370E-01 -1.0414 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.04211e-07 Minuit parameter uncertainties: 1 7.00408e-05 2 0.00306088 3 4.19783 4 14.5788 5 1.66443 6 0.148952 7 7.31759e-05 8 4.2532 9 0.000167505 10 4.58972e-05 11 0.00188432 12 0.000704544 13 4.13386 14 0.00220516 15 0.000115206 16 1.61677 17 4.22659 18 11.3466 19 0.775138 20 0.00600801 21 16.9377 22 3.38262e-05 23 3.19017 24 0.00809739 25 0.104186 26 0.0963006 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 17619.1401998 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 1.721e-09 1.675e-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: 6.844e-01 9.630e-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: 1.219e+00 1.042e-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.55182581274e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0011745876397 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/55072661/likelihoodResults_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.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) = 17619.1403044 delta logL = -0.000104585113149 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 17619.1402028 delta logL = -2.92956610792e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .41084E-06 1.0000 .0000 .10000E+07 2 'Index ' .27297 1.0000 .0000 10.000 3 'Normalizat' 1.2191 1.0000 .10000E-01 10.000 4 'Prefactor ' .68419 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= 17619.14 FROM MIGRAD STATUS=CONVERGED 33 CALLS 239 TOTAL EDM= .27E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.9879 -.25724E-06** at limit ** 2 Index 2.1469 2.8849 .24527E-04 .0000 3 Normalizat 1.2189 .11285 -.30884E-05 -.48227E-04 4 Prefactor .68444 .10937 .29361E-05 -.63680E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.1469 Normalizat = 1.21889 Prefactor = 0.684441 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 17619.14 FROM HESSE STATUS=FAILED 11 CALLS 250 TOTAL EDM= .27E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.9901 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .50548 1.8282 .24527E-04 -.60726 3 Normalizat 1.2189 1.1000 -.30884E-05 -.86021 4 Prefactor .68444 1.0340 .29361E-05 -1.0414 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.65635e-12 Minuit parameter uncertainties: 1 1.26574e-05 2 1.49399 3 1.12202 4 1.06533 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) = 17619.1401998 delta logL = 2.11002770811e-10 Extracting fit parameters... 4FGL J1606.9+5919 Spectrum: PowerLaw 329 Prefactor: 0.000e+00 1.266e-05 0.000e+00 1.000e+06 ( 1.000e-14) 330 Index: 2.147e+00 1.494e+00 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: 6.844e-01 1.065e+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: 1.219e+00 1.122e+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/55072661/cmap_HighResolution_746409601_747014401_4FGL_J1606.9+5919_weekly_bin839.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-03', job_status='DONE', photon_flux_upper_limit='1.55e-08', time_completed='2024-09-06 18:58:06.458611', job_id='55072661', GAL2='0.68', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1725674286.46', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='2.11e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='839' AND source_name='4FGL J1606.9+5919' AND cadence='weekly'; Database successfully updated. Analysis Complete. Fri Sep 6 18:58:06 PDT 2024