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

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
/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)
_V02
Working on...
/lscratch/kocevski/31415333/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits.....................!
real 24.51
user 23.27
sys 0.64

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415333/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits', '/lscratch/kocevski/31415333/ft2_4FGL_J1318.7-1234_daily_bin2176.fits', expMap='/lscratch/kocevski/31415333/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', expCube='/lscratch/kocevski/31415333/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415333/Model_4FGL_J1318.7-1234_daily_bin2176.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/31415333/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31415333/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31415333/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31415333/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415333/Model_4FGL_J1318.7-1234_daily_bin2176.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) = 6950.56415026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38415E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8974       1.0000          .0000       .10000E+07
     5 'norm      '    .21078       1.0000          .0000       .10000E+07
     6 'norm      '    2.9551       1.0000          .0000       .10000E+07
     7 'norm      '    2.6482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70761E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .56688E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.539       1.0000          .0000       .10000E+07
    12 'norm      '    .19691       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9999       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.457       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66260       1.0000          .0000       .10000E+07
    17 'norm      '    .29782E-06   1.0000          .0000       .10000E+07
    18 'norm      '    4.1034       1.0000          .0000       .10000E+07
    19 'norm      '    21.410       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2379       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.152       1.0000          .0000       .10000E+07
    22 'norm      '    2.8713       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19891E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .99900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97723       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415404/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415404/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:24:21.915474', job_id='31415404', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844661.92', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:22 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415311/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415311/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:24:26.471562', job_id='31415311', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844666.47', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:26 PDT 2026


 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6950.556     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     2443 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7992        2.3236        .13297E-05    .10639E-03
   2  Prefactor     50.886        7.0492        .84509E-07    .99707E-02
   3  Prefactor     .21094E-07    16.567       -.67669E-06** at limit **
   4  Prefactor     2.7632        52.082       -.43112E-05    .24796E-01
   5  norm          .21132        .15978        .14217E-07** at limit **
   6  norm          3.0129        8.7156       -.59975E-06    .67694E-02
   7  norm          2.6376        4.9886        .58015E-06   -.20479E-03
   8  Prefactor     .39968E-08    6.6769       -.51327E-07** at limit **
   9  Prefactor     .55511E-10    47.389        .85900E-06** at limit **
  10  norm           .0000        .49522        .13182E-06** at limit **
  11  norm          14.579        10.264        .41453E-06    .39646E-01
  12  norm          .58503E-06    45.053        .38854E-06** at limit **
  13  Prefactor     3.9637        7.4792        .66062E-07    .31461E-02
  14  Prefactor     32.148        18.107       -.10864E-05    .99192E-01
  15  Prefactor     3.6468        6.4201       -.30103E-06    .23503E-02
  16  Prefactor     2.3454        99.414       -.16293E-05    .15653E-02
  17  norm           .0000        .49998       -.23218E-07** at limit **
  18  norm          3.8513        5.7975        .17566E-06    .51047E-03
  19  norm          21.274        9.4571        .20451E-06    .89383E-02
  20  Prefactor     3.2549        13.423       -.63422E-07    .32189E-01
  21  Prefactor     14.160        13.017        .78574E-06    .16331    
  22  norm          2.8595        4.6382        .29264E-07   -.25803E-02
  23  Prefactor     .55511E-10    3.6708        .10453E-06** at limit **
  24  norm          .62988E-04    170.90        .36672E-05** at limit **
  25  Normalizat    .99608        .25428       -.70501E-05   -.68560E-04
  26  Prefactor     .97800        .14434       -.87877E-06   -.10988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79923
  Prefactor  = 50.8857
  Prefactor  = 2.10942e-08
  Prefactor  = 2.76325
  norm       = 0.21132
  norm       = 3.01291
  norm       = 2.63757
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.579
  norm       = 5.85032e-07
  Prefactor  = 3.9637
  Prefactor  = 32.1483
  Prefactor  = 3.64682
  Prefactor  = 2.34544
  norm       = 0
  norm       = 3.85131
  norm       = 21.2736
  Prefactor  = 3.25486
  Prefactor  = 14.1599
  norm       = 2.85947
  Prefactor  = 5.55112e-11
  norm       = 6.29883e-05
  Normalizat = 0.996077
  Prefactor  = 0.978002
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415412/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415411/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415412/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:24:38.728489', job_id='31415412', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844678.73', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:39 PDT 2026

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

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415411/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:24:42.159220', job_id='31415411', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844682.16', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:24:42 PDT 2026

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

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
V02
Working on...
/lscratch/kocevski/31415447/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits.....................!
real 24.62
user 22.86
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415447/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits', '/lscratch/kocevski/31415447/ft2_4FGL_J1318.7-1234_daily_bin2176.fits', expMap='/lscratch/kocevski/31415447/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', expCube='/lscratch/kocevski/31415447/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415447/Model_4FGL_J1318.7-1234_daily_bin2176.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/31415447/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31415447/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31415447/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31415447/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415447/Model_4FGL_J1318.7-1234_daily_bin2176.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) = 6950.56415026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38415E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8974       1.0000          .0000       .10000E+07
     5 'norm      '    .21078       1.0000          .0000       .10000E+07
     6 'norm      '    2.9551       1.0000          .0000       .10000E+07
     7 'norm      '    2.6482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70761E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .56688E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.539       1.0000          .0000       .10000E+07
    12 'norm      '    .19691       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9999       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.457       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66260       1.0000          .0000       .10000E+07
    17 'norm      '    .29782E-06   1.0000          .0000       .10000E+07
    18 'norm      '    4.1034       1.0000          .0000       .10000E+07
    19 'norm      '    21.410       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2379       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.152       1.0000          .0000       .10000E+07
    22 'norm      '    2.8713       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19891E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .99900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97723       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415333/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415333/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:25:22.282365', job_id='31415333', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844722.28', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:25:22 PDT 2026

 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6950.556     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     2443 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7992        2.3236        .13297E-05    .10639E-03
   2  Prefactor     50.886        7.0492        .84509E-07    .99707E-02
   3  Prefactor     .21094E-07    16.567       -.67669E-06** at limit **
   4  Prefactor     2.7632        52.082       -.43112E-05    .24796E-01
   5  norm          .21132        .15978        .14217E-07** at limit **
   6  norm          3.0129        8.7156       -.59975E-06    .67694E-02
   7  norm          2.6376        4.9886        .58015E-06   -.20479E-03
   8  Prefactor     .39968E-08    6.6769       -.51327E-07** at limit **
   9  Prefactor     .55511E-10    47.389        .85900E-06** at limit **
  10  norm           .0000        .49522        .13182E-06** at limit **
  11  norm          14.579        10.264        .41453E-06    .39646E-01
  12  norm          .58503E-06    45.053        .38854E-06** at limit **
  13  Prefactor     3.9637        7.4792        .66062E-07    .31461E-02
  14  Prefactor     32.148        18.107       -.10864E-05    .99192E-01
  15  Prefactor     3.6468        6.4201       -.30103E-06    .23503E-02
  16  Prefactor     2.3454        99.414       -.16293E-05    .15653E-02
  17  norm           .0000        .49998       -.23218E-07** at limit **
  18  norm          3.8513        5.7975        .17566E-06    .51047E-03
  19  norm          21.274        9.4571        .20451E-06    .89383E-02
  20  Prefactor     3.2549        13.423       -.63422E-07    .32189E-01
  21  Prefactor     14.160        13.017        .78574E-06    .16331    
  22  norm          2.8595        4.6382        .29264E-07   -.25803E-02
  23  Prefactor     .55511E-10    3.6708        .10453E-06** at limit **
  24  norm          .62988E-04    170.90        .36672E-05** at limit **
  25  Normalizat    .99608        .25428       -.70501E-05   -.68560E-04
  26  Prefactor     .97800        .14434       -.87877E-06   -.10988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79923
  Prefactor  = 50.8857
  Prefactor  = 2.10942e-08
  Prefactor  = 2.76325
  norm       = 0.21132
  norm       = 3.01291
  norm       = 2.63757
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.579
  norm       = 5.85032e-07
  Prefactor  = 3.9637
  Prefactor  = 32.1483
  Prefactor  = 3.64682
  Prefactor  = 2.34544
  norm       = 0
  norm       = 3.85131
  norm       = 21.2736
  Prefactor  = 3.25486
  Prefactor  = 14.1599
  norm       = 2.85947
  Prefactor  = 5.55112e-11
  norm       = 6.29883e-05
  Normalizat = 0.996077
  Prefactor  = 0.978002
