 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=OK           325 CALLS     1973 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.872        124.54        .16836E-03   -1.5612    
   3  norm           .0000        79.905        .84097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66613E-09    80.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-08    178.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    68.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4731        24.097        .83402E-03   -1.5684    
   8  Prefactor     .11102E-09    87.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1693.1        3545.4        .31815E-04   -1.4885    
  10  norm           .0000        64.849        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        15.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.542        5.5520        .29151E-03   -1.5640    
  13  Prefactor     .72720E-08    161.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88818E-09    147.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        141.76        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6835        4.8096        .46588E-03   -1.5665    
  17  Prefactor     4.3723        8.7317        .48444E-03   -1.5666    
  18  norm          .56584        1.2980        .72862E-03   -1.5693    
  19  Normalizat    1.8458        .27698        .74055E-01   -.68475    
  20  Prefactor     .64329        .91831E-01    .41611E-01   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81991e-07
Minuit parameter uncertainties:
  1  1.51412e-06
  2  106.744
  3  1.12003e-05
  4  0.000461863
  5  0.00112904
  6  9.9003e-05
  7  11.916
  8  0.000204677
  9  3549.85
  10  6.06265e-06
  11  8.88744e-06
  12  5.55202
  13  0.00217207
  14  0.000728918
  15  8.76564e-05
  16  4.80962
  17  8.73175
  18  1.29804
  19  0.277219
  20  0.0918527
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.74736332

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  0.000e+00  8.766e-05  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  9.185e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 1.51161284037e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110102812231 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31199836/likelihoodResults_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.75072725
delta logL = -0.00336392860936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.74736338
delta logL = -6.33153831586e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85776E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .78798       1.0000          .0000       10.000    
     3 'Normalizat'    1.8457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    30482.        .42118E-03** at limit **
   2  Index         1.4180        5.5404        .43561        .52197E-11
   3  Normalizat    1.8458        .13769        .74055E-01   -.69632E-04
   4  Prefactor     .64329        .47320E-01    .41642E-01   -.73260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.41798
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    37893.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4180        7.7500        .50000       -.79863    
   3  Normalizat    1.8458        .22522        .32762E-03   -.68475    
   4  Prefactor     .64329        .77448E-01    .17744E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22939e-09
Minuit parameter uncertainties:
  1  0.0114648
  2  53.3834
  3  0.225346
  4  0.0774605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6956.74736332
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  8.327e-10  1.146e-02  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.418e+00  5.338e+01  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  7.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 280.611 -58.680

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/31199836/cmap_HighResolution_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2026-07-10 05:18:08.886039', job_id='31199836', GAL2='0.64', fit_tolerance='1e-08', EG2='1.85', EG='1.85', time_epoch_completed='1783685888.89', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='933' AND source_name='4FGL J1842.4-5840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 05:18:09 PDT 2026

