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

 FCN=   7637.261     FROM HESSE     STATUS=OK           510 CALLS     2739 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4174        2.2089        .43162E-02   -1.5242    
   2  Prefactor     .55511E-10    7.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7026        108.80        .77628E-03   -1.5682    
   4  Prefactor     .34972E-08    24.886        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49862        .18999        .48623E-03   -1.5694    
   6  norm          4.1433        8.6097        .49449E-03   -1.5667    
   7  norm          3.9331        4.0188        .50766E-03   -1.5668    
   8  Prefactor     .16653E-09    1.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16154E-07    13.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .65103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.8043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    1.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.665        24.287        .19712E-03   -1.5607    
  15  Prefactor     .55511E-10    1.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.540        20.551        .24577E-03   -1.5627    
  17  norm          .48189E-06    1.0597        .29774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1563        4.9476        .57070E-03   -1.5672    
  19  norm          .16098E-08    5.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1955        236.55        .95553E-03   -1.5686    
  21  Prefactor     5.4804        31.956        .43201E-03   -1.5661    
  22  norm          .11102E-09    1.3673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27200E-08    6.0469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.2445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0418        .21155        .74371E-01   -.91644    
  26  Prefactor     1.0633        .12018        .39189E-01   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29114e-08
Minuit parameter uncertainties:
  1  2.20893
  2  4.57872e-05
  3  27.2219
  4  0.000590928
  5  0.189991
  6  8.60972
  7  4.01882
  8  3.18275e-05
  9  0.000922331
  10  1.31282e-05
  11  0.000112807
  12  2.567e-05
  13  4.41898e-05
  14  24.2874
  15  1.55104e-05
  16  20.5509
  17  0.00142923
  18  4.94756
  19  0.000183042
  20  33.634
  21  26.4675
  22  2.60475e-05
  23  0.000255765
  24  2.664e-05
  25  0.211726
  26  0.120214
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.261     FROM HESSE     STATUS=OK           510 CALLS     2739 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4174        2.2089        .43162E-02   -1.5242    
   2  Prefactor     .55511E-10    7.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7026        108.80        .77628E-03   -1.5682    
   4  Prefactor     .34972E-08    24.886        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49862        .18999        .48623E-03   -1.5694    
   6  norm          4.1433        8.6097        .49449E-03   -1.5667    
   7  norm          3.9331        4.0188        .50766E-03   -1.5668    
   8  Prefactor     .16653E-09    1.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16154E-07    13.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .65103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.8043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    1.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.665        24.287        .19712E-03   -1.5607    
  15  Prefactor     .55511E-10    1.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.540        20.551        .24577E-03   -1.5627    
  17  norm          .48189E-06    1.0597        .29774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1563        4.9476        .57070E-03   -1.5672    
  19  norm          .16098E-08    5.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1955        236.55        .95553E-03   -1.5686    
  21  Prefactor     5.4804        31.956        .43201E-03   -1.5661    
  22  norm          .11102E-09    1.3673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27200E-08    6.0469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.2445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0418        .21155        .74371E-01   -.91644    
  26  Prefactor     1.0633        .12018        .39189E-01   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29114e-08
Minuit parameter uncertainties:
  1  2.20893
  2  4.57872e-05
  3  27.2219
  4  0.000590928
  5  0.189991
  6  8.60972
  7  4.01882
  8  3.18275e-05
  9  0.000922331
  10  1.31282e-05
  11  0.000112807
  12  2.567e-05
  13  4.41898e-05
  14  24.2874
  15  1.55104e-05
  16  20.5509
  17  0.00142923
  18  4.94756
  19  0.000183042
  20  33.634
  21  26.4675
  22  2.60475e-05
  23  0.000255765
  24  2.664e-05
  25  0.211726
  26  0.120214
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  2.776e-10  4.419e-05  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.06167290621e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00307726834664 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31415428/likelihoodResults_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26094204
delta logL = -0.000272026182756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7637.26067002
delta logL = -2.42471287493e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7260        .42118E-03** at limit **
   2  Index         1.7156        1.3702        .71054E-04     .0000    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.54770E-04
   4  Prefactor     1.0633        1.1773        .27854E-05   -.17746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.71556
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29312        1.6470        .71054E-04   -.71668    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.91644    
   4  Prefactor     1.0633        1.1773        .27854E-05   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.80367e-12
