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

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
AS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
/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).

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

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498677/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
_V02
Working on...
/lscratch/kocevski/31498840/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits.....................!
real 42.84
user 40.95
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31498840/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits', '/lscratch/kocevski/31498840/ft2_4FGL_J1508.4+7717_daily_bin2183.fits', expMap='/lscratch/kocevski/31498840/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', expCube='/lscratch/kocevski/31498840/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31498840/Model_4FGL_J1508.4+7717_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31498840/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31498840/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31498840/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31498840/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31498840/Model_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7418671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10336E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0011       1.0000          .0000       .10000E+07
     4 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .51525       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11884E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39811E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.063       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47060E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11700       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42992E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38598       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25479E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .16330E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21018E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4285       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17203E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23421E-02   1.0000          .0000       .10000E+07
    22 'norm      '    8.1200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION Hshell-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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498677/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:01:57.557585', job_id='31498677', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915317.56', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:01:58 PDT 2026

tfile=/lscratch/kocevski/31498983/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
.....................!
real 8.95
user 7.91
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31498983/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31498983/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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/31498983/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
.....................!
real 70.01
user 64.92
sys 3.94

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

Setting source of interest to:
4FGL J1508.4+7717 @ 227.102 77.2929

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits scfile=/lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31498983/cmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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=227.102 yref=77.2929 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.93
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits scfile=/lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31498983/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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=227.102 yref=77.2929 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.86
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31498983/Model_4FGL_J1508.4+7717_daily_bin2183.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 GALAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498612/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498612/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:02:33.759076', job_id='31498612', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915353.76', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:02:34 PDT 2026

_V02
Working on...
/lscratch/kocevski/31498862/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits.....................!
real 45.05
user 43.31
sys 0.96

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31498862/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits', '/lscratch/kocevski/31498862/ft2_4FGL_J1508.4+7717_daily_bin2183.fits', expMap='/lscratch/kocevski/31498862/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', expCube='/lscratch/kocevski/31498862/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31498862/Model_4FGL_J1508.4+7717_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31498862/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31498862/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31498862/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31498862/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31498862/Model_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7418671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10336E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0011       1.0000          .0000       .10000E+07
     4 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .51525       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11884E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39811E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.063       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47060E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11700       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42992E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38598       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25479E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .16330E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21018E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4285       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17203E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23421E-02   1.0000          .0000       .10000E+07
    22 'norm      '    8.1200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION H **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
AS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
V02
Working on...
/lscratch/kocevski/31498887/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits.....................!
real 46.34
user 44.22
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31498887/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits', '/lscratch/kocevski/31498887/ft2_4FGL_J1508.4+7717_daily_bin2183.fits', expMap='/lscratch/kocevski/31498887/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', expCube='/lscratch/kocevski/31498887/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31498887/Model_4FGL_J1508.4+7717_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31498887/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31498887/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31498887/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31498887/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31498887/Model_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7418671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10336E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0011       1.0000          .0000       .10000E+07
     4 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .51525       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11884E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39811E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.063       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47060E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11700       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42992E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38598       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25479E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .16330E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21018E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4285       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17203E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23421E-02   1.0000          .0000       .10000E+07
    22 'norm      '    8.1200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HA **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
number of points = 7570
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1508.4+7717_daily_bin2183
RA = 227.102, Dec = 77.2929
tmin = 805161601, tmax = 805420801
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='31499135', job_status='RUN', time_executed='2026-07-12 21:01:26.384368', time_epoch_executed='1783915286.38' WHERE source_name='4FGL J1508.4+7717' and cadence='daily' and bin_id='2183'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31499135

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31499135/ft1_4FGL_J1508.4+7717_daily_bin2183.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31499135/ft1_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31499135/ft1_filteredMKT_4FGL_J1508.4+7717_daily_bin2183.fits ra=227.102 dec=77.2929 rad=12.0 tmin=805161601.0 tmax=805420801.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 3.11
user 2.07
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.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/31499135/ft1_filteredMKT_4FGL_J1508.4+7717_daily_bin2183.fits evtable="EVENTS" outfile="/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.12
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 961

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498840/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498840/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:03:55.016125', job_id='31498840', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915435.02', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:03:55 PDT 2026

S CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498862/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498862/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:04:31.734123', job_id='31498862', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915471.73', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:04:32 PDT 2026

