/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 = 17450 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1616.6+4630_weekly_bin830 RA = 244.16, Dec = 46.5099 tmin = 740966401, tmax = 741571201 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='51622039', job_status='RUN', time_executed='2024-07-02 02:04:09.109616', time_epoch_executed='1719911049.11' WHERE source_name='4FGL J1616.6+4630' and cadence='weekly' and bin_id='830' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/51622039 Creating custom pfile directory: /lscratch/kocevski/51622039/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/51622039/ft1_4FGL_J1616.6+4630_weekly_bin830.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=740966401.0 && nMetStart<741571201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/51622039/ft1_4FGL_J1616.6+4630_weekly_bin830.fits outfile=/lscratch/kocevski/51622039/ft1_filteredMKT_4FGL_J1616.6+4630_weekly_bin830.fits ra=244.16 dec=46.5099 rad=12.0 tmin=740966401.0 tmax=741571201.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.73 user 2.48 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.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/51622039/ft1_filteredMKT_4FGL_J1616.6+4630_weekly_bin830.fits evtable="EVENTS" outfile="/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.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 1.78 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 2275 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits" evtable="EVENTS" scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits sctable="SC_DATA" outfile=/lscratch/kocevski/51622039/ltcube_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.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/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits .....................! real 18.01 user 15.72 sys 0.31 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits sctable="SC_DATA" expcube=/lscratch/kocevski/51622039/ltcube_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits outfile=/lscratch/kocevski/51622039/expmap_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.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/51622039/ltcube_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits .....................! real 61.09 user 55.39 sys 3.61 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 212 point sources and 0 extended sources Setting source of interest to: 4FGL J1616.6+4630 @ 244.16 46.5099 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits outfile=/lscratch/kocevski/51622039/cmap_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.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=244.16 yref=46.5099 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 2.34 user 0.21 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits outfile=/lscratch/kocevski/51622039/cmap_HighResolution_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.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=244.16 yref=46.5099 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 2.19 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits evtable="EVENTS" scfile=/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/51622039/Model_4FGL_J1616.6+4630_weekly_bin830.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/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits.....................! real 56.16 user 53.14 sys 0.83 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits', '/lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits', expMap='/lscratch/kocevski/51622039/expmap_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits', expCube='/lscratch/kocevski/51622039/ltcube_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/51622039/Model_4FGL_J1616.6+4630_weekly_bin830.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1616.6+4630' 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 3.213e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 2.600e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/51622039/ft1_filtered_4FGL_J1616.6+4630_weekly_bin830.fits Spacecraft file(s): /lscratch/kocevski/51622039/ft2_4FGL_J1616.6+4630_weekly_bin830.fits Exposure map: /lscratch/kocevski/51622039/expmap_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits Exposure cube: /lscratch/kocevski/51622039/ltcube_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/51622039/Model_4FGL_J1616.6+4630_weekly_bin830.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) = 24780.4016553 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24779.3098922 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .11346E-06 1.0000 .0000 .10000E+07 2 'Prefactor ' .36515E-06 1.0000 .0000 .10000E+07 3 'Prefactor ' 9.2552 1.0000 .0000 .10000E+07 4 'Prefactor ' .14188E-02 1.0000 .0000 .10000E+07 5 'norm ' 5.3279 1.0000 .0000 .10000E+07 6 'Prefactor ' .83735 1.0000 .0000 .10000E+07 7 'Prefactor ' .68804E-02 1.0000 .0000 .10000E+07 8 'norm ' .36457 1.0000 .0000 .10000E+07 9 'Prefactor ' 5.2812 1.0000 .0000 .10000E+07 10 'Prefactor ' 1.4995 1.0000 .0000 .10000E+07 11 'Prefactor ' .23913E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' .30233E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' .26723E-06 1.0000 .0000 .10000E+07 14 'norm ' 24.049 1.0000 .0000 .10000E+07 15 'norm ' .15020E-01 1.0000 .0000 .10000E+07 16 'norm ' .11122E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 4.7300 1.0000 .0000 .10000E+07 18 'Prefactor ' 2.1659 1.0000 .0000 .10000E+07 19 'Prefactor ' 6.2632 1.0000 .0000 .10000E+07 20 'norm ' 6.0253 1.0000 .0000 .10000E+07 21 'Prefactor ' .11717 1.0000 .0000 .10000E+07 22 'Prefactor ' 1.0538 1.0000 .0000 .10000E+07 23 'Prefactor ' 3.4291 1.0000 .0000 .10000E+07 24 'Prefactor ' 3.3158 1.0000 .0000 .10000E+07 25 'Prefactor ' 3.6017 1.0000 .0000 .10000E+07 26 'norm ' 3.3761 1.0000 .0000 .10000E+07 27 'norm ' .14242 1.0000 .0000 .10000E+07 28 'Prefactor ' 3.8802 1.0000 .0000 .10000E+07 29 'norm ' .56687E-01 1.0000 .0000 .10000E+07 30 'Normalizat' 1.0943 1.0000 .10000E-01 10.000 31 'Prefactor ' .93871 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24779.31 FROM MIGRAD STATUS=CONVERGED 189 CALLS 1826 TOTAL EDM= .21E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 1.2336 -.13355E-06** at limit ** 2 Prefactor .0000 2.1141 -.11363E-06** at limit ** 3 Prefactor 9.2945 7.7744 -.39834E-06 -.53804E-02 4 Prefactor .34417E-08 17.136 .13038E-07** at limit ** 5 norm 5.3230 4.0882 .34087E-06 .24744E-01 6 Prefactor .82380 2.5763 -.82925E-06 .27233E-02 7 Prefactor .78826E-08 22.678 -.29920E-05** at limit ** 8 norm .36748 4.0990 -.41488E-07 .18942E-03 9 Prefactor 5.3404 1.6506 -.10721E-06 -.20052E-02 10 Prefactor 1.4994 1.4418 -.10415E-06 .17560E-02 11 Prefactor .11102E-09 9.1586 -.41307E-06** at limit ** 12 Prefactor .0000 2.2424 .81960E-08** at limit ** 13 Prefactor .0000 .34022 -.25301E-07** at limit ** 14 norm 24.048 3.5810 .43453E-07 -.56223E-01 15 norm .14758E-01 .71449E-01 -.46132E-07** at limit ** 16 norm .27756E-09 5.3159 .38686E-06** at limit ** 17 Prefactor 4.7488 7.3179 .17724E-06 -.10083E-01 18 Prefactor 2.1667 1.6521 -.12489E-06 .54866E-03 19 Prefactor 6.2611 3.7274 .90234E-08 .10692E-03 20 norm 6.1011 1.7651 .12910E-06 .14520E-01 21 Prefactor .12358 1.4184 .34129E-06** at limit ** 22 Prefactor 1.0491 .79703 -.69779E-07 -.44045E-02 23 Prefactor 3.4279 1.5854 -.42040E-08 -.18214E-02 24 Prefactor 3.3144 1.4955 .49315E-07 .15378E-02 25 Prefactor 3.6248 4.4353 -.13930E-07 .69612E-03 26 norm 3.3767 .88125 -.68692E-07 .36656E-02 27 norm .14264 .30606 -.86812E-07** at limit ** 28 Prefactor 3.8807 2.9167 .48691E-07 .11224E-02 29 norm .56820E-01 .25348 .21686E-06** at limit ** 30 Normalizat 1.0942 .11082 -.30740E-05 .77921E-04 31 Prefactor .93871 .10537 .26920E-05 .33500E-04 ERR DEF= .500 Final values: norm = 0 Prefactor = 0 Prefactor = 9.29453 Prefactor = 3.44169e-09 norm = 5.32297 Prefactor = 0.823798 Prefactor = 7.88258e-09 norm = 0.367477 Prefactor = 5.34038 Prefactor = 1.49935 Prefactor = 1.11022e-10 Prefactor = 0 Prefactor = 0 norm = 24.0482 norm = 0.0147581 norm = 2.77556e-10 Prefactor = 4.74879 Prefactor = 2.16666 Prefactor = 6.26108 norm = 6.10109 Prefactor = 0.123584 Prefactor = 1.04906 Prefactor = 3.42788 Prefactor = 3.31439 Prefactor = 3.62482 norm = 3.3767 norm = 0.142637 Prefactor = 3.88068 norm = 0.0568205 Normalizat = 1.09418 Prefactor = 0.938708 ********** ** 18 **HESSE ********** FCN= 24779.31 FROM HESSE STATUS=OK 714 CALLS 2540 TOTAL EDM= .35E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 1.2108 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 2.1097 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 9.2945 8.6679 .32919E-03 -1.5647 4 Prefactor .34417E-08 17.049 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 5.3230 7.6897 .43517E-03 -1.5662 6 Prefactor .82380 33.795 .50192E-03 -1.5690 7 Prefactor .78826E-08 1.6542 .61098E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .36748 1.4632 .60934E-02 -1.5696 9 Prefactor 5.3404 18.731 .43713E-03 -1.5662 10 Prefactor 1.4994 1.4288 .87424E-03 -1.5683 11 Prefactor .11102E-09 9.1751 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .0000 2.2266 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .0000 .33941 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 norm 24.048 9.5202 .20396E-03 -1.5610 15 norm .14758E-01 .31236E-01 .10591E-02 -1.5710 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .27756E-09 5.3326 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 4.7488 7.6576 .46242E-03 -1.5664 18 Prefactor 2.1667 1.6641 .69953E-03 -1.5679 19 Prefactor 6.2611 3.7304 .40087E-03 -1.5658 20 norm 6.1011 13.074 .40881E-03 -1.5659 21 Prefactor .12358 1.2488 .13489E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 1.0491 .79143 .12012E-02 -1.5687 23 Prefactor 3.4279 1.6308 .54599E-03 -1.5671 24 Prefactor 3.3144 1.5176 .55567E-03 -1.5672 25 Prefactor 3.6248 4.4583 .53218E-03 -1.5670 26 norm 3.3767 .88554 .55045E-03 -1.5671 27 norm .14264 .24436 .26030E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Prefactor 3.8807 2.9945 .51200E-03 -1.5669 29 norm .56820E-01 .14294 .25188E-02 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 30 Normalizat 1.0942 .95059E-01 .38237E-01 -.89939 31 Prefactor .93871 .89902E-01 .45496E-01 -.94801 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.49645e-07 Minuit parameter uncertainties: 1 2.36402e-07 2 1.73401e-06 3 8.66789 4 0.00048433 5 7.68972 6 10.5528 7 0.000228369 8 1.46316 9 18.7315 10 1.42877 11 5.80458e-05 12 8.90757e-06 13 1.15016e-06 14 9.52025 15 0.0312358 16 7.33467e-05 17 7.6576 18 1.66409 19 3.73038 20 13.074 21 0.785687 22 0.791426 23 1.63081 24 1.51763 25 4.45828 26 0.885537 27 0.244362 28 2.99452 29 0.142936 30 0.0950739 31 0.0899167 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24779.3096068 Extracting fit parameters... 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 1.110e-10 5.805e-05 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 2.600e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 677 Prefactor: 9.387e-01 8.992e-02 0.000e+00 1.000e+01 ( 1.000e+00) 678 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 679 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 676 Normalization: 1.094e+00 9.507e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 244.160 46.510 Photon Flux Upper Limit: 3.05475066896e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00239067443661 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/51622039/likelihoodResults_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.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): 0 logL (Free Index) = 24779.3655774 delta logL = -0.0559706315435 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24779.3096087 delta logL = -1.85190219781e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .27651E-04 1.0000 .0000 .10000E+07 2 'Index ' 2.5588 1.0000 .0000 10.000 3 'Normalizat' 1.0942 1.0000 .10000E-01 10.000 4 'Prefactor ' .93875 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6800E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24779.31 FROM MIGRAD STATUS=CONVERGED 41 CALLS 200 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 6.8203 .42118E-03** at limit ** 2 Index 2.2144 .96008 .12707E-04 .0000 3 Normalizat 1.0942 1.1596 -.71639E-06 -.59259E-04 4 Prefactor .93871 1.2816 .25897E-05 -.72636E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.21439 Normalizat = 1.09418 Prefactor = 0.938708 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24779.31 FROM HESSE STATUS=FAILED 9 CALLS 209 TOTAL EDM= .12E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 6.8203 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .54189 1.7480 .12707E-04 -.59092 3 Normalizat 1.0942 1.1596 -.71639E-06 -.89939 4 Prefactor .93871 1.2816 .25897E-05 -.94801 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.24654e-12 Minuit parameter uncertainties: 1 7.6501e-06 2 0.968847 3 1.18831 4 1.32691 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) = 24779.3096068 delta logL = 7.27595761418e-12 Extracting fit parameters... 4FGL J1616.6+4630 Spectrum: PowerLaw 300 Prefactor: 0.000e+00 7.650e-06 0.000e+00 1.000e+06 ( 1.000e-13) 301 Index: 2.214e+00 9.688e-01 0.000e+00 1.000e+01 (-1.000e+00) 302 Scale: 8.481e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 677 Prefactor: 9.387e-01 1.327e+00 0.000e+00 1.000e+01 ( 1.000e+00) 678 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 679 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 676 Normalization: 1.094e+00 1.188e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 244.160 46.510 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/51622039/cmap_HighResolution_740966401_741571201_4FGL_J1616.6+4630_weekly_bin830.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.39e-03', job_status='DONE', photon_flux_upper_limit='3.05e-08', time_completed='2024-07-02 02:36:24.969019', job_id='51622039', GAL2='0.94', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1719912984.97', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='7.28e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.60' WHERE bin_id='830' AND source_name='4FGL J1616.6+4630' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 2 02:36:27 PDT 2024