Minuit parameter uncertainties:
  1  5.55851e-07
  2  1.40231
  3  1.25081
  4  1.20798
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  2.776e-10  4.419e-05  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.06167290621e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00307726834664 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31415339/likelihoodResults_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26094204
delta logL = -0.000272026182756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7637.26067002
delta logL = -2.42471287493e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7260        .42118E-03** at limit **
   2  Index         1.7156        1.3702        .71054E-04     .0000    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.54770E-04
   4  Prefactor     1.0633        1.1773        .27854E-05   -.17746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.71556
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29312        1.6470        .71054E-04   -.71668    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.91644    
   4  Prefactor     1.0633        1.1773        .27854E-05   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.80367e-12
Minuit parameter uncertainties:
  1  5.55851e-07
  2  1.40231
  3  1.25081
  4  1.20798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7637.26067002
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  0.000e+00  5.559e-07  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.716e+00  1.402e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.208e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  1.251e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.694 -12.581

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31415428/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2026-07-12 01:24:33.385397', job_id='31415428', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783844673.39', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2175' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:33 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7637.26067002
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  0.000e+00  5.559e-07  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.716e+00  1.402e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.208e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  1.251e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.694 -12.581

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31415339/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2026-07-12 01:24:34.710651', job_id='31415339', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783844674.71', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2175' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:35 PDT 2026

