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

 FCN=   12549.51     FROM HESSE     STATUS=OK           292 CALLS     1439 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49964E-01    .74086        .53091E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62993        3.5128        .63474E-03   -1.5692    
   3  Prefactor     31.262        18.124        .17829E-03   -1.5596    
   4  Prefactor     11.333        11.252        .29640E-03   -1.5641    
   5  Prefactor     .11102E-09    4.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49916        .16164        .55180E-03   -1.5694    
   7  norm          2.5543        3.1682        .63603E-03   -1.5676    
   8  norm          .48572E-07    9.2601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33862E-08    11.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .59397E-08    2.1196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1203        12.401        .69631E-03   -1.5679    
  12  Prefactor     .19252E-01    .70894        .42118E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29643E-07    10.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6176        1.9321        .83158E-03   -1.5683    
  15  norm          2.5472        6.8300        .63956E-03   -1.5676    
  16  Prefactor     .17542E-07    6.9274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2720        .15472        .64058E-01   -.84406    
  18  Prefactor     .93133        .96899E-01    .45403E-01   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87137e-06
Minuit parameter uncertainties:
  1  0.384793
  2  2.97512
  3  18.1242
  4  11.2524
  5  3.84911e-05
  6  0.161644
  7  3.16822
  8  0.00134097
  9  0.00038916
  10  0.00022456
  11  10.2556
  12  0.233651
  13  0.00109778
  14  1.93206
  15  6.82999
  16  0.000697049
  17  0.15478
  18  0.0969173
/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) = 12549.5065917

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.386e-09  3.892e-04  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  9.692e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 4.27595568292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00334235313566 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31510464/likelihoodResults_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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) = 12549.5098534
delta logL = -0.0032616768367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12549.5065926
delta logL = -8.5216925072e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12605E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9167       1.0000          .0000       10.000    
     3 'Normalizat'    1.2720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      229 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3357        .42118E-03** at limit **
   2  Index         1.0951        .69077        .49512E-04     .0000    
   3  Normalizat    1.2720        1.0857       -.18047E-05    .15680E-04
   4  Prefactor     .93133        1.2746       -.19190E-06    .21112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0951
  Normalizat = 1.272
  Prefactor  = 0.931334
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67549E-01    1.1243        .49512E-04   -.89623    
   3  Normalizat    1.2720        1.0857       -.18047E-05   -.84406    
   4  Prefactor     .93133        1.2746       -.19190E-06   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.14203e-12
Minuit parameter uncertainties:
  1  8.10657e-06
  2  0.696533
  3  1.10605
  4  1.31952
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) = 12549.5065917
delta logL = 2.65572452918e-10

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  8.107e-06  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  1.095e+00  6.965e-01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  1.320e+00  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.244 19.581

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/31510464/cmap_HighResolution_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-12 23:41:12.433827', job_id='31510464', GAL2='0.93', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1783924872.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.66e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2174' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 23:41:12 PDT 2026

