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

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40345908/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:47:07.731470', job_id='40345908', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568027.73', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:47:07 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345935/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/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
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40345935/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:47:17.138461', job_id='40345935', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568037.14', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:47:17 PDT 2026

tfile=/lscratch/kocevski/40346011/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 8.90
user 8.30
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40346011/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346011/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346011/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 72.66
user 67.57
sys 4.36

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

Setting source of interest to:
4FGL J1339.9-0138 @ 204.976 -1.6378

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346011/cmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346011/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40346011/Model_4FGL_J1339.9-0138_daily_bin2213.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 GALtfile=/lscratch/kocevski/40346010/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 9.13
user 8.55
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40346010/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346010/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346010/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 72.49
user 67.56
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 162 point sources and 0 extended sources

Setting source of interest to:
4FGL J1339.9-0138 @ 204.976 -1.6378

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346010/cmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.65
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346010/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40346010/Model_4FGL_J1339.9-0138_daily_bin2213.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
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).

_V02
Working on...
/lscratch/kocevski/40345994/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 17.69
user 16.31
sys 0.95

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40345994/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40345994/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40345994/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40345994/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40345994/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40345994/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40345994/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40345994/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40345994/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40345994/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40345994/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40345994/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:47:43.387383', job_id='40345994', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568063.39', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:47:43 PDT 2026

tfile=/lscratch/kocevski/40346068/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 8.28
user 7.78
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40346068/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346068/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346068/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 67.27
user 62.82
sys 3.85

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

Setting source of interest to:
4FGL J1339.9-0138 @ 204.976 -1.6378

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346068/cmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.56
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346068/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.53
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40346068/Model_4FGL_J1339.9-0138_daily_bin2213.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 GALtfile=/lscratch/kocevski/40346104/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 9.07
user 8.51
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40346104/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346104/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346104/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 73.04
user 68.19
sys 4.16

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

Setting source of interest to:
4FGL J1339.9-0138 @ 204.976 -1.6378

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346104/cmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.64
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346104/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.57
user 0.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40346104/Model_4FGL_J1339.9-0138_daily_bin2213.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 20.25
user 18.71
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40346011/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40346011/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40346011/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40346011/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40346011/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40346011/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40346011/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40346011/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
_V02
Working on...
/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 20.23
user 18.69
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40346010/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40346010/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40346010/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40346010/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40346010/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40346010/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40346010/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40346010/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
number of points = 7568
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1339.9-0138_daily_bin2213
RA = 204.976, Dec = -1.6378
tmin = 812937601, tmax = 813196801
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='40346203', job_status='RUN', time_executed='2026-10-09 10:47:23.649796', time_epoch_executed='1791568043.65' WHERE source_name='4FGL J1339.9-0138' and cadence='daily' and bin_id='2213'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/40346203

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/40346203/ft1_4FGL_J1339.9-0138_daily_bin2213.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/40346203/ft1_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346203/ft1_filteredMKT_4FGL_J1339.9-0138_daily_bin2213.fits ra=204.976 dec=-1.6378 rad=12.0 tmin=812937601.0 tmax=813196801.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.57
user 2.01
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.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/40346203/ft1_filteredMKT_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" outfile="/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 457

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits" evtable="EVENTS" scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" ou **********
 **   18 **HESSE 
 **********

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40346011/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40346011/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:48:53.378235', job_id='40346011', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568133.38', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:48:53 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40346010/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40346010/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:48:56.401269', job_id='40346010', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568136.4', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:48:56 PDT 2026

_V02
Working on...
/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 18.26
user 17.02
sys 0.76

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40346068/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40346068/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40346068/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40346068/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40346068/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40346068/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40346068/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40346068/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
_V02
Working on...
/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 19.75
user 18.27
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40346104/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40346104/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40346104/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40346104/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40346104/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40346104/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40346104/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40346104/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40346068/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40346068/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:49:38.561958', job_id='40346068', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568178.56', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:49:38 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40346104/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40346104/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:49:57.960220', job_id='40346104', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568197.96', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:49:58 PDT 2026

tfile=/lscratch/kocevski/40346203/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 7.25
user 6.70
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" expcube=/lscratch/kocevski/40346203/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346203/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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/40346203/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
.....................!
real 59.71
user 55.50
sys 3.53

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