=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31199876/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits evtable="EVENTS" scfile=/lscratch/kocevski/31199876/ft2_4FGL_J1842.4-5840_weekly_bin933.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31199876/Model_4FGL_J1842.4-5840_weekly_bin933.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31199876/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits.....................!
real 28.70
user 27.12
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31199876/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits', '/lscratch/kocevski/31199876/ft2_4FGL_J1842.4-5840_weekly_bin933.fits', expMap='/lscratch/kocevski/31199876/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', expCube='/lscratch/kocevski/31199876/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31199876/Model_4FGL_J1842.4-5840_weekly_bin933.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31199876/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits
Spacecraft file(s): /lscratch/kocevski/31199876/ft2_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure map: /lscratch/kocevski/31199876/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure cube: /lscratch/kocevski/31199876/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31199876/Model_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.82562673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.77593528

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32518E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    35.288       1.0000          .0000       .10000E+07
     3 'norm      '    .44825       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80065E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32772E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .15250E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6115       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55638E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    988.95       1.0000          .0000       .10000E+07
    10 'norm      '    .25073E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .13398E-02   1.0000          .0000       .10000E+07
    12 'norm      '    11.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .58051E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18563E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21992       1.0000          .0000       .10000E+07
    16 'norm      '    4.6616       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3198       1.0000          .0000       .10000E+07
    18 'norm      '    .56030       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.8573       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .64107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     1648 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2012       -.73890E-08** at limit **
   2  Prefactor     22.872        119.33        .24312E-05   -.20298E-03
   3  norm           .0000        81.331       -.50926E-07** at limit **
   4  Prefactor     .66613E-09    92.346       -.52382E-06** at limit **
   5  Prefactor     .17764E-08    186.08        .23002E-06** at limit **
   6  norm          .55511E-10    69.495       -.19011E-06** at limit **
   7  Prefactor     1.4731        24.542       -.17857E-05   -.17623E-02
   8  Prefactor     .11102E-09    88.061       -.16790E-05** at limit **
   9  Prefactor     1693.1        3604.6       -.38317E-05    .70704E-04
  10  norm           .0000        66.053       -.20452E-06** at limit **
  11  norm           .0000        15.551       -.55818E-07** at limit **
  12  norm          11.542        5.5520        .10129E-06    .70970E-03
  13  Prefactor     .72720E-08    163.91       -.40173E-06** at limit **
  14  Prefactor     .88818E-09    152.82       -.11690E-06** at limit **
  15  Prefactor      .0000        141.45       -.10585E-06** at limit **
  16  norm          4.6835        4.7944       -.53954E-07    .31537E-03
  17  Prefactor     4.3723        8.8099        .15104E-06    .16633E-02
  18  norm          .56584        1.2918       -.87930E-07   -.81098E-03
  19  Normalizat    1.8458        .33248        .37051E-05    .13769E-03
  20  Prefactor     .64329        .11038        .20521E-05    .27409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 22.8717
  norm       = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 1.77636e-09
  norm       = 5.55112e-11
  Prefactor  = 1.47313
  Prefactor  = 1.11022e-10
  Prefactor  = 1693.1
  norm       = 0
  norm       = 0
  norm       = 11.5422
  Prefactor  = 7.27196e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  norm       = 4.68349
  Prefactor  = 4.37231
  norm       = 0.565836
  Normalizat = 1.84578
  Prefactor  = 0.643289
=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.73
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31199890/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits evtable="EVENTS" scfile=/lscratch/kocevski/31199890/ft2_4FGL_J1842.4-5840_weekly_bin933.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31199890/Model_4FGL_J1842.4-5840_weekly_bin933.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31199890/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits.....................!
real 28.66
user 27.29
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31199890/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits', '/lscratch/kocevski/31199890/ft2_4FGL_J1842.4-5840_weekly_bin933.fits', expMap='/lscratch/kocevski/31199890/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', expCube='/lscratch/kocevski/31199890/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31199890/Model_4FGL_J1842.4-5840_weekly_bin933.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31199890/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits
Spacecraft file(s): /lscratch/kocevski/31199890/ft2_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure map: /lscratch/kocevski/31199890/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure cube: /lscratch/kocevski/31199890/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31199890/Model_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.82562673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.77593528

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32518E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    35.288       1.0000          .0000       .10000E+07
     3 'norm      '    .44825       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80065E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32772E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .15250E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6115       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55638E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    988.95       1.0000          .0000       .10000E+07
    10 'norm      '    .25073E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .13398E-02   1.0000          .0000       .10000E+07
    12 'norm      '    11.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .58051E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18563E-03   1.0000          .0 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=OK           325 CALLS     1973 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.872        124.54        .16836E-03   -1.5612    
   3  norm           .0000        79.905        .84097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66613E-09    80.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-08    178.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    68.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4731        24.097        .83402E-03   -1.5684    
   8  Prefactor     .11102E-09    87.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1693.1        3545.4        .31815E-04   -1.4885    
  10  norm           .0000        64.849        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        15.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.542        5.5520        .29151E-03   -1.5640    
  13  Prefactor     .72720E-08    161.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88818E-09    147.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        141.76        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6835        4.8096        .46588E-03   -1.5665    
  17  Prefactor     4.3723        8.7317        .48444E-03   -1.5666    
  18  norm          .56584        1.2980        .72862E-03   -1.5693    
  19  Normalizat    1.8458        .27698        .74055E-01   -.68475    
  20  Prefactor     .64329        .91831E-01    .41611E-01   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81991e-07
