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

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).

Done.


Performing analysis on: 4FGL_J2235.1-0623_weekly_bin946
RA = 338.799, Dec = -6.3955
tmin = 811123201, tmax = 811728001
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='38838304', job_status='RUN', time_executed='2026-09-22 19:07:42.594158', time_epoch_executed='1790129262.59' WHERE source_name='4FGL J2235.1-0623' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38838304

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38838304/ft1_4FGL_J2235.1-0623_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38838304/ft1_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838304/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=811123201.0 tmax=811728001.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.50
user 3.95
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.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/38838304/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.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.55
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 232

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" /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/38838052/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 18.50
user 17.92
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38838052/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838052/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838052/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 68.06
user 63.40
sys 4.00

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838052/cmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 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.55
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838052/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.71
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38838052/Model_4FGL_J2235.1-0623_weekly_bin946.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 sourcenumber of points = 17371
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2235.1-0623_weekly_bin946
RA = 338.799, Dec = -6.3955
tmin = 811123201, tmax = 811728001
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='38838324', job_status='RUN', time_executed='2026-09-22 19:08:08.778398', time_epoch_executed='1790129288.78' WHERE source_name='4FGL J2235.1-0623' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38838324

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38838324/ft1_4FGL_J2235.1-0623_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38838324/ft1_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838324/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=811123201.0 tmax=811728001.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.91
user 4.37
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.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/38838324/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 232

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA"  GAL_V02
Working on...
/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits......................!
real 15.16
user 13.79
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits', '/lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits', expMap='/lscratch/kocevski/38838052/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', expCube='/lscratch/kocevski/38838052/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38838052/Model_4FGL_J2235.1-0623_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38838052/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38838052/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38838052/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38838052/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38838052/Model_4FGL_J2235.1-0623_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.03756311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.02245535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.806       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.420       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1178       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    42.835       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31544E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5602       1.0000          .0000       .10000E+07
     8 'Prefactor '    76.456       1.0000          .0000       .10000E+07
     9 'norm      '    7.7120       1.0000          .0000       .10000E+07
    10 'Prefactor '    226.23       1.0000          .0000       .10000E+07
    11 'norm      '    1.0967       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44588E-03   1.0000          .0000       .10000E+07
    13 'norm      '     .0000       1.0000          .0000       .10000E+07
    14 'Prefactor '    .49158E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.289       1.0000          .0000       .10000E+07
    16 'norm      '    .16428E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    28.734       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.6002       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10326E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2760.010     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     2154 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.819        10.137        .37726E-07    .42092E-03
   2  Prefactor     10.725        21.930       -.24268E-06   -.20178E-01
   3  Prefactor     5.2624        16.034        .47706E-06    .42071E-02
   4  Prefactor     26.866        15.563        .86048E-07    .29288E-01
   5  Prefactor     42.686        23.956        .44712E-07   -.27800E-01
   6  Prefactor     .49960E-09    45.103       -.67216E-06** at limit **
   7  Prefactor     6.6302        8.8168       -.44943E-07   -.76766E-03
   8  Prefactor     78.013        16.110        .10343E-06    .24525    
   9  norm          7.7053        7.8617       -.27489E-07    .18266E-03
  10  Prefactor     226.34        1.5580       -.11879E-08   -.48835E-01
  11  norm          1.0963        1.6433       -.34765E-07   -.67066E-03
  12  Prefactor     .55511E-10    12.060        .27443E-06** at limit **
  13  norm           .0000        .96006       -.10422E-07** at limit **
  14  Prefactor      .0000        57.190       -.12359E-06** at limit **
  15  Prefactor     18.324        13.001       -.16060E-06   -.63138E-02
  16  norm          .55511E-10    30.649        .28615E-06** at limit **
  17  Prefactor     46.675        101.06        .93398E-06   -.22139E-01
  18  Prefactor     .45982E-05    147.62        .19575E-05** at limit **
  19  Normalizat    .10000E-01    7.8036       -.18464E-04** at limit **
  20  Prefactor     1.2676        .12119        .39851E-06    .42498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8195
  Prefactor  = 10.7245
  Prefactor  = 5.26238
  Prefactor  = 26.8662
  Prefactor  = 42.6862
  Prefactor  = 4.996e-10
  Prefactor  = 6.63017
  Prefactor  = 78.0135
  norm       = 7.7053
  Prefactor  = 226.337
  norm       = 1.09629
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.3244
  norm       = 5.55112e-11
  Prefactor  = 46.6746
  Prefactor  = 4.59821e-06
  Normalizat = 0.01
  Prefactor  = 1.26761
 **********
 **   18 **HESSE 
 **********

 FCN=   2760.010     FROM HESSE     STATUS=OK           337 CALLS     2491 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.819        10.197        .26004E-03   -1.5631    
   2  Prefactor     10.725        23.391        .31015E-03   -1.5642    
   3  Prefactor     5.2624        55.898        .44418E-03   -1.5662    
   4  Prefactor     26.866        34.098        .19367E-03   -1.5604    
   5  Prefactor     42.686        24.295        .15281E-03   -1.5577    
   6  Prefactor     .49960E-09    45.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6302        9.0598        .39157E-03   -1.5656    
   8  Prefactor     78.013        106.45        .11437E-03   -1.5531    
   9  norm          7.7053        8.1691        .36086E-03   -1.5652    
  10  Prefactor     226.34        198.10        .66493E-04   -1.5407    
  11  norm          1.0963        1.7359        .11370E-02   -1.5687    
  12  Prefactor     .55511E-10    12.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .95610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        57.454        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.324        28.269        .23392E-03   -1.5622    
  16  norm          .55511E-10    29.349        .17284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.675        104.78        .18658E-03   -1.5571    
  18  Prefactor     .45982E-05    149.54        .63243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .53317        .23575       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2676        .17222        .33164E-01   -.84275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36251e-06