tfile=/lscratch/kocevski/31415482/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 9.82
user 9.09
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415482/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415482/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415482/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 75.53
user 70.50
sys 4.37

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415482/cmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.81
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415482/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 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.77
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31415482/Model_4FGL_J1318.7-1234_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALnumber of points = 7626
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1318.7-1234_daily_bin2175
RA = 199.694, Dec = -12.581
tmin = 803088001, tmax = 803347201
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='31415690', job_status='RUN', time_executed='2026-07-12 01:23:17.919192', time_epoch_executed='1783844597.92' WHERE source_name='4FGL J1318.7-1234' and cadence='daily' and bin_id='2175'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31415690

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31415690/ft1_4FGL_J1318.7-1234_daily_bin2175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31415690/ft1_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415690/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2175.fits ra=199.694 dec=-12.581 rad=12.0 tmin=803088001.0 tmax=803347201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.28
user 1.62
sys 0.15

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.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/31415690/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" ounumber of points = 7626
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1318.7-1234_daily_bin2175
RA = 199.694, Dec = -12.581
tmin = 803088001, tmax = 803347201
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='31415728', job_status='RUN', time_executed='2026-07-12 01:24:20.370562', time_epoch_executed='1783844660.37' WHERE source_name='4FGL J1318.7-1234' and cadence='daily' and bin_id='2175'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31415728

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31415728/ft1_4FGL_J1318.7-1234_daily_bin2175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31415728/ft1_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415728/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2175.fits ra=199.694 dec=-12.581 rad=12.0 tmin=803088001.0 tmax=803347201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.07
user 1.59
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.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/31415728/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" outfile="/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 691

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits.....................!
real 27.17
user 25.36
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits', '/lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits', expMap='/lscratch/kocevski/31415482/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', expCube='/lscratch/kocevski/31415482/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415482/Model_4FGL_J1318.7-1234_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31415482/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31415482/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31415482/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31415482/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415482/Model_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26364193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4173       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35067E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20449E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .49843       1.0000          .0000       .10000E+07
     6 'norm      '    4.1508       1.0000          .0000       .10000E+07
     7 'norm      '    3.9446       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13096E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26996E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .37071E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .75207E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10221E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.745       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11298E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.571       1.0000          .0000       .10000E+07
    17 'norm      '    .88294E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.1518       1.0000          .0000       .10000E+07
    19 'norm      '    .69600E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.3235       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.4048       1.0000          .0000       .10000E+07
    22 'norm      '    .46045E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .29971E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .28887E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0417       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2229 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4174        2.2075        .62770E-07    .25187E-04
   2  Prefactor     .55511E-10    3.7757       -.30780E-07** at limit **
   3  Prefactor     1.7026        54.823       -.29364E-06    .51678E-02
   4  Prefactor     .34972E-08    24.795       -.22299E-06** at limit **
   5  norm          .49862        .18446        .15632E-07    .12053E-01
   6  norm          4.1433        1.1815       -.22885E-08    .57130E-02
   7  norm          3.9331        4.0132       -.89769E-08   -.38541E-03
   8  Prefactor     .16653E-09    1.5932        .52477E-07** at limit **
   9  Prefactor     .16154E-07    12.799        .55252E-07** at limit **
  10  norm          .55511E-10    .64916       -.17140E-07** at limit **
  11  norm          .44409E-09    3.7398       -.33193E-07** at limit **
  12  norm          .55511E-10    3.7877        .32983E-07** at limit **
  13  Prefactor     .27756E-09    1.8931        .27122E-07** at limit **
  14  Prefactor     25.665        9.6169       -.34202E-07   -.56493E-02
  15  Prefactor     .55511E-10    1.8288       -.94215E-09** at limit **
  16  Prefactor     16.540        1.6658       -.73835E-08   -.47152E-02
  17  norm          .48189E-06    1.7010        .14015E-07** at limit **
  18  norm          3.1563        3.6351       -.45787E-07   -.32810E-03
  19  norm          .16098E-08    4.9045       -.35669E-07** at limit **
  20  Prefactor     1.1955        32.332       -.23009E-06   -.84930E-02
  21  Prefactor     5.4804        7.9746        .47910E-07   -.22591E-01
  22  norm          .11102E-09    1.3637        .33573E-07** at limit **
  23  Prefactor     .27200E-08    5.5523        .86619E-07** at limit **
  24  norm          .55511E-10    2.2416       -.99216E-08** at limit **
  25  Normalizat    1.0418        .23704       -.16216E-05   -.49369E-04
  26  Prefactor     1.0633        .13848        .50931E-06   -.61475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.41744
  Prefactor  = 5.55112e-11
  Prefactor  = 1.70263
  Prefactor  = 3.4972e-09
  norm       = 0.498623
  norm       = 4.14332
  norm       = 3.93306
  Prefactor  = 1.66533e-10
  Prefactor  = 1.61537e-08
  norm       = 5.55112e-11
  norm       = 4.44089e-10
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 25.6652
  Prefactor  = 5.55112e-11
  Prefactor  = 16.5402
  norm       = 4.81892e-07
  norm       = 3.15628
  norm       = 1.60982e-09
  Prefactor  = 1.19549
  Prefactor  = 5.48041
  norm       = 1.11022e-10
  Prefactor  = 2.72005e-09
  norm       = 5.55112e-11
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.261     FROM HESSE     STATUS=OK           510 CALLS     2739 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4174        2.2089        .43162E-02   -1.5242    
   2  Prefactor     .55511E-10    7.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7026        108.80        .77628E-03   -1.5682    
   4  Prefactor     .34972E-08    24.886        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49862        .18999        .48623E-03   -1.5694    
   6  norm          4.1433        8.6097        .49449E-03   -1.5667    
   7  norm          3.9331        4.0188        .50766E-03   -1.5668    
   8  Prefactor     .16653E-09    1.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16154E-07    13.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .65103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.8043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    1.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.665        24.287        .19712E-03   -1.5607    
  15  Prefactor     .55511E-10    1.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.540        20.551        .24577E-03   -1.5627    
  17  norm          .48189E-06    1.0597        .29774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1563        4.9476        .57070E-03   -1.5672    
  19  norm          .16098E-08    5.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1955        236.55        .95553E-03   -1.5686    
  21  Prefactor     5.4804        31.956        .43201E-03   -1.5661    
  22  norm          .11102E-09    1.3673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27200E-08    6.0469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.2445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0418        .21155        .74371E-01   -.91644    
  26  Prefactor     1.0633        .12018        .39189E-01   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29114e-08
