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

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898025/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898025/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:24:05.932319', job_id='32898025', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831045.93', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:24:07 PDT 2026

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

outfile=/lscratch/kocevski/32898202/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 9.11
user 7.29
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32898202/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898202/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898202/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 62.02
user 56.50
sys 3.55

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
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898202/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 2.17
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898202/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 2.19
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32898202/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 40.36
user 37.36
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32898202/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32898202/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32898202/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32898202/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32898202/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32898202/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32898202/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32898202/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898202/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898202/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:27:30.452377', job_id='32898202', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831250.45', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:27:31 PDT 2026

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


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2187
RA = 204.756, Dec = -24.0085
tmin = 806198401, tmax = 806457601
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='32898552', job_status='RUN', time_executed='2026-07-23 11:20:33.198439', time_epoch_executed='1784830833.2' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32898552

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32898552/ft1_4FGL_J1339.0-2400_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32898552/ft1_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898552/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.88
user 1.75
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits

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

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

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

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" onumber of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2187
RA = 204.756, Dec = -24.0085
tmin = 806198401, tmax = 806457601
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='32898594', job_status='RUN', time_executed='2026-07-23 11:20:33.368011', time_epoch_executed='1784830833.37' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32898594

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32898594/ft1_4FGL_J1339.0-2400_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32898594/ft1_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898594/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.71
user 1.71
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.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/32898594/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.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 2.22
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" utfile=/lscratch/kocevski/32898552/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 9.03
user 6.93
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32898552/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898552/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898552/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 61.74
user 56.13
sys 3.58

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
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898552/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.73
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898552/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 2.03
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187outfile=/lscratch/kocevski/32898594/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 8.54
user 6.88
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32898594/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898594/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898594/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 61.17
user 55.67
sys 3.41

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
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898594/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 2.14
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898594/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.95
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin218.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32898552/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 42.87
user 38.90
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32898552/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32898552/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32898552/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32898552/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32898552/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32898552/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32898552/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32898552/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
7.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32898594/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 41.32
user 38.63
sys 0.60

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32898594/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32898594/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32898594/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32898594/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32898594/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32898594/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32898594/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32898594/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .0Done.


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2187
RA = 204.756, Dec = -24.0085
tmin = 806198401, tmax = 806457601
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='32898737', job_status='RUN', time_executed='2026-07-23 11:22:50.132751', time_epoch_executed='1784830970.13' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32898737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32898737/ft1_4FGL_J1339.0-2400_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32898737/ft1_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898737/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.53
user 1.74
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.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/32898737/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.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 2.02
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
Done.


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2187
RA = 204.756, Dec = -24.0085
tmin = 806198401, tmax = 806457601
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='32898692', job_status='RUN', time_executed='2026-07-23 11:21:40.620506', time_epoch_executed='1784830900.62' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32898692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32898692/ft1_4FGL_J1339.0-2400_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32898692/ft1_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898692/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=806198401.0 tmax=806457601.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 4.35
user 1.83
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.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/32898692/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.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 2.29
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA"  **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898552/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898552/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:32:02.414687', job_id='32898552', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831522.41', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:32:03 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898594/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898594/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:32:23.607029', job_id='32898594', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831543.61', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:32:24 PDT 2026

outfile=/lscratch/kocevski/32898737/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 8.43
user 6.78
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32898737/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898737/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898737/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 60.85
user 55.80
sys 3.58

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
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898737/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.98
user 0.18
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898737/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.79
user 0.21
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin218outfile=/lscratch/kocevski/32898692/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 10.00
user 7.66
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32898692/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898692/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32898692/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 74.10
user 67.15
sys 4.18

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898692/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.98
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32898692/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 2.29
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin21number of points = 7590
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1339.0-2400_daily_bin2187
RA = 204.756, Dec = -24.0085
tmin = 806198401, tmax = 806457601
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='32899322', job_status='RUN', time_executed='2026-07-23 11:24:57.756443', time_epoch_executed='1784831097.76' WHERE source_name='4FGL J1339.0-2400' and cadence='daily' and bin_id='2187'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/32899322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/32899322/ft1_4FGL_J1339.0-2400_daily_bin2187.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/32899322/ft1_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32899322/ft1_filteredMKT_4FGL_J1339.0-2400_daily_bin2187.fits ra=204.756 dec=-24.0085 rad=12.0 tmin=806198401.0 tmax=806457601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.62
user 1.71
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits

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

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

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

