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

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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
/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
Done.


Performing analysis on: 4FGL_J0238.1-2621_weekly_bin929
RA = 39.5499, Dec = -26.3623
tmin = 800841601, tmax = 801446401
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='27225624', job_status='RUN', time_executed='2026-05-26 02:06:43.862982', time_epoch_executed='1779786403.86' WHERE source_name='4FGL J0238.1-2621' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27225624

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27225624/ft1_4FGL_J0238.1-2621_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27225624/ft1_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225624/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits ra=39.5499 dec=-26.3623 rad=12.0 tmin=800841601.0 tmax=801446401.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.68
user 4.21
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.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/27225624/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.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.64
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1118

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DAT
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.


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.43WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41) 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)
/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 (v
WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.43) and linked library (v3.41).3.41).



Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225496/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
A" outfile=/lscratch/kocevski/27225567/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 19.09
user 18.52
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27225567/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225567/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225567/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 74.35
user 69.38
sys 4.27

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

Setting source of interest to:
4FGL J0238.1-2621 @ 39.5499 -26.3623

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225567/cmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225567/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.61
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin9 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225496/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:08:25.576621', job_id='27225496', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786505.58', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:08:25 PDT 2026

A" outfile=/lscratch/kocevski/27225603/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 16.72
user 16.09
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27225603/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225603/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225603/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 63.93
user 59.49
sys 3.84

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

Setting source of interest to:
4FGL J0238.1-2621 @ 39.5499 -26.3623

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225603/cmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.60
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225603/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.51
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin9number of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0238.1-2621_weekly_bin929
RA = 39.5499, Dec = -26.3623
tmin = 800841601, tmax = 801446401
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='27225727', job_status='RUN', time_executed='2026-05-26 02:07:46.061280', time_epoch_executed='1779786466.06' WHERE source_name='4FGL J0238.1-2621' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27225727

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27225727/ft1_4FGL_J0238.1-2621_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27225727/ft1_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225727/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits ra=39.5499 dec=-26.3623 rad=12.0 tmin=800841601.0 tmax=801446401.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.84
user 4.26
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.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/27225727/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.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.57
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 1118

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATnumber of points = 17272
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0238.1-2621_weekly_bin929
RA = 39.5499, Dec = -26.3623
tmin = 800841601, tmax = 801446401
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='27225725', job_status='RUN', time_executed='2026-05-26 02:07:46.077674', time_epoch_executed='1779786466.08' WHERE source_name='4FGL J0238.1-2621' and cadence='weekly' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27225725

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27225725/ft1_4FGL_J0238.1-2621_weekly_bin929.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27225725/ft1_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225725/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits ra=39.5499 dec=-26.3623 rad=12.0 tmin=800841601.0 tmax=801446401.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.66
user 4.23
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.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/27225725/ft1_filteredMKT_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" outfile="/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1118

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DAT9.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225520/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225520/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 78.08
user 76.43
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225520/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225520/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225520/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225520/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225520/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225520/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225520/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225520/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225520/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225520/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
A" outfile=/lscratch/kocevski/27225624/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 17.39
user 16.87
sys 0.20

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27225624/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225624/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225624/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 66.30
user 61.87
sys 3.89

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

Setting source of interest to:
4FGL J0238.1-2621 @ 39.5499 -26.3623

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225624/cmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.49
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225624/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.51
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225513/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225513/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 95.59
user 93.56
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225513/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225513/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225513/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225513/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225513/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225513/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225513/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225513/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225513/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225513/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225519/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225519/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 84.92
user 82.83
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225519/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225519/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225519/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225519/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225519/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225519/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225519/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225519/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225519/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225519/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225520/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225520/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:09:51.975707', job_id='27225520', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786591.98', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:09:52 PDT 2026

A" outfile=/lscratch/kocevski/27225727/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 17.47
user 16.73
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27225727/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225727/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225727/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 65.30
user 60.64
sys 3.92

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

Setting source of interest to:
4FGL J0238.1-2621 @ 39.5499 -26.3623

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225727/cmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.59
user 0.23
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225727/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.54
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin9A" outfile=/lscratch/kocevski/27225725/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 17.21
user 16.66
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27225725/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225725/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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/27225725/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
.....................!
real 65.15
user 60.57
sys 3.96

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

