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

 FCN=   53983.46     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74740        .98114        .19374E-04   -1.5691    
   2  alpha         .71718        .71419        .78746E-01   -.79395    
   3  Normalizat    1.0008        .11667        .61039E-03   -.93003    
   4  Prefactor     1.0255        .25537E-01    .13076E-03   -.91883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14301e-08
Minuit parameter uncertainties:
  1  0.981136
  2  0.735597
  3  0.116704
  4  0.0255372
/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)
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) = 53983.460675
delta logL = 0.58734577633

Extracting fit parameters...

4FGL J1023.8-4335
   Spectrum: LogParabola
449         norm:  7.474e-01  9.811e-01  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  7.172e-01  7.356e-01  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  1.128e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  3.044e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
892    Prefactor:  1.026e+00  2.554e-02  0.000e+00  1.000e+01 ( 1.000e+00)
893        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
894        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  1.001e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.86
Ra Dec: 155.973 -43.595
Photon Index (Free Index): 0.72 +/- 0.74
Photon Flux (Free Index): 1.21e-09 +/- 1.26e-09
Energy Flux (Free Index): 2.09e-05 +/- 2.84e-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/14024733/cmap_HighResolution_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.00e-09', energy_flux2='2.09e-05', photon_flux_error='2.91e-09', dlogl='5.87e-01', energy_flux='7.14e-06', photon_flux2='1.21e-09', job_status='DONE', time_completed='2025-10-19 14:04:09.456640', photon_index_error2='0.74', photon_index2='0.72', ts='8.69', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.84e-05', EG='1.00', time_epoch_completed='1760907849.46', return_code='0', job_id='14024733', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='6.91e-06', photon_flux_error2='1.26e-09', ts2='9.86', photon_index='1.60' WHERE bin_id='884' AND source_name='4FGL J1023.8-4335' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Oct 19 14:04:09 PDT 2025


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

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


Performing analysis on: 4FGL_J1023.8-4335_weekly_bin884
RA = 155.973, Dec = -43.5951
tmin = 773625601, tmax = 774230401
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='14026014', job_status='RUN', time_executed='2025-10-19 14:04:13.767905', time_epoch_executed='1760907853.77' WHERE source_name='4FGL J1023.8-4335' and cadence='weekly' and bin_id='884'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/14026014

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/14026014/ft1_4FGL_J1023.8-4335_weekly_bin884.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/14026014/ft1_4FGL_J1023.8-4335_weekly_bin884.fits outfile=/lscratch/kocevski/14026014/ft1_filteredMKT_4FGL_J1023.8-4335_weekly_bin884.fits ra=155.973 dec=-43.5951 rad=12.0 tmin=773625601.0 tmax=774230401.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.81
user 4.02
sys 0.34

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.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/14026014/ft1_filteredMKT_4FGL_J1023.8-4335_weekly_bin884.fits evtable="EVENTS" outfile="/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.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.72
user 0.21
sys 0.15

Number of photons that the gtmktime cut: 5625

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14026014/ltcube_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.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/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits
.....................!
real 18.87
user 17.98
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits evtable="EVENTS" scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14026014/ltcube_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits outfile=/lscratch/kocevski/14026014/expmap_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.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/14026014/ltcube_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits
.....................!
real 69.33
user 64.99
sys 3.79

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 Vela Junior in ROI with RadialDisk spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Added 250 point sources and 6 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 J1023.8-4335 @ 155.973 -43.5951

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits outfile=/lscratch/kocevski/14026014/cmap_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.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=155.973 yref=-43.5951 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.75
user 0.25
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits outfile=/lscratch/kocevski/14026014/cmap_HighResolution_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.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=155.973 yref=-43.5951 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.73
user 0.24
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits evtable="EVENTS" scfile=/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14026014/Model_4FGL_J1023.8-4335_weekly_bin884.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 G296.5+10.0
adding source GAL_V02
adding source Vela Junior
adding source Vela X
adding source Westerlund 2
Working on...
/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits.....................!
real 285.83
user 282.99
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits', '/lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits', expMap='/lscratch/kocevski/14026014/expmap_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits', expCube='/lscratch/kocevski/14026014/ltcube_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14026014/Model_4FGL_J1023.8-4335_weekly_bin884.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1023.8-4335'

4FGL J1023.8-4335
   Spectrum: LogParabola