Minuit parameter uncertainties:
  1  1.51412e-06
  2  106.744
  3  1.12003e-05
  4  0.000461863
  5  0.00112904
  6  9.9003e-05
  7  11.916
  8  0.000204677
  9  3549.85
  10  6.06265e-06
  11  8.88744e-06
  12  5.55202
  13  0.00217207
  14  0.000728918
  15  8.76564e-05
  16  4.80962
  17  8.73175
  18  1.29804
  19  0.277219
  20  0.0918527
000       .10000E+07
    15 'Prefactor '    .21992       1.0000          .0000       .10000E+07
    16 'norm      '    4.6616       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3198       1.0000          .0000       .10000E+07
    18 'norm      '    .56030       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.8573       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .64107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     1648 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2012       -.73890E-08** at limit **
   2  Prefactor     22.872        119.33        .24312E-05   -.20298E-03
   3  norm           .0000        81.331       -.50926E-07** at limit **
   4  Prefactor     .66613E-09    92.346       -.52382E-06** at limit **
   5  Prefactor     .17764E-08    186.08        .23002E-06** at limit **
   6  norm          .55511E-10    69.495       -.19011E-06** at limit **
   7  Prefactor     1.4731        24.542       -.17857E-05   -.17623E-02
   8  Prefactor     .11102E-09    88.061       -.16790E-05** at limit **
   9  Prefactor     1693.1        3604.6       -.38317E-05    .70704E-04
  10  norm           .0000        66.053       -.20452E-06** at limit **
  11  norm           .0000        15.551       -.55818E-07** at limit **
  12  norm          11.542        5.5520        .10129E-06    .70970E-03
  13  Prefactor     .72720E-08    163.91       -.40173E-06** at limit **
  14  Prefactor     .88818E-09    152.82       -.11690E-06** at limit **
  15  Prefactor      .0000        141.45       -.10585E-06** at limit **
  16  norm          4.6835        4.7944       -.53954E-07    .31537E-03
  17  Prefactor     4.3723        8.8099        .15104E-06    .16633E-02
  18  norm          .56584        1.2918       -.87930E-07   -.81098E-03
  19  Normalizat    1.8458        .33248        .37051E-05    .13769E-03
  20  Prefactor     .64329        .11038        .20521E-05    .27409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 22.8717
  norm       = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 1.77636e-09
  norm       = 5.55112e-11
  Prefactor  = 1.47313
  Prefactor  = 1.11022e-10
  Prefactor  = 1693.1
  norm       = 0
  norm       = 0
  norm       = 11.5422
  Prefactor  = 7.27196e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  norm       = 4.68349
  Prefactor  = 4.37231
  norm       = 0.565836
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=OK           325 CALLS     1973 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.872        124.54        .16836E-03   -1.5612    
   3  norm           .0000        79.905        .84097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66613E-09    80.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-08    178.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    68.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4731        24.097        .83402E-03   -1.5684    
   8  Prefactor     .11102E-09    87.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1693.1        3545.4        .31815E-04   -1.4885    
  10  norm           .0000        64.849        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        15.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.542        5.5520        .29151E-03   -1.5640    
  13  Prefactor     .72720E-08    161.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88818E-09    147.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        141.76        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6835        4.8096        .46588E-03   -1.5665    
  17  Prefactor     4.3723        8.7317        .48444E-03   -1.5666    
  18  norm          .56584        1.2980        .72862E-03   -1.5693    
  19  Normalizat    1.8458        .27698        .74055E-01   -.68475    
  20  Prefactor     .64329        .91831E-01    .41611E-01   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81991e-07