Minuit parameter uncertainties:
  1  2.20893
  2  4.57872e-05
  3  27.2219
  4  0.000590928
  5  0.189991
  6  8.60972
  7  4.01882
  8  3.18275e-05
  9  0.000922331
  10  1.31282e-05
  11  0.000112807
  12  2.567e-05
  13  4.41898e-05
  14  24.2874
  15  1.55104e-05
  16  20.5509
  17  0.00142923
  18  4.94756
  19  0.000183042
  20  33.634
  21  26.4675
  22  2.60475e-05
  23  0.000255765
  24  2.664e-05
  25  0.211726
  26  0.120214
tfile=/lscratch/kocevski/31415690/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 8.94
user 8.31
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415690/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415690/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415690/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 69.93
user 65.24
sys 4.06

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415690/cmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 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.78
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415690/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 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.79
user 0.20
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31415690/Model_4FGL_J1318.7-1234_daily_bin2175.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 GALDone.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  2.776e-10  4.419e-05  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.06167290621e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00307726834664 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31415482/likelihoodResults_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26094204
delta logL = -0.000272026182756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7637.26067002
delta logL = -2.42471287493e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7260        .42118E-03** at limit **
   2  Index         1.7156        1.3702        .71054E-04     .0000    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.54770E-04
   4  Prefactor     1.0633        1.1773        .27854E-05   -.17746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.71556
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29312        1.6470        .71054E-04   -.71668    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.91644    
   4  Prefactor     1.0633        1.1773        .27854E-05   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.80367e-12
Minuit parameter uncertainties:
  1  5.55851e-07
  2  1.40231
  3  1.25081
  4  1.20798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7637.26067002
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  0.000e+00  5.559e-07  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.716e+00  1.402e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.208e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  1.251e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.694 -12.581

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31415482/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2026-07-12 01:28:02.046052', job_id='31415482', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783844882.05', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2175' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:28:02 PDT 2026

tfile=/lscratch/kocevski/31415728/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 9.14
user 8.55
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415728/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415728/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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/31415728/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
.....................!
real 69.44
user 64.86
sys 3.87

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