_V02
Working on...
/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits.....................!
real 44.83
user 42.89
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits', '/lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits', expMap='/lscratch/kocevski/31498983/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', expCube='/lscratch/kocevski/31498983/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31498983/Model_4FGL_J1508.4+7717_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31498983/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31498983/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31498983/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31498983/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31498983/Model_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7418671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10336E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0011       1.0000          .0000       .10000E+07
     4 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .51525       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11884E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39811E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.063       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47060E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11700       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42992E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38598       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25479E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .16330E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21018E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4285       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17203E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23421E-02   1.0000          .0000       .10000E+07
    22 'norm      '    8.1200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HDone.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498887/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498887/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:05:23.461670', job_id='31498887', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915523.46', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:05:23 PDT 2026

tfile=/lscratch/kocevski/31499135/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
.....................!
real 8.82
user 7.86
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31499135/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31499135/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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/31499135/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
.....................!
real 72.00
user 65.48
sys 4.17

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

Setting source of interest to:
4FGL J1508.4+7717 @ 227.102 77.2929

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31499135/cmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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=227.102 yref=77.2929 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.97
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits outfile=/lscratch/kocevski/31499135/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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=227.102 yref=77.2929 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.91
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits evtable="EVENTS" scfile=/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31499135/Model_4FGL_J1508.4+7717_daily_bin2183.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 GALAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31498983/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31498983/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:07:17.740637', job_id='31498983', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915637.74', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:07:18 PDT 2026

_V02
Working on...
/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits.....................!
real 48.61
user 45.03
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits', '/lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits', expMap='/lscratch/kocevski/31499135/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', expCube='/lscratch/kocevski/31499135/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31499135/Model_4FGL_J1508.4+7717_daily_bin2183.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1508.4+7717'

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  4.602e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31499135/ft1_filtered_4FGL_J1508.4+7717_daily_bin2183.fits
Spacecraft file(s): /lscratch/kocevski/31499135/ft2_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure map: /lscratch/kocevski/31499135/expmap_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
Exposure cube: /lscratch/kocevski/31499135/ltcube_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31499135/Model_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7418671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78335       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10336E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.0011       1.0000          .0000       .10000E+07
     4 'norm      '    .15543E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    .51525       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13340E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11884E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .39811E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    23.063       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47060E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11700       1.0000          .0000       .10000E+07
    12 'Prefactor '    .42992E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38598       1.0000          .0000       .10000E+07
    14 'Prefactor '    .25479E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .16330E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.320       1.0000          .0000       .10000E+07
    17 'Prefactor '    .21018E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59952E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.4285       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17203E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .23421E-02   1.0000          .0000       .10000E+07
    22 'norm      '    8.1200       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1020       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99373       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED    611 CALLS     2412 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77210        17.375        .13818E-06    .10345E-03
   2  Prefactor      .0000        3.8830       -.73117E-08** at limit **
   3  Prefactor     .64507        935.13       -.42719E-05    .12268E-03
   4  norm           .0000        .58140       -.17154E-08** at limit **
   5  Prefactor     .27756E-09    159.05       -.69305E-07** at limit **
   6  Prefactor      .0000        4.5742        .82444E-08** at limit **
   7  Prefactor      .0000        18.410        .88546E-08** at limit **
   8  Prefactor      .0000        8.5360        .13376E-07** at limit **
   9  Prefactor     23.120        17.298       -.64747E-08   -.30226E-03
  10  Prefactor      .0000        22.528       -.14644E-08** at limit **
  11  Prefactor     .68667E-06    17.365        .18838E-06** at limit **
  12  Prefactor      .0000        10.929        .27958E-08** at limit **
  13  Prefactor      .0000        101.37        .83467E-07** at limit **
  14  Prefactor      .0000        12.692        .73320E-09** at limit **
  15  norm           .0000        17.915        .61928E-08** at limit **
  16  Prefactor     14.496        54.614       -.12635E-06   -.25758E-03
  17  Prefactor      .0000        9.6779        .27554E-08** at limit **
  18  norm           .0000        .27266        .27131E-08** at limit **
  19  Prefactor     1.4254        2.6965        .11442E-06    .53488E-03
  20  Prefactor      .0000        12.008       -.34856E-08** at limit **
  21  Prefactor      .0000        24.417        .21893E-07** at limit **
  22  norm          8.1191        1.1273       -.10067E-08   -.32686E-02
  23  Normalizat    1.1025        .14211       -.12789E-05   -.19792E-03
  24  Prefactor     .99374        .10413       -.29483E-07   -.28809E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.772097
  Prefactor  = 0
  Prefactor  = 0.64507
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 23.1198
  Prefactor  = 0
  Prefactor  = 6.86673e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 14.4962
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.42537
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.11914
  Normalizat = 1.10251
  Prefactor  = 0.993745
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=OK           399 CALLS     2811 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77210        17.683        .21674E-04   -1.5690    
   2  Prefactor      .0000        3.8932        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .64507        945.08        .17522E-03   -1.5692    
   4  norm           .0000        .58165        .74866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    161.02        .15438E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        4.5833        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        18.419        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        8.5586        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.120        17.348        .83312E-05   -1.5612    
  10  Prefactor      .0000        22.539        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68667E-06    19.133        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.930        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        102.01        .18226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        12.695        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        17.953        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.496        55.136        .10577E-04   -1.5632    
  17  Prefactor      .0000        9.6790        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .27453        .51276E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.4254        2.7255        .21687E-04   -1.5684    
  20  Prefactor      .0000        12.014        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        24.442        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.1191        1.1260        .37941E-05   -1.5651    
  23  Normalizat    1.1025        .16183        .27158E-03   -.89671    
  24  Prefactor     .99374        .11837        .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10127e-10