Minuit parameter uncertainties:
  1  1.51412e-06
  2  106.744
  3  1.12003e-05
  4  0.000461863
  5  0.00112904
  6  9.9003e-05
  7  11.916
  8  0.000204677
  9  3549.85
  10  6.06265e-06
  11  8.88744e-06
  12  5.55202
  13  0.00217207
  14  0.000728918
  15  8.76564e-05
  16  4.80962
  17  8.73175
  18  1.29804
  19  0.277219
  20  0.0918527
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.74736332

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  0.000e+00  8.766e-05  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  9.185e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 1.51161284037e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110102812231 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31199876/likelihoodResults_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.75072725
delta logL = -0.00336392860936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.74736338
delta logL = -6.33153831586e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85776E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .78798       1.0000          .0000       10.000    
     3 'Normalizat'    1.8457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    30482.        .42118E-03** at limit **
   2  Index         1.4180        5.5404        .43561        .52197E-11
   3  Normalizat    1.8458        .13769        .74055E-01   -.69632E-04
   4  Prefactor     .64329        .47320E-01    .41642E-01   -.73260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.41798
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    37893.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4180        7.7500        .50000       -.79863    
   3  Normalizat    1.8458        .22522        .32762E-03   -.68475    
   4  Prefactor     .64329        .77448E-01    .17744E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22939e-09
Minuit parameter uncertainties:
  1  0.0114648
  2  53.3834
  3  0.225346
  4  0.0774605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6956.74736332
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  8.327e-10  1.146e-02  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.418e+00  5.338e+01  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  7.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 280.611 -58.680

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/31199876/cmap_HighResolution_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2026-07-10 05:20:28.595058', job_id='31199876', GAL2='0.64', fit_tolerance='1e-08', EG2='1.85', EG='1.85', time_epoch_completed='1783686028.6', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='933' AND source_name='4FGL J1842.4-5840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 05:20:28 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.74736332

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  0.000e+00  8.766e-05  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  9.185e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 1.51161284037e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110102812231 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31199890/likelihoodResults_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.75072725
delta logL = -0.00336392860936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.74736338
delta logL = -6.33153831586e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85776E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .78798       1.0000          .0000       10.000    
     3 'Normalizat'    1.8457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    30482.        .42118E-03** at limit **
   2  Index         1.4180        5.5404        .43561        .52197E-11
   3  Normalizat    1.8458        .13769        .74055E-01   -.69632E-04
   4  Prefactor     .64329        .47320E-01    .41642E-01   -.73260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.41798
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    37893.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4180        7.7500        .50000       -.79863    
   3  Normalizat    1.8458        .22522        .32762E-03   -.68475    
   4  Prefactor     .64329        .77448E-01    .17744E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22939e-09
Minuit parameter uncertainties:
  1  0.0114648
  2  53.3834
  3  0.225346
  4  0.0774605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6956.74736332
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  8.327e-10  1.146e-02  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.418e+00  5.338e+01  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  7.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 280.611 -58.680

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/31199890/cmap_HighResolution_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2026-07-10 05:21:00.486960', job_id='31199890', GAL2='0.64', fit_tolerance='1e-08', EG2='1.85', EG='1.85', time_epoch_completed='1783686060.49', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='933' AND source_name='4FGL J1842.4-5840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 05:21:00 PDT 2026

number of points = 17530
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1842.4-5840_weekly_bin933
RA = 280.611, Dec = -58.6802
tmin = 803260801, tmax = 803865601
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='31200206', job_status='RUN', time_executed='2026-07-10 05:17:17.249654', time_epoch_executed='1783685837.25' WHERE source_name='4FGL J1842.4-5840' and cadence='weekly' and bin_id='933'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31200206