Minuit parameter uncertainties:
  1  10.1974
  2  23.3912
  3  34.3025
  4  34.0981
  5  24.2955
  6  0.000303628
  7  9.05982
  8  106.451
  9  8.16908
  10  198.106
  11  1.73594
  12  4.24318e-05
  13  8.11236e-07
  14  3.99021e-05
  15  28.2688
  16  8.00496e-05
  17  104.785
  18  0.0524468
  19  7.97036e-06
  20  0.172293
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  2.263e+02  1.981e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.268e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  7.970e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 9.34e-08 +/- 8.17e-08
Energy Flux (Fixed Index): 4.63e-05 +/- 4.05e-05

TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 2.79999474776e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0212510857606 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38838052/likelihoodResults_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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) = 2759.33857859
delta logL = 0.670953769714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2759.29641447
delta logL = 0.713117888727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.147       1.0000          .0000       .10000E+07
     2 'Index     '    3.0132       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   2759.296     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      323 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.094        143.48        .51156E-05   -.64270E-03
   2  Index         3.0134        1.0441        .30659E-02   -.53233E-04
   3  Normalizat    .10000E-01    .71804        .13063E-01** at limit **
   4  Prefactor     1.2567        .10529        .16005E-03   -.36439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.0937
  Index      = 3.01344
  Normalizat = 0.01
  Prefactor  = 1.25666
 **********
 **   18 **HESSE 
 **********

 FCN=   2759.296     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.094        110.62        .10231E-05   -1.5552    
   2  Index         3.0134        .80770        .12264E-03   -.40859    
   3  Normalizat    .10000E-01    .72007        .26125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2567        .10485        .32009E-04   -.84605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51288e-10
Minuit parameter uncertainties:
  1  110.619
  2  0.811935
  3  1.58746e-05
  4  0.10487
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) = 2759.29640977
delta logL = 0.713122583624

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.109e+01  1.106e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  3.013e+00  8.119e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.257e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  1.587e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 338.799 -6.396
Photon Index (Free Index): 3.01 +/- 0.81
Photon Flux (Free Index): 1.72e-07 +/- 1.23e-07
Energy Flux (Free Index): 3.41e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38838052/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-02', comment='SUCCESS', photon_flux='9.34e-08', energy_flux2='3.41e-05', photon_flux_error='8.17e-08', dlogl='7.13e-01', energy_flux='4.63e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-09-22 19:10:50.290821', photon_index_error2='0.81', photon_index2='3.01', ts='2.88', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='2.80e-07', energy_flux_error2='2.35e-05', EG='0.01', time_epoch_completed='1790129450.29', return_code='0', job_id='38838052', GAL2='1.26', EG2='0.01', return_code2='0', energy_flux_error='4.05e-05', photon_flux_error2='1.23e-07', ts2='4.31', photon_index='2.15' WHERE bin_id='946' AND source_name='4FGL J2235.1-0623' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 19:10:50 PDT 2026

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