tfile=/lscratch/kocevski/31415566/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 9.61
user 8.71
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415566/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415566/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415566/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 72.73
user 67.60
sys 4.22

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/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415566/cmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415566/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.85
user 0.24
sys 0.13

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

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

adding source EG_v02
adding source GAL **********
 **   18 **HESSE 
 **********

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
number of points = 7643
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1318.7-1234_daily_bin2176
RA = 199.694, Dec = -12.581
tmin = 803347201, tmax = 803606401
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='31415704', job_status='RUN', time_executed='2026-07-12 01:23:34.893469', time_epoch_executed='1783844614.89' WHERE source_name='4FGL J1318.7-1234' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31415704

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31415704/ft1_4FGL_J1318.7-1234_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31415704/ft1_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415704/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2176.fits ra=199.694 dec=-12.581 rad=12.0 tmin=803347201.0 tmax=803606401.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.22
user 1.66
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.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/31415704/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.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: 631

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" ouDone.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415447/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415447/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:26:22.432375', job_id='31415447', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844782.43', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:26:22 PDT 2026

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


Performing analysis on: 4FGL_J1318.7-1234_daily_bin2176
RA = 199.694, Dec = -12.581
tmin = 803347201, tmax = 803606401
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='31415710', job_status='RUN', time_executed='2026-07-12 01:24:19.779576', time_epoch_executed='1783844659.78' WHERE source_name='4FGL J1318.7-1234' and cadence='daily' and bin_id='2176'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/31415710

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/31415710/ft1_4FGL_J1318.7-1234_daily_bin2176.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/31415710/ft1_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415710/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2176.fits ra=199.694 dec=-12.581 rad=12.0 tmin=803347201.0 tmax=803606401.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.67
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.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/31415710/ft1_filteredMKT_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" outfile="/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.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.73
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 631

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits" evtable="EVENTS" scfile=/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" ou_V02
Working on...
/lscratch/kocevski/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits.....................!
real 24.70
user 22.88
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits', '/lscratch/kocevski/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits', expMap='/lscratch/kocevski/31415566/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', expCube='/lscratch/kocevski/31415566/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415566/Model_4FGL_J1318.7-1234_daily_bin2176.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/31415566/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31415566/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31415566/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31415566/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415566/Model_4FGL_J1318.7-1234_daily_bin2176.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) = 6950.56415026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38415E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8974       1.0000          .0000       .10000E+07
     5 'norm      '    .21078       1.0000          .0000       .10000E+07
     6 'norm      '    2.9551       1.0000          .0000       .10000E+07
     7 'norm      '    2.6482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70761E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .56688E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.539       1.0000          .0000       .10000E+07
    12 'norm      '    .19691       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9999       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.457       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66260       1.0000          .0000       .10000E+07
    17 'norm      '    .29782E-06   1.0000          .0000       .10000E+07
    18 'norm      '    4.1034       1.0000          .0000       .10000E+07
    19 'norm      '    21.410       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2379       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.152       1.0000          .0000       .10000E+07
    22 'norm      '    2.8713       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19891E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .99900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97723       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********tfile=/lscratch/kocevski/31415704/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 9.48