Number of photons that the gtmktime cut: 611

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" 7.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32898737/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 40.47
user 37.55
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32898737/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32898737/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32898737/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32898737/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32898737/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32898737/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32898737/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32898737/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
outfile=/lscratch/kocevski/32899322/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 8.40
user 6.92
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32899322/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32899322/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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/32899322/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
.....................!
real 65.78
user 60.20
sys 3.78

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
Extended source CenA Lobes in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CenALobes.fits is the correct path to the extended template.
Added 192 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1339.0-2400 @ 204.756 -24.0085

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32899322/cmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.90
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits scfile=/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits outfile=/lscratch/kocevski/32899322/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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.756 yref=-24.0085 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 1.68
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin218 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
87.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32898692/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 47.58
user 44.23
sys 0.93

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32898692/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32898692/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32898692/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32898692/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32898692/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32898692/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32898692/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32898692/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898737/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
0000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898737/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:35:43.228831', job_id='32898737', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831743.23', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:35:43 PDT 2026

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

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32898692/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32898692/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:36:33.211620', job_id='32898692', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831793.21', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:36:34 PDT 2026

7.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32899322/Model_4FGL_J1339.0-2400_daily_bin2187.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits.....................!
real 42.40
user 39.08
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits', '/lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits', expMap='/lscratch/kocevski/32899322/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', expCube='/lscratch/kocevski/32899322/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32899322/Model_4FGL_J1339.0-2400_daily_bin2187.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.0-2400'

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  8.627e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/32899322/ft1_filtered_4FGL_J1339.0-2400_daily_bin2187.fits
Spacecraft file(s): /lscratch/kocevski/32899322/ft2_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure map: /lscratch/kocevski/32899322/expmap_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
Exposure cube: /lscratch/kocevski/32899322/ltcube_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/32899322/Model_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.76793744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15793E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10164       1.0000          .0000       .10000E+07
     3 'norm      '    .13376E-04   1.0000          .0000       .10000E+07
     4 'norm      '    5.3774       1.0000          .0000       .10000E+07
     5 'Prefactor '    .65152E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .17264E-06   1.0000          .0000       .10000E+07
     7 'norm      '    19.796       1.0000          .0000       .10000E+07
     8 'Prefactor '    .70609E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16310E-05   1.0000          .0000       .10000E+07
    10 'norm      '    11.498       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23503E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6484       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34643E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    11.484       1.0000          .0000       .10000E+07
    15 'norm      '    3.2618       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20167E-06   1.0000          .0000       .10000E+07
    17 'norm      '    .63041E-04   1.0000          .0000       .10000E+07
    18 'norm      '    9.3316       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23872E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .31145E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30768E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .38542E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    2.1047       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66412       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6750.675     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1571 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .79740        .34672E-06** at limit **
   2  Prefactor     .19595E-07    17.940       -.22321E-05** at limit **
   3  norm          .10547E-08    5.0632       -.17097E-06** at limit **
   4  norm          5.3736        4.9423       -.63677E-06    .40215E-03
   5  Prefactor      .0000        2.6898        .12121E-05** at limit **
   6  norm           .0000        .76530        .83348E-06** at limit **
   7  norm          19.776        9.2778       -.20394E-07    .22674E-01
   8  Prefactor     .14522E-06    26.804        .23520E-05** at limit **
   9  norm          .57176E-08    6.2597       -.60411E-06** at limit **
  10  norm          11.478        8.4903        .94345E-06    .19956E-01
  11  Prefactor     .55511E-09    7.1550       -.56903E-06** at limit **
  12  Prefactor     7.7218        2.1459       -.19584E-06    .13111E-02
  13  Prefactor     .11468E-05    14.373        .13954E-05** at limit **
  14  Prefactor     11.508        3.5887        .14017E-06    .84349E-01
  15  norm          3.2738        6.0539       -.73960E-06   -.21407E-02
  16  Prefactor     .21032E-05    36.234        .22053E-05** at limit **
  17  norm          .64819E-05    40.592        .47849E-05** at limit **
  18  norm          9.3312        1.5385        .68564E-07   -.22159E-01
  19  Prefactor     .11102E-09    4.1044        .43265E-06** at limit **
  20  Prefactor     .62857E-05    12.552       -.25743E-05** at limit **
  21  Prefactor     .66968E-05    18.221       -.27677E-05** at limit **
  22  Prefactor     .26035E-07    12.849        .53734E-06** at limit **
  23  Normalizat    2.1045        .34312        .74132E-05   -.48768E-04
  24  Prefactor     .66406        .14191        .17818E-05   -.17566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 1.95954e-08
  norm       = 1.05471e-09
  norm       = 5.37357
  Prefactor  = 0
  norm       = 0
  norm       = 19.7763
  Prefactor  = 1.45217e-07
  norm       = 5.71765e-09
  norm       = 11.4781
  Prefactor  = 5.55112e-10
  Prefactor  = 7.72179
  Prefactor  = 1.1468e-06
  Prefactor  = 11.5083
  norm       = 3.2738
  Prefactor  = 2.10315e-06
  norm       = 6.48187e-06
  norm       = 9.33122
  Prefactor  = 1.11022e-10
  Prefactor  = 6.28569e-06
  Prefactor  = 6.69675e-06
  Prefactor  = 2.60347e-08
  Normalizat = 2.10453
  Prefactor  = 0.664063
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK           437 CALLS     2008 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .79215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .19595E-07    48.512        .13885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10547E-08    5.1166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.3736        4.9544        .43313E-03   -1.5662    
   5  Prefactor      .0000        2.6960        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .76527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          19.776        9.7304        .22483E-03   -1.5619    
   8  Prefactor     .14522E-06    64.743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .57176E-08    6.2420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          11.478        9.9406        .29519E-03   -1.5640    
  11  Prefactor     .55511E-09    7.1682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.7218        28.077        .36237E-03   -1.5652    
  13  Prefactor     .11468E-05    16.584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.508        14.639        .29537E-03   -1.5640    
  15  norm          3.2738        6.1137        .56049E-03   -1.5672    
  16  Prefactor     .21032E-05    64.542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .64819E-05    47.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.3312        10.086        .32783E-03   -1.5647    
  19  Prefactor     .11102E-09    4.2062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62857E-05    21.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .66968E-05    26.230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .26035E-07    13.103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    2.1045        .28691        .71671E-01   -.61956    
  24  Prefactor     .66406        .11795        .41922E-01   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02876e-06