Creating custom pfile directory:
/lscratch/kocevski/31200206/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=803260801.0 && nMetStart<803865601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=803260801.0 && nMetStart<803865601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31200206/ft1_4FGL_J1842.4-5840_weekly_bin933.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=803260801.0 && nMetStart<803865601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31200206/ft1_4FGL_J1842.4-5840_weekly_bin933.fits outfile=/lscratch/kocevski/31200206/ft1_filteredMKT_4FGL_J1842.4-5840_weekly_bin933.fits ra=280.611 dec=-58.6802 rad=12.0 tmin=803260801.0 tmax=803865601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.22
user 3.47
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.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/31200206/ft1_filteredMKT_4FGL_J1842.4-5840_weekly_bin933.fits evtable="EVENTS" outfile="/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.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.77
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31200206/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits
.....................!
real 19.77
user 18.98
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits evtable="EVENTS" scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31200206/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits outfile=/lscratch/kocevski/31200206/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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/31200206/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
.....................!
real 70.29
user 65.33
sys 4.10

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Added 290 point sources and 8 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1842.4-5840 @ 280.611 -58.6802

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits outfile=/lscratch/kocevski/31200206/cmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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=280.611 yref=-58.6802 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.76
user 0.24
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits outfile=/lscratch/kocevski/31200206/cmap_HighResolution_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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=280.611 yref=-58.6802 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.75
user 0.24
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits evtable="EVENTS" scfile=/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31200206/Model_4FGL_J1842.4-5840_weekly_bin933.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 FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1614-518
Working on...
/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits.....................!
real 28.83
user 27.26
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits', '/lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits', expMap='/lscratch/kocevski/31200206/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', expCube='/lscratch/kocevski/31200206/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31200206/Model_4FGL_J1842.4-5840_weekly_bin933.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1842.4-5840'

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  5.229e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31200206/ft1_filtered_4FGL_J1842.4-5840_weekly_bin933.fits
Spacecraft file(s): /lscratch/kocevski/31200206/ft2_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure map: /lscratch/kocevski/31200206/expmap_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
Exposure cube: /lscratch/kocevski/31200206/ltcube_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31200206/Model_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.82562673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.77593528

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32518E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    35.288       1.0000          .0000       .10000E+07
     3 'norm      '    .44825       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80065E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .32772E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .15250E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6115       1.0000          .0000       .10000E+07
     8 'Prefactor '    .55638E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    988.95       1.0000          .0000       .10000E+07
    10 'norm      '    .25073E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .13398E-02   1.0000          .0000       .10000E+07
    12 'norm      '    11.789       1.0000          .0000       .10000E+07
    13 'Prefactor '    .58051E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .18563E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .21992       1.0000          .0000       .10000E+07
    16 'norm      '    4.6616       1.0000          .0000       .10000E+07
    17 'Prefactor '    4.3198       1.0000          .0000       .10000E+07
    18 'norm      '    .56030       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.8573       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .64107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED    248 CALLS     1648 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        8.2012       -.73890E-08** at limit **
   2  Prefactor     22.872        119.33        .24312E-05   -.20298E-03
   3  norm           .0000        81.331       -.50926E-07** at limit **
   4  Prefactor     .66613E-09    92.346       -.52382E-06** at limit **
   5  Prefactor     .17764E-08    186.08        .23002E-06** at limit **
   6  norm          .55511E-10    69.495       -.19011E-06** at limit **
   7  Prefactor     1.4731        24.542       -.17857E-05   -.17623E-02
   8  Prefactor     .11102E-09    88.061       -.16790E-05** at limit **
   9  Prefactor     1693.1        3604.6       -.38317E-05    .70704E-04
  10  norm           .0000        66.053       -.20452E-06** at limit **
  11  norm           .0000        15.551       -.55818E-07** at limit **
  12  norm          11.542        5.5520        .10129E-06    .70970E-03
  13  Prefactor     .72720E-08    163.91       -.40173E-06** at limit **
  14  Prefactor     .88818E-09    152.82       -.11690E-06** at limit **
  15  Prefactor      .0000        141.45       -.10585E-06** at limit **
  16  norm          4.6835        4.7944       -.53954E-07    .31537E-03
  17  Prefactor     4.3723        8.8099        .15104E-06    .16633E-02
  18  norm          .56584        1.2918       -.87930E-07   -.81098E-03
  19  Normalizat    1.8458        .33248        .37051E-05    .13769E-03
  20  Prefactor     .64329        .11038        .20521E-05    .27409E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 22.8717
  norm       = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 1.77636e-09
  norm       = 5.55112e-11
  Prefactor  = 1.47313
  Prefactor  = 1.11022e-10
  Prefactor  = 1693.1
  norm       = 0
  norm       = 0
  norm       = 11.5422
  Prefactor  = 7.27196e-09
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  norm       = 4.68349
  Prefactor  = 4.37231
  norm       = 0.565836
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=OK           325 CALLS     1973 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        8.1854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.872        124.54        .16836E-03   -1.5612    
   3  norm           .0000        79.905        .84097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .66613E-09    80.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-08    178.01        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    68.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.4731        24.097        .83402E-03   -1.5684    
   8  Prefactor     .11102E-09    87.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1693.1        3545.4        .31815E-04   -1.4885    
  10  norm           .0000        64.849        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        15.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          11.542        5.5520        .29151E-03   -1.5640    
  13  Prefactor     .72720E-08    161.70        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .88818E-09    147.39        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        141.76        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6835        4.8096        .46588E-03   -1.5665    
  17  Prefactor     4.3723        8.7317        .48444E-03   -1.5666    
  18  norm          .56584        1.2980        .72862E-03   -1.5693    
  19  Normalizat    1.8458        .27698        .74055E-01   -.68475    
  20  Prefactor     .64329        .91831E-01    .41611E-01   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81991e-07