Setting source of interest to:
4FGL J1318.7-1234 @ 199.694 -12.581

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415728/cmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 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.66
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits outfile=/lscratch/kocevski/31415728/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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=199.694 yref=-12.581 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.75
user 0.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31415728/Model_4FGL_J1318.7-1234_daily_bin2175.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits.....................!
real 25.15
user 23.57
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits', '/lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits', expMap='/lscratch/kocevski/31415690/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', expCube='/lscratch/kocevski/31415690/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415690/Model_4FGL_J1318.7-1234_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31415690/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31415690/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31415690/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31415690/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415690/Model_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26364193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4173       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35067E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20449E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .49843       1.0000          .0000       .10000E+07
     6 'norm      '    4.1508       1.0000          .0000       .10000E+07
     7 'norm      '    3.9446       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13096E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26996E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .37071E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .75207E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10221E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.745       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11298E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.571       1.0000          .0000       .10000E+07
    17 'norm      '    .88294E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.1518       1.0000          .0000       .10000E+07
    19 'norm      '    .69600E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.3235       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.4048       1.0000          .0000       .10000E+07
    22 'norm      '    .46045E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .29971E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .28887E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0417       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2229 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4174        2.2075        .62770E-07    .25187E-04
   2  Prefactor     .55511E-10    3.7757       -.30780E-07** at limit **
   3  Prefactor     1.7026        54.823       -.29364E-06    .51678E-02
   4  Prefactor     .34972E-08    24.795       -.22299E-06** at limit **
   5  norm          .49862        .18446        .15632E-07    .12053E-01
   6  norm          4.1433        1.1815       -.22885E-08    .57130E-02
   7  norm          3.9331        4.0132       -.89769E-08   -.38541E-03
   8  Prefactor     .16653E-09    1.5932        .52477E-07** at limit **
   9  Prefactor     .16154E-07    12.799        .55252E-07** at limit **
  10  norm          .55511E-10    .64916       -.17140E-07** at limit **
  11  norm          .44409E-09    3.7398       -.33193E-07** at limit **
  12  norm          .55511E-10    3.7877        .32983E-07** at limit **
  13  Prefactor     .27756E-09    1.8931        .27122E-07** at limit **
  14  Prefactor     25.665        9.6169       -.34202E-07   -.56493E-02
  15  Prefactor     .55511E-10    1.8288       -.94215E-09** at limit **
  16  Prefactor     16.540        1.6658       -.73835E-08   -.47152E-02
  17  norm          .48189E-06    1.7010        .14015E-07** at limit **
  18  norm          3.1563        3.6351       -.45787E-07   -.32810E-03
  19  norm          .16098E-08    4.9045       -.35669E-07** at limit **
  20  Prefactor     1.1955        32.332       -.23009E-06   -.84930E-02
  21  Prefactor     5.4804        7.9746        .47910E-07   -.22591E-01
  22  norm          .11102E-09    1.3637        .33573E-07** at limit **
  23  Prefactor     .27200E-08    5.5523        .86619E-07** at limit **
  24  norm          .55511E-10    2.2416       -.99216E-08** at limit **
  25  Normalizat    1.0418        .23704       -.16216E-05   -.49369E-04
  26  Prefactor     1.0633        .13848        .50931E-06   -.61475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.41744
  Prefactor  = 5.55112e-11
  Prefactor  = 1.70263
  Prefactor  = 3.4972e-09
  norm       = 0.498623
  norm       = 4.14332
  norm       = 3.93306
  Prefactor  = 1.66533e-10
  Prefactor  = 1.61537e-08
  norm       = 5.55112e-11
  norm       = 4.44089e-10
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 25.6652
  Prefactor  = 5.55112e-11
  Prefactor  = 16.5402
  norm       = 4.81892e-07
  norm       = 3.15628
  norm       = 1.60982e-09
  Prefactor  = 1.19549
  Prefactor  = 5.48041
  norm       = 1.11022e-10
  Prefactor  = 2.72005e-09
  norm       = 5.55112e-11
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.261     FROM HESSE     STATUS=OK           510 CALLS     2739 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4174        2.2089        .43162E-02   -1.5242    
   2  Prefactor     .55511E-10    7.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7026        108.80        .77628E-03   -1.5682    
   4  Prefactor     .34972E-08    24.886        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49862        .18999        .48623E-03   -1.5694    
   6  norm          4.1433        8.6097        .49449E-03   -1.5667    
   7  norm          3.9331        4.0188        .50766E-03   -1.5668    
   8  Prefactor     .16653E-09    1.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16154E-07    13.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .65103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.8043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    1.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.665        24.287        .19712E-03   -1.5607    
  15  Prefactor     .55511E-10    1.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.540        20.551        .24577E-03   -1.5627    
  17  norm          .48189E-06    1.0597        .29774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1563        4.9476        .57070E-03   -1.5672    
  19  norm          .16098E-08    5.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1955        236.55        .95553E-03   -1.5686    
  21  Prefactor     5.4804        31.956        .43201E-03   -1.5661    
  22  norm          .11102E-09    1.3673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27200E-08    6.0469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.2445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0418        .21155        .74371E-01   -.91644    
  26  Prefactor     1.0633        .12018        .39189E-01   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29114e-08
Minuit parameter uncertainties:
  1  2.20893
  2  4.57872e-05
  3  27.2219
  4  0.000590928
  5  0.189991
  6  8.60972
  7  4.01882
  8  3.18275e-05
  9  0.000922331
  10  1.31282e-05
  11  0.000112807
  12  2.567e-05
  13  4.41898e-05
  14  24.2874
  15  1.55104e-05
  16  20.5509
  17  0.00142923
  18  4.94756
  19  0.000183042
  20  33.634
  21  26.4675
  22  2.60475e-05
  23  0.000255765
  24  2.664e-05
  25  0.211726
  26  0.120214
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  2.776e-10  4.419e-05  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.06167290621e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00307726834664 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31415690/likelihoodResults_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26094204
delta logL = -0.000272026182756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7637.26067002
delta logL = -2.42471287493e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7260        .42118E-03** at limit **
   2  Index         1.7156        1.3702        .71054E-04     .0000    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.54770E-04
   4  Prefactor     1.0633        1.1773        .27854E-05   -.17746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.71556
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29312        1.6470        .71054E-04   -.71668    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.91644    
   4  Prefactor     1.0633        1.1773        .27854E-05   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.80367e-12