Setting source of interest to:
4FGL J1339.9-0138 @ 204.976 -1.6378

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346203/cmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.64
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits outfile=/lscratch/kocevski/40346203/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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=204.976 yref=-1.6378 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.62
user 0.20
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits evtable="EVENTS" scfile=/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/40346203/Model_4FGL_J1339.9-0138_daily_bin2213.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits.....................!
real 16.34
user 14.99
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits', '/lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits', expMap='/lscratch/kocevski/40346203/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', expCube='/lscratch/kocevski/40346203/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/40346203/Model_4FGL_J1339.9-0138_daily_bin2213.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.9-0138'

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  2.717e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/40346203/ft1_filtered_4FGL_J1339.9-0138_daily_bin2213.fits
Spacecraft file(s): /lscratch/kocevski/40346203/ft2_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure map: /lscratch/kocevski/40346203/expmap_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
Exposure cube: /lscratch/kocevski/40346203/ltcube_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/40346203/Model_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.86195452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21745       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.044       1.0000          .0000       .10000E+07
     3 'norm      '    29.120       1.0000          .0000       .10000E+07
     4 'norm      '    .16542E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .83765E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    12.003       1.0000          .0000       .10000E+07
     7 'Prefactor '    10.014       1.0000          .0000       .10000E+07
     8 'Prefactor '    .82951       1.0000          .0000       .10000E+07
     9 'norm      '    3.6307       1.0000          .0000       .10000E+07
    10 'norm      '    .43007E-03   1.0000          .0000       .10000E+07
    11 'norm      '    5.5656       1.0000          .0000       .10000E+07
    12 'norm      '    17.662       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41979E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .43123E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .78571E-02   1.0000          .0000       .10000E+07
    16 'norm      '    9.4002       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'norm      '    6.4800       1.0000          .0000       .10000E+07
    19 'Prefactor '    .31285E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .44113E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.0666       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1239       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5175.811     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1788 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21839        .32669        .54848E-07** at limit **
   2  Prefactor     16.200        26.451       -.23099E-05    .64634E-01
   3  norm          29.036        3.8669        .10491E-06    .56540E-01
   4  norm           .0000        13.467       -.33743E-06** at limit **
   5  Prefactor     .97700E-08    16.003        .50263E-06** at limit **
   6  Prefactor     12.036        12.862        .49220E-06    .68068E-01
   7  Prefactor     10.022        8.8628        .85758E-07    .16779E-03
   8  Prefactor     .45374E-04    320.39       -.10302E-04** at limit **
   9  norm          3.6308        2.0826       -.42727E-06   -.33115E-03
  10  norm          .55511E-10    3.5784       -.53961E-08** at limit **
  11  norm          5.5977        7.4026        .42778E-06    .10772E-02
  12  norm          17.091        41.778        .14084E-05    .10969E-01
  13  Prefactor      .0000        4.8209        .47252E-06** at limit **
  14  Prefactor      .0000        2.6340       -.39942E-06** at limit **
  15  Prefactor     .26645E-08    9.2465        .20166E-06** at limit **
  16  norm          9.3929        7.6356        .25519E-06    .55107E-04
  17  Prefactor     16.410        7.3925        .69381E-07   -.12333    
  18  norm          6.4782        3.2070       -.26792E-06    .15337E-04
  19  Prefactor     .29976E-08    38.155        .66241E-05** at limit **
  20  norm          .55511E-10    3.9799        .16149E-05** at limit **
  21  Normalizat    1.0673        .30519        .18293E-05    .13961E-04
  22  Prefactor     1.1243        .21482       -.39625E-05    .91872E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.218388
  Prefactor  = 16.2004
  norm       = 29.0361
  norm       = 0
  Prefactor  = 9.76996e-09
  Prefactor  = 12.0363
  Prefactor  = 10.0221
  Prefactor  = 4.53738e-05
  norm       = 3.63082
  norm       = 5.55112e-11
  norm       = 5.59768
  norm       = 17.0906
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.66454e-09
  norm       = 9.39294
  Prefactor  = 16.4099
  norm       = 6.47821
  Prefactor  = 2.9976e-09
  norm       = 5.55112e-11
  Normalizat = 1.06729
  Prefactor  = 1.12426
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.811     FROM HESSE     STATUS=OK           390 CALLS     2178 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21839        .35973        .10930E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.200        84.940        .24233E-03   -1.5627    
   3  norm          29.036        18.835        .18534E-03   -1.5600    
   4  norm           .0000        13.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .97700E-08    16.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.036        14.383        .28889E-03   -1.5639    
   7  Prefactor     10.022        8.8642        .31640E-03   -1.5645    
   8  Prefactor     .45374E-04    340.88        .50761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.6308        2.0878        .52996E-03   -1.5670    
  10  norm          .55511E-10    3.6208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.5977        7.4303        .42562E-03   -1.5661    
  12  norm          17.091        42.808        .23805E-03   -1.5625    
  13  Prefactor      .0000        4.7914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.6340        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .26645E-08    9.2613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.3929        7.6414        .32663E-03   -1.5647    
  17  Prefactor     16.410        15.442        .24680E-03   -1.5627    
  18  norm          6.4782        3.2069        .39402E-03   -1.5657    
  19  Prefactor     .29976E-08    38.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .55511E-10    3.9795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0673        .25910        .72740E-01   -.90809    
  22  Prefactor     1.1243        .18164        .36741E-01   -.88695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75754e-06