449         norm:  1.387e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  1.128e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  3.044e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/14026014/ft1_filtered_4FGL_J1023.8-4335_weekly_bin884.fits
Spacecraft file(s): /lscratch/kocevski/14026014/ft2_4FGL_J1023.8-4335_weekly_bin884.fits
Exposure map: /lscratch/kocevski/14026014/expmap_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits
Exposure cube: /lscratch/kocevski/14026014/ltcube_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/14026014/Model_4FGL_J1023.8-4335_weekly_bin884.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) = 53984.2742702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3688       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15192E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .24742E-05   1.0000          .0000       .10000E+07
     4 'norm      '    1.3036       1.0000          .0000       .10000E+07
     5 'norm      '    .10099E-05   1.0000          .0000       .10000E+07
     6 'norm      '    14.224       1.0000          .0000       .10000E+07
     7 'Prefactor '    11.369       1.0000          .0000       .10000E+07
     8 'norm      '    3.4503       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.2994       1.0000          .0000       .10000E+07
    10 'norm      '    3.5432       1.0000          .0000       .10000E+07
    11 'Normalizat'    1.0001       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   53984.05     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      696 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3672        2.2929        .26382E-07    .76004E-03
   2  Prefactor      .0000        6.4191        .67609E-07** at limit **
   3  norm          .26090E-08    1.5167       -.38073E-07** at limit **
   4  norm          1.3085        1.2949       -.67608E-07   -.15988E-02
   5  norm          .30531E-08    1.6092       -.16602E-06** at limit **
   6  norm          14.244        2.2165       -.30242E-07    .11721    
   7  Prefactor     11.367        4.7339       -.46131E-08    .48366E-02
   8  norm          3.4492        1.1690       -.43615E-07   -.21229E-02
   9  Prefactor     8.3037        5.0668       -.43848E-07   -.11819E-01
  10  norm          3.5591        1.1624       -.14709E-07    .77507E-02
  11  Normalizat    .99978        .12068        .51210E-05    .16696E-03
  12  Prefactor     1.0254        .25688E-01   -.90876E-07    .57854E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.36721
  Prefactor  = 0
  norm       = 2.60902e-09
  norm       = 1.30847
  norm       = 3.05311e-09
  norm       = 14.244
  Prefactor  = 11.3668
  norm       = 3.44917
  Prefactor  = 8.3037
  norm       = 3.55914
  Normalizat = 0.999776
  Prefactor  = 1.02543
 **********
 **   18 **HESSE 
 **********

 FCN=   53984.05     FROM HESSE     STATUS=OK           157 CALLS      853 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3672        2.3004        .66547E-03   -1.5677    
   2  Prefactor      .0000        6.3958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .26090E-08    1.5372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3085        1.2669        .96678E-03   -1.5685    
   5  norm          .30531E-08    1.6300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.244        10.312        .26531E-03   -1.5632    
   7  Prefactor     11.367        4.7275        .29687E-03   -1.5641    
   8  norm          3.4492        1.1768        .54423E-03   -1.5671    
   9  Prefactor     8.3037        5.1326        .34775E-03   -1.5650    
  10  norm          3.5591        8.9569        .53674E-03   -1.5670    
  11  Normalizat    .99978        .11743        .13751       -.93038    
  12  Prefactor     1.0254        .25007E-01    .29589E-01   -.91887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12782e-07
Minuit parameter uncertainties:
  1  2.30043
  2  1.70257e-05
  3  0.000127246
  4  1.26687
  5  0.000141378
  6  10.3118
  7  4.72745
  8  1.17683
  9  5.13261
  10  8.9569
  11  0.117462
  12  0.0250071
Done.

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

Extracting fit parameters...

4FGL J1023.8-4335
   Spectrum: LogParabola
449         norm:  1.308e+00  1.267e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.605e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  1.128e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  3.044e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
892    Prefactor:  1.025e+00  2.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
893        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
894        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  9.998e-01  1.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.69
Ra Dec: 155.973 -43.595
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 3.00e-09 +/- 2.91e-09
Energy Flux (Fixed Index): 7.14e-06 +/- 6.91e-06

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) = 53983.5497693
delta logL = 0.498251426034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 53983.4606753
delta logL = 0.587345460641

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   53983.46     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      225 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74740        .78194        .56915E-03   -.48081E-01
   2  alpha         .71718        .62991        .50000       -.12086E-03
   3  Normalizat    1.0008        .11346        .13745        .21653E-03
   4  Prefactor     1.0255        .24699E-01    .29588E-01   -.98770E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.747401
  alpha      = 0.717178
  Normalizat = 1.00083
  Prefactor  = 1.02553
 **********
 **   18 **HESSE 
 **********

 FCN=   53983.46     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74740        .98114        .19374E-04   -1.5691    
   2  alpha         .71718        .71419        .78746E-01   -.79395    
   3  Normalizat    1.0008        .11667        .61039E-03   -.93003    
   4  Prefactor     1.0255        .25537E-01    .13076E-03   -.91883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14301e-08
Minuit parameter uncertainties:
  1  0.981136
  2  0.735597
  3  0.116704
  4  0.0255372
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) = 53983.460675
delta logL = 0.58734577633

Extracting fit parameters...

4FGL J1023.8-4335
   Spectrum: LogParabola
449         norm:  7.474e-01  9.811e-01  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  7.172e-01  7.356e-01  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  1.128e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  3.044e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
892    Prefactor:  1.026e+00  2.554e-02  0.000e+00  1.000e+01 ( 1.000e+00)
893        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
894        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  1.001e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.86
Ra Dec: 155.973 -43.595
Photon Index (Free Index): 0.72 +/- 0.74
Photon Flux (Free Index): 1.21e-09 +/- 1.26e-09
Energy Flux (Free Index): 2.09e-05 +/- 2.84e-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/14026014/cmap_HighResolution_773625601_774230401_4FGL_J1023.8-4335_weekly_bin884.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.00e-09', energy_flux2='2.09e-05', photon_flux_error='2.91e-09', dlogl='5.87e-01', energy_flux='7.14e-06', photon_flux2='1.21e-09', job_status='DONE', time_completed='2025-10-19 14:25:28.486786', photon_index_error2='0.74', photon_index2='0.72', ts='8.69', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.84e-05', EG='1.00', time_epoch_completed='1760909128.49', return_code='0', job_id='14026014', GAL2='1.03', EG2='1.00', return_code2='0', energy_flux_error='6.91e-06', photon_flux_error2='1.26e-09', ts2='9.86', photon_index='1.60' WHERE bin_id='884' AND source_name='4FGL J1023.8-4335' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Oct 19 14:25:28 PDT 2025