Performing analysis on: 4FGL_J2235.1-0623_weekly_bin946
RA = 338.799, Dec = -6.3955
tmin = 811123201, tmax = 811728001
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='38838426', job_status='RUN', time_executed='2026-09-22 19:09:27.419078', time_epoch_executed='1790129367.42' WHERE source_name='4FGL J2235.1-0623' and cadence='weekly' and bin_id='946'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38838426

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38838426/ft1_4FGL_J2235.1-0623_weekly_bin946.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38838426/ft1_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838426/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits ra=338.799 dec=-6.3955 rad=12.0 tmin=811123201.0 tmax=811728001.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.36
user 3.94
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.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/38838426/ft1_filteredMKT_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" outfile="/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.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.22
sys 0.12

Number of photons that the gtmktime cut: 232

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38838304/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 19.04
user 18.37
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38838304/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838304/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838304/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 68.26
user 63.71
sys 3.94

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838304/cmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838304/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 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.68
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38838304/Model_4FGL_J2235.1-0623_weekly_bin946.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 sourceoutfile=/lscratch/kocevski/38838324/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 20.48
user 19.90
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38838324/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838324/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838324/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 75.07
user 69.90
sys 4.47

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838324/cmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 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.67
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838324/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.66
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38838324/Model_4FGL_J2235.1-0623_weekly_bin946.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits......................!
real 15.68
user 13.97
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits', '/lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits', expMap='/lscratch/kocevski/38838304/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', expCube='/lscratch/kocevski/38838304/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38838304/Model_4FGL_J2235.1-0623_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38838304/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38838304/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38838304/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38838304/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38838304/Model_4FGL_J2235.1-0623_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.03756311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.02245535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.806       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.420       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1178       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    42.835       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31544E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5602       1.0000          .0000       .10000E+07
     8 'Prefactor '    76.456       1.0000          .0000       .10000E+07
     9 'norm      '    7.7120       1.0000          .0000       .10000E+07
    10 'Prefactor '    226.23       1.0000          .0000       .10000E+07
    11 'norm      '    1.0967       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44588E-03   1.0000          .0000       .10000E+07
    13 'norm      '     .0000       1.0000          .0000       .10000E+07
    14 'Prefactor '    .49158E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.289       1.0000          .0000       .10000E+07
    16 'norm      '    .16428E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    28.734       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.6002       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10326E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2760.010     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     2154 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.819        10.137        .37726E-07    .42092E-03
   2  Prefactor     10.725        21.930       -.24268E-06   -.20178E-01
   3  Prefactor     5.2624        16.034        .47706E-06    .42071E-02
   4  Prefactor     26.866        15.563        .86048E-07    .29288E-01
   5  Prefactor     42.686        23.956        .44712E-07   -.27800E-01
   6  Prefactor     .49960E-09    45.103       -.67216E-06** at limit **
   7  Prefactor     6.6302        8.8168       -.44943E-07   -.76766E-03
   8  Prefactor     78.013        16.110        .10343E-06    .24525    
   9  norm          7.7053        7.8617       -.27489E-07    .18266E-03
  10  Prefactor     226.34        1.5580       -.11879E-08   -.48835E-01
  11  norm          1.0963        1.6433       -.34765E-07   -.67066E-03
  12  Prefactor     .55511E-10    12.060        .27443E-06** at limit **
  13  norm           .0000        .96006       -.10422E-07** at limit **
  14  Prefactor      .0000        57.190       -.12359E-06** at limit **
  15  Prefactor     18.324        13.001       -.16060E-06   -.63138E-02
  16  norm          .55511E-10    30.649        .28615E-06** at limit **
  17  Prefactor     46.675        101.06        .93398E-06   -.22139E-01
  18  Prefactor     .45982E-05    147.62        .19575E-05** at limit **
  19  Normalizat    .10000E-01    7.8036       -.18464E-04** at limit **
  20  Prefactor     1.2676        .12119        .39851E-06    .42498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8195
  Prefactor  = 10.7245
  Prefactor  = 5.26238
  Prefactor  = 26.8662
  Prefactor  = 42.6862
  Prefactor  = 4.996e-10
  Prefactor  = 6.63017
  Prefactor  = 78.0135
  norm       = 7.7053
  Prefactor  = 226.337
  norm       = 1.09629
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.3244
  norm       = 5.55112e-11
  Prefactor  = 46.6746
  Prefactor  = 4.59821e-06
  Normalizat = 0.01
  Prefactor  = 1.26761
 **********
 **   18 **HESSE 
 **********

 FCN=   2760.010     FROM HESSE     STATUS=OK           337 CALLS     2491 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.819        10.197        .26004E-03   -1.5631    
   2  Prefactor     10.725        23.391        .31015E-03   -1.5642    
   3  Prefactor     5.2624        55.898        .44418E-03   -1.5662    
   4  Prefactor     26.866        34.098        .19367E-03   -1.5604    
   5  Prefactor     42.686        24.295        .15281E-03   -1.5577    
   6  Prefactor     .49960E-09    45.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6302        9.0598        .39157E-03   -1.5656    
   8  Prefactor     78.013        106.45        .11437E-03   -1.5531    
   9  norm          7.7053        8.1691        .36086E-03   -1.5652    
  10  Prefactor     226.34        198.10        .66493E-04   -1.5407    
  11  norm          1.0963        1.7359        .11370E-02   -1.5687    
  12  Prefactor     .55511E-10    12.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .95610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        57.454        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.324        28.269        .23392E-03   -1.5622    
  16  norm          .55511E-10    29.349        .17284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.675        104.78        .18658E-03   -1.5571    
  18  Prefactor     .45982E-05    149.54        .63243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .53317        .23575       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2676        .17222        .33164E-01   -.84275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36251e-06