Setting source of interest to:
4FGL J0238.1-2621 @ 39.5499 -26.3623

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225725/cmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits outfile=/lscratch/kocevski/27225725/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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=39.5499 yref=-26.3623 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.58
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits evtable="EVENTS" scfile=/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin9Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225513/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225513/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:10:32.123842', job_id='27225513', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786632.12', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:10:32 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225519/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225519/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:10:37.955292', job_id='27225519', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786637.96', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:10:38 PDT 2026

29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225603/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 86.71
user 84.77
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225603/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225603/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225603/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225603/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225603/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225603/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225603/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225603/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225567/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 97.00
user 95.09
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225567/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225567/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225567/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225567/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225567/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225567/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225567/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225567/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225624/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 87.15
user 85.33
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225624/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225624/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225624/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225624/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225624/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225624/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225624/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225624/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225603/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225603/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:12:46.554409', job_id='27225603', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786766.55', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:12:46 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225567/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225567/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:13:13.469104', job_id='27225567', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786793.47', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:13:13 PDT 2026

29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225725/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 87.39
user 85.42
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225725/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225725/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225725/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225725/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225725/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225725/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225725/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225725/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
29.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27225727/Model_4FGL_J0238.1-2621_weekly_bin929.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 Fornax A
adding source GAL_V02
Working on...
/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits.....................!
real 87.77
user 85.76
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits', '/lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits', expMap='/lscratch/kocevski/27225727/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', expCube='/lscratch/kocevski/27225727/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27225727/Model_4FGL_J0238.1-2621_weekly_bin929.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0238.1-2621'

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  3.368e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27225727/ft1_filtered_4FGL_J0238.1-2621_weekly_bin929.fits
Spacecraft file(s): /lscratch/kocevski/27225727/ft2_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure map: /lscratch/kocevski/27225727/expmap_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
Exposure cube: /lscratch/kocevski/27225727/ltcube_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27225727/Model_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.6695777

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61102E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .70684E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .75298E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .78774E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .46306E-03   1.0000          .0000       .10000E+07
     6 'norm      '    68.072       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13777E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .56478E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    49.729       1.0000          .0000       .10000E+07
    10 'norm      '    5.0938       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11678E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .32843E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2752       1.0000          .0000       .10000E+07
    14 'norm      '    .60635       1.0000          .0000       .10000E+07
    15 'norm      '    1.5665       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14985E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.1620       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .70691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12415.62     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1333 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.8362       -.41034E-07** at limit **
   2  Prefactor      .0000        9.6215       -.17850E-06** at limit **
   3  Prefactor      .0000        1.4237        .12327E-07** at limit **
   4  Prefactor      .0000        1.1970       -.48728E-07** at limit **
   5  Prefactor     .49960E-09    12.076       -.18182E-06** at limit **
   6  norm          69.462        31.950       -.12451E-06   -.14765E-02
   7  Prefactor     .22204E-09    6.9984        .76306E-07** at limit **
   8  Prefactor     .92676E-06    1.2274       -.70574E-08** at limit **
   9  Prefactor     49.706        1.2752        .38297E-08   -.11688    
  10  norm          5.0932        1.7458       -.16974E-07   -.34028E-03
  11  Prefactor      .0000        2.5552       -.66684E-08** at limit **
  12  Prefactor      .0000        1.1287        .16441E-07** at limit **
  13  Prefactor     1.2787        1.8673        .37028E-07   -.80144E-05
  14  norm          .60674        .61907       -.19006E-07    .40037E-03
  15  norm          1.5677        1.1564       -.88419E-07    .31337E-03
  16  Prefactor     .55511E-10    5.5098        .25705E-07** at limit **
  17  Normalizat    1.1619        .11955        .10635E-05    .17815E-04
  18  Prefactor     .70676        .13249       -.83940E-06    .10263E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 69.4617
  Prefactor  = 2.22045e-10
  Prefactor  = 9.26759e-07
  Prefactor  = 49.7063
  norm       = 5.09319
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.2787
  norm       = 0.60674
  norm       = 1.56771
  Prefactor  = 5.55112e-11
  Normalizat = 1.16187
  Prefactor  = 0.706757
Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225624/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225624/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:13:25.098628', job_id='27225624', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786805.1', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:13:25 PDT 2026

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

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.62     FROM HESSE     STATUS=OK           288 CALLS     1621 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.6635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.4272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    11.998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          69.462        32.784        .12121E-03   -1.5541    
   7  Prefactor     .22204E-09    6.9046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .92676E-06    12.450        .15291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     49.706        28.694        .14182E-03   -1.5567    
  10  norm          5.0932        1.7484        .44525E-03   -1.5663    
  11  Prefactor      .0000        2.5599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        9.4860        .12359E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2787        1.9100        .98380E-03   -1.5685    
  14  norm          .60674        .62198        .68661E-03   -1.5692    
  15  norm          1.5677        1.1607        .84937E-03   -1.5683    
  16  Prefactor     .55511E-10    5.5089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1619        .10444        .35898E-01   -.87789    
  18  Prefactor     .70676        .11389        .61682E-01   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30392e-07
