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

 FCN=   15976.86     FROM HESSE     STATUS=OK           396 CALLS     1852 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .23379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25646E-07    16.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7062        2.8618        .80491E-03   -1.5682    
   4  Prefactor      .0000        1.2397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .87541E-07    15.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2099        1.8116        .69168E-03   -1.5678    
   7  norm          13.667        5.3745        .27109E-03   -1.5634    
   8  Prefactor     .24425E-08    8.5501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .97178E-01    5.3647        .11366E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.1769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    3.4997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9179        2.0066        .75027E-03   -1.5680    
  13  Prefactor     5.4573        61.207        .41993E-03   -1.5661    
  14  norm          .22204E-09    7.0838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          24.266        28.527        .20500E-03   -1.5609    
  16  norm           .0000        2.6877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10513        .76785        .71780E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .51126E-07    113.96        .10305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .72164E-09    20.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.788        11.763        .29043E-03   -1.5639    
  21  Normalizat    1.4261        .17834        .80809E-01   -.79877    
  22  Prefactor     .91492        .74130E-01    .45194E-01   -.95622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81384e-07
Minuit parameter uncertainties:
  1  7.64191e-07
  2  0.00128587
  3  2.86182
  4  6.42708e-06
  5  0.00232703
  6  1.81161
  7  5.37447
  8  0.000290656
  9  1.44406
  10  4.08043e-06
  11  3.34692e-05
  12  2.00664
  13  36.5532
  14  7.64795e-05
  15  28.5268
  16  1.42368e-05
  17  0.568229
  18  0.0048286
  19  0.000235974
  20  11.7627
  21  0.178423
  22  0.0741379
/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).

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


Performing analysis on: 4FGL_J1339.1-2620_weekly_bin930
RA = 204.799, Dec = -26.3351
tmin = 801446401, tmax = 802051201
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='27660373', job_status='RUN', time_executed='2026-06-02 13:34:20.559579', time_epoch_executed='1780432460.56' WHERE source_name='4FGL J1339.1-2620' and cadence='weekly' and bin_id='930'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27660373

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27660373/ft1_4FGL_J1339.1-2620_weekly_bin930.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27660373/ft1_4FGL_J1339.1-2620_weekly_bin930.fits outfile=/lscratch/kocevski/27660373/ft1_filteredMKT_4FGL_J1339.1-2620_weekly_bin930.fits ra=204.799 dec=-26.3351 rad=12.0 tmin=801446401.0 tmax=802051201.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.73
user 4.28
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits

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

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

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

Number of photons that the gtmktime cut: 1441

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits sctable="SC_DATDone.

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

Extracting fit parameters...

4FGL J1339.1-2620
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  4.080e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.243e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  9.149e-01  7.414e-02  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  1.426e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.799 -26.335
Photon Flux Upper Limit: 4.01078948057e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030655975859 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27659982/likelihoodResults_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15976.8584848
delta logL = -0.000427325601777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15976.8580583
delta logL = -8.1487269199e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34112E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .89648       1.0000          .0000       10.000    
     3 'Normalizat'    1.4260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15976.86     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      236 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7462        .42118E-03** at limit **
   2  Index         2.4554        1.8706        .10535E-03     .0000    
   3  Normalizat    1.4261        1.0584        .15600E-04    .48780E-03
   4  Prefactor     .91492        1.2591        .66484E-05    .51778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.45541
  Normalizat = 1.4261
  Prefactor  = 0.91492
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15976.86     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67807        2.0302        .10535E-03   -.53393    
   3  Normalizat    1.4261        1.0584        .15600E-04   -.79877    
   4  Prefactor     .91492        1.2591        .66484E-05   -.95622    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.90927e-10
Minuit parameter uncertainties:
  1  1.0919e-06
  2  1.93512
  3  1.0754
  4  1.30304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15976.8580575
delta logL = -1.50976120494e-10

Extracting fit parameters...

4FGL J1339.1-2620
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.092e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.455e+00  1.935e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.799 -26.335

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27659982/cmap_HighResolution_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='4.01e-08', time_completed='2026-06-02 13:35:27.451529', job_id='27659982', GAL2='0.91', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1780432527.45', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-1.51e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='930' AND source_name='4FGL J1339.1-2620' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 13:35:27 PDT 2026