Minuit parameter uncertainties:
  1  1.69607e-06
  2  0.00194883
  3  0.000147748
  4  4.95445
  5  1.37362e-05
  6  3.96784e-06
  7  9.73042
  8  0.00613281
  9  0.000378009
  10  9.94057
  11  0.000124307
  12  28.0772
  13  0.00872208
  14  14.6393
  15  6.11372
  16  0.023302
  17  0.0352506
  18  10.0863
  19  3.96228e-05
  20  0.0229804
  21  0.0265072
  22  0.00116784
  23  0.287144
  24  0.117991
Done.

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

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.722e+00  2.808e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.302e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.105e+00  2.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 204.756 -24.009
Photon Flux Upper Limit: 1.37854832593e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0105813154878 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/32899322/likelihoodResults_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.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) = 6750.67495066
delta logL = 2.47122534347e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6750.67495043
delta logL = 2.70157579507e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7218       1.0000          .0000       .10000E+07
     2 'Index     '    2.3059       1.0000          .0000       10.000    
     3 'Normalizat'    2.1045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66404       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6750.675     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7092        28.487        .14425E-04   -.40509E-03
   2  Index         2.3067        1.7526        .69622E-02    .97714E-05
   3  Normalizat    2.1044        .34416        .31701E-03   -.20107E-02
   4  Prefactor     .66408        .14197        .21423E-03   -.30884E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.70921
  Index      = 2.30669
  Normalizat = 2.10443
  Prefactor  = 0.664082
 **********
 **   18 **HESSE 
 **********

 FCN=   6750.675     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .73E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7092        28.220        .57700E-06   -1.5652    
   2  Index         2.3067        1.7366        .27849E-03   -.56885    
   3  Normalizat    2.1044        .34441        .63402E-04   -.61958    
   4  Prefactor     .66408        .14206        .42846E-04   -1.0495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28284e-09
Minuit parameter uncertainties:
  1  28.2201
  2  1.78993
  3  0.344825
  4  0.142138
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) = 6750.67495023
delta logL = 2.90329717245e-06

Extracting fit parameters...

4FGL J1339.0-2400
   Spectrum: PowerLaw
309    Prefactor:  7.709e+00  2.822e+01  0.000e+00  1.000e+06 ( 1.000e-13)
310        Index:  2.307e+00  1.790e+00  0.000e+00  1.000e+01 (-1.000e+00)
311        Scale:  1.047e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.641e-01  1.421e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  2.104e+00  3.448e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 204.756 -24.009

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /lscratch/kocevski/32899322/cmap_HighResolution_806198401_806457601_4FGL_J1339.0-2400_daily_bin2187.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2026-07-23 11:37:53.501178', job_id='32899322', GAL2='0.66', fit_tolerance='1e-08', EG2='2.10', EG='2.10', time_epoch_completed='1784831873.5', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='2.90e-06', ts2='0.09', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2187' AND source_name='4FGL J1339.0-2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 23 11:37:54 PDT 2026