Minuit parameter uncertainties:
  1  10.1974
  2  23.3912
  3  34.3025
  4  34.0981
  5  24.2955
  6  0.000303628
  7  9.05982
  8  106.451
  9  8.16908
  10  198.106
  11  1.73594
  12  4.24318e-05
  13  8.11236e-07
  14  3.99021e-05
  15  28.2688
  16  8.00496e-05
  17  104.785
  18  0.0524468
  19  7.97036e-06
  20  0.172293
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  2.263e+02  1.981e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.268e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  7.970e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 9.34e-08 +/- 8.17e-08
Energy Flux (Fixed Index): 4.63e-05 +/- 4.05e-05

TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 2.79999474776e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0212510857606 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38838304/likelihoodResults_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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) = 2759.33857859
delta logL = 0.670953769714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2759.29641447
delta logL = 0.713117888727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.147       1.0000          .0000       .10000E+07
     2 'Index     '    3.0132       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   2759.296     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      323 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.094        143.48        .51156E-05   -.64270E-03
   2  Index         3.0134        1.0441        .30659E-02   -.53233E-04
   3  Normalizat    .10000E-01    .71804        .13063E-01** at limit **
   4  Prefactor     1.2567        .10529        .16005E-03   -.36439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.0937
  Index      = 3.01344
  Normalizat = 0.01
  Prefactor  = 1.25666
 **********
 **   18 **HESSE 
 **********

 FCN=   2759.296     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.094        110.62        .10231E-05   -1.5552    
   2  Index         3.0134        .80770        .12264E-03   -.40859    
   3  Normalizat    .10000E-01    .72007        .26125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2567        .10485        .32009E-04   -.84605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51288e-10