L_V02
Working on...
/lscratch/kocevski/31510485/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits.....................!
real 37.03
user 35.32
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31510485/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits', '/lscratch/kocevski/31510485/ft2_4FGL_J1516.9+1934_daily_bin2174.fits', expMap='/lscratch/kocevski/31510485/expmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits', expCube='/lscratch/kocevski/31510485/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31510485/Model_4FGL_J1516.9+1934_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1516.9+1934'

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.750e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31510485/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31510485/ft2_4FGL_J1516.9+1934_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31510485/expmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31510485/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31510485/Model_4FGL_J1516.9+1934_daily_bin2174.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) = 12549.6380336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50429E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .66645       1.0000          .0000       .10000E+07
     3 'Prefactor '    31.469       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.405       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19379E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .49916       1.0000          .0000       .10000E+07
     7 'norm      '    2.5731       1.0000          .0000       .10000E+07
     8 'norm      '    .17843E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14223E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15605E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1837       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40972E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .87702E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.6190       1.0000          .0000       .10000E+07
    15 'norm      '    2.5470       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18208E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2718       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93129       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12549.51     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1147 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49964E-01    9.3308       -.40494E-06** at limit **
   2  norm          .62993        3.5466        .39100E-07   -.41560E-02
   3  Prefactor     31.262        7.8952       -.42383E-06    .80949E-01
   4  Prefactor     11.333        4.2774        .69372E-06   -.17095E-02
   5  Prefactor     .11102E-09    4.1329       -.31997E-06** at limit **
   6  norm          .49916        .15956        .10403E-07   -.54290E-01
   7  norm          2.5543        3.1687       -.17387E-06    .15889E-01
   8  norm          .48572E-07    5.6299        .23725E-06** at limit **
   9  Prefactor     .33862E-08    8.2946       -.62859E-06** at limit **
  10  Prefactor     .59397E-08    1.9698        .24609E-07** at limit **
  11  Prefactor     2.1203        8.2696       -.30847E-05   -.20714E-01
  12  Prefactor     .19252E-01    15.879       -.28480E-05** at limit **
  13  Prefactor     .29643E-07    3.7430        .34100E-06** at limit **
  14  norm          1.6176        1.8899        .50076E-07   -.14414E-01
  15  norm          2.5472        6.7998       -.19334E-06   -.81490E-03
  16  Prefactor     .17542E-07    4.9267        .38691E-08** at limit **
  17  Normalizat    1.2720        .18335        .31211E-06   -.57032E-03
  18  Prefactor     .93133        .11675        .19564E-05   -.76699E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0499641
  norm       = 0.629933
  Prefactor  = 31.2625
  Prefactor  = 11.3335
  Prefactor  = 1.11022e-10
  norm       = 0.49916
  norm       = 2.55428
  norm       = 4.85723e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 5.93969e-09
  Prefactor  = 2.12028
  Prefactor  = 0.0192517
  Prefactor  = 2.9643e-08
  norm       = 1.61759
  norm       = 2.54723
  Prefactor  = 1.75415e-08
  Normalizat = 1.272
  Prefactor  = 0.931334
 **********
 **   18 **HESSE 
 **********

 FCN=   12549.51     FROM HESSE     STATUS=OK           292 CALLS     1439 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49964E-01    .74086        .53091E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62993        3.5128        .63474E-03   -1.5692    
   3  Prefactor     31.262        18.124        .17829E-03   -1.5596    
   4  Prefactor     11.333        11.252        .29640E-03   -1.5641    
   5  Prefactor     .11102E-09    4.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49916        .16164        .55180E-03   -1.5694    
   7  norm          2.5543        3.1682        .63603E-03   -1.5676    
   8  norm          .48572E-07    9.2601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33862E-08    11.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .59397E-08    2.1196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1203        12.401        .69631E-03   -1.5679    
  12  Prefactor     .19252E-01    .70894        .42118E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29643E-07    10.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6176        1.9321        .83158E-03   -1.5683    
  15  norm          2.5472        6.8300        .63956E-03   -1.5676    
  16  Prefactor     .17542E-07    6.9274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2720        .15472        .64058E-01   -.84406    
  18  Prefactor     .93133        .96899E-01    .45403E-01   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87137e-06
Minuit parameter uncertainties:
  1  0.384793
  2  2.97512
  3  18.1242
  4  11.2524
  5  3.84911e-05
  6  0.161644
  7  3.16822
  8  0.00134097
  9  0.00038916
  10  0.00022456
  11  10.2556
  12  0.233651
  13  0.00109778
  14  1.93206
  15  6.82999
  16  0.000697049
  17  0.15478
  18  0.0969173
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.386e-09  3.892e-04  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  9.692e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 4.27595568292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00334235313566 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31510485/likelihoodResults_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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) = 12549.5098534
delta logL = -0.0032616768367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12549.5065926
delta logL = -8.5216925072e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12605E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9167       1.0000          .0000       10.000    
     3 'Normalizat'    1.2720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      229 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3357        .42118E-03** at limit **
   2  Index         1.0951        .69077        .49512E-04     .0000    
   3  Normalizat    1.2720        1.0857       -.18047E-05    .15680E-04
   4  Prefactor     .93133        1.2746       -.19190E-06    .21112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0951
  Normalizat = 1.272
  Prefactor  = 0.931334
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67549E-01    1.1243        .49512E-04   -.89623    
   3  Normalizat    1.2720        1.0857       -.18047E-05   -.84406    
   4  Prefactor     .93133        1.2746       -.19190E-06   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.14203e-12
Minuit parameter uncertainties:
  1  8.10657e-06
  2  0.696533
  3  1.10605
  4  1.31952
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) = 12549.5065917
delta logL = 2.65572452918e-10

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  8.107e-06  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  1.095e+00  6.965e-01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  1.320e+00  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.244 19.581

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/31510485/cmap_HighResolution_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-12 23:42:08.803227', job_id='31510485', GAL2='0.93', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1783924928.8', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.66e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2174' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 23:42:09 PDT 2026

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


