/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 = 7296
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0842.3-6053_daily_bin2114
RA = 130.598, Dec = -60.8919
tmin = 787276801, tmax = 787536001
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='17371569', job_status='RUN', time_executed='2025-12-16 00:39:24.282022', time_epoch_executed='1765874364.28' WHERE source_name='4FGL J0842.3-6053' and cadence='daily' and bin_id='2114'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17371569

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17371569/ft1_4FGL_J0842.3-6053_daily_bin2114.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17371569/ft1_4FGL_J0842.3-6053_daily_bin2114.fits outfile=/lscratch/kocevski/17371569/ft1_filteredMKT_4FGL_J0842.3-6053_daily_bin2114.fits ra=130.598 dec=-60.8919 rad=12.0 tmin=787276801.0 tmax=787536001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.34
user 1.63
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.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/17371569/ft1_filteredMKT_4FGL_J0842.3-6053_daily_bin2114.fits evtable="EVENTS" outfile="/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.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.82
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 2600

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17371569/ltcube_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.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/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits
.....................!
real 7.28
user 6.61
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17371569/ltcube_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits outfile=/lscratch/kocevski/17371569/expmap_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.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/17371569/ltcube_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits
.....................!
real 59.98
user 55.47
sys 3.66

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 Westerlund 2 in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source LMC-30DorWest in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/LMC-North.fits is the correct path to the extended template.
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 247 point sources and 8 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 J0842.3-6053 @ 130.598 -60.8919

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits outfile=/lscratch/kocevski/17371569/cmap_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.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=130.598 yref=-60.8919 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.19
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits outfile=/lscratch/kocevski/17371569/cmap_HighResolution_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.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=130.598 yref=-60.8919 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.22
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits evtable="EVENTS" scfile=/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17371569/Model_4FGL_J0842.3-6053_daily_bin2114.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source GAL_V02
adding source LMC-30DorWest
adding source LMC-North
adding source Puppis A
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits....................!
real 1024.93
user 1018.17
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits', '/lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits', expMap='/lscratch/kocevski/17371569/expmap_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits', expCube='/lscratch/kocevski/17371569/ltcube_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17371569/Model_4FGL_J0842.3-6053_daily_bin2114.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0842.3-6053'

4FGL J0842.3-6053
   Spectrum: PowerLaw
360    Prefactor:  4.946e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.280e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17371569/ft1_filtered_4FGL_J0842.3-6053_daily_bin2114.fits
Spacecraft file(s): /lscratch/kocevski/17371569/ft2_4FGL_J0842.3-6053_daily_bin2114.fits
Exposure map: /lscratch/kocevski/17371569/expmap_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits
Exposure cube: /lscratch/kocevski/17371569/ltcube_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17371569/Model_4FGL_J0842.3-6053_daily_bin2114.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) = 24359.3217473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5033       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.1104       1.0000          .0000       .10000E+07
     3 'Prefactor '    13.490       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.0707       1.0000          .0000       .10000E+07
     5 'norm      '    1.4150       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11990E-07   1.0000          .0000       .10000E+07
     7 'norm      '    6.0567       1.0000          .0000       .10000E+07
     8 'Prefactor '    15.710       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12412       1.0000          .0000       .10000E+07
    10 'norm      '    .26423E-07   1.0000          .0000       .10000E+07
    11 'norm      '    3.6462       1.0000          .0000       .10000E+07
    12 'Prefactor '    17.566       1.0000          .0000       .10000E+07
    13 'Prefactor '    .25895E-01   1.0000          .0000       .10000E+07
    14 'Normalizat'    1.3532       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .89134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24358.62     FROM MIGRAD    STATUS=CONVERGED    141 CALLS      835 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5148        7.5406       -.45438E-07    .27333E-03
   2  Prefactor     1.1386        4.2406       -.56443E-08    .12382E-03
   3  Prefactor     23.899        60.331       -.32194E-06   -.27441E-04
   4  Prefactor     .16098E-08    387.86        .10853E-05** at limit **
   5  norm          1.4246        3.7809       -.63107E-08    .34006E-03
   6  Prefactor      .0000        2.3256        .39254E-07** at limit **
   7  norm          6.0373        5.9747       -.10481E-06   -.43208E-03
   8  Prefactor     15.796        11.608       -.25123E-07    .25544E-03
   9  Prefactor     .15363        342.78       -.37084E-05** at limit **
  10  norm           .0000        1.7501       -.14322E-07** at limit **
  11  norm          3.6782        3.8360        .66664E-08    .42646E-03
  12  Prefactor     17.588        8.6159        .77612E-07    .21279E-02
  13  Prefactor      .0000        31.390       -.64933E-07** at limit **
  14  Normalizat    1.3467        .21813        .28203E-05    .92954E-04
  15  Prefactor     .89165        .33207E-01    .60779E-07    .43064E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.51485
  Prefactor  = 1.13858
  Prefactor  = 23.8988
  Prefactor  = 1.60982e-09
  norm       = 1.42463
  Prefactor  = 0
  norm       = 6.03734
  Prefactor  = 15.7956
  Prefactor  = 0.15363
  norm       = 0
  norm       = 3.67816
  Prefactor  = 17.588
  Prefactor  = 0
  Normalizat = 1.3467
  Prefactor  = 0.891649
 **********
 **   18 **HESSE 
 **********

 FCN=   24358.62     FROM HESSE     STATUS=OK           220 CALLS     1055 TOTAL
                     EDM=   .51E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5148        7.5110        .36589E-03   -1.5653    
   2  Prefactor     1.1386        4.2854        .11205E-02   -1.5687    
   3  Prefactor     23.899        61.433        .27246E-03   -1.5610    
   4  Prefactor     .16098E-08    394.01        .44628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4246        3.8002        .90982E-03   -1.5684    
   6  Prefactor      .0000        2.3256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.0373        6.0278        .40774E-03   -1.5659    
   8  Prefactor     15.796        11.601        .25243E-03   -1.5628    
   9  Prefactor     .15363        6.6412        .13322E-01   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.7461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6782        3.8506        .52879E-03   -1.5670    
  12  Prefactor     17.588        8.6318        .23870E-03   -1.5624    
  13  Prefactor      .0000        30.652        .16676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.3467        .21231        .15091       -.82183    
  15  Prefactor     .89165        .31857E-01    .27892E-01   -.96434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09698e-06