Minuit parameter uncertainties:
  1  110.619
  2  0.811935
  3  1.58746e-05
  4  0.10487
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) = 2759.29640977
delta logL = 0.713122583624

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.109e+01  1.106e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  3.013e+00  8.119e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.257e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  1.587e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 338.799 -6.396
Photon Index (Free Index): 3.01 +/- 0.81
Photon Flux (Free Index): 1.72e-07 +/- 1.23e-07
Energy Flux (Free Index): 3.41e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38838304/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-02', comment='SUCCESS', photon_flux='9.34e-08', energy_flux2='3.41e-05', photon_flux_error='8.17e-08', dlogl='7.13e-01', energy_flux='4.63e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-09-22 19:12:14.229935', photon_index_error2='0.81', photon_index2='3.01', ts='2.88', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='2.80e-07', energy_flux_error2='2.35e-05', EG='0.01', time_epoch_completed='1790129534.23', return_code='0', job_id='38838304', GAL2='1.26', EG2='0.01', return_code2='0', energy_flux_error='4.05e-05', photon_flux_error2='1.23e-07', ts2='4.31', photon_index='2.15' WHERE bin_id='946' AND source_name='4FGL J2235.1-0623' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 19:12:14 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits......................!
real 16.83
user 15.25
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits', '/lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits', expMap='/lscratch/kocevski/38838324/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', expCube='/lscratch/kocevski/38838324/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38838324/Model_4FGL_J2235.1-0623_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38838324/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38838324/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38838324/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38838324/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38838324/Model_4FGL_J2235.1-0623_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.03756311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.02245535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.806       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.420       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1178       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    42.835       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31544E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5602       1.0000          .0000       .10000E+07
     8 'Prefactor '    76.456       1.0000          .0000       .10000E+07
     9 'norm      '    7.7120       1.0000          .0000       .10000E+07
    10 'Prefactor '    226.23       1.0000          .0000       .10000E+07
    11 'norm      '    1.0967       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44588E-03   1.0000          .0000       .10000E+07
    13 'norm      '     .0000       1.0000          .0000       .10000E+07
    14 'Prefactor '    .49158E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.289       1.0000          .0000       .10000E+07
    16 'norm      '    .16428E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    28.734       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.6002       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10326E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2760.010     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     2154 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.819        10.137        .37726E-07    .42092E-03
   2  Prefactor     10.725        21.930       -.24268E-06   -.20178E-01
   3  Prefactor     5.2624        16.034        .47706E-06    .42071E-02
   4  Prefactor     26.866        15.563        .86048E-07    .29288E-01
   5  Prefactor     42.686        23.956        .44712E-07   -.27800E-01
   6  Prefactor     .49960E-09    45.103       -.67216E-06** at limit **
   7  Prefactor     6.6302        8.8168       -.44943E-07   -.76766E-03
   8  Prefactor     78.013        16.110        .10343E-06    .24525    
   9  norm          7.7053        7.8617       -.27489E-07    .18266E-03
  10  Prefactor     226.34        1.5580       -.11879E-08   -.48835E-01
  11  norm          1.0963        1.6433       -.34765E-07   -.67066E-03
  12  Prefactor     .55511E-10    12.060        .27443E-06** at limit **
  13  norm           .0000        .96006       -.10422E-07** at limit **
  14  Prefactor      .0000        57.190       -.12359E-06** at limit **
  15  Prefactor     18.324        13.001       -.16060E-06   -.63138E-02
  16  norm          .55511E-10    30.649        .28615E-06** at limit **
  17  Prefactor     46.675        101.06        .93398E-06   -.22139E-01
  18  Prefactor     .45982E-05    147.62        .19575E-05** at limit **
  19  Normalizat    .10000E-01    7.8036       -.18464E-04** at limit **
  20  Prefactor     1.2676        .12119        .39851E-06    .42498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8195
  Prefactor  = 10.7245
  Prefactor  = 5.26238
  Prefactor  = 26.8662
  Prefactor  = 42.6862
  Prefactor  = 4.996e-10
  Prefactor  = 6.63017
  Prefactor  = 78.0135
  norm       = 7.7053
  Prefactor  = 226.337
  norm       = 1.09629
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.3244
  norm       = 5.55112e-11
  Prefactor  = 46.6746
  Prefactor  = 4.59821e-06
  Normalizat = 0.01
  Prefactor  = 1.26761
 **********
 **   18 **HESSE 
 **********

 FCN=   2760.010     FROM HESSE     STATUS=OK           337 CALLS     2491 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.819        10.197        .26004E-03   -1.5631    
   2  Prefactor     10.725        23.391        .31015E-03   -1.5642    
   3  Prefactor     5.2624        55.898        .44418E-03   -1.5662    
   4  Prefactor     26.866        34.098        .19367E-03   -1.5604    
   5  Prefactor     42.686        24.295        .15281E-03   -1.5577    
   6  Prefactor     .49960E-09    45.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6302        9.0598        .39157E-03   -1.5656    
   8  Prefactor     78.013        106.45        .11437E-03   -1.5531    
   9  norm          7.7053        8.1691        .36086E-03   -1.5652    
  10  Prefactor     226.34        198.10        .66493E-04   -1.5407    
  11  norm          1.0963        1.7359        .11370E-02   -1.5687    
  12  Prefactor     .55511E-10    12.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .95610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        57.454        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.324        28.269        .23392E-03   -1.5622    
  16  norm          .55511E-10    29.349        .17284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.675        104.78        .18658E-03   -1.5571    
  18  Prefactor     .45982E-05    149.54        .63243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .53317        .23575       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2676        .17222        .33164E-01   -.84275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36251e-06