A" outfile=/lscratch/kocevski/27660373/ltcube_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.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/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits
.....................!
real 17.94
user 17.36
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27660373/ltcube_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits outfile=/lscratch/kocevski/27660373/expmap_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.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/27660373/ltcube_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits
.....................!
real 67.96
user 63.55
sys 3.80

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 198 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.1-2620 @ 204.799 -26.3351

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

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

This is gtbin version HEAD
real 0.51
user 0.24
sys 0.12

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

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

This is gtbin version HEAD
real 0.52
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits evtable="EVENTS" scfile=/lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27660373/Model_4FGL_J1339.1-2620_weekly_bin930.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/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits.....................!
real 94.47
user 92.19
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits', '/lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits', expMap='/lscratch/kocevski/27660373/expmap_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits', expCube='/lscratch/kocevski/27660373/ltcube_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27660373/Model_4FGL_J1339.1-2620_weekly_bin930.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1339.1-2620'

4FGL J1339.1-2620
   Spectrum: PowerLaw
315    Prefactor:  1.296e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.243e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27660373/ft1_filtered_4FGL_J1339.1-2620_weekly_bin930.fits
Spacecraft file(s): /lscratch/kocevski/27660373/ft2_4FGL_J1339.1-2620_weekly_bin930.fits
Exposure map: /lscratch/kocevski/27660373/expmap_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits
Exposure cube: /lscratch/kocevski/27660373/ltcube_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27660373/Model_4FGL_J1339.1-2620_weekly_bin930.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) = 15976.9354281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57127E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11887E-01   1.0000          .0000       .10000E+07
     3 'norm      '    1.7055       1.0000          .0000       .10000E+07
     4 'Prefactor '    .58109E-06   1.0000          .0000       .10000E+07
     5 'norm      '    .54935E-05   1.0000          .0000       .10000E+07
     6 'norm      '    2.2098       1.0000          .0000       .10000E+07
     7 'norm      '    13.625       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30834E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .50347E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13054E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .33451E-03   1.0000          .0000       .10000E+07
    12 'norm      '    1.9172       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.7150       1.0000          .0000       .10000E+07
    14 'norm      '    .26343E-05   1.0000          .0000       .10000E+07
    15 'norm      '    23.805       1.0000          .0000       .10000E+07
    16 'norm      '    .74014E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .99539E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .29343       1.0000          .0000       .10000E+07
    19 'Prefactor '    .42245E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    11.877       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.4261       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91486       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15976.86     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1456 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .22947        .78073E-07** at limit **
   2  Prefactor     .25646E-07    13.443       -.11126E-05** at limit **
   3  norm          1.7062        2.8292       -.16847E-06    .10246E-03
   4  Prefactor      .0000        1.2380       -.27829E-07** at limit **
   5  norm          .87541E-07    12.958       -.36215E-06** at limit **
   6  norm          2.2099        1.7949       -.60701E-07   -.17698E-02
   7  norm          13.667        5.3541       -.47669E-08   -.35304E-04
   8  Prefactor     .24425E-08    8.5033       -.60016E-06** at limit **
   9  Prefactor     .97178E-01    18.382       -.13311E-05** at limit **
  10  Prefactor      .0000        2.1584       -.22559E-06** at limit **
  11  Prefactor     .55511E-10    3.4861        .17667E-06** at limit **
  12  norm          1.9179        2.0092       -.45072E-08   -.97493E-04
  13  Prefactor     5.4573        41.187       -.22480E-05    .20416E-01
  14  norm          .22204E-09    7.0465       -.53396E-06** at limit **
  15  norm          24.266        17.937        .25742E-06    .61263E-01
  16  norm           .0000        2.6847       -.42680E-07** at limit **
  17  Prefactor     .10513        10.487       -.22261E-05** at limit **
  18  Prefactor     .51126E-07    4.3970        .19478E-06** at limit **
  19  Prefactor     .72164E-09    17.912        .82579E-06** at limit **
  20  Prefactor     11.788        5.9766        .30975E-06    .88077E-01
  21  Normalizat    1.4261        .21586        .48672E-05    .39790E-04
  22  Prefactor     .91492        .90100E-01   -.69479E-06    .32894E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 2.56462e-08
  norm       = 1.7062
  Prefactor  = 0
  norm       = 8.75411e-08
  norm       = 2.20988
  norm       = 13.6668
  Prefactor  = 2.44249e-09
  Prefactor  = 0.0971778
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 1.91789
  Prefactor  = 5.45733
  norm       = 2.22045e-10
  norm       = 24.2659
  norm       = 0
  Prefactor  = 0.105126
  Prefactor  = 5.11258e-08
  Prefactor  = 7.21645e-10
  Prefactor  = 11.7879
  Normalizat = 1.42609
  Prefactor  = 0.914921
 **********
 **   18 **HESSE 
 **********

 FCN=   15976.86     FROM HESSE     STATUS=OK           396 CALLS     1852 TOTAL
                     EDM=   .58E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .23379        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .25646E-07    16.132        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.7062        2.8618        .80491E-03   -1.5682    
   4  Prefactor      .0000        1.2397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .87541E-07    15.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.2099        1.8116        .69168E-03   -1.5678    
   7  norm          13.667        5.3745        .27109E-03   -1.5634    
   8  Prefactor     .24425E-08    8.5501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .97178E-01    5.3647        .11366E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        2.1769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    3.4997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9179        2.0066        .75027E-03   -1.5680    
  13  Prefactor     5.4573        61.207        .41993E-03   -1.5661    
  14  norm          .22204E-09    7.0838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          24.266        28.527        .20500E-03   -1.5609    
  16  norm           .0000        2.6877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10513        .76785        .71780E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .51126E-07    113.96        .10305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .72164E-09    20.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     11.788        11.763        .29043E-03   -1.5639    
  21  Normalizat    1.4261        .17834        .80809E-01   -.79877    
  22  Prefactor     .91492        .74130E-01    .45194E-01   -.95622    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81384e-07