Performing analysis on: 4FGL_J1516.9+1934_daily_bin2174
RA = 229.244, Dec = 19.5805
tmin = 802828801, tmax = 803088001
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='31510592', job_status='RUN', time_executed='2026-07-12 23:40:50.895178', time_epoch_executed='1783924850.9' WHERE source_name='4FGL J1516.9+1934' and cadence='daily' and bin_id='2174'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31510592

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31510592/ft1_4FGL_J1516.9+1934_daily_bin2174.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31510592/ft1_4FGL_J1516.9+1934_daily_bin2174.fits outfile=/lscratch/kocevski/31510592/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin2174.fits ra=229.244 dec=19.5805 rad=12.0 tmin=802828801.0 tmax=803088001.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 1.99
user 1.51
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.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/31510592/ft1_filteredMKT_4FGL_J1516.9+1934_daily_bin2174.fits evtable="EVENTS" outfile="/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.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.58
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 1174

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits sctable="SC_DATA" outfile=/lscratch/kocevski/31510592/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits
.....................!
real 8.78
user 8.23
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31510592/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits outfile=/lscratch/kocevski/31510592/expmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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/31510592/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits
.....................!
real 70.33
user 65.34
sys 4.25

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J1516.9+1934 @ 229.244 19.5805

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits outfile=/lscratch/kocevski/31510592/cmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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=229.244 yref=19.5805 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.71
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits outfile=/lscratch/kocevski/31510592/cmap_HighResolution_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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=229.244 yref=19.5805 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.70
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits evtable="EVENTS" scfile=/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31510592/Model_4FGL_J1516.9+1934_daily_bin2174.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits.....................!
real 35.94
user 34.26
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits', '/lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits', expMap='/lscratch/kocevski/31510592/expmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits', expCube='/lscratch/kocevski/31510592/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31510592/Model_4FGL_J1516.9+1934_daily_bin2174.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1516.9+1934'

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  7.750e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31510592/ft1_filtered_4FGL_J1516.9+1934_daily_bin2174.fits
Spacecraft file(s): /lscratch/kocevski/31510592/ft2_4FGL_J1516.9+1934_daily_bin2174.fits
Exposure map: /lscratch/kocevski/31510592/expmap_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits
Exposure cube: /lscratch/kocevski/31510592/ltcube_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31510592/Model_4FGL_J1516.9+1934_daily_bin2174.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) = 12549.6380336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50429E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .66645       1.0000          .0000       .10000E+07
     3 'Prefactor '    31.469       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.405       1.0000          .0000       .10000E+07
     5 'Prefactor '    .19379E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .49916       1.0000          .0000       .10000E+07
     7 'norm      '    2.5731       1.0000          .0000       .10000E+07
     8 'norm      '    .17843E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .14223E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15605E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.1837       1.0000          .0000       .10000E+07
    12 'Prefactor '    .40972E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .87702E-05   1.0000          .0000       .10000E+07
    14 'norm      '    1.6190       1.0000          .0000       .10000E+07
    15 'norm      '    2.5470       1.0000          .0000       .10000E+07
    16 'Prefactor '    .18208E-07   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2718       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93129       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12549.51     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1147 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49964E-01    9.3308       -.40494E-06** at limit **
   2  norm          .62993        3.5466        .39100E-07   -.41560E-02
   3  Prefactor     31.262        7.8952       -.42383E-06    .80949E-01
   4  Prefactor     11.333        4.2774        .69372E-06   -.17095E-02
   5  Prefactor     .11102E-09    4.1329       -.31997E-06** at limit **
   6  norm          .49916        .15956        .10403E-07   -.54290E-01
   7  norm          2.5543        3.1687       -.17387E-06    .15889E-01
   8  norm          .48572E-07    5.6299        .23725E-06** at limit **
   9  Prefactor     .33862E-08    8.2946       -.62859E-06** at limit **
  10  Prefactor     .59397E-08    1.9698        .24609E-07** at limit **
  11  Prefactor     2.1203        8.2696       -.30847E-05   -.20714E-01
  12  Prefactor     .19252E-01    15.879       -.28480E-05** at limit **
  13  Prefactor     .29643E-07    3.7430        .34100E-06** at limit **
  14  norm          1.6176        1.8899        .50076E-07   -.14414E-01
  15  norm          2.5472        6.7998       -.19334E-06   -.81490E-03
  16  Prefactor     .17542E-07    4.9267        .38691E-08** at limit **
  17  Normalizat    1.2720        .18335        .31211E-06   -.57032E-03
  18  Prefactor     .93133        .11675        .19564E-05   -.76699E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0499641
  norm       = 0.629933
  Prefactor  = 31.2625
  Prefactor  = 11.3335
  Prefactor  = 1.11022e-10
  norm       = 0.49916
  norm       = 2.55428
  norm       = 4.85723e-08
  Prefactor  = 3.38618e-09
  Prefactor  = 5.93969e-09
  Prefactor  = 2.12028
  Prefactor  = 0.0192517
  Prefactor  = 2.9643e-08
  norm       = 1.61759
  norm       = 2.54723
  Prefactor  = 1.75415e-08
  Normalizat = 1.272
  Prefactor  = 0.931334
 **********
 **   18 **HESSE 
 **********

 FCN=   12549.51     FROM HESSE     STATUS=OK           292 CALLS     1439 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49964E-01    .74086        .53091E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .62993        3.5128        .63474E-03   -1.5692    
   3  Prefactor     31.262        18.124        .17829E-03   -1.5596    
   4  Prefactor     11.333        11.252        .29640E-03   -1.5641    
   5  Prefactor     .11102E-09    4.2146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .49916        .16164        .55180E-03   -1.5694    
   7  norm          2.5543        3.1682        .63603E-03   -1.5676    
   8  norm          .48572E-07    9.2601        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33862E-08    11.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .59397E-08    2.1196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1203        12.401        .69631E-03   -1.5679    
  12  Prefactor     .19252E-01    .70894        .42118E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .29643E-07    10.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6176        1.9321        .83158E-03   -1.5683    
  15  norm          2.5472        6.8300        .63956E-03   -1.5676    
  16  Prefactor     .17542E-07    6.9274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2720        .15472        .64058E-01   -.84406    
  18  Prefactor     .93133        .96899E-01    .45403E-01   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87137e-06