Minuit parameter uncertainties:
  1  1.22553e-06
  2  4.50639e-06
  3  2.80961e-07
  4  3.1241e-07
  5  0.000155231
  6  32.7839
  7  8.26433e-05
  8  0.0067935
  9  28.6942
  10  1.74841
  11  2.5936e-06
  12  1.30522e-05
  13  1.91003
  14  0.621982
  15  1.16073
  16  2.99458e-05
  17  0.104455
  18  0.113923
Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225725/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
Done.

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

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  0.000e+00  1.305e-05  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  2.564e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.068e-01  1.139e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.162e+00  1.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 39.550 -26.362
Photon Flux Upper Limit: 4.63270960546e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00361771940871 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27225727/likelihoodResults_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.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) = 12415.384621
delta logL = 0.232192445923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12415.3782802
delta logL = 0.238533243713

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4615       1.0000          .0000       .10000E+07
     2 'Index     '    4.0252       1.0000          .0000       10.000    
     3 'Normalizat'    1.1388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   12415.38     FROM MIGRAD    STATUS=FAILED        91 CALLS      418 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .97072E-04   -.14185E-01
   2  Index         4.0254        5.8692        .11043E-01    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .19871E-03   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .27030E-03   -.62542E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   12415.38     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      503 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4616        163.40        .20969E-04   -.14185E-01
   2  Index         4.0254        5.8692        .16022E-02    .43915E-04
   3  Normalizat    1.1388        .88933E-01    .51465E-04   -.81426E-03
   4  Prefactor     .72150        .97585E-01    .63772E-04   -.62542E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12415.38     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      536 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4619        5.4515        .38829E-05   -.80224E-03
   2  Index         4.0253        1.9905        .44171E-03   -.84935E-05
   3  Normalizat    1.1388        .12323        .39743E-04   -.17507E-04
   4  Prefactor     .72150        .13363        .10812E-04   -.50050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.46191
  Index      = 4.02526
  Normalizat = 1.1388
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   12415.38     FROM HESSE     STATUS=OK            23 CALLS      559 TOTAL
                     EDM=   .74E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4619        5.2374        .15532E-06   -1.5684    
   2  Index         4.0253        1.9163        .17668E-04   -.19620    
   3  Normalizat    1.1388        .12334        .79485E-05   -.88516    
   4  Prefactor     .72150        .13379        .21624E-05   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.36036e-12
Minuit parameter uncertainties:
  1  5.23742
  2  1.96876
  3  0.123371
  4  0.133845
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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225725/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:14:23.122361', job_id='27225725', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786863.12', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:14:23 PDT 2026

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) = 12415.3782802
delta logL = 0.238533312253

Extracting fit parameters...

4FGL J0238.1-2621
   Spectrum: PowerLaw
272    Prefactor:  1.462e+00  5.237e+00  0.000e+00  1.000e+06 ( 1.000e-13)
273        Index:  4.025e+00  1.969e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  7.691e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  7.215e-01  1.338e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.139e+00  1.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 39.550 -26.362

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/27225727/cmap_HighResolution_800841601_801446401_4FGL_J0238.1-2621_weekly_bin929.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.63e-08', time_completed='2026-05-26 02:14:24.997730', job_id='27225727', GAL2='0.72', fit_tolerance='1e-08', EG2='1.14', EG='1.16', time_epoch_completed='1779786865.0', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='2.39e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J0238.1-2621' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 26 02:14:25 PDT 2026