Minuit parameter uncertainties:
  1  7.39003
  2  3.25655e-06
  3  49.3898
  4  4.57927e-07
  5  0.000437345
  6  3.00759e-06
  7  3.02464e-06
  8  7.05989e-06
  9  17.3479
  10  2.26395e-05
  11  0.00724919
  12  1.04412e-06
  13  8.97471e-05
  14  8.00043e-06
  15  3.31124e-06
  16  55.1377
  17  2.2478e-06
  18  3.20795e-07
  19  2.7255
  20  4.79937e-06
  21  3.48244e-05
  22  1.12599
  23  0.161907
  24  0.118396
Done.

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

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  0.000e+00  1.044e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.179e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  1.184e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 227.102 77.293
Photon Flux Upper Limit: 3.29129497474e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00250368149254 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31499135/likelihoodResults_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.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) = 10109.7837763
delta logL = -0.0436911329434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10109.7400851
delta logL = -1.12268025987e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10109.74     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      233 TOTAL
                     EDM=   .67E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40223E-01    .42118E-03** at limit **
   2  Index         2.1217        5.7691        .45356        .10026E-10
   3  Normalizat    1.1025        .22706E-03    .61403E-01    .92290E-04
   4  Prefactor     .99375        .17147E-03    .46189E-01    .20539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.12166
  Normalizat = 1.10251
  Prefactor  = 0.993746
 **********
 **   18 **HESSE 
 **********

 FCN=   10109.74     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      262 TOTAL
                     EDM=   .17E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .14898        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1217        5.2133        .51000       -.61342    
   3  Normalizat    1.1025        .43643E-03    .27158E-03   -.89671    
   4  Prefactor     .99375        .32977E-03    .21373E-03   -.92938    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.72919e-15
Minuit parameter uncertainties:
  1  4.70661e-06
  2  15618.1
  3  0.000436426
  4  0.000329773
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) = 10109.7400851
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J1508.4+7717
   Spectrum: PowerLaw
355    Prefactor:  5.551e-11  4.707e-06  0.000e+00  1.000e+06 ( 1.000e-14)
356        Index:  2.122e+00  1.562e+04  0.000e+00  1.000e+01 (-1.000e+00)
357        Scale:  1.992e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  9.937e-01  3.298e-04  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.103e+00  4.364e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 227.102 77.293

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/31499135/cmap_HighResolution_805161601_805420801_4FGL_J1508.4+7717_daily_bin2183.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.50e-03', job_status='DONE', photon_flux_upper_limit='3.29e-08', time_completed='2026-07-12 21:10:40.161477', job_id='31499135', GAL2='0.99', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1783915840.16', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='2183' AND source_name='4FGL J1508.4+7717' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 21:10:40 PDT 2026