Minuit parameter uncertainties:
  1  0.384793
  2  2.97512
  3  18.1242
  4  11.2524
  5  3.84911e-05
  6  0.161644
  7  3.16822
  8  0.00134097
  9  0.00038916
  10  0.00022456
  11  10.2556
  12  0.233651
  13  0.00109778
  14  1.93206
  15  6.82999
  16  0.000697049
  17  0.15478
  18  0.0969173
Done.

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

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  3.386e-09  3.892e-04  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  2.580e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  9.692e-02  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 229.244 19.581
Photon Flux Upper Limit: 4.27595568292e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00334235313566 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31510592/likelihoodResults_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.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) = 12549.5098534
delta logL = -0.0032616768367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 12549.5065926
delta logL = -8.5216925072e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12605E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9167       1.0000          .0000       10.000    
     3 'Normalizat'    1.2720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93138       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      229 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.3357        .42118E-03** at limit **
   2  Index         1.0951        .69077        .49512E-04     .0000    
   3  Normalizat    1.2720        1.0857       -.18047E-05    .15680E-04
   4  Prefactor     .93133        1.2746       -.19190E-06    .21112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.0951
  Normalizat = 1.272
  Prefactor  = 0.931334
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   12549.51     FROM HESSE     STATUS=FAILED         9 CALLS      238 TOTAL
                     EDM=   .11E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.3357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67549E-01    1.1243        .49512E-04   -.89623    
   3  Normalizat    1.2720        1.0857       -.18047E-05   -.84406    
   4  Prefactor     .93133        1.2746       -.19190E-06   -.95055    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.14203e-12
Minuit parameter uncertainties:
  1  8.10657e-06
  2  0.696533
  3  1.10605
  4  1.31952
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) = 12549.5065917
delta logL = 2.65572452918e-10

Extracting fit parameters...

4FGL J1516.9+1934
   Spectrum: PowerLaw
225    Prefactor:  0.000e+00  8.107e-06  0.000e+00  1.000e+06 ( 1.000e-13)
226        Index:  1.095e+00  6.965e-01  0.000e+00  1.000e+01 (-1.000e+00)
227        Scale:  7.139e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  9.313e-01  1.320e+00  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  1.272e+00  1.106e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 229.244 19.581

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/31510592/cmap_HighResolution_802828801_803088001_4FGL_J1516.9+1934_daily_bin2174.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', job_status='DONE', photon_flux_upper_limit='4.28e-08', time_completed='2026-07-12 23:47:21.757567', job_id='31510592', GAL2='0.93', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1783925241.76', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.66e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='2174' AND source_name='4FGL J1516.9+1934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 23:47:22 PDT 2026

