********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 L_V02 Working on... /lscratch/kocevski/38741247/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 36.00 user 34.21 sys 1.00 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741247/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741247/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741247/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741247/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741247/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741247/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741247/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741247/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741247/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741247/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** /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) Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741186/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741186/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:08:43.105693', job_id='38741186', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790024923.11', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:08:43 PDT 2026 /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) 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). L_V02 Working on... /lscratch/kocevski/38741275/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 33.59 user 31.37 sys 1.36 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741275/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741275/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741275/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741275/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741275/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741275/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741275/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741275/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741275/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741275/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741181/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741181/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:09:04.190318', job_id='38741181', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790024944.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:09:04 PDT 2026 _V02 Working on... /lscratch/kocevski/38741264/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 33.07 user 31.23 sys 1.03 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741264/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741264/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741264/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741264/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741264/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741264/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741264/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741264/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741264/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741264/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 117 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 tfile=/lscratch/kocevski/38741340/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 9.75 user 9.19 sys 0.25 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38741340/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741340/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741340/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 78.28 user 72.36 sys 4.54 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/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741340/cmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.62 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741340/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.53 user 0.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38741340/Model_4FGL_J1640.4+3945_daily_bin2207.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 GALnumber of points = 7465 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin2207 RA = 250.119, Dec = 39.7626 tmin = 811382401, tmax = 811641601 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='38741442', job_status='RUN', time_executed='2026-09-21 14:08:43.507478', time_epoch_executed='1790024923.51' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='2207' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/38741442 Creating custom pfile directory: /lscratch/kocevski/38741442/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/38741442/ft1_4FGL_J1640.4+3945_daily_bin2207.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/38741442/ft1_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741442/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2207.fits ra=250.119 dec=39.7626 rad=12.0 tmin=811382401.0 tmax=811641601.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 2.51 user 1.92 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.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/38741442/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.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.54 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 967 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" ou7 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 _V02 Working on... /lscratch/kocevski/38741268/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 34.44 user 32.17 sys 1.16 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741268/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741268/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741268/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741268/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741268/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741268/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741268/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741268/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741268/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741268/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 1 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 7 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741221/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 number of points = 7465 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1640.4+3945_daily_bin2207 RA = 250.119, Dec = 39.7626 tmin = 811382401, tmax = 811641601 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='38741439', job_status='RUN', time_executed='2026-09-21 14:09:00.717460', time_epoch_executed='1790024940.72' WHERE source_name='4FGL J1640.4+3945' and cadence='daily' and bin_id='2207' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/38741439 Creating custom pfile directory: /lscratch/kocevski/38741439/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/38741439/ft1_4FGL_J1640.4+3945_daily_bin2207.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=811382401.0 && nMetStart<811641601.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/38741439/ft1_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741439/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2207.fits ra=250.119 dec=39.7626 rad=12.0 tmin=811382401.0 tmax=811641601.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 2.83 user 1.93 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.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/38741439/ft1_filteredMKT_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" outfile="/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.08 user 0.23 sys 0.15 Number of photons that the gtmktime cut: 967 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" oushell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741221/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:10:09.301908', job_id='38741221', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025009.3', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:10:09 PDT 2026 tfile=/lscratch/kocevski/38741346/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 9.69 user 8.70 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38741346/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741346/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741346/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 73.96 user 68.40 sys 4.23 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/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741346/cmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.81 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741346/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.67 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38741346/Model_4FGL_J1640.4+3945_daily_bin2207.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 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741247/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741247/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:11:04.284962', job_id='38741247', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025064.28', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:11:04 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741275/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741275/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:11:11.407945', job_id='38741275', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025071.41', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:11:11 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741264/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741264/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:11:18.525651', job_id='38741264', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025078.53', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:11:18 PDT 2026 tfile=/lscratch/kocevski/38741442/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 10.10 user 9.38 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38741442/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741442/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741442/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 79.87 user 74.30 sys 4.50 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/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741442/cmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.57 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741442/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.25 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38741442/Model_4FGL_J1640.4+3945_daily_bin2207.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 GADone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741268/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741268/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:11:50.950212', job_id='38741268', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025110.95', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:11:51 PDT 2026 _V02 Working on... /lscratch/kocevski/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 33.90 user 32.37 sys 0.76 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741340/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741340/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741340/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741340/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741340/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741340/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741340/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741340/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 1tfile=/lscratch/kocevski/38741439/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 10.79 user 9.32 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38741439/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741439/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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/38741439/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits .....................! real 81.29 user 73.57 sys 4.51 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/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741439/cmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.63 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits outfile=/lscratch/kocevski/38741439/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.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.64 user 0.24 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits evtable="EVENTS" scfile=/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38741439/Model_4FGL_J1640.4+3945_daily_bin2207.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 GA7 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 _V02 Working on... /lscratch/kocevski/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 32.67 user 30.55 sys 1.02 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741346/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741346/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741346/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741346/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741346/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741346/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741346/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741346/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 1 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 7 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 L_V02 Working on... /lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 35.13 user 33.32 sys 1.13 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741442/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741442/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741442/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741442/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741442/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741442/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741442/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741442/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741340/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741340/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:14:37.472681', job_id='38741340', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025277.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:14:37 PDT 2026 17 **MINIMIZE .6620E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741346/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741346/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:15:10.474511', job_id='38741346', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025310.47', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:15:10 PDT 2026 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 L_V02 Working on... /lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits.....................! real 35.38 user 32.79 sys 1.08 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits', '/lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits', expMap='/lscratch/kocevski/38741439/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', expCube='/lscratch/kocevski/38741439/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38741439/Model_4FGL_J1640.4+3945_daily_bin2207.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/38741439/ft1_filtered_4FGL_J1640.4+3945_daily_bin2207.fits Spacecraft file(s): /lscratch/kocevski/38741439/ft2_4FGL_J1640.4+3945_daily_bin2207.fits Exposure map: /lscratch/kocevski/38741439/expmap_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits Exposure cube: /lscratch/kocevski/38741439/ltcube_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38741439/Model_4FGL_J1640.4+3945_daily_bin2207.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) = 10511.67219 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.6710241 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 10.904 1.0000 .0000 .10000E+07 2 'Prefactor ' .99431E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' .40805E-05 1.0000 .0000 .10000E+07 4 'Prefactor ' .10284E-02 1.0000 .0000 .10000E+07 5 'Prefactor ' 16.970 1.0000 .0000 .10000E+07 6 'Prefactor ' 2.4575 1.0000 .0000 .10000E+07 7 'norm ' .13158 1.0000 .0000 .10000E+07 8 'norm ' .11145E-02 1.0000 .0000 .10000E+07 9 'Prefactor ' .14867E-02 1.0000 .0000 .10000E+07 10 'Prefactor ' .18193E-05 1.0000 .0000 .10000E+07 11 'norm ' 46.670 1.0000 .0000 .10000E+07 12 'Prefactor ' .52832E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 2.1738 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.4870 1.0000 .0000 .10000E+07 15 'Prefactor ' .32169E-06 1.0000 .0000 .10000E+07 16 'norm ' 3.3302 1.0000 .0000 .10000E+07 17 'norm ' .26915 1.0000 .0000 .10000E+07 18 'Prefactor ' .62776 1.0000 .0000 .10000E+07 19 'norm ' .42892 1.0000 .0000 .10000E+07 20 'norm ' .26048E-02 1.0000 .0000 .10000E+07 21 'norm ' 3.1308 1.0000 .0000 .10000E+07 22 'norm ' 10.320 1.0000 .0000 .10000E+07 23 'Prefactor ' .68958E-01 1.0000 .0000 .10000E+07 24 'Normalizat' .64102 1.0000 .10000E-01 10.000 25 'Prefactor ' 1.2271 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= 10511.67 FROM MIGRAD STATUS=CONVERGED 148 CALLS 2154 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 10.907 1.4726 .27245E-07 -.93282E-02 2 Prefactor .32013E-06 79.728 -.22642E-05** at limit ** 3 Prefactor .0000 .79914 .78170E-07** at limit ** 4 Prefactor .55511E-10 4.3929 .31770E-07** at limit ** 5 Prefactor 17.107 15.097 .53713E-06 -.56915E-02 6 Prefactor 2.4539 2.2152 .39172E-07 -.21387E-02 7 norm .13170 .92534E-01 -.29297E-08** at limit ** 8 norm .50182E-07 4.3428 .33513E-07** at limit ** 9 Prefactor .69833E-07 4.5018 .18416E-06** at limit ** 10 Prefactor .0000 1.1665 -.13115E-06** at limit ** 11 norm 46.763 2.5397 .42861E-07 .20690 12 Prefactor .0000 1.2527 .56846E-07** at limit ** 13 Prefactor 2.1741 .93137 .13161E-07 .21368E-02 14 Prefactor 3.4868 2.1941 .10628E-06 .24783E-02 15 Prefactor .0000 1.4738 -.44354E-07** at limit ** 16 norm 3.3290 1.3017 .34706E-07 -.19488E-02 17 norm .26914 .46018 .34903E-08 -.29372E-03 18 Prefactor .63667 10.145 -.90569E-06 -.13669E-02 19 norm .42943 .65470 .88389E-07 .10828E-02 20 norm .28311E-08 7.6644 .33720E-06** at limit ** 21 norm 3.1312 1.4171 -.14527E-07 .10584E-02 22 norm 10.376 4.2700 .51464E-07 -.15422E-03 23 Prefactor .0000 19.375 -.13064E-08** at limit ** 24 Normalizat .64081 .17534 -.21809E-05 .58281E-04 25 Prefactor 1.2271 .14476 .16610E-07 .72542E-04 ERR DEF= .500 Final values: Prefactor = 10.9073 Prefactor = 3.20133e-07 Prefactor = 0 Prefactor = 5.55112e-11 Prefactor = 17.1072 Prefactor = 2.45387 norm = 0.131705 norm = 5.01821e-08 Prefactor = 6.9833e-08 Prefactor = 0 norm = 46.7634 Prefactor = 0 Prefactor = 2.17414 Prefactor = 3.48678 Prefactor = 0 norm = 3.32905 norm = 0.269145 Prefactor = 0.63667 norm = 0.42943 norm = 2.83107e-09 norm = 3.13123 norm = 10.376 Prefactor = 0 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** FCN= 10511.67 FROM HESSE STATUS=OK 487 CALLS 2641 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 10.907 13.038 .30316E-03 -1.5642 2 Prefactor .32013E-06 80.129 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .0000 .79815 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .55511E-10 4.4634 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 Prefactor 17.107 15.220 .24286E-03 -1.5625 6 Prefactor 2.4539 2.2456 .65217E-03 -1.5677 7 norm .13170 .99863E-01 .54753E-03 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .50182E-07 8.8768 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor .69833E-07 8.5103 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .0000 1.1703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 norm 46.763 34.600 .14639E-03 -1.5571 12 Prefactor .0000 .48960 .31744E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 2.1741 1.0767 .69809E-03 -1.5678 14 Prefactor 3.4868 2.2389 .54124E-03 -1.5671 15 Prefactor .0000 1.4573 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm 3.3290 1.3034 .55441E-03 -1.5671 17 norm .26914 .52752 .20801E-02 -1.5698 18 Prefactor .63667 11.872 .66777E-03 -1.5692 19 norm .42943 .69389 .86210E-03 -1.5695 20 norm .28311E-08 7.6455 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm 3.1312 1.4286 .57271E-03 -1.5673 22 norm 10.376 4.2677 .31165E-03 -1.5644 23 Prefactor .0000 19.404 .14853E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Normalizat .64081 .15486 .71356E-01 -1.0628 25 Prefactor 1.2271 .12557 .34019E-01 -.85502 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.20102e-06 Minuit parameter uncertainties: 1 13.0385 2 0.01013 3 7.69211e-07 4 3.84418e-05 5 15.2203 6 2.24564 7 0.0998627 8 0.00133505 9 0.00154154 10 1.5344e-06 11 34.6 12 3.25761e-07 13 1.07669 14 2.23891 15 1.30841e-07 16 1.30342 17 0.527521 18 5.49865 19 0.693893 20 0.000294292 21 1.42855 22 4.26771 23 2.85754e-05 24 0.154968 25 0.125602 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741442/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741442/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:16:50.492203', job_id='38741442', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025410.49', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:16:50 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 10511.668673 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 3.258e-07 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: 1.227e+00 1.256e-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: 6.408e-01 1.550e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 250.119 39.763 Photon Flux Upper Limit: 7.05563788013e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0054598054695 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38741439/likelihoodResults_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 10511.6030809 delta logL = 0.0655920709905 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 1 logL (Free Index) = 10508.4244896 delta logL = 3.24418333211 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .34917E-07 1.0000 .0000 .10000E+07 2 'Index ' 9.9999 1.0000 .0000 10.000 3 'Normalizat' .52886 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2927 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. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM MIGRAD STATUS=CONVERGED 95 CALLS 622 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .35112E-01 .42118E-03** at limit ** 2 Index .41707 .63037 -.85267E-08 .0000 3 Normalizat .64081 .94524 .96332E-06 -.58066E-05 4 Prefactor 1.2271 1.0550 .52957E-06 .50256E-05 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.417067 Normalizat = 0.640813 Prefactor = 1.22707 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 10511.67 FROM HESSE STATUS=FAILED 9 CALLS 631 TOTAL EDM= .28E-12 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .35112E-01 .42118E-03 -15307. WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.9762 1.3254 -.85267E-08 -.64516E+06 3 Normalizat .64081 .94524 .96332E-06 2498.6 4 Prefactor 1.2271 1.0550 .52957E-06 570.91 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76715e-13 Minuit parameter uncertainties: 1 4.49179e-08 2 0.641315 3 0.97087 4 1.07412 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 10511.668673 delta logL = 0.0 Extracting fit parameters... 4FGL J1640.4+3945 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 4.492e-08 0.000e+00 1.000e+06 ( 1.000e-12) 309 Index: 4.171e-01 6.413e-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: 1.227e+00 1.074e+00 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: 6.408e-01 9.709e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 250.119 39.763 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/38741439/cmap_HighResolution_811382401_811641601_4FGL_J1640.4+3945_daily_bin2207.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.06e-08', time_completed='2026-09-21 14:17:52.548065', job_id='38741439', GAL2='1.23', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1790025472.55', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.23', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.42' WHERE bin_id='2207' AND source_name='4FGL J1640.4+3945' AND cadence='daily'; Database successfully updated. Analysis Complete. Mon Sep 21 14:17:52 PDT 2026