user 8.76
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415704/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415704/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415704/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 72.84
user 67.99
sys 4.18

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/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415704/cmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.87
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415704/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.72
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/31415704/Model_4FGL_J1318.7-1234_daily_bin2176.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
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6950.556     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     2443 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7992        2.3236        .13297E-05    .10639E-03
   2  Prefactor     50.886        7.0492        .84509E-07    .99707E-02
   3  Prefactor     .21094E-07    16.567       -.67669E-06** at limit **
   4  Prefactor     2.7632        52.082       -.43112E-05    .24796E-01
   5  norm          .21132        .15978        .14217E-07** at limit **
   6  norm          3.0129        8.7156       -.59975E-06    .67694E-02
   7  norm          2.6376        4.9886        .58015E-06   -.20479E-03
   8  Prefactor     .39968E-08    6.6769       -.51327E-07** at limit **
   9  Prefactor     .55511E-10    47.389        .85900E-06** at limit **
  10  norm           .0000        .49522        .13182E-06** at limit **
  11  norm          14.579        10.264        .41453E-06    .39646E-01
  12  norm          .58503E-06    45.053        .38854E-06** at limit **
  13  Prefactor     3.9637        7.4792        .66062E-07    .31461E-02
  14  Prefactor     32.148        18.107       -.10864E-05    .99192E-01
  15  Prefactor     3.6468        6.4201       -.30103E-06    .23503E-02
  16  Prefactor     2.3454        99.414       -.16293E-05    .15653E-02
  17  norm           .0000        .49998       -.23218E-07** at limit **
  18  norm          3.8513        5.7975        .17566E-06    .51047E-03
  19  norm          21.274        9.4571        .20451E-06    .89383E-02
  20  Prefactor     3.2549        13.423       -.63422E-07    .32189E-01
  21  Prefactor     14.160        13.017        .78574E-06    .16331    
  22  norm          2.8595        4.6382        .29264E-07   -.25803E-02
  23  Prefactor     .55511E-10    3.6708        .10453E-06** at limit **
  24  norm          .62988E-04    170.90        .36672E-05** at limit **
  25  Normalizat    .99608        .25428       -.70501E-05   -.68560E-04
  26  Prefactor     .97800        .14434       -.87877E-06   -.10988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79923
  Prefactor  = 50.8857
  Prefactor  = 2.10942e-08
  Prefactor  = 2.76325
  norm       = 0.21132
  norm       = 3.01291
  norm       = 2.63757
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.579
  norm       = 5.85032e-07
  Prefactor  = 3.9637
  Prefactor  = 32.1483
  Prefactor  = 3.64682
  Prefactor  = 2.34544
  norm       = 0
  norm       = 3.85131
  norm       = 21.2736
  Prefactor  = 3.25486
  Prefactor  = 14.1599
  norm       = 2.85947
  Prefactor  = 5.55112e-11
  norm       = 6.29883e-05
  Normalizat = 0.996077
  Prefactor  = 0.978002
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
tfile=/lscratch/kocevski/31415710/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 9.42
user 8.71
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits evtable="EVENTS" scfile=/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits sctable="SC_DATA" expcube=/lscratch/kocevski/31415710/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415710/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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/31415710/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
.....................!
real 73.23
user 68.21
sys 4.22

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/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415710/cmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.94
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits scfile=/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits outfile=/lscratch/kocevski/31415710/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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.67
user 0.23
sys 0.13

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415566/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415566/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:28:44.282492', job_id='31415566', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783844924.28', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:28:44 PDT 2026