Minuit parameter uncertainties:
  1  10.1974
  2  23.3912
  3  34.3025
  4  34.0981
  5  24.2955
  6  0.000303628
  7  9.05982
  8  106.451
  9  8.16908
  10  198.106
  11  1.73594
  12  4.24318e-05
  13  8.11236e-07
  14  3.99021e-05
  15  28.2688
  16  8.00496e-05
  17  104.785
  18  0.0524468
  19  7.97036e-06
  20  0.172293
outfile=/lscratch/kocevski/38838426/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 18.91
user 18.35
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38838426/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838426/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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/38838426/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
.....................!
real 69.08
user 64.54
sys 3.86

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J2235.1-0623 @ 338.799 -6.3955

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838426/cmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 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.63
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits outfile=/lscratch/kocevski/38838426/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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=338.799 yref=-6.3955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits evtable="EVENTS" scfile=/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38838426/Model_4FGL_J2235.1-0623_weekly_bin946.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 sourceDone.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  2.263e+02  1.981e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.268e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  7.970e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 9.34e-08 +/- 8.17e-08
Energy Flux (Fixed Index): 4.63e-05 +/- 4.05e-05

TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 2.79999474776e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0212510857606 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38838324/likelihoodResults_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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) = 2759.33857859
delta logL = 0.670953769714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2759.29641447
delta logL = 0.713117888727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.147       1.0000          .0000       .10000E+07
     2 'Index     '    3.0132       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   2759.296     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      323 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.094        143.48        .51156E-05   -.64270E-03
   2  Index         3.0134        1.0441        .30659E-02   -.53233E-04
   3  Normalizat    .10000E-01    .71804        .13063E-01** at limit **
   4  Prefactor     1.2567        .10529        .16005E-03   -.36439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.0937
  Index      = 3.01344
  Normalizat = 0.01
  Prefactor  = 1.25666
 **********
 **   18 **HESSE 
 **********

 FCN=   2759.296     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.094        110.62        .10231E-05   -1.5552    
   2  Index         3.0134        .80770        .12264E-03   -.40859    
   3  Normalizat    .10000E-01    .72007        .26125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2567        .10485        .32009E-04   -.84605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51288e-10