Minuit parameter uncertainties:
  1  0.359725
  2  74.1923
  3  18.8355
  4  1.55077e-05
  5  0.000792206
  6  14.3827
  7  8.86419
  8  0.248749
  9  2.08779
  10  2.20105e-05
  11  7.43027
  12  42.809
  13  1.71984e-05
  14  1.56494e-06
  15  0.000314788
  16  7.64143
  17  15.4417
  18  3.20688
  19  0.000677053
  20  2.23663e-05
  21  0.259413
  22  0.181741
Done.

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

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.709e+01  4.281e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  2.118e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  1.817e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.067e+00  2.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 204.976 -1.638
Photon Flux Upper Limit: 5.56594519147e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.53422870293e-05 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/40346203/likelihoodResults_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.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) = 5175.80787013
delta logL = 0.00353914749212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5175.80746904
delta logL = 0.00394023496574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.364       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9395       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0681       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5175.807     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      274 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        47.266        .93377E-05    .10958E-04
   2  alpha         1.9396        1.8024        .50844E-01    .57050E-04
   3  Normalizat    1.0682        .30078        .32177E-03    .36039E-04
   4  Prefactor     1.1237        .21356        .22031E-03    .18371E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3624
  alpha      = 1.93956
  Normalizat = 1.06822
  Prefactor  = 1.12371
 **********
 **   18 **HESSE 
 **********

 FCN=   5175.807     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .64E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        46.226        .37351E-06   -1.5622    
   2  alpha         1.9396        1.7732        .10169E-01   -.22610    
   3  Normalizat    1.0682        .30107        .12871E-04   -.90779    
   4  Prefactor     1.1237        .21378        .88123E-05   -.88712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37061e-12
Minuit parameter uncertainties:
  1  46.2265
  2  1.98588
  3  0.301555
  4  0.213948
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) = 5175.80746878
delta logL = 0.00394050191244

Extracting fit parameters...

4FGL J1339.9-0138
   Spectrum: LogParabola
279         norm:  1.836e+01  4.623e+01  0.000e+00  1.000e+06 ( 1.000e-13)
280        alpha:  1.940e+00  1.986e+00  0.000e+00  5.000e+00 ( 1.000e+00)
281         beta:  6.797e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
282           Eb:  1.256e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
533    Prefactor:  1.124e+00  2.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
534        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
535        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
532   Normalization:  1.068e+00  3.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 204.976 -1.638

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/40346203/cmap_HighResolution_812937601_813196801_4FGL_J1339.9-0138_daily_bin2213.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.53e-05', job_status='DONE', photon_flux_upper_limit='5.57e-08', time_completed='2026-10-09 10:51:17.896111', job_id='40346203', GAL2='1.12', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1791568277.9', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.94e-03', ts2='0.20', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='2213' AND source_name='4FGL J1339.9-0138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  9 10:51:18 PDT 2026

