/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 = 17150 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0640.9-5204_weekly_bin926 RA = 100.243, Dec = -52.0719 tmin = 799027201, tmax = 799632001 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='26195416', job_status='RUN', time_executed='2026-05-05 00:33:03.972007', time_epoch_executed='1777966383.97' WHERE source_name='4FGL J0640.9-5204' and cadence='weekly' and bin_id='926' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/26195416 Creating custom pfile directory: /lscratch/kocevski/26195416/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=799027201.0 && nMetStart<799632001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=799027201.0 && nMetStart<799632001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/26195416/ft1_4FGL_J0640.9-5204_weekly_bin926.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=799027201.0 && nMetStart<799632001.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/26195416/ft1_4FGL_J0640.9-5204_weekly_bin926.fits outfile=/lscratch/kocevski/26195416/ft1_filteredMKT_4FGL_J0640.9-5204_weekly_bin926.fits ra=100.243 dec=-52.0719 rad=12.0 tmin=799027201.0 tmax=799632001.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 3.70 user 3.19 sys 0.21 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.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/26195416/ft1_filteredMKT_4FGL_J0640.9-5204_weekly_bin926.fits evtable="EVENTS" outfile="/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.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.64 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 2289 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26195416/ltcube_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.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/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits .....................! real 21.52 user 20.87 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26195416/ltcube_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits outfile=/lscratch/kocevski/26195416/expmap_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.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/26195416/ltcube_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits .....................! real 59.56 user 55.47 sys 3.45 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 Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template. Extended source LMC-FarWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-FarWest.fits is the correct path to the extended template. Extended source LMC-Galaxy in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-Galaxy.fits is the correct path to the extended template. Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template. Extended source Puppis A in ROI with RadialDisk spatial model. Extended source Vela X in ROI with RadialDisk spatial model. Extended source Vela Junior in ROI with RadialDisk spatial model. Added 218 point sources and 7 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0640.9-5204 @ 100.243 -52.0719 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits outfile=/lscratch/kocevski/26195416/cmap_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.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=100.243 yref=-52.0719 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.61 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits outfile=/lscratch/kocevski/26195416/cmap_HighResolution_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.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=100.243 yref=-52.0719 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.59 user 0.21 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits evtable="EVENTS" scfile=/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26195416/Model_4FGL_J0640.9-5204_weekly_bin926.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 adding source LMC-30DorWest adding source LMC-FarWest adding source LMC-Galaxy adding source LMC-North adding source Puppis A adding source Vela Junior adding source Vela X Working on... /lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits.....................! real 4296.96 user 4273.85 sys 1.62 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits', '/lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits', expMap='/lscratch/kocevski/26195416/expmap_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits', expCube='/lscratch/kocevski/26195416/ltcube_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26195416/Model_4FGL_J0640.9-5204_weekly_bin926.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0640.9-5204' 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 3.882e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-15) 342 Index: 2.029e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/26195416/ft1_filtered_4FGL_J0640.9-5204_weekly_bin926.fits Spacecraft file(s): /lscratch/kocevski/26195416/ft2_4FGL_J0640.9-5204_weekly_bin926.fits Exposure map: /lscratch/kocevski/26195416/expmap_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits Exposure cube: /lscratch/kocevski/26195416/ltcube_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/26195416/Model_4FGL_J0640.9-5204_weekly_bin926.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 24083.6060476 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24083.5496815 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .27509E-05 1.0000 .0000 .10000E+07 2 'Prefactor ' 3.8395 1.0000 .0000 .10000E+07 3 'norm ' 5.3564 1.0000 .0000 .10000E+07 4 'norm ' .70192E-04 1.0000 .0000 .10000E+07 5 'Prefactor ' .52557E-04 1.0000 .0000 .10000E+07 6 'Prefactor ' .47656E-06 1.0000 .0000 .10000E+07 7 'Prefactor ' 4.6595 1.0000 .0000 .10000E+07 8 'Prefactor ' .98405E-06 1.0000 .0000 .10000E+07 9 'Prefactor ' .69616E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .43854E-08 1.0000 .0000 .10000E+07 11 'Prefactor ' .88615E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.7853 1.0000 .0000 .10000E+07 13 'Prefactor ' 10.986 1.0000 .0000 .10000E+07 14 'norm ' .35596E-04 1.0000 .0000 .10000E+07 15 'Prefactor ' .63480E-03 1.0000 .0000 .10000E+07 16 'norm ' 3.6207 1.0000 .0000 .10000E+07 17 'norm ' .10797E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 6.0363 1.0000 .0000 .10000E+07 19 'Prefactor ' .36983E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 10.155 1.0000 .0000 .10000E+07 21 'norm ' .36345 1.0000 .0000 .10000E+07 22 'Prefactor ' 2.7023 1.0000 .0000 .10000E+07 23 'Prefactor ' .10792E-05 1.0000 .0000 .10000E+07 24 'norm ' .66894E-04 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0407 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0739 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 24083.55 FROM MIGRAD STATUS=CONVERGED 180 CALLS 1838 TOTAL EDM= .36E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 .68640 -.29075E-07** at limit ** 2 Prefactor 3.8397 2.2694 -.83535E-07 .25678E-03 3 norm 5.3585 3.3108 .87583E-08 .69075E-04 4 norm .0000 2.7799 .78503E-07** at limit ** 5 Prefactor .0000 10.508 -.30303E-06** at limit ** 6 Prefactor .0000 1.0715 .12160E-06** at limit ** 7 Prefactor 4.6598 7.2932 .73352E-07 -.12085E-03 8 Prefactor .0000 2.1389 .80568E-07** at limit ** 9 Prefactor .0000 6.5711 .40629E-06** at limit ** 10 Prefactor .0000 4.7975 .14672E-06** at limit ** 11 Prefactor .0000 19.764 .62246E-06** at limit ** 12 Prefactor 3.7858 1.0968 -.11013E-08 -.29178E-03 13 Prefactor 11.022 1.2851 .49372E-08 -.56685E-02 14 norm .0000 1.4527 -.21850E-07** at limit ** 15 Prefactor .0000 4.5108 -.21232E-06** at limit ** 16 norm 3.6254 3.7006 -.83385E-07 .81703E-04 17 norm .0000 14.117 -.29075E-06** at limit ** 18 Prefactor 6.0365 5.1289 .14302E-06 .12721E-04 19 Prefactor .27756E-09 175.28 .34741E-05** at limit ** 20 Prefactor 10.198 1.3358 .18382E-07 .35896E-03 21 norm .36221 2.8309 .40190E-06 -.14351E-03 22 Prefactor 2.7072 4.4301 -.21819E-06 -.25909E-04 23 Prefactor .0000 .65053 -.10622E-06** at limit ** 24 norm .0000 1.7308 -.15206E-06** at limit ** 25 Normalizat 1.0406 .14174 .10385E-05 -.24649E-05 26 Prefactor 1.0739 .66666E-01 -.25664E-06 .31593E-05 ERR DEF= .500 Final values: norm = 0 Prefactor = 3.83974 norm = 5.35848 norm = 0 Prefactor = 0 Prefactor = 0 Prefactor = 4.65981 Prefactor = 0 Prefactor = 0 Prefactor = 0 Prefactor = 0 Prefactor = 3.78578 Prefactor = 11.0216 norm = 0 Prefactor = 0 norm = 3.62539 norm = 0 Prefactor = 6.0365 Prefactor = 2.77556e-10 Prefactor = 10.1984 norm = 0.362208 Prefactor = 2.70721 Prefactor = 0 norm = 0 Normalizat = 1.04062 Prefactor = 1.07386 ********** ** 18 **HESSE ********** FCN= 24083.55 FROM HESSE STATUS=OK 508 CALLS 2346 TOTAL EDM= .75E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 .68554 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 3.8397 2.2758 .51481E-03 -1.5669 3 norm 5.3585 3.3065 .43399E-03 -1.5662 4 norm .0000 2.7818 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor .0000 10.533 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .0000 1.0722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 4.6598 7.3254 .46599E-03 -1.5665 8 Prefactor .0000 2.1337 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .0000 6.5732 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 4.7850 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .0000 19.816 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor 3.7858 10.621 .51861E-03 -1.5669 13 Prefactor 11.022 17.787 .30201E-03 -1.5642 14 norm .0000 1.4508 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .0000 4.4911 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.6254 3.7266 .53073E-03 -1.5670 17 norm .0000 13.988 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 6.0365 5.2009 .40843E-03 -1.5659 19 Prefactor .27756E-09 174.74 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 10.198 14.327 .31419E-03 -1.5644 21 norm .36221 1.2364 .48906E-02 -1.5696 22 Prefactor 2.7072 4.4663 .61942E-03 -1.5675 23 Prefactor .0000 .65055 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .0000 1.7113 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0406 .12743 .83115E-01 -.91682 26 Prefactor 1.0739 .58620E-01 .38676E-01 -.90306 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 7.54119e-07 Minuit parameter uncertainties: 1 2.41224e-07 2 2.2758 3 3.30652 4 5.71248e-07 5 1.66153e-05 6 3.67786e-07 7 7.32537 8 1.1664e-06 9 6.97002e-06 10 5.21888e-06 11 9.71705e-06 12 10.6211 13 17.7867 14 8.28782e-07 15 3.62776e-06 16 3.72659 17 2.50609e-05 18 5.20092 19 0.000453195 20 14.3275 21 1.23635 22 4.46626 23 2.28721e-07 24 2.31842e-07 25 0.12747 26 0.0586234 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24083.5494761 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 0.000e+00 9.717e-06 0.000e+00 1.000e+06 ( 1.000e-15) 342 Index: 2.029e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.074e+00 5.862e-02 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 1.041e+00 1.275e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 100.243 -52.072 Photon Flux Upper Limit: 2.1417905751e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00161025107681 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/26195416/likelihoodResults_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.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) = 24083.5735652 delta logL = -0.0240890540881 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24083.5494761 delta logL = -1.63345248438e-09 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .88818E-09 1.0000 .0000 .10000E+07 2 'Index ' .70374 1.0000 .0000 10.000 3 'Normalizat' 1.0406 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0739 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7400E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24083.55 FROM MIGRAD STATUS=CONVERGED 40 CALLS 211 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 29.000 .42118E-03** at limit ** 2 Index 1.6011 1.5104 -.36588E-03 .0000 3 Normalizat 1.0406 1.2177 -.43274E-05 .11049E-03 4 Prefactor 1.0739 1.1678 -.92231E-06 .12805E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.60113 Normalizat = 1.04062 Prefactor = 1.07386 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 24083.55 FROM HESSE STATUS=FAILED 9 CALLS 220 TOTAL EDM= .14E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 29.000 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .24346 1.6594 -.36588E-03 -.74745 3 Normalizat 1.0406 1.2177 -.43274E-05 -.91682 4 Prefactor 1.0739 1.1678 -.92231E-06 -.90306 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.3921e-11 Minuit parameter uncertainties: 1 1.83915e-05 2 1.55672 3 1.25294 4 1.19745 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) = 24083.5494761 delta logL = -1.09139364213e-11 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 0.000e+00 1.839e-05 0.000e+00 1.000e+06 ( 1.000e-15) 342 Index: 1.601e+00 1.557e+00 0.000e+00 1.000e+01 (-1.000e+00) 343 Scale: 4.415e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 714 Prefactor: 1.074e+00 1.197e+00 0.000e+00 1.000e+01 ( 1.000e+00) 715 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 716 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 713 Normalization: 1.041e+00 1.253e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 100.243 -52.072 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/26195416/cmap_HighResolution_799027201_799632001_4FGL_J0640.9-5204_weekly_bin926.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-03', job_status='DONE', photon_flux_upper_limit='2.14e-08', time_completed='2026-05-05 01:59:34.289836', job_id='26195416', GAL2='1.07', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1777971574.29', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='-1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='926' AND source_name='4FGL J0640.9-5204' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue May 5 01:59:34 PDT 2026