Minuit parameter uncertainties:
  1  110.619
  2  0.811935
  3  1.58746e-05
  4  0.10487
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) = 2759.29640977
delta logL = 0.713122583624

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.109e+01  1.106e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  3.013e+00  8.119e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.257e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  1.587e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 338.799 -6.396
Photon Index (Free Index): 3.01 +/- 0.81
Photon Flux (Free Index): 1.72e-07 +/- 1.23e-07
Energy Flux (Free Index): 3.41e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38838324/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-02', comment='SUCCESS', photon_flux='9.34e-08', energy_flux2='3.41e-05', photon_flux_error='8.17e-08', dlogl='7.13e-01', energy_flux='4.63e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-09-22 19:12:57.845913', photon_index_error2='0.81', photon_index2='3.01', ts='2.88', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='2.80e-07', energy_flux_error2='2.35e-05', EG='0.01', time_epoch_completed='1790129577.85', return_code='0', job_id='38838324', GAL2='1.26', EG2='0.01', return_code2='0', energy_flux_error='4.05e-05', photon_flux_error2='1.23e-07', ts2='4.31', photon_index='2.15' WHERE bin_id='946' AND source_name='4FGL J2235.1-0623' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 19:12:58 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits......................!
real 15.18
user 13.68
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits', '/lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits', expMap='/lscratch/kocevski/38838426/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', expCube='/lscratch/kocevski/38838426/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38838426/Model_4FGL_J2235.1-0623_weekly_bin946.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2235.1-0623'

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.499e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38838426/ft1_filtered_4FGL_J2235.1-0623_weekly_bin946.fits
Spacecraft file(s): /lscratch/kocevski/38838426/ft2_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure map: /lscratch/kocevski/38838426/expmap_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
Exposure cube: /lscratch/kocevski/38838426/ltcube_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38838426/Model_4FGL_J2235.1-0623_weekly_bin946.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.03756311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2760.02245535

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.806       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.420       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.1178       1.0000          .0000       .10000E+07
     4 'Prefactor '    26.670       1.0000          .0000       .10000E+07
     5 'Prefactor '    42.835       1.0000          .0000       .10000E+07
     6 'Prefactor '    .31544E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.5602       1.0000          .0000       .10000E+07
     8 'Prefactor '    76.456       1.0000          .0000       .10000E+07
     9 'norm      '    7.7120       1.0000          .0000       .10000E+07
    10 'Prefactor '    226.23       1.0000          .0000       .10000E+07
    11 'norm      '    1.0967       1.0000          .0000       .10000E+07
    12 'Prefactor '    .44588E-03   1.0000          .0000       .10000E+07
    13 'norm      '     .0000       1.0000          .0000       .10000E+07
    14 'Prefactor '    .49158E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    18.289       1.0000          .0000       .10000E+07
    16 'norm      '    .16428E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    28.734       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.6002       1.0000          .0000       .10000E+07
    19 'Normalizat'    .10326E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2695       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2760.010     FROM MIGRAD    STATUS=CONVERGED    250 CALLS     2154 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.819        10.137        .37726E-07    .42092E-03
   2  Prefactor     10.725        21.930       -.24268E-06   -.20178E-01
   3  Prefactor     5.2624        16.034        .47706E-06    .42071E-02
   4  Prefactor     26.866        15.563        .86048E-07    .29288E-01
   5  Prefactor     42.686        23.956        .44712E-07   -.27800E-01
   6  Prefactor     .49960E-09    45.103       -.67216E-06** at limit **
   7  Prefactor     6.6302        8.8168       -.44943E-07   -.76766E-03
   8  Prefactor     78.013        16.110        .10343E-06    .24525    
   9  norm          7.7053        7.8617       -.27489E-07    .18266E-03
  10  Prefactor     226.34        1.5580       -.11879E-08   -.48835E-01
  11  norm          1.0963        1.6433       -.34765E-07   -.67066E-03
  12  Prefactor     .55511E-10    12.060        .27443E-06** at limit **
  13  norm           .0000        .96006       -.10422E-07** at limit **
  14  Prefactor      .0000        57.190       -.12359E-06** at limit **
  15  Prefactor     18.324        13.001       -.16060E-06   -.63138E-02
  16  norm          .55511E-10    30.649        .28615E-06** at limit **
  17  Prefactor     46.675        101.06        .93398E-06   -.22139E-01
  18  Prefactor     .45982E-05    147.62        .19575E-05** at limit **
  19  Normalizat    .10000E-01    7.8036       -.18464E-04** at limit **
  20  Prefactor     1.2676        .12119        .39851E-06    .42498E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8195
  Prefactor  = 10.7245
  Prefactor  = 5.26238
  Prefactor  = 26.8662
  Prefactor  = 42.6862
  Prefactor  = 4.996e-10
  Prefactor  = 6.63017
  Prefactor  = 78.0135
  norm       = 7.7053
  Prefactor  = 226.337
  norm       = 1.09629
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 0
  Prefactor  = 18.3244
  norm       = 5.55112e-11
  Prefactor  = 46.6746
  Prefactor  = 4.59821e-06
  Normalizat = 0.01
  Prefactor  = 1.26761
 **********
 **   18 **HESSE 
 **********

 FCN=   2760.010     FROM HESSE     STATUS=OK           337 CALLS     2491 TOTAL
                     EDM=   .94E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.819        10.197        .26004E-03   -1.5631    
   2  Prefactor     10.725        23.391        .31015E-03   -1.5642    
   3  Prefactor     5.2624        55.898        .44418E-03   -1.5662    
   4  Prefactor     26.866        34.098        .19367E-03   -1.5604    
   5  Prefactor     42.686        24.295        .15281E-03   -1.5577    
   6  Prefactor     .49960E-09    45.202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6302        9.0598        .39157E-03   -1.5656    
   8  Prefactor     78.013        106.45        .11437E-03   -1.5531    
   9  norm          7.7053        8.1691        .36086E-03   -1.5652    
  10  Prefactor     226.34        198.10        .66493E-04   -1.5407    
  11  norm          1.0963        1.7359        .11370E-02   -1.5687    
  12  Prefactor     .55511E-10    12.084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .95610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        57.454        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.324        28.269        .23392E-03   -1.5622    
  16  norm          .55511E-10    29.349        .17284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.675        104.78        .18658E-03   -1.5571    
  18  Prefactor     .45982E-05    149.54        .63243E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .53317        .23575       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2676        .17222        .33164E-01   -.84275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.36251e-06