_V02
Working on...
/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits.....................!
real 24.61
user 23.05
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits', '/lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits', expMap='/lscratch/kocevski/31415704/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', expCube='/lscratch/kocevski/31415704/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415704/Model_4FGL_J1318.7-1234_daily_bin2176.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/31415704/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31415704/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31415704/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31415704/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415704/Model_4FGL_J1318.7-1234_daily_bin2176.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) = 6950.56415026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38415E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8974       1.0000          .0000       .10000E+07
     5 'norm      '    .21078       1.0000          .0000       .10000E+07
     6 'norm      '    2.9551       1.0000          .0000       .10000E+07
     7 'norm      '    2.6482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70761E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .56688E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.539       1.0000          .0000       .10000E+07
    12 'norm      '    .19691       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9999       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.457       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66260       1.0000          .0000       .10000E+07
    17 'norm      '    .29782E-06   1.0000          .0000       .10000E+07
    18 'norm      '    4.1034       1.0000          .0000       .10000E+07
    19 'norm      '    21.410       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2379       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.152       1.0000          .0000       .10000E+07
    22 'norm      '    2.8713       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19891E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .99900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97723       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=   6950.556     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     2443 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7992        2.3236        .13297E-05    .10639E-03
   2  Prefactor     50.886        7.0492        .84509E-07    .99707E-02
   3  Prefactor     .21094E-07    16.567       -.67669E-06** at limit **
   4  Prefactor     2.7632        52.082       -.43112E-05    .24796E-01
   5  norm          .21132        .15978        .14217E-07** at limit **
   6  norm          3.0129        8.7156       -.59975E-06    .67694E-02
   7  norm          2.6376        4.9886        .58015E-06   -.20479E-03
   8  Prefactor     .39968E-08    6.6769       -.51327E-07** at limit **
   9  Prefactor     .55511E-10    47.389        .85900E-06** at limit **
  10  norm           .0000        .49522        .13182E-06** at limit **
  11  norm          14.579        10.264        .41453E-06    .39646E-01
  12  norm          .58503E-06    45.053        .38854E-06** at limit **
  13  Prefactor     3.9637        7.4792        .66062E-07    .31461E-02
  14  Prefactor     32.148        18.107       -.10864E-05    .99192E-01
  15  Prefactor     3.6468        6.4201       -.30103E-06    .23503E-02
  16  Prefactor     2.3454        99.414       -.16293E-05    .15653E-02
  17  norm           .0000        .49998       -.23218E-07** at limit **
  18  norm          3.8513        5.7975        .17566E-06    .51047E-03
  19  norm          21.274        9.4571        .20451E-06    .89383E-02
  20  Prefactor     3.2549        13.423       -.63422E-07    .32189E-01
  21  Prefactor     14.160        13.017        .78574E-06    .16331    
  22  norm          2.8595        4.6382        .29264E-07   -.25803E-02
  23  Prefactor     .55511E-10    3.6708        .10453E-06** at limit **
  24  norm          .62988E-04    170.90        .36672E-05** at limit **
  25  Normalizat    .99608        .25428       -.70501E-05   -.68560E-04
  26  Prefactor     .97800        .14434       -.87877E-06   -.10988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79923
  Prefactor  = 50.8857
  Prefactor  = 2.10942e-08
  Prefactor  = 2.76325
  norm       = 0.21132
  norm       = 3.01291
  norm       = 2.63757
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.579
  norm       = 5.85032e-07
  Prefactor  = 3.9637
  Prefactor  = 32.1483
  Prefactor  = 3.64682
  Prefactor  = 2.34544
  norm       = 0
  norm       = 3.85131
  norm       = 21.2736
  Prefactor  = 3.25486
  Prefactor  = 14.1599
  norm       = 2.85947
  Prefactor  = 5.55112e-11
  norm       = 6.29883e-05
  Normalizat = 0.996077
  Prefactor  = 0.978002
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
_V02
Working on...
/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits.....................!
real 24.46
user 23.00
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits', '/lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits', expMap='/lscratch/kocevski/31415710/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', expCube='/lscratch/kocevski/31415710/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/31415710/Model_4FGL_J1318.7-1234_daily_bin2176.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/31415710/ft1_filtered_4FGL_J1318.7-1234_daily_bin2176.fits
Spacecraft file(s): /lscratch/kocevski/31415710/ft2_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure map: /lscratch/kocevski/31415710/expmap_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
Exposure cube: /lscratch/kocevski/31415710/ltcube_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/31415710/Model_4FGL_J1318.7-1234_daily_bin2176.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) = 6950.56415026

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7989       1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .38415E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8974       1.0000          .0000       .10000E+07
     5 'norm      '    .21078       1.0000          .0000       .10000E+07
     6 'norm      '    2.9551       1.0000          .0000       .10000E+07
     7 'norm      '    2.6482       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70761E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20340E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .56688E-06   1.0000          .0000       .10000E+07
    11 'norm      '    14.539       1.0000          .0000       .10000E+07
    12 'norm      '    .19691       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.9999       1.0000          .0000       .10000E+07
    14 'Prefactor '    31.457       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6669       1.0000          .0000       .10000E+07
    16 'Prefactor '    .66260       1.0000          .0000       .10000E+07
    17 'norm      '    .29782E-06   1.0000          .0000       .10000E+07
    18 'norm      '    4.1034       1.0000          .0000       .10000E+07
    19 'norm      '    21.410       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.2379       1.0000          .0000       .10000E+07
    21 'Prefactor '    14.152       1.0000          .0000       .10000E+07
    22 'norm      '    2.8713       1.0000          .0000       .10000E+07
    23 'Prefactor '    .19891E-03   1.0000          .0000       .10000E+07
    24 'norm      '    .11625E-03   1.0000          .0000       .10000E+07
    25 'Normalizat'    .99900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .97723       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=   6950.556     FROM MIGRAD    STATUS=CONVERGED    207 CALLS     2443 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7992        2.3236        .13297E-05    .10639E-03
   2  Prefactor     50.886        7.0492        .84509E-07    .99707E-02
   3  Prefactor     .21094E-07    16.567       -.67669E-06** at limit **
   4  Prefactor     2.7632        52.082       -.43112E-05    .24796E-01
   5  norm          .21132        .15978        .14217E-07** at limit **
   6  norm          3.0129        8.7156       -.59975E-06    .67694E-02
   7  norm          2.6376        4.9886        .58015E-06   -.20479E-03
   8  Prefactor     .39968E-08    6.6769       -.51327E-07** at limit **
   9  Prefactor     .55511E-10    47.389        .85900E-06** at limit **
  10  norm           .0000        .49522        .13182E-06** at limit **
  11  norm          14.579        10.264        .41453E-06    .39646E-01
  12  norm          .58503E-06    45.053        .38854E-06** at limit **
  13  Prefactor     3.9637        7.4792        .66062E-07    .31461E-02
  14  Prefactor     32.148        18.107       -.10864E-05    .99192E-01
  15  Prefactor     3.6468        6.4201       -.30103E-06    .23503E-02
  16  Prefactor     2.3454        99.414       -.16293E-05    .15653E-02
  17  norm           .0000        .49998       -.23218E-07** at limit **
  18  norm          3.8513        5.7975        .17566E-06    .51047E-03
  19  norm          21.274        9.4571        .20451E-06    .89383E-02
  20  Prefactor     3.2549        13.423       -.63422E-07    .32189E-01
  21  Prefactor     14.160        13.017        .78574E-06    .16331    
  22  norm          2.8595        4.6382        .29264E-07   -.25803E-02
  23  Prefactor     .55511E-10    3.6708        .10453E-06** at limit **
  24  norm          .62988E-04    170.90        .36672E-05** at limit **
  25  Normalizat    .99608        .25428       -.70501E-05   -.68560E-04
  26  Prefactor     .97800        .14434       -.87877E-06   -.10988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.79923
  Prefactor  = 50.8857
  Prefactor  = 2.10942e-08
  Prefactor  = 2.76325
  norm       = 0.21132
  norm       = 3.01291
  norm       = 2.63757
  Prefactor  = 3.9968e-09
  Prefactor  = 5.55112e-11
  norm       = 0
  norm       = 14.579
  norm       = 5.85032e-07
  Prefactor  = 3.9637
  Prefactor  = 32.1483
  Prefactor  = 3.64682
  Prefactor  = 2.34544
  norm       = 0
  norm       = 3.85131
  norm       = 21.2736
  Prefactor  = 3.25486
  Prefactor  = 14.1599
  norm       = 2.85947
  Prefactor  = 5.55112e-11
  norm       = 6.29883e-05
  Normalizat = 0.996077
  Prefactor  = 0.978002
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415704/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415704/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:30:43.235585', job_id='31415704', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783845043.24', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:30:43 PDT 2026

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

 FCN=   6950.556     FROM HESSE     STATUS=OK           530 CALLS     2973 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7992        2.3252        .41696E-02   -1.5226    
   2  Prefactor     50.886        14.845        .14023E-03   -1.5565    
   3  Prefactor     .21094E-07    16.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7632        275.12        .75486E-03   -1.5675    
   5  norm          .21132        .16778        .62120E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0129        8.7692        .59050E-03   -1.5673    
   7  norm          2.6376        5.5575        .62621E-03   -1.5675    
   8  Prefactor     .39968E-08    6.6802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    48.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .49663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.579        10.309        .26242E-03   -1.5632    
  12  norm          .58503E-06    6.3803        .76839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9637        7.5332        .50402E-03   -1.5668    
  14  Prefactor     32.148        30.099        .17832E-03   -1.5595    
  15  Prefactor     3.6468        6.4365        .52724E-03   -1.5670    
  16  Prefactor     2.3454        134.72        .63798E-03   -1.5677    
  17  norm           .0000        .49867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.8513        6.5405        .49742E-03   -1.5669    
  19  norm          21.274        9.5730        .21618E-03   -1.5616    
  20  Prefactor     3.2549        16.923        .56266E-03   -1.5672    
  21  Prefactor     14.160        15.974        .26599E-03   -1.5633    
  22  norm          2.8595        4.6500        .59960E-03   -1.5674    
  23  Prefactor     .55511E-10    3.6721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .62988E-04    8.7572        .61079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .99608        .23270        .77449E-01   -.93162    
  26  Prefactor     .97800        .12492        .45982E-01   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58911e-06
