Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40041391/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40041391/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:18:36.669244', job_id='40041391', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791317916.67', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:18:36 PDT 2026 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 499 CALLS 2306 TOTAL EDM= .54E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.5893 10.232 .53917E-03 -1.5670 2 Prefactor .16653E-08 17.878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.6213 2.1790 .83085E-03 -1.5682 4 Prefactor 1.1125 2.9593 .11244E-02 -1.5687 5 Prefactor 1.7242 44.748 .79583E-03 -1.5682 6 Prefactor .24793 1.4174 .10978E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .16653E-09 .30368E-01 .11279E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .11102E-09 2.3515 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.3571 7.7166 .39789E-03 -1.5658 10 Prefactor .94369E-09 2.0189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .35527E-08 7.9731 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .24398 1.6008 .24949E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.6547 1.8144 .52799E-03 -1.5670 14 Prefactor 7.0708 2.3959 .37713E-03 -1.5655 15 Prefactor .0000 .70942 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.3992 1.4263 .43226E-03 -1.5661 17 norm .79756E-04 .16229 .28235E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 7.1961 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .16653E-09 .14627 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .11102E-09 2.5252 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.0241 1.2231 .72708E-03 -1.5680 22 norm 9.9021 4.3500 .31846E-03 -1.5645 23 Prefactor .16376E-07 35.636 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0998 .13229 .60447E-01 -.89758 25 Prefactor .95348 .10127 .45683E-01 -.94297 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.37586e-08 Minuit parameter uncertainties: 1 10.2324 2 0.000342744 3 2.17905 4 2.95935 5 17.5677 6 1.1856 7 4.74467e-06 8 3.02701e-05 9 7.71661 10 8.64486e-05 11 0.000335491 12 1.2499 13 1.8144 14 2.39592 15 1.06775e-07 16 1.42629 17 0.0071955 18 3.81814e-06 19 9.84104e-06 20 3.69347e-05 21 1.22312 22 4.34999 23 0.00152832 24 0.132329 25 0.101294 /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). Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40041434/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40041434/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:19:00.007955', job_id='40041434', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791317940.01', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:19:00 PDT 2026 e GAL_V02 Working on... /lscratch/kocevski/40041548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits.....................! real 48.01 user 46.62 sys 0.74 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/40041548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits', '/lscratch/kocevski/40041548/ft2_4FGL_J1640.4+3945_weekly_bin948.fits', expMap='/lscratch/kocevski/40041548/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', expCube='/lscratch/kocevski/40041548/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40041548/Model_4FGL_J1640.4+3945_weekly_bin948.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/40041548/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits Spacecraft file(s): /lscratch/kocevski/40041548/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Exposure map: /lscratch/kocevski/40041548/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits Exposure cube: /lscratch/kocevski/40041548/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/40041548/Model_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.5052528 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.426948 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.5127 1.0000 .0000 .10000E+07 2 'Prefactor ' .98051E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.6212 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.1071 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.7373 1.0000 .0000 .10000E+07 6 'Prefactor ' .24797 1.0000 .0000 .10000E+07 7 'norm ' .38889E-04 1.0000 .0000 .10000E+07 8 'norm ' .10182E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 6.3560 1.0000 .0000 .10000E+07 10 'Prefactor ' .16175E-03 1.0000 .0000 .10000E+07 11 'norm ' .48006E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .24236 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.6568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.0666 1.0000 .0000 .10000E+07 15 'Prefactor ' .57393E-06 1.0000 .0000 .10000E+07 16 'norm ' 5.3987 1.0000 .0000 .10000E+07 17 'norm ' .22964E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' .32687E-03 1.0000 .0000 .10000E+07 19 'norm ' .42938E-06 1.0000 .0000 .10000E+07 20 'norm ' .17395E-05 1.0000 .0000 .10000E+07 21 'norm ' 2.0238 1.0000 .0000 .10000E+07 22 'norm ' 9.8859 1.0000 .0000 .10000E+07 23 'Prefactor ' .21602E-02 1.0000 .0000 .10000E+07 24 'Normalizat' 1.0999 1.0000 .10000E-01 10.000 25 'Prefactor ' .95345 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** **********number of points = 17454 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin948 RA = 250.119, Dec = 39.7626 tmin = 812332801, tmax = 812937601 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='40042101', job_status='RUN', time_executed='2026-10-06 13:17:41.561231', time_epoch_executed='1791317861.56' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='948' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/40042101 Creating custom pfile directory: /lscratch/kocevski/40042101/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/40042101/ft1_4FGL_J1640.4+3945_weekly_bin948.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/40042101/ft1_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042101/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin948.fits ra=250.119 dec=39.7626 rad=12.0 tmin=812332801.0 tmax=812937601.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.93 user 5.43 sys 0.27 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.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/40042101/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.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.57 user 0.24 sys 0.13 Number of photons that the gtmktime cut: 1412 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" ** 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15609.43 FROM MIGRAD STATUS=CONVERGED 170 CALLS 1807 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.5893 3.4408 .63121E-06 -.12762E-01 2 Prefactor .16653E-08 17.797 -.61941E-07** at limit ** 3 Prefactor 1.6213 2.1631 .53618E-07 .76552E-02 4 Prefactor 1.1125 2.4066 .37776E-07 -.10283E-02 5 Prefactor 1.7242 1.7239 -.36456E-06 .80070E-02 6 Prefactor .24793 1.4179 .69968E-07** at limit ** 7 norm .16653E-09 .38596 .31400E-08** at limit ** 8 norm .11102E-09 2.3348 -.14018E-06** at limit ** 9 Prefactor 6.3571 7.0947 -.10087E-05 -.97755E-02 10 Prefactor .94369E-09 2.0391 -.36784E-07** at limit ** 11 norm .35527E-08 7.9745 -.51997E-07** at limit ** 12 Prefactor .24398 1.3846 .14644E-08** at limit ** 13 Prefactor 3.6547 1.3844 .30971E-07 .39728E-01 14 Prefactor 7.0708 2.3624 .61775E-08 .10565E-01 15 Prefactor .0000 .71124 .30420E-07** at limit ** 16 norm 5.3992 1.4133 -.13749E-08 .10445E-01 17 norm .79756E-04 1.3117 -.25345E-06** at limit ** 18 Prefactor .0000 7.2517 -.15583E-06** at limit ** 19 norm .16653E-09 .14763 -.50804E-07** at limit ** 20 norm .11102E-09 2.5165 .87714E-07** at limit ** 21 norm 2.0241 1.2098 .81529E-08 .16860E-01 22 norm 9.9021 4.3529 -.41771E-07 -.65744E-03 23 Prefactor .16376E-07 35.596 -.19074E-06** at limit ** 24 Normalizat 1.0998 .15370 .43388E-06 .11034E-02 25 Prefactor .95348 .12216 .71604E-06 .14551E-02 ERR DEF= .500 Final values: Prefactor = 3.58935 Prefactor = 1.66533e-09 Prefactor = 1.62131 Prefactor = 1.11248 Prefactor = 1.72419 Prefactor = 0.247928 norm = 1.66533e-10 norm = 1.11022e-10 Prefactor = 6.35709 Prefactor = 9.4369e-10 norm = 3.55271e-09 Prefactor = 0.243979 Prefactor = 3.65468 Prefactor = 7.07076 Prefactor = 0 norm = 5.39918 norm = 7.97562e-05 Prefactor = 0 norm = 1.66533e-10 norm = 1.11022e-10 norm = 2.02405 norm = 9.90207 Prefactor = 1.63758e-08 Normalizat = 1.09981 Prefactor = 0.953481 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40041466/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40041466/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:20:12.784081', job_id='40041466', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791318012.78', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:20:12 PDT 2026 number of points = 17454 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_weekly_bin948 RA = 250.119, Dec = 39.7626 tmin = 812332801, tmax = 812937601 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='40042196', job_status='RUN', time_executed='2026-10-06 13:18:50.529284', time_epoch_executed='1791317930.53' WHERE source_name='4FGL J1640.4+3945' and cadence='weekly' and bin_id='948' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/40042196 Creating custom pfile directory: /lscratch/kocevski/40042196/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/40042196/ft1_4FGL_J1640.4+3945_weekly_bin948.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=812332801.0 && nMetStart<812937601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/40042196/ft1_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042196/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin948.fits ra=250.119 dec=39.7626 rad=12.0 tmin=812332801.0 tmax=812937601.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.58 user 5.10 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.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/40042196/ft1_filteredMKT_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" outfile="/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.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.50 user 0.22 sys 0.11 Number of photons that the gtmktime cut: 1412 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 499 CALLS 2306 TOTAL EDM= .54E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.5893 10.232 .53917E-03 -1.5670 2 Prefactor .16653E-08 17.878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.6213 2.1790 .83085E-03 -1.5682 4 Prefactor 1.1125 2.9593 .11244E-02 -1.5687 5 Prefactor 1.7242 44.748 .79583E-03 -1.5682 6 Prefactor .24793 1.4174 .10978E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .16653E-09 .30368E-01 .11279E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .11102E-09 2.3515 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.3571 7.7166 .39789E-03 -1.5658 10 Prefactor .94369E-09 2.0189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .35527E-08 7.9731 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .24398 1.6008 .24949E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.6547 1.8144 .52799E-03 -1.5670 14 Prefactor 7.0708 2.3959 .37713E-03 -1.5655 15 Prefactor .0000 .70942 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.3992 1.4263 .43226E-03 -1.5661 17 norm .79756E-04 .16229 .28235E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 7.1961 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .16653E-09 .14627 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .11102E-09 2.5252 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.0241 1.2231 .72708E-03 -1.5680 22 norm 9.9021 4.3500 .31846E-03 -1.5645 23 Prefactor .16376E-07 35.636 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0998 .13229 .60447E-01 -.89758 25 Prefactor .95348 .10127 .45683E-01 -.94297 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.37586e-08 Minuit parameter uncertainties: 1 10.2324 2 0.000342744 3 2.17905 4 2.95935 5 17.5677 6 1.1856 7 4.74467e-06 8 3.02701e-05 9 7.71661 10 8.64486e-05 11 0.000335491 12 1.2499 13 1.8144 14 2.39592 15 1.06775e-07 16 1.42629 17 0.0071955 18 3.81814e-06 19 9.84104e-06 20 3.69347e-05 21 1.22312 22 4.34999 23 0.00152832 24 0.132329 25 0.101294 outfile=/lscratch/kocevski/40042101/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits .....................! real 19.12 user 18.48 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40042101/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042101/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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/40042101/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits .....................! real 72.58 user 67.53 sys 4.28 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/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042101/cmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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.51 user 0.24 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042101/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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.55 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40042101/Model_4FGL_J1640.4+3945_weekly_bin948.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 sourcDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40041548/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40041548/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:22:11.563231', job_id='40041548', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791318131.56', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:22:11 PDT 2026 outfile=/lscratch/kocevski/40042196/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits .....................! real 18.13 user 17.58 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40042196/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042196/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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/40042196/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits .....................! real 69.41 user 65.14 sys 3.70 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/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042196/cmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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.55 user 0.24 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits outfile=/lscratch/kocevski/40042196/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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.51 user 0.24 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits evtable="EVENTS" scfile=/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40042196/Model_4FGL_J1640.4+3945_weekly_bin948.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/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits.....................! real 45.21 user 43.99 sys 0.69 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits', '/lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits', expMap='/lscratch/kocevski/40042101/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', expCube='/lscratch/kocevski/40042101/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40042101/Model_4FGL_J1640.4+3945_weekly_bin948.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/40042101/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits Spacecraft file(s): /lscratch/kocevski/40042101/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Exposure map: /lscratch/kocevski/40042101/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits Exposure cube: /lscratch/kocevski/40042101/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/40042101/Model_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.5052528 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.426948 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.5127 1.0000 .0000 .10000E+07 2 'Prefactor ' .98051E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.6212 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.1071 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.7373 1.0000 .0000 .10000E+07 6 'Prefactor ' .24797 1.0000 .0000 .10000E+07 7 'norm ' .38889E-04 1.0000 .0000 .10000E+07 8 'norm ' .10182E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 6.3560 1.0000 .0000 .10000E+07 10 'Prefactor ' .16175E-03 1.0000 .0000 .10000E+07 11 'norm ' .48006E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .24236 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.6568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.0666 1.0000 .0000 .10000E+07 15 'Prefactor ' .57393E-06 1.0000 .0000 .10000E+07 16 'norm ' 5.3987 1.0000 .0000 .10000E+07 17 'norm ' .22964E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' .32687E-03 1.0000 .0000 .10000E+07 19 'norm ' .42938E-06 1.0000 .0000 .10000E+07 20 'norm ' .17395E-05 1.0000 .0000 .10000E+07 21 'norm ' 2.0238 1.0000 .0000 .10000E+07 22 'norm ' 9.8859 1.0000 .0000 .10000E+07 23 'Prefactor ' .21602E-02 1.0000 .0000 .10000E+07 24 'Normalizat' 1.0999 1.0000 .10000E-01 10.000 25 'Prefactor ' .95345 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 170 CALLS 1807 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.5893 3.4408 .63121E-06 -.12762E-01 2 Prefactor .16653E-08 17.797 -.61941E-07** at limit ** 3 Prefactor 1.6213 2.1631 .53618E-07 .76552E-02 4 Prefactor 1.1125 2.4066 .37776E-07 -.10283E-02 5 Prefactor 1.7242 1.7239 -.36456E-06 .80070E-02 6 Prefactor .24793 1.4179 .69968E-07** at limit ** 7 norm .16653E-09 .38596 .31400E-08** at limit ** 8 norm .11102E-09 2.3348 -.14018E-06** at limit ** 9 Prefactor 6.3571 7.0947 -.10087E-05 -.97755E-02 10 Prefactor .94369E-09 2.0391 -.36784E-07** at limit ** 11 norm .35527E-08 7.9745 -.51997E-07** at limit ** 12 Prefactor .24398 1.3846 .14644E-08** at limit ** 13 Prefactor 3.6547 1.3844 .30971E-07 .39728E-01 14 Prefactor 7.0708 2.3624 .61775E-08 .10565E-01 15 Prefactor .0000 .71124 .30420E-07** at limit ** 16 norm 5.3992 1.4133 -.13749E-08 .10445E-01 17 norm .79756E-04 1.3117 -.25345E-06** at limit ** 18 Prefactor .0000 7.2517 -.15583E-06** at limit ** 19 norm .16653E-09 .14763 -.50804E-07** at limit ** 20 norm .11102E-09 2.5165 .87714E-07** at limit ** 21 norm 2.0241 1.2098 .81529E-08 .16860E-01 22 norm 9.9021 4.3529 -.41771E-07 -.65744E-03 23 Prefactor .16376E-07 35.596 -.19074E-06** at limit ** 24 Normalizat 1.0998 .15370 .43388E-06 .11034E-02 25 Prefactor .95348 .12216 .71604E-06 .14551E-02 ERR DEF= .500 Final values: Prefactor = 3.58935 Prefactor = 1.66533e-09 Prefactor = 1.62131 Prefactor = 1.11248 Prefactor = 1.72419 Prefactor = 0.247928 norm = 1.66533e-10 norm = 1.11022e-10 Prefactor = 6.35709 Prefactor = 9.4369e-10 norm = 3.55271e-09 Prefactor = 0.243979 Prefactor = 3.65468 Prefactor = 7.07076 Prefactor = 0 norm = 5.39918 norm = 7.97562e-05 Prefactor = 0 norm = 1.66533e-10 norm = 1.11022e-10 norm = 2.02405 norm = 9.90207 Prefactor = 1.63758e-08 Normalizat = 1.09981 Prefactor = 0.953481 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 499 CALLS 2306 TOTAL EDM= .54E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.5893 10.232 .53917E-03 -1.5670 2 Prefactor .16653E-08 17.878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.6213 2.1790 .83085E-03 -1.5682 4 Prefactor 1.1125 2.9593 .11244E-02 -1.5687 5 Prefactor 1.7242 44.748 .79583E-03 -1.5682 6 Prefactor .24793 1.4174 .10978E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .16653E-09 .30368E-01 .11279E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .11102E-09 2.3515 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.3571 7.7166 .39789E-03 -1.5658 10 Prefactor .94369E-09 2.0189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .35527E-08 7.9731 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .24398 1.6008 .24949E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.6547 1.8144 .52799E-03 -1.5670 14 Prefactor 7.0708 2.3959 .37713E-03 -1.5655 15 Prefactor .0000 .70942 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.3992 1.4263 .43226E-03 -1.5661 17 norm .79756E-04 .16229 .28235E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 7.1961 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .16653E-09 .14627 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .11102E-09 2.5252 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.0241 1.2231 .72708E-03 -1.5680 22 norm 9.9021 4.3500 .31846E-03 -1.5645 23 Prefactor .16376E-07 35.636 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0998 .13229 .60447E-01 -.89758 25 Prefactor .95348 .10127 .45683E-01 -.94297 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.37586e-08 Minuit parameter uncertainties: 1 10.2324 2 0.000342744 3 2.17905 4 2.95935 5 17.5677 6 1.1856 7 4.74467e-06 8 3.02701e-05 9 7.71661 10 8.64486e-05 11 0.000335491 12 1.2499 13 1.8144 14 2.39592 15 1.06775e-07 16 1.42629 17 0.0071955 18 3.81814e-06 19 9.84104e-06 20 3.69347e-05 21 1.22312 22 4.34999 23 0.00152832 24 0.132329 25 0.101294 e GAL_V02 Working on... /lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits.....................! real 43.47 user 42.02 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits', '/lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits', expMap='/lscratch/kocevski/40042196/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', expCube='/lscratch/kocevski/40042196/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40042196/Model_4FGL_J1640.4+3945_weekly_bin948.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/40042196/ft1_filtered_4FGL_J1640.4+3945_weekly_bin948.fits Spacecraft file(s): /lscratch/kocevski/40042196/ft2_4FGL_J1640.4+3945_weekly_bin948.fits Exposure map: /lscratch/kocevski/40042196/expmap_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits Exposure cube: /lscratch/kocevski/40042196/ltcube_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/40042196/Model_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.5052528 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.426948 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 3.5127 1.0000 .0000 .10000E+07 2 'Prefactor ' .98051E-03 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.6212 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.1071 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.7373 1.0000 .0000 .10000E+07 6 'Prefactor ' .24797 1.0000 .0000 .10000E+07 7 'norm ' .38889E-04 1.0000 .0000 .10000E+07 8 'norm ' .10182E-03 1.0000 .0000 .10000E+07 9 'Prefactor ' 6.3560 1.0000 .0000 .10000E+07 10 'Prefactor ' .16175E-03 1.0000 .0000 .10000E+07 11 'norm ' .48006E-03 1.0000 .0000 .10000E+07 12 'Prefactor ' .24236 1.0000 .0000 .10000E+07 13 'Prefactor ' 3.6568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.0666 1.0000 .0000 .10000E+07 15 'Prefactor ' .57393E-06 1.0000 .0000 .10000E+07 16 'norm ' 5.3987 1.0000 .0000 .10000E+07 17 'norm ' .22964E-02 1.0000 .0000 .10000E+07 18 'Prefactor ' .32687E-03 1.0000 .0000 .10000E+07 19 'norm ' .42938E-06 1.0000 .0000 .10000E+07 20 'norm ' .17395E-05 1.0000 .0000 .10000E+07 21 'norm ' 2.0238 1.0000 .0000 .10000E+07 22 'norm ' 9.8859 1.0000 .0000 .10000E+07 23 'Prefactor ' .21602E-02 1.0000 .0000 .10000E+07 24 'Normalizat' 1.0999 1.0000 .10000E-01 10.000 25 'Prefactor ' .95345 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 170 CALLS 1807 TOTAL EDM= .18E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 3.5893 3.4408 .63121E-06 -.12762E-01 2 Prefactor .16653E-08 17.797 -.61941E-07** at limit ** 3 Prefactor 1.6213 2.1631 .53618E-07 .76552E-02 4 Prefactor 1.1125 2.4066 .37776E-07 -.10283E-02 5 Prefactor 1.7242 1.7239 -.36456E-06 .80070E-02 6 Prefactor .24793 1.4179 .69968E-07** at limit ** 7 norm .16653E-09 .38596 .31400E-08** at limit ** 8 norm .11102E-09 2.3348 -.14018E-06** at limit ** 9 Prefactor 6.3571 7.0947 -.10087E-05 -.97755E-02 10 Prefactor .94369E-09 2.0391 -.36784E-07** at limit ** 11 norm .35527E-08 7.9745 -.51997E-07** at limit ** 12 Prefactor .24398 1.3846 .14644E-08** at limit ** 13 Prefactor 3.6547 1.3844 .30971E-07 .39728E-01 14 Prefactor 7.0708 2.3624 .61775E-08 .10565E-01 15 Prefactor .0000 .71124 .30420E-07** at limit ** 16 norm 5.3992 1.4133 -.13749E-08 .10445E-01 17 norm .79756E-04 1.3117 -.25345E-06** at limit ** 18 Prefactor .0000 7.2517 -.15583E-06** at limit ** 19 norm .16653E-09 .14763 -.50804E-07** at limit ** 20 norm .11102E-09 2.5165 .87714E-07** at limit ** 21 norm 2.0241 1.2098 .81529E-08 .16860E-01 22 norm 9.9021 4.3529 -.41771E-07 -.65744E-03 23 Prefactor .16376E-07 35.596 -.19074E-06** at limit ** 24 Normalizat 1.0998 .15370 .43388E-06 .11034E-02 25 Prefactor .95348 .12216 .71604E-06 .14551E-02 ERR DEF= .500 Final values: Prefactor = 3.58935 Prefactor = 1.66533e-09 Prefactor = 1.62131 Prefactor = 1.11248 Prefactor = 1.72419 Prefactor = 0.247928 norm = 1.66533e-10 norm = 1.11022e-10 Prefactor = 6.35709 Prefactor = 9.4369e-10 norm = 3.55271e-09 Prefactor = 0.243979 Prefactor = 3.65468 Prefactor = 7.07076 Prefactor = 0 norm = 5.39918 norm = 7.97562e-05 Prefactor = 0 norm = 1.66533e-10 norm = 1.11022e-10 norm = 2.02405 norm = 9.90207 Prefactor = 1.63758e-08 Normalizat = 1.09981 Prefactor = 0.953481 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 499 CALLS 2306 TOTAL EDM= .54E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 3.5893 10.232 .53917E-03 -1.5670 2 Prefactor .16653E-08 17.878 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.6213 2.1790 .83085E-03 -1.5682 4 Prefactor 1.1125 2.9593 .11244E-02 -1.5687 5 Prefactor 1.7242 44.748 .79583E-03 -1.5682 6 Prefactor .24793 1.4174 .10978E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .16653E-09 .30368E-01 .11279E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .11102E-09 2.3515 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 6.3571 7.7166 .39789E-03 -1.5658 10 Prefactor .94369E-09 2.0189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm .35527E-08 7.9731 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 Prefactor .24398 1.6008 .24949E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 3.6547 1.8144 .52799E-03 -1.5670 14 Prefactor 7.0708 2.3959 .37713E-03 -1.5655 15 Prefactor .0000 .70942 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 5.3992 1.4263 .43226E-03 -1.5661 17 norm .79756E-04 .16229 .28235E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .0000 7.1961 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 norm .16653E-09 .14627 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .11102E-09 2.5252 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 2.0241 1.2231 .72708E-03 -1.5680 22 norm 9.9021 4.3500 .31846E-03 -1.5645 23 Prefactor .16376E-07 35.636 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat 1.0998 .13229 .60447E-01 -.89758 25 Prefactor .95348 .10127 .45683E-01 -.94297 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.37586e-08 Minuit parameter uncertainties: 1 10.2324 2 0.000342744 3 2.17905 4 2.95935 5 17.5677 6 1.1856 7 4.74467e-06 8 3.02701e-05 9 7.71661 10 8.64486e-05 11 0.000335491 12 1.2499 13 1.8144 14 2.39592 15 1.06775e-07 16 1.42629 17 0.0071955 18 3.81814e-06 19 9.84104e-06 20 3.69347e-05 21 1.22312 22 4.34999 23 0.00152832 24 0.132329 25 0.101294 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40042101/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40042101/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:27:35.076657', job_id='40042101', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791318455.08', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:27:35 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15609.42667 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.440e-01 1.250e+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 GAL_V02 Spectrum: PowerLaw 659 Prefactor: 9.535e-01 1.013e-01 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.100e+00 1.323e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.11 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.41156726632e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00573523134062 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/40042196/likelihoodResults_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.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) = 15609.4265333 delta logL = 0.000136710596053 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 15609.4258295 delta logL = 0.000840553382659 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .22337 1.0000 .0000 .10000E+07 2 'Index ' 2.5072 1.0000 .0000 10.000 3 'Normalizat' 1.0988 1.0000 .10000E-01 10.000 4 'Prefactor ' .95400 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= 15609.43 FROM MIGRAD STATUS=CONVERGED 65 CALLS 239 TOTAL EDM= .59E-08 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .22215 .97635 .23492E-02** at limit ** 2 Index 2.5132 .24749 .50000 .71358E-06 3 Normalizat 1.0988 .57872E-02 .60469E-01 .24764E-04 4 Prefactor .95402 .47381E-02 .45690E-01 .15742E-04 ERR DEF= .500 Final values: Prefactor = 0.222149 Index = 2.51321 Normalizat = 1.09883 Prefactor = 0.95402 ********** ** 18 **HESSE ********** FCN= 15609.43 FROM HESSE STATUS=OK 35 CALLS 274 TOTAL EDM= .24E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .22215 24.537 .12751E-03 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5132 6.5663 .36835E-02 -.52055 3 Normalizat 1.0988 .16176 .26744E-03 -.89789 4 Prefactor .95402 .13129 .23203E-03 -.94278 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.43494e-06 Minuit parameter uncertainties: 1 4.66947 2 11.9312 3 0.161829 4 0.13133 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) = 15609.4258259 delta logL = 0.000844143121867 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 2.221e-01 4.669e+00 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 2.513e+00 1.193e+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: 9.540e-01 1.313e-01 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.099e+00 1.618e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.11 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/40042196/cmap_HighResolution_812332801_812937601_4FGL_J1640.4+3945_weekly_bin948.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.74e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2026-10-06 13:29:00.353350', job_id='40042196', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1791318540.35', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.44e-04', ts2='0.11', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='948' AND source_name='4FGL J1640.4+3945' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 6 13:29:00 PDT 2026