Minuit parameter uncertainties:
  1  7.64191e-07
  2  0.00128587
  3  2.86182
  4  6.42708e-06
  5  0.00232703
  6  1.81161
  7  5.37447
  8  0.000290656
  9  1.44406
  10  4.08043e-06
  11  3.34692e-05
  12  2.00664
  13  36.5532
  14  7.64795e-05
  15  28.5268
  16  1.42368e-05
  17  0.568229
  18  0.0048286
  19  0.000235974
  20  11.7627
  21  0.178423
  22  0.0741379
Done.

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

Extracting fit parameters...

4FGL J1339.1-2620
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  4.080e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.243e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
317        Scale:  1.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  9.149e-01  7.414e-02  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  1.426e+00  1.784e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 204.799 -26.335
Photon Flux Upper Limit: 4.01078948057e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0030655975859 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27660373/likelihoodResults_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15976.8584848
delta logL = -0.000427325601777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15976.8580583
delta logL = -8.1487269199e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34112E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .89648       1.0000          .0000       10.000    
     3 'Normalizat'    1.4260       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91501       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   15976.86     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      236 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7462        .42118E-03** at limit **
   2  Index         2.4554        1.8706        .10535E-03     .0000    
   3  Normalizat    1.4261        1.0584        .15600E-04    .48780E-03
   4  Prefactor     .91492        1.2591        .66484E-05    .51778E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.45541
  Normalizat = 1.4261
  Prefactor  = 0.91492
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   15976.86     FROM HESSE     STATUS=FAILED         9 CALLS      245 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7462        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67807        2.0302        .10535E-03   -.53393    
   3  Normalizat    1.4261        1.0584        .15600E-04   -.79877    
   4  Prefactor     .91492        1.2591        .66484E-05   -.95622    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.90927e-10
Minuit parameter uncertainties:
  1  1.0919e-06
  2  1.93512
  3  1.0754
  4  1.30304
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 15976.8580575
delta logL = -1.50976120494e-10

Extracting fit parameters...

4FGL J1339.1-2620
   Spectrum: PowerLaw
315    Prefactor:  0.000e+00  1.092e-06  0.000e+00  1.000e+06 ( 1.000e-13)
316        Index:  2.455e+00  1.935e+00  0.000e+00  1.000e+01 (-1.000e+00)
317        Scale:  1.546e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
652    Prefactor:  9.149e-01  1.303e+00  0.000e+00  1.000e+01 ( 1.000e+00)
653        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
654        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
651   Normalization:  1.426e+00  1.075e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 204.799 -26.335

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/27660373/cmap_HighResolution_801446401_802051201_4FGL_J1339.1-2620_weekly_bin930.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.07e-03', job_status='DONE', photon_flux_upper_limit='4.01e-08', time_completed='2026-06-02 13:42:55.621856', job_id='27660373', GAL2='0.91', fit_tolerance='1e-08', EG2='1.43', EG='1.43', time_epoch_completed='1780432975.62', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-1.51e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='930' AND source_name='4FGL J1339.1-2620' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  2 13:42:55 PDT 2026