Minuit parameter uncertainties:
  1  2.32528
  2  14.8448
  3  0.00118264
  4  55.1468
  5  0.167779
  6  8.76925
  7  5.55748
  8  0.000326201
  9  9.39382e-05
  10  1.56933e-07
  11  10.3088
  12  0.00386404
  13  7.53322
  14  30.0995
  15  6.43648
  16  35.553
  17  4.42228e-07
  18  6.5405
  19  9.57298
  20  14.8435
  21  15.9738
  22  4.64999
  23  2.77257e-05
  24  0.0469725
  25  0.232933
  26  0.124955
Done.

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

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  3.964e+00  7.533e+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

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  9.780e-01  1.250e-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:  9.961e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/lscratch/kocevski/31415710/likelihoodResults_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.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): 0
logL (Free Index) = 6950.36776571
delta logL = 0.188490771052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35409017
delta logL = 0.202166315789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8427       1.0000          .0000       .10000E+07
     2 'Index     '    1.5502       1.0000          .0000       10.000    
     3 'Normalizat'    1.0033       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97461       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.

 FCN=   6950.354     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8298        557.85        .38331E-03    .83576E-03
   2  Index         1.5499        5.5927        .29261       -.92797E-05
   3  Normalizat    1.0033        .11103        .77202E-01    .10632E-03
   4  Prefactor     .97467        .52216E-01    .45949E-01    .16357E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.82979
  Index      = 1.54993
  Normalizat = 1.00331
  Prefactor  = 0.974668
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.354     FROM HESSE     STATUS=OK            31 CALLS      283 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8298        10.002        .15333E-04   -1.5656    
   2  Index         1.5499        .79284        .12518E-01   -.76151    
   3  Normalizat    1.0033        .24172        .34166E-03   -.92920    
   4  Prefactor     .97467        .14002        .19882E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84829e-11
Minuit parameter uncertainties:
  1  10.0022
  2  0.79932
  3  0.241986
  4  0.140071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.35408882
delta logL = 0.202167660342

Extracting fit parameters...

4FGL J1318.7-1234
   Spectrum: PowerLaw
321    Prefactor:  6.830e+00  1.000e+01  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  1.550e+00  7.993e-01  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:  9.747e-01  1.401e-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.003e+00  2.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/31415710/cmap_HighResolution_803347201_803606401_4FGL_J1318.7-1234_daily_bin2176.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.09e-03', job_status='DONE', photon_flux_upper_limit='9.35e-08', time_completed='2026-07-12 01:31:23.501833', job_id='31415710', GAL2='0.97', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1783845083.5', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='2.02e-01', ts2='0.80', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='2176' AND source_name='4FGL J1318.7-1234' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 12 01:31:24 PDT 2026