Minuit parameter uncertainties:
  1  5.55851e-07
  2  1.40231
  3  1.25081
  4  1.20798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7637.26067002
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  0.000e+00  5.559e-07  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.716e+00  1.402e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.208e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  1.251e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.694 -12.581

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31415690/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2026-07-12 01:30:17.188141', job_id='31415690', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783845017.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2175' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:30:17 PDT 2026

_V02
Working on...
/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits.....................!
real 25.02
user 23.35
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits', '/lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits', expMap='/lscratch/kocevski/31415728/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', expCube='/lscratch/kocevski/31415728/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415728/Model_4FGL_J1318.7-1234_daily_bin2175.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1318.7-1234'

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  1.941e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/31415728/ft1_filtered_4FGL_J1318.7-1234_daily_bin2175.fits
Spacecraft file(s): /lscratch/kocevski/31415728/ft2_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure map: /lscratch/kocevski/31415728/expmap_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
Exposure cube: /lscratch/kocevski/31415728/ltcube_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415728/Model_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26364193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4173       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .35067E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.8101       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20449E-01   1.0000          .0000       .10000E+07
     5 'norm      '    .49843       1.0000          .0000       .10000E+07
     6 'norm      '    4.1508       1.0000          .0000       .10000E+07
     7 'norm      '    3.9446       1.0000          .0000       .10000E+07
     8 'Prefactor '    .13096E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .26996E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .88818E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .37071E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .75207E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10221E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    25.745       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11298E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    16.571       1.0000          .0000       .10000E+07
    17 'norm      '    .88294E-04   1.0000          .0000       .10000E+07
    18 'norm      '    3.1518       1.0000          .0000       .10000E+07
    19 'norm      '    .69600E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.3235       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.4048       1.0000          .0000       .10000E+07
    22 'norm      '    .46045E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .29971E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .28887E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0417       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     2229 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4174        2.2075        .62770E-07    .25187E-04
   2  Prefactor     .55511E-10    3.7757       -.30780E-07** at limit **
   3  Prefactor     1.7026        54.823       -.29364E-06    .51678E-02
   4  Prefactor     .34972E-08    24.795       -.22299E-06** at limit **
   5  norm          .49862        .18446        .15632E-07    .12053E-01
   6  norm          4.1433        1.1815       -.22885E-08    .57130E-02
   7  norm          3.9331        4.0132       -.89769E-08   -.38541E-03
   8  Prefactor     .16653E-09    1.5932        .52477E-07** at limit **
   9  Prefactor     .16154E-07    12.799        .55252E-07** at limit **
  10  norm          .55511E-10    .64916       -.17140E-07** at limit **
  11  norm          .44409E-09    3.7398       -.33193E-07** at limit **
  12  norm          .55511E-10    3.7877        .32983E-07** at limit **
  13  Prefactor     .27756E-09    1.8931        .27122E-07** at limit **
  14  Prefactor     25.665        9.6169       -.34202E-07   -.56493E-02
  15  Prefactor     .55511E-10    1.8288       -.94215E-09** at limit **
  16  Prefactor     16.540        1.6658       -.73835E-08   -.47152E-02
  17  norm          .48189E-06    1.7010        .14015E-07** at limit **
  18  norm          3.1563        3.6351       -.45787E-07   -.32810E-03
  19  norm          .16098E-08    4.9045       -.35669E-07** at limit **
  20  Prefactor     1.1955        32.332       -.23009E-06   -.84930E-02
  21  Prefactor     5.4804        7.9746        .47910E-07   -.22591E-01
  22  norm          .11102E-09    1.3637        .33573E-07** at limit **
  23  Prefactor     .27200E-08    5.5523        .86619E-07** at limit **
  24  norm          .55511E-10    2.2416       -.99216E-08** at limit **
  25  Normalizat    1.0418        .23704       -.16216E-05   -.49369E-04
  26  Prefactor     1.0633        .13848        .50931E-06   -.61475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.41744
  Prefactor  = 5.55112e-11
  Prefactor  = 1.70263
  Prefactor  = 3.4972e-09
  norm       = 0.498623
  norm       = 4.14332
  norm       = 3.93306
  Prefactor  = 1.66533e-10
  Prefactor  = 1.61537e-08
  norm       = 5.55112e-11
  norm       = 4.44089e-10
  norm       = 5.55112e-11
  Prefactor  = 2.77556e-10
  Prefactor  = 25.6652
  Prefactor  = 5.55112e-11
  Prefactor  = 16.5402
  norm       = 4.81892e-07
  norm       = 3.15628
  norm       = 1.60982e-09
  Prefactor  = 1.19549
  Prefactor  = 5.48041
  norm       = 1.11022e-10
  Prefactor  = 2.72005e-09
  norm       = 5.55112e-11
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.261     FROM HESSE     STATUS=OK           510 CALLS     2739 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4174        2.2089        .43162E-02   -1.5242    
   2  Prefactor     .55511E-10    7.4578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.7026        108.80        .77628E-03   -1.5682    
   4  Prefactor     .34972E-08    24.886        .17007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49862        .18999        .48623E-03   -1.5694    
   6  norm          4.1433        8.6097        .49449E-03   -1.5667    
   7  norm          3.9331        4.0188        .50766E-03   -1.5668    
   8  Prefactor     .16653E-09    1.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16154E-07    13.157        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    .65103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    7.4866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    3.8043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27756E-09    1.8978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.665        24.287        .19712E-03   -1.5607    
  15  Prefactor     .55511E-10    1.8311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.540        20.551        .24577E-03   -1.5627    
  17  norm          .48189E-06    1.0597        .29774E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1563        4.9476        .57070E-03   -1.5672    
  19  norm          .16098E-08    5.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1955        236.55        .95553E-03   -1.5686    
  21  Prefactor     5.4804        31.956        .43201E-03   -1.5661    
  22  norm          .11102E-09    1.3673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .27200E-08    6.0469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    2.2445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0418        .21155        .74371E-01   -.91644    
  26  Prefactor     1.0633        .12018        .39189E-01   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29114e-08
