/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 = 17310 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin832 RA = 250.119, Dec = 39.7626 tmin = 742176001, tmax = 742780801 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='52094435', job_status='RUN', time_executed='2024-07-16 01:02:00.936048', time_epoch_executed='1721116920.94' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='832' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/52094435 Creating custom pfile directory: /lscratch/kocevski/52094435/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=742176001.0 && nMetStart<742780801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=742176001.0 && nMetStart<742780801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/52094435/ft1_4FGL_J1640.4+3945_weekly_bin832.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=742176001.0 && nMetStart<742780801.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/52094435/ft1_4FGL_J1640.4+3945_weekly_bin832.fits outfile=/lscratch/kocevski/52094435/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin832.fits ra=250.119 dec=39.7626 rad=12.0 tmin=742176001.0 tmax=742780801.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.43 user 4.10 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.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/52094435/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin832.fits evtable="EVENTS" outfile="/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.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.43 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 1575 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits" evtable="EVENTS" scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits sctable="SC_DATA" outfile=/lscratch/kocevski/52094435/ltcube_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.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/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits .....................! real 17.59 user 17.11 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits evtable="EVENTS" scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits sctable="SC_DATA" expcube=/lscratch/kocevski/52094435/ltcube_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits outfile=/lscratch/kocevski/52094435/expmap_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.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/52094435/ltcube_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits .....................! real 66.45 user 62.04 sys 3.93 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 205 point sources and 0 extended sources Setting source of interest to: 4FGL J1640.4+3945 @ 250.119 39.7626 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits outfile=/lscratch/kocevski/52094435/cmap_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.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=250.119 yref=39.7626 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.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits outfile=/lscratch/kocevski/52094435/cmap_HighResolution_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.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=250.119 yref=39.7626 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.40 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits evtable="EVENTS" scfile=/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/52094435/Model_4FGL_J1640.4+3945_weekly_bin832.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/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits.....................! real 42.91 user 41.58 sys 1.05 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits', '/lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits', expMap='/lscratch/kocevski/52094435/expmap_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits', expCube='/lscratch/kocevski/52094435/ltcube_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/52094435/Model_4FGL_J1640.4+3945_weekly_bin832.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1640.4+3945' 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 1.345e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/52094435/ft1_filtered_4FGL_J1640.4+3945_weekly_bin832.fits Spacecraft file(s): /lscratch/kocevski/52094435/ft2_4FGL_J1640.4+3945_weekly_bin832.fits Exposure map: /lscratch/kocevski/52094435/expmap_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits Exposure cube: /lscratch/kocevski/52094435/ltcube_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/52094435/Model_4FGL_J1640.4+3945_weekly_bin832.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) = 16625.8844765 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16625.8431801 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .32962E-03 1.0000 .0000 .10000E+07 2 'Prefactor ' 22.389 1.0000 .0000 .10000E+07 3 'Prefactor ' .32521 1.0000 .0000 .10000E+07 4 'Prefactor ' .49688E-06 1.0000 .0000 .10000E+07 5 'Prefactor ' .36501E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' .86842E-06 1.0000 .0000 .10000E+07 7 'norm ' .16820E-07 1.0000 .0000 .10000E+07 8 'norm ' .18013E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 18.170 1.0000 .0000 .10000E+07 10 'Prefactor ' .28150 1.0000 .0000 .10000E+07 11 'norm ' .12714E-04 1.0000 .0000 .10000E+07 12 'Prefactor ' .23648E-07 1.0000 .0000 .10000E+07 13 'Prefactor ' 5.8119 1.0000 .0000 .10000E+07 14 'Prefactor ' .16830E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .68762 1.0000 .0000 .10000E+07 16 'norm ' 6.2563 1.0000 .0000 .10000E+07 17 'norm ' .51689 1.0000 .0000 .10000E+07 18 'Prefactor ' 2.5690 1.0000 .0000 .10000E+07 19 'norm ' .16653E-09 1.0000 .0000 .10000E+07 20 'norm ' 2.7980 1.0000 .0000 .10000E+07 21 'norm ' 3.8418 1.0000 .0000 .10000E+07 22 'norm ' 5.5748 1.0000 .0000 .10000E+07 23 'Prefactor ' .34330E-04 1.0000 .0000 .10000E+07 24 'Normalizat' 1.1440 1.0000 .10000E-01 10.000 25 'Prefactor ' .72775 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 16625.84 FROM MIGRAD STATUS=CONVERGED 184 CALLS 1769 TOTAL EDM= .12E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11102E-09 3.6926 .47075E-07** at limit ** 2 Prefactor 20.666 28.156 -.52021E-06 -.79243E-05 3 Prefactor .32788 2.2720 -.43125E-06 -.61956E-02 4 Prefactor .77716E-09 1.6726 .20158E-06** at limit ** 5 Prefactor .11657E-08 14.267 -.37921E-06** at limit ** 6 Prefactor .22204E-09 .90562 .17289E-06** at limit ** 7 norm .0000 .23292E-01 -.25061E-07** at limit ** 8 norm .55511E-10 2.5784 -.23699E-06** at limit ** 9 Prefactor 18.148 9.5737 -.18373E-05 .15255E-01 10 Prefactor .28528 2.3277 -.40089E-06 -.16246E-03 11 norm .26645E-08 8.5468 .30594E-06** at limit ** 12 Prefactor .55511E-10 .81249 .24312E-07** at limit ** 13 Prefactor 5.8104 .92030 .20258E-07 -.20261E-01 14 Prefactor .49960E-09 1.9791 .17878E-06** at limit ** 15 Prefactor .68501 1.2915 -.76318E-08 -.28732E-02 16 norm 6.2558 1.4099 -.57779E-07 .19284E-01 17 norm .51687 .43628 -.10014E-06 .45003E-02 18 Prefactor 2.5618 3.6184 .26198E-06 -.30056E-02 19 norm .0000 .15215 .20447E-07** at limit ** 20 norm 2.8096 4.5010 .33779E-07 -.16713E-02 21 norm 3.8417 1.0901 -.13767E-07 -.37810E-02 22 norm 5.5597 2.7141 .82423E-07 -.94402E-02 23 Prefactor .32196E-08 19.082 .74963E-06** at limit ** 24 Normalizat 1.1445 .13629 .10673E-04 -.86761E-03 25 Prefactor .72767 .10846 -.66287E-05 -.66836E-03 ERR DEF= .500 Final values: Prefactor = 1.11022e-10 Prefactor = 20.6662 Prefactor = 0.327879 Prefactor = 7.77156e-10 Prefactor = 1.16573e-09 Prefactor = 2.22045e-10 norm = 0 norm = 5.55112e-11 Prefactor = 18.148 Prefactor = 0.285277 norm = 2.66454e-09 Prefactor = 5.55112e-11 Prefactor = 5.8104 Prefactor = 4.996e-10 Prefactor = 0.685009 norm = 6.25581 norm = 0.516872 Prefactor = 2.56177 norm = 0 norm = 2.80961 norm = 3.84168 norm = 5.55972 Prefactor = 3.21965e-09 Normalizat = 1.14452 Prefactor = 0.727673 ********** ** 18 **HESSE ********** FCN= 16625.84 FROM HESSE STATUS=OK 503 CALLS 2272 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.6949 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 20.666 28.183 .21139E-03 -1.5617 3 Prefactor .32788 .92788 .54825E-02 -1.5697 4 Prefactor .77716E-09 1.6677 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .11657E-08 14.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .22204E-09 .89508 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .17982E-01 .81865E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .55511E-10 2.5828 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 18.148 9.7800 .23469E-03 -1.5623 10 Prefactor .28528 .88894 .55328E-02 -1.5697 11 norm .26645E-08 8.5551 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .55511E-10 .51381 .23188E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 5.8104 1.1165 .41636E-03 -1.5660 14 Prefactor .49960E-09 1.9120 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .68501 1.3057 .61719E-03 -1.5691 16 norm 6.2558 1.4079 .40109E-03 -1.5658 17 norm .51687 .45004 .77029E-03 -1.5694 18 Prefactor 2.5618 3.6629 .63658E-03 -1.5676 19 norm .0000 .14847 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm 2.8096 4.5135 .60795E-03 -1.5674 21 norm 3.8417 1.0922 .51465E-03 -1.5669 22 norm 5.5597 2.7186 .42526E-03 -1.5661 23 Prefactor .32196E-08 19.120 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.1445 .11393 .53541E-01 -.88335 25 Prefactor .72767 .90180E-01 .42769E-01 -1.0245 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.20266e-06 Minuit parameter uncertainties: 1 3.78325e-05 2 28.1836 3 0.927885 4 7.17938e-05 5 0.000260379 6 2.83706e-05 7 2.75258e-07 8 2.27099e-05 9 9.77998 10 0.88894 11 0.000301206 12 8.29356e-06 13 1.11647 14 6.07283e-05 15 1.3057 16 1.40785 17 0.45004 18 3.66287 19 2.15457e-06 20 4.51349 21 1.09222 22 2.71862 23 0.000495259 24 0.113957 25 0.0901984 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 16625.8412474 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 5.551e-11 8.294e-06 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.421e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.277e-01 9.020e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.145e+00 1.140e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 5.71952407255e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00442589165498 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/52094435/likelihoodResults_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.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) = 16625.8532354 delta logL = -0.0119880058737 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16625.8172293 delta logL = 0.024018162665 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24014E-01 1.0000 .0000 .10000E+07 2 'Index ' 3.4815 1.0000 .0000 10.000 3 'Normalizat' 1.1363 1.0000 .10000E-01 10.000 4 'Prefactor ' .73175 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 16625.82 FROM MIGRAD STATUS=CONVERGED 66 CALLS 266 TOTAL EDM= .12E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .24348E-01 .75642E-01 .12718E-02** at limit ** 2 Index 3.4773 .14094 .50000 .12613E-04 3 Normalizat 1.1366 .37317E-02 .53678E-01 -.17348E-03 4 Prefactor .73155 .31042E-02 .42822E-01 -.15527E-03 ERR DEF= .500 Final values: Prefactor = 0.0243482 Index = 3.47733 Normalizat = 1.13664 Prefactor = 0.731548 ********** ** 18 **HESSE ********** FCN= 16625.82 FROM HESSE STATUS=NOT POSDEF 35 CALLS 301 TOTAL EDM= .18E-07 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .24348E-01 23.858 .43626E-04 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 3.4773 8.0833 .26636E-02 -.30945 3 Normalizat 1.1366 .10510 .23734E-03 -.88584 4 Prefactor .73155 .72654E-01 .23960E-03 -1.0230 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.8158e-08 Minuit parameter uncertainties: 1 1.52435 2 22.7771 3 0.105116 4 0.0726632 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 16625.8172235 delta logL = 0.0240238717633 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.435e-02 1.524e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 3.477e+00 2.278e+01 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 1.366e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 659 Prefactor: 7.315e-01 7.266e-02 0.000e+00 1.000e+01 ( 1.000e+00) 660 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 661 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 658 Normalization: 1.137e+00 1.051e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 250.119 39.763 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/52094435/cmap_HighResolution_742176001_742780801_4FGL_J1640.4+3945_weekly_bin832.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2024-07-16 01:14:14.364243', job_id='52094435', GAL2='0.73', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1721117654.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='2.40e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='832' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jul 16 01:14:14 PDT 2024