Minuit parameter uncertainties:
  1  10.1974
  2  23.3912
  3  34.3025
  4  34.0981
  5  24.2955
  6  0.000303628
  7  9.05982
  8  106.451
  9  8.16908
  10  198.106
  11  1.73594
  12  4.24318e-05
  13  8.11236e-07
  14  3.99021e-05
  15  28.2688
  16  8.00496e-05
  17  104.785
  18  0.0524468
  19  7.97036e-06
  20  0.172293
Done.

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

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  2.263e+02  1.981e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  2.149e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.268e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  7.970e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 9.34e-08 +/- 8.17e-08
Energy Flux (Fixed Index): 4.63e-05 +/- 4.05e-05

TS (Fixed Index): 2.88
Ra Dec: 338.799 -6.396
Photon Flux Upper Limit: 2.79999474776e-07 ph cm-2 s-1
Energy Flux Upper Limit: 0.0212510857606 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38838426/likelihoodResults_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.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) = 2759.33857859
delta logL = 0.670953769714

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2759.29641447
delta logL = 0.713117888727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.147       1.0000          .0000       .10000E+07
     2 'Index     '    3.0132       1.0000          .0000       10.000    
     3 'Normalizat'    .10007E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   2759.296     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      323 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.094        143.48        .51156E-05   -.64270E-03
   2  Index         3.0134        1.0441        .30659E-02   -.53233E-04
   3  Normalizat    .10000E-01    .71804        .13063E-01** at limit **
   4  Prefactor     1.2567        .10529        .16005E-03   -.36439E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.0937
  Index      = 3.01344
  Normalizat = 0.01
  Prefactor  = 1.25666
 **********
 **   18 **HESSE 
 **********

 FCN=   2759.296     FROM HESSE     STATUS=OK            25 CALLS      348 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.094        110.62        .10231E-05   -1.5552    
   2  Index         3.0134        .80770        .12264E-03   -.40859    
   3  Normalizat    .10000E-01    .72007        .26125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2567        .10485        .32009E-04   -.84605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51288e-10
Minuit parameter uncertainties:
  1  110.619
  2  0.811935
  3  1.58746e-05
  4  0.10487
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) = 2759.29640977
delta logL = 0.713122583624

Extracting fit parameters...

4FGL J2235.1-0623
   Spectrum: PowerLaw
269    Prefactor:  6.109e+01  1.106e+02  0.000e+00  1.000e+06 ( 1.000e-14)
270        Index:  3.013e+00  8.119e-01  0.000e+00  1.000e+01 (-1.000e+00)
271        Scale:  1.759e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  1.257e+00  1.049e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  1.000e-02  1.587e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.31
Ra Dec: 338.799 -6.396
Photon Index (Free Index): 3.01 +/- 0.81
Photon Flux (Free Index): 1.72e-07 +/- 1.23e-07
Energy Flux (Free Index): 3.41e-05 +/- 2.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/38838426/cmap_HighResolution_811123201_811728001_4FGL_J2235.1-0623_weekly_bin946.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.13e-02', comment='SUCCESS', photon_flux='9.34e-08', energy_flux2='3.41e-05', photon_flux_error='8.17e-08', dlogl='7.13e-01', energy_flux='4.63e-05', photon_flux2='1.72e-07', job_status='DONE', time_completed='2026-09-22 19:13:51.012752', photon_index_error2='0.81', photon_index2='3.01', ts='2.88', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='2.80e-07', energy_flux_error2='2.35e-05', EG='0.01', time_epoch_completed='1790129631.01', return_code='0', job_id='38838426', GAL2='1.26', EG2='0.01', return_code2='0', energy_flux_error='4.05e-05', photon_flux_error2='1.23e-07', ts2='4.31', photon_index='2.15' WHERE bin_id='946' AND source_name='4FGL J2235.1-0623' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 22 19:13:51 PDT 2026