Minuit parameter uncertainties:
  1  2.20893
  2  4.57872e-05
  3  27.2219
  4  0.000590928
  5  0.189991
  6  8.60972
  7  4.01882
  8  3.18275e-05
  9  0.000922331
  10  1.31282e-05
  11  0.000112807
  12  2.567e-05
  13  4.41898e-05
  14  24.2874
  15  1.55104e-05
  16  20.5509
  17  0.00142923
  18  4.94756
  19  0.000183042
  20  33.634
  21  26.4675
  22  2.60475e-05
  23  0.000255765
  24  2.664e-05
  25  0.211726
  26  0.120214
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  2.776e-10  4.419e-05  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.126e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.202e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 199.694 -12.581
Photon Flux Upper Limit: 4.06167290621e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00307726834664 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/31415728/likelihoodResults_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.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) = 7637.26094204
delta logL = -0.000272026182756

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7637.26067002
delta logL = -2.42471287493e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39413E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.1106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0418       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0633       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   7637.261     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      235 TOTAL
                     EDM=   .78E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7260        .42118E-03** at limit **
   2  Index         1.7156        1.3702        .71054E-04     .0000    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.54770E-04
   4  Prefactor     1.0633        1.1773        .27854E-05   -.17746E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.71556
  Normalizat = 1.04178
  Prefactor  = 1.0633
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .29312        1.6470        .71054E-04   -.71668    
   3  Normalizat    1.0418        1.2158       -.40206E-05   -.91644    
   4  Prefactor     1.0633        1.1773        .27854E-05   -.90648    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.80367e-12
Minuit parameter uncertainties:
  1  5.55851e-07
  2  1.40231
  3  1.25081
  4  1.20798
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 7637.26067002
delta logL = 6.91215973347e-11

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  0.000e+00  5.559e-07  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.716e+00  1.402e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.734e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.063e+00  1.208e+00  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  1.251e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 199.694 -12.581

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/31415728/cmap_HighResolution_803088001_803347201_4FGL_J1318.7-1234_daily_bin2175.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-03', job_status='DONE', photon_flux_upper_limit='4.06e-08', time_completed='2026-07-12 01:31:24.978916', job_id='31415728', GAL2='1.06', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1783845084.98', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2175' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:31:25 PDT 2026