Minuit parameter uncertainties:
  1  1.51412e-06
  2  106.744
  3  1.12003e-05
  4  0.000461863
  5  0.00112904
  6  9.9003e-05
  7  11.916
  8  0.000204677
  9  3549.85
  10  6.06265e-06
  11  8.88744e-06
  12  5.55202
  13  0.00217207
  14  0.000728918
  15  8.76564e-05
  16  4.80962
  17  8.73175
  18  1.29804
  19  0.277219
  20  0.0918527
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 6956.74736332

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  0.000e+00  8.766e-05  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.682e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  9.185e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.772e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 280.611 -58.680
Photon Flux Upper Limit: 1.51161284037e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0110102812231 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31200206/likelihoodResults_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.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) = 6956.75072725
delta logL = -0.00336392860936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.74736338
delta logL = -6.33153831586e-08

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .85776E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .78798       1.0000          .0000       10.000    
     3 'Normalizat'    1.8457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1043E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6956.747     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      260 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83267E-09    30482.        .42118E-03** at limit **
   2  Index         1.4180        5.5404        .43561        .52197E-11
   3  Normalizat    1.8458        .13769        .74055E-01   -.69632E-04
   4  Prefactor     .64329        .47320E-01    .41642E-01   -.73260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.32667e-10
  Index      = 1.41798
  Normalizat = 1.84578
  Prefactor  = 0.643289
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.747     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83267E-09    37893.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.4180        7.7500        .50000       -.79863    
   3  Normalizat    1.8458        .22522        .32762E-03   -.68475    
   4  Prefactor     .64329        .77448E-01    .17744E-03   -1.0579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22939e-09
Minuit parameter uncertainties:
  1  0.0114648
  2  53.3834
  3  0.225346
  4  0.0774605
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6956.74736332
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J1842.4-5840
   Spectrum: PowerLaw
708    Prefactor:  8.327e-10  1.146e-02  0.000e+00  1.000e+06 ( 1.000e-15)
709        Index:  1.418e+00  5.338e+01  0.000e+00  1.000e+01 (-1.000e+00)
710        Scale:  7.602e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1036    Prefactor:  6.433e-01  7.746e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1037        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1038        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1012   Normalization:  1.846e+00  2.253e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 280.611 -58.680

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/31200206/cmap_HighResolution_803260801_803865601_4FGL_J1842.4-5840_weekly_bin933.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.51e-07', time_completed='2026-07-10 05:28:03.375347', job_id='31200206', GAL2='0.64', fit_tolerance='1e-08', EG2='1.85', EG='1.85', time_epoch_completed='1783686483.38', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.09e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.68' WHERE bin_id='933' AND source_name='4FGL J1842.4-5840' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 10 05:28:04 PDT 2026