Minuit parameter uncertainties:
  1  7.51101
  2  4.28544
  3  61.4344
  4  0.00160232
  5  3.80025
  6  3.69953e-06
  7  6.02783
  8  11.6013
  9  2.02019
  10  1.3987e-06
  11  3.85061
  12  8.63177
  13  4.78127e-05
  14  0.212446
  15  0.0318572
Done.

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

Extracting fit parameters...

4FGL J0842.3-6053
   Spectrum: PowerLaw
360    Prefactor:  1.580e+01  1.160e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.280e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
362        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
871    Prefactor:  8.916e-01  3.186e-02  0.000e+00  1.000e+01 ( 1.000e+00)
872        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
873        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
863   Normalization:  1.347e+00  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.18
Ra Dec: 130.598 -60.892
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 5.17e-08 +/- 3.80e-08
Energy Flux (Fixed Index): 2.02e-05 +/- 1.48e-05

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) = 24358.6216042
delta logL = 0.0024500925465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24358.6203128
delta logL = 0.00374150980861

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.468       1.0000          .0000       .10000E+07
     2 'Index     '    2.2228       1.0000          .0000       10.000    
     3 'Normalizat'    1.3499       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89150       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .8930E+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=   24358.62     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      250 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.469        14.979        .98614E-05    .13742E-02
   2  Index         2.2221        .70177        .10015E-01    .36163E-04
   3  Normalizat    1.3502        .21002        .67001E-03    .75744E-04
   4  Prefactor     .89146        .31668E-01    .12327E-03    .46631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.469
  Index      = 2.2221
  Normalizat = 1.3502
  Prefactor  = 0.891456
 **********
 **   18 **HESSE 
 **********

 FCN=   24358.62     FROM HESSE     STATUS=OK            25 CALLS      275 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.469        14.234        .39446E-06   -1.5627    
   2  Index         2.2221        .66600        .40059E-03   -.58906    
   3  Normalizat    1.3502        .20954        .26801E-04   -.82080    
   4  Prefactor     .89146        .31657E-01    .49307E-05   -.96440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.84672e-11
Minuit parameter uncertainties:
  1  14.2344
  2  0.668879
  3  0.209672
  4  0.0316573
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) = 24358.6203111
delta logL = 0.00374316441957

Extracting fit parameters...

4FGL J0842.3-6053
   Spectrum: PowerLaw
360    Prefactor:  1.647e+01  1.423e+01  0.000e+00  1.000e+06 ( 1.000e-13)
361        Index:  2.222e+00  6.689e-01  0.000e+00  1.000e+01 (-1.000e+00)
362        Scale:  1.412e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
871    Prefactor:  8.915e-01  3.166e-02  0.000e+00  1.000e+01 ( 1.000e+00)
872        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
873        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
863   Normalization:  1.350e+00  2.097e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.18
Ra Dec: 130.598 -60.892
Photon Index (Free Index): 2.22 +/- 0.67
Photon Flux (Free Index): 4.84e-08 +/- 5.23e-08
Energy Flux (Free Index): 2.09e-05 +/- 1.78e-05

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/17371569/cmap_HighResolution_787276801_787536001_4FGL_J0842.3-6053_daily_bin2114.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.17e-08', energy_flux2='2.09e-05', photon_flux_error='3.80e-08', dlogl='3.74e-03', energy_flux='2.02e-05', photon_flux2='4.84e-08', job_status='DONE', time_completed='2025-12-16 01:05:44.968607', photon_index_error2='0.67', photon_index2='2.22', ts='4.18', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='1.35', time_epoch_completed='1765875944.97', return_code='0', job_id='17371569', GAL2='0.89', EG2='1.35', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='5.23e-08', ts2='4.18', photon_index='2.28' WHERE bin_id='2114' AND source_name='4FGL J0842.3-6053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 16 01:05:45 PST 2025

