/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 = 17429 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0640.9-5204_weekly_bin942 RA = 100.243, Dec = -52.0719 tmin = 808704001, tmax = 809308801 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='35770106', job_status='RUN', time_executed='2026-08-25 04:55:04.684878', time_epoch_executed='1787658904.68' WHERE source_name='4FGL J0640.9-5204' and cadence='weekly' and bin_id='942' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/35770106 Creating custom pfile directory: /lscratch/kocevski/35770106/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/35770106/ft1_4FGL_J0640.9-5204_weekly_bin942.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=808704001.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/35770106/ft1_4FGL_J0640.9-5204_weekly_bin942.fits outfile=/lscratch/kocevski/35770106/ft1_filteredMKT_4FGL_J0640.9-5204_weekly_bin942.fits ra=100.243 dec=-52.0719 rad=12.0 tmin=808704001.0 tmax=809308801.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 5.47 user 4.98 sys 0.23 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.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/35770106/ft1_filteredMKT_4FGL_J0640.9-5204_weekly_bin942.fits evtable="EVENTS" outfile="/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.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.69 user 0.25 sys 0.13 Number of photons that the gtmktime cut: 2113 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits sctable="SC_DATA" outfile=/lscratch/kocevski/35770106/ltcube_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.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/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits .....................! real 20.51 user 19.41 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35770106/ltcube_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits outfile=/lscratch/kocevski/35770106/expmap_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.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/35770106/ltcube_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits .....................! real 77.31 user 71.32 sys 4.49 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/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits outfile=/lscratch/kocevski/35770106/cmap_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.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.72 user 0.26 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits outfile=/lscratch/kocevski/35770106/cmap_HighResolution_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.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.64 user 0.27 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits evtable="EVENTS" scfile=/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35770106/Model_4FGL_J0640.9-5204_weekly_bin942.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/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits.....................! real 5035.79 user 4998.35 sys 1.69 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits', '/lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits', expMap='/lscratch/kocevski/35770106/expmap_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits', expCube='/lscratch/kocevski/35770106/ltcube_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35770106/Model_4FGL_J0640.9-5204_weekly_bin942.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/35770106/ft1_filtered_4FGL_J0640.9-5204_weekly_bin942.fits Spacecraft file(s): /lscratch/kocevski/35770106/ft2_4FGL_J0640.9-5204_weekly_bin942.fits Exposure map: /lscratch/kocevski/35770106/expmap_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits Exposure cube: /lscratch/kocevski/35770106/ltcube_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/35770106/Model_4FGL_J0640.9-5204_weekly_bin942.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) = 22231.2701088 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22231.2555357 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .12847E-04 1.0000 .0000 .10000E+07 2 'Prefactor ' .92498E-06 1.0000 .0000 .10000E+07 3 'norm ' 6.3997 1.0000 .0000 .10000E+07 4 'norm ' .24127 1.0000 .0000 .10000E+07 5 'Prefactor ' 29.286 1.0000 .0000 .10000E+07 6 'Prefactor ' .44242E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' .47491E-03 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.3363 1.0000 .0000 .10000E+07 9 'Prefactor ' .50574E-03 1.0000 .0000 .10000E+07 10 'Prefactor ' .33142E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' 50.940 1.0000 .0000 .10000E+07 12 'Prefactor ' 14.958 1.0000 .0000 .10000E+07 13 'Prefactor ' 37.659 1.0000 .0000 .10000E+07 14 'norm ' 3.3694 1.0000 .0000 .10000E+07 15 'Prefactor ' 17.463 1.0000 .0000 .10000E+07 16 'norm ' 2.2064 1.0000 .0000 .10000E+07 17 'norm ' 4.0383 1.0000 .0000 .10000E+07 18 'Prefactor ' .26683E-05 1.0000 .0000 .10000E+07 19 'Prefactor ' 4.8744 1.0000 .0000 .10000E+07 20 'Prefactor ' .21097E-02 1.0000 .0000 .10000E+07 21 'norm ' 2.9940 1.0000 .0000 .10000E+07 22 'Prefactor ' .12170E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' 2.0886 1.0000 .0000 .10000E+07 24 'norm ' 1.5444 1.0000 .0000 .10000E+07 25 'Normalizat' .89411 1.0000 .10000E-01 10.000 26 'Prefactor ' 1.0070 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= 22231.25 FROM MIGRAD STATUS=CONVERGED 223 CALLS 2329 TOTAL EDM= .13E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 1.5066 -.15544E-07** at limit ** 2 Prefactor .0000 .65749 -.21913E-07** at limit ** 3 norm 6.4181 4.3691 -.14935E-07 .19644E-03 4 norm .19410 97.872 -.69430E-06** at limit ** 5 Prefactor 29.527 15.947 .38215E-06 -.17512E-02 6 Prefactor .0000 1.5537 .62051E-08** at limit ** 7 Prefactor .55511E-10 4.4105 -.55326E-06** at limit ** 8 Prefactor 2.3647 4.5764 .24274E-07 -.21217E-02 9 Prefactor .55511E-10 4.4444 .55266E-06** at limit ** 10 Prefactor .22204E-09 2.6663 .10208E-06** at limit ** 11 Prefactor 52.359 73.406 .28110E-06 -.13601E-02 12 Prefactor 14.928 11.062 -.53837E-06 .34400E-02 13 Prefactor 37.729 19.169 -.25410E-05 -.28000E-02 14 norm 3.3284 4.0728 -.39505E-07 -.41261E-03 15 Prefactor 17.462 8.3183 .29085E-06 -.34288E-02 16 norm 2.2067 3.6588 -.31648E-07 .11089E-02 17 norm 4.0354 6.4605 -.26764E-07 .80963E-03 18 Prefactor .55511E-10 1.5165 -.43765E-07** at limit ** 19 Prefactor 2.0123 2097.1 .16759E-04 -.20265E-03 20 Prefactor .16653E-09 6.4475 .10929E-06** at limit ** 21 norm 3.0277 2.7163 -.81995E-07 .64529E-02 22 Prefactor .11102E-09 2.1445 .74225E-07** at limit ** 23 Prefactor 2.0884 1.9533 -.72348E-08 .68256E-03 24 norm 1.5146 3.3984 .57986E-07 .34534E-02 25 Normalizat .89325 .14291 .18284E-05 -.12845E-03 26 Prefactor 1.0073 .66067E-01 .69522E-06 -.73530E-04 ERR DEF= .500 Final values: norm = 0 Prefactor = 0 norm = 6.41807 norm = 0.194098 Prefactor = 29.5266 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 2.36472 Prefactor = 5.55112e-11 Prefactor = 2.22045e-10 Prefactor = 52.3585 Prefactor = 14.9285 Prefactor = 37.7285 norm = 3.32843 Prefactor = 17.4622 norm = 2.20673 norm = 4.03543 Prefactor = 5.55112e-11 Prefactor = 2.01229 Prefactor = 1.66533e-10 norm = 3.02775 Prefactor = 1.11022e-10 Prefactor = 2.08837 norm = 1.51457 Normalizat = 0.893249 Prefactor = 1.00727 ********** ** 18 **HESSE ********** FCN= 22231.25 FROM HESSE STATUS=OK 516 CALLS 2845 TOTAL EDM= .82E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 1.4799 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .0000 .65652 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 6.4181 4.3697 .39651E-03 -1.5657 4 norm .19410 4.2977 .11083E-01 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 29.527 15.916 .18482E-03 -1.5599 6 Prefactor .0000 1.5532 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor .55511E-10 4.4106 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.3647 4.6128 .67057E-03 -1.5677 9 Prefactor .55511E-10 4.4433 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .22204E-09 2.6754 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 52.359 74.107 .14012E-03 -1.5563 12 Prefactor 14.928 11.100 .25871E-03 -1.5631 13 Prefactor 37.729 19.176 .16297E-03 -1.5585 14 norm 3.3284 4.0828 .55103E-03 -1.5671 15 Prefactor 17.462 8.3277 .23940E-03 -1.5624 16 norm 2.2067 3.7064 .69227E-03 -1.5678 17 norm 4.0354 6.5215 .50155E-03 -1.5668 18 Prefactor .55511E-10 1.5172 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.0123 2143.9 .45537E-03 -1.5680 20 Prefactor .16653E-09 6.4582 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.0277 2.7547 .58641E-03 -1.5673 22 Prefactor .11102E-09 2.1424 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 2.0884 1.9450 .71408E-03 -1.5679 24 norm 1.5146 3.4293 .85729E-03 -1.5683 25 Normalizat .89325 .12623 .85459E-01 -.96698 26 Prefactor 1.0073 .57674E-01 .43803E-01 -.92487 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 8.22044e-07 Minuit parameter uncertainties: 1 4.56116e-06 2 3.83884e-06 3 4.36969 4 1.82667 5 15.9163 6 6.7775e-06 7 3.78433e-05 8 4.61276 9 2.2485e-05 10 4.81805e-05 11 74.1085 12 11.1004 13 19.1763 14 4.08285 15 8.32775 16 3.7064 17 6.52156 18 1.88464e-05 19 131.412 20 6.53083e-05 21 2.75466 22 3.10984e-05 23 1.94502 24 3.42925 25 0.126269 26 0.0576773 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 22231.2545455 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 5.236e+01 7.411e+01 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.007e+00 5.768e-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: 8.932e-01 1.263e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.63 Ra Dec: 100.243 -52.072 Photon Flux Upper Limit: 4.61488463202e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00346958429757 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/35770106/likelihoodResults_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.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) = 22231.2499537 delta logL = 0.00459175271681 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 22231.2456694 delta logL = 0.00887607339246 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 62.259 1.0000 .0000 .10000E+07 2 'Index ' 1.9377 1.0000 .0000 10.000 3 'Normalizat' .89423 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0070 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. MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 22231.25 FROM MIGRAD STATUS=CONVERGED 93 CALLS 292 TOTAL EDM= .55E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 62.259 139.84 .50697E-05 .86469E-03 2 Index 1.9377 .84800 .14694E-01 .15494E-03 3 Normalizat .89419 .13593 .37822E-03 -.13226E-05 4 Prefactor 1.0071 .62426E-01 .16396E-03 .27736E-06 ERR DEF= .500 Final values: Prefactor = 62.2591 Index = 1.93773 Normalizat = 0.894193 Prefactor = 1.00705 ********** ** 18 **HESSE ********** FCN= 22231.25 FROM HESSE STATUS=OK 25 CALLS 317 TOTAL EDM= .12E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 62.259 111.71 .10139E-05 -1.5550 2 Index 1.9377 .68108 .58776E-03 -.65916 3 Normalizat .89419 .13591 .15129E-04 -.96664 4 Prefactor 1.0071 .62438E-01 .65583E-05 -.92495 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.2222e-10 Minuit parameter uncertainties: 1 111.712 2 0.684498 3 0.13596 4 0.0624421 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 22231.2456694 delta logL = 0.00887610470818 Extracting fit parameters... 4FGL J0640.9-5204 Spectrum: PowerLaw 341 Prefactor: 6.226e+01 1.117e+02 0.000e+00 1.000e+06 ( 1.000e-15) 342 Index: 1.938e+00 6.845e-01 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.007e+00 6.244e-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: 8.942e-01 1.360e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.63 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/35770106/cmap_HighResolution_808704001_809308801_4FGL_J0640.9-5204_weekly_bin942.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.47e-03', job_status='DONE', photon_flux_upper_limit='4.61e-08', time_completed='2026-08-25 06:33:06.799193', job_id='35770106', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1787664786.8', return_code2='0', ts='0.63', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='8.88e-03', ts2='0.65', photon_index_error='0.00', photon_index='2.03' WHERE bin_id='942' AND source_name='4FGL J0640.9-5204' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Aug 25 06:33:07 PDT 2026