/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

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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


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

outfile=/lscratch/kocevski/27414563/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 7.28
user 6.90
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27414563/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414563/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414563/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 60.00
user 56.26
sys 3.36

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

Setting source of interest to:
4FGL J2052.2-5533 @ 313.067 -55.5624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414563/cmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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.43
user 0.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414563/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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.45
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27414563/Model_4FGL_J2052.2-5533_daily_bin2168.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27414432/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits.....................!
real 21.24
user 20.00
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27414432/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits', '/lscratch/kocevski/27414432/ft2_4FGL_J2052.2-5533_daily_bin2168.fits', expMap='/lscratch/kocevski/27414432/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', expCube='/lscratch/kocevski/27414432/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27414432/Model_4FGL_J2052.2-5533_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27414432/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27414432/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27414432/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27414432/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27414432/Model_4FGL_J2052.2-5533_daily_bin2168.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) = 7686.54666647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8490       1.0000          .0000       .10000E+07
     2 'norm      '    1.8333       1.0000          .0000       .10000E+07
     3 'norm      '    5.6534       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.782       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46999E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9766       1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .10056E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9227       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50773E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58054E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3144       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23994E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
    15 'Normalizat'    .87679       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.753     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8498        1.6992       -.31274E-07    .15308E-02
   2  norm          1.8333        1.3922       -.19746E-06   -.28486E-02
   3  norm          5.6045        3.5739       -.14707E-06   -.66461E-03
   4  Prefactor     10.737        1.2362        .46322E-07   -.14511E-01
   5  Prefactor     .41077E-01    43.652        .15487E-05** at limit **
   6  Prefactor     6.8536        2.5880        .45091E-07    .12434    
   7  norm           .0000        3.4155        .30096E-06** at limit **
   8  norm           .0000        1.8548        .13368E-07** at limit **
   9  Prefactor     4.9074        6.7958       -.17534E-06   -.91863E-02
  10  Prefactor     .22982E-07    7.5734       -.75418E-06** at limit **
  11  Prefactor     .44409E-09    5.3469       -.85480E-06** at limit **
  12  norm          1.3138        .86262        .12377E-06   -.25914E-02
  13  Prefactor     .55178E-07    11.338        .95946E-06** at limit **
  14  Prefactor     2.5698        3.2711        .45256E-06    .11424E-02
  15  Normalizat    .87705        .25299        .64954E-05    .23037E-04
  16  Prefactor     1.2351        .14352        .49184E-06    .40138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84978
  norm       = 1.83335
  norm       = 5.60453
  Prefactor  = 10.7371
  Prefactor  = 0.0410774
  Prefactor  = 6.85364
  norm       = 0
  norm       = 0
  Prefactor  = 4.90744
  Prefactor  = 2.29816e-08
  Prefactor  = 4.44089e-10
  norm       = 1.31384
  Prefactor  = 5.51781e-08
  Prefactor  = 2.56985
  Normalizat = 0.877053
  Prefactor  = 1.23512
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.753     FROM HESSE     STATUS=OK           249 CALLS     1139 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8498        1.7139        .76650E-03   -1.5681    
   2  norm          1.8333        1.3919        .77039E-03   -1.5681    
   3  norm          5.6045        3.5726        .42225E-03   -1.5661    
   4  Prefactor     10.737        14.078        .30488E-03   -1.5642    
   5  Prefactor     .41077E-01    1.1381        .66231E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8536        19.838        .37958E-03   -1.5656    
   7  norm           .0000        .86912        .31400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9074        6.5835        .45308E-03   -1.5664    
  10  Prefactor     .22982E-07    7.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44409E-09    5.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3138        .87587        .96062E-03   -1.5685    
  13  Prefactor     .55178E-07    11.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5698        3.2766        .63555E-03   -1.5676    
  15  Normalizat    .87705        .22298        .81864E-01   -.97271    
  16  Prefactor     1.2351        .12438        .33853E-01   -.85257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.968e-07
Minuit parameter uncertainties:
  1  1.71393
  2  1.39187
  3  3.5726
  4  14.0785
  5  0.432432
  6  19.8379
  7  1.39249e-07
  8  1.17347e-05
  9  6.58347
  10  0.000838095
  11  9.81613e-05
  12  0.875868
  13  0.00158844
  14  3.27655
  15  0.223212
  16  0.124412
outfile=/lscratch/kocevski/27414518/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 11.06
user 9.91
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27414518/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414518/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414518/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 82.63
user 75.98
sys 5.00

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

Setting source of interest to:
4FGL J2052.2-5533 @ 313.067 -55.5624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414518/cmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414518/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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 1.05
user 0.27
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27414518/Model_4FGL_J2052.2-5533_daily_bin2168.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 sournumber of points = 7576
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2052.2-5533_daily_bin2168
RA = 313.067, Dec = -55.5624
tmin = 801273601, tmax = 801532801
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='27414629', job_status='RUN', time_executed='2026-05-29 15:47:59.183645', time_epoch_executed='1780094879.18' WHERE source_name='4FGL J2052.2-5533' and cadence='daily' and bin_id='2168'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27414629

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27414629/ft1_4FGL_J2052.2-5533_daily_bin2168.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27414629/ft1_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414629/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin2168.fits ra=313.067 dec=-55.5624 rad=12.0 tmin=801273601.0 tmax=801532801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.58
user 2.16
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.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/27414629/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" outfile="/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.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.52
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 712

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  4.108e-02  4.324e-01  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.235e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.771e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 9.16412390703e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00703355165402 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27414432/likelihoodResults_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.60386374
delta logL = 0.149296894023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.562694
delta logL = 0.19046663109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7685.563     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22961        4.8443        .11285E-02** at limit **
   2  Index         3.6035        2.5236        .21023        .13024E-03
   3  Normalizat    .84670        .30361E-01    .83159E-01   -.59984E-04
   4  Prefactor     1.2419        .17500E-01    .33707E-01   -.10217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.229606
  Index      = 3.60351
  Normalizat = 0.846703
  Prefactor  = 1.24192
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.563     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22961        33.005        .68282E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6035        5.0384        .85852E-02   -.28306    
   3  Normalizat    .84670        .24400        .36819E-03   -.98359    
   4  Prefactor     1.2419        .14115        .17802E-03   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25786e-09
Minuit parameter uncertainties:
  1  5.50574
  2  12.4415
  3  0.244321
  4  0.141197
number of points = 7576
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2052.2-5533_daily_bin2168
RA = 313.067, Dec = -55.5624
tmin = 801273601, tmax = 801532801
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='27414659', job_status='RUN', time_executed='2026-05-29 15:47:59.470314', time_epoch_executed='1780094879.47' WHERE source_name='4FGL J2052.2-5533' and cadence='daily' and bin_id='2168'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/27414659

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/27414659/ft1_4FGL_J2052.2-5533_daily_bin2168.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/27414659/ft1_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414659/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin2168.fits ra=313.067 dec=-55.5624 rad=12.0 tmin=801273601.0 tmax=801532801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.41
user 2.09
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.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/27414659/ft1_filteredMKT_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" outfile="/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.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.41
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 712

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits" evtable="EVENTS" scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.5626916
delta logL = 0.19046903107

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  2.296e-01  5.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.604e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.242e+00  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.467e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.067 -55.562

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/27414432/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2026-05-29 15:48:48.618760', job_id='27414432', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1780094928.62', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2168' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 15:48:48 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits.....................!
real 22.02
user 20.87
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits', '/lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits', expMap='/lscratch/kocevski/27414563/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', expCube='/lscratch/kocevski/27414563/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27414563/Model_4FGL_J2052.2-5533_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27414563/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27414563/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27414563/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27414563/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27414563/Model_4FGL_J2052.2-5533_daily_bin2168.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) = 7686.54666647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8490       1.0000          .0000       .10000E+07
     2 'norm      '    1.8333       1.0000          .0000       .10000E+07
     3 'norm      '    5.6534       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.782       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46999E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9766       1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .10056E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9227       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50773E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58054E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3144       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23994E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
    15 'Normalizat'    .87679       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.753     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8498        1.6992       -.31274E-07    .15308E-02
   2  norm          1.8333        1.3922       -.19746E-06   -.28486E-02
   3  norm          5.6045        3.5739       -.14707E-06   -.66461E-03
   4  Prefactor     10.737        1.2362        .46322E-07   -.14511E-01
   5  Prefactor     .41077E-01    43.652        .15487E-05** at limit **
   6  Prefactor     6.8536        2.5880        .45091E-07    .12434    
   7  norm           .0000        3.4155        .30096E-06** at limit **
   8  norm           .0000        1.8548        .13368E-07** at limit **
   9  Prefactor     4.9074        6.7958       -.17534E-06   -.91863E-02
  10  Prefactor     .22982E-07    7.5734       -.75418E-06** at limit **
  11  Prefactor     .44409E-09    5.3469       -.85480E-06** at limit **
  12  norm          1.3138        .86262        .12377E-06   -.25914E-02
  13  Prefactor     .55178E-07    11.338        .95946E-06** at limit **
  14  Prefactor     2.5698        3.2711        .45256E-06    .11424E-02
  15  Normalizat    .87705        .25299        .64954E-05    .23037E-04
  16  Prefactor     1.2351        .14352        .49184E-06    .40138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84978
  norm       = 1.83335
  norm       = 5.60453
  Prefactor  = 10.7371
  Prefactor  = 0.0410774
  Prefactor  = 6.85364
  norm       = 0
  norm       = 0
  Prefactor  = 4.90744
  Prefactor  = 2.29816e-08
  Prefactor  = 4.44089e-10
  norm       = 1.31384
  Prefactor  = 5.51781e-08
  Prefactor  = 2.56985
  Normalizat = 0.877053
  Prefactor  = 1.23512
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.753     FROM HESSE     STATUS=OK           249 CALLS     1139 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8498        1.7139        .76650E-03   -1.5681    
   2  norm          1.8333        1.3919        .77039E-03   -1.5681    
   3  norm          5.6045        3.5726        .42225E-03   -1.5661    
   4  Prefactor     10.737        14.078        .30488E-03   -1.5642    
   5  Prefactor     .41077E-01    1.1381        .66231E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8536        19.838        .37958E-03   -1.5656    
   7  norm           .0000        .86912        .31400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9074        6.5835        .45308E-03   -1.5664    
  10  Prefactor     .22982E-07    7.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44409E-09    5.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3138        .87587        .96062E-03   -1.5685    
  13  Prefactor     .55178E-07    11.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5698        3.2766        .63555E-03   -1.5676    
  15  Normalizat    .87705        .22298        .81864E-01   -.97271    
  16  Prefactor     1.2351        .12438        .33853E-01   -.85257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.968e-07
Minuit parameter uncertainties:
  1  1.71393
  2  1.39187
  3  3.5726
  4  14.0785
  5  0.432432
  6  19.8379
  7  1.39249e-07
  8  1.17347e-05
  9  6.58347
  10  0.000838095
  11  9.81613e-05
  12  0.875868
  13  0.00158844
  14  3.27655
  15  0.223212
  16  0.124412
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  4.108e-02  4.324e-01  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.235e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.771e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 9.16412390703e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00703355165402 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27414563/likelihoodResults_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.60386374
delta logL = 0.149296894023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.562694
delta logL = 0.19046663109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7685.563     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22961        4.8443        .11285E-02** at limit **
   2  Index         3.6035        2.5236        .21023        .13024E-03
   3  Normalizat    .84670        .30361E-01    .83159E-01   -.59984E-04
   4  Prefactor     1.2419        .17500E-01    .33707E-01   -.10217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.229606
  Index      = 3.60351
  Normalizat = 0.846703
  Prefactor  = 1.24192
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.563     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22961        33.005        .68282E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6035        5.0384        .85852E-02   -.28306    
   3  Normalizat    .84670        .24400        .36819E-03   -.98359    
   4  Prefactor     1.2419        .14115        .17802E-03   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25786e-09
Minuit parameter uncertainties:
  1  5.50574
  2  12.4415
  3  0.244321
  4  0.141197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.5626916
delta logL = 0.19046903107

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  2.296e-01  5.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.604e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.242e+00  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.467e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.067 -55.562

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/27414563/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2026-05-29 15:49:37.573632', job_id='27414563', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1780094977.57', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2168' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 15:49:37 PDT 2026

ce GAL_V02
Working on...
/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits.....................!
real 29.08
user 27.32
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits', '/lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits', expMap='/lscratch/kocevski/27414518/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', expCube='/lscratch/kocevski/27414518/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27414518/Model_4FGL_J2052.2-5533_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27414518/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27414518/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27414518/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27414518/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27414518/Model_4FGL_J2052.2-5533_daily_bin2168.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) = 7686.54666647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8490       1.0000          .0000       .10000E+07
     2 'norm      '    1.8333       1.0000          .0000       .10000E+07
     3 'norm      '    5.6534       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.782       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46999E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9766       1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .10056E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9227       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50773E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58054E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3144       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23994E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
    15 'Normalizat'    .87679       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.753     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8498        1.6992       -.31274E-07    .15308E-02
   2  norm          1.8333        1.3922       -.19746E-06   -.28486E-02
   3  norm          5.6045        3.5739       -.14707E-06   -.66461E-03
   4  Prefactor     10.737        1.2362        .46322E-07   -.14511E-01
   5  Prefactor     .41077E-01    43.652        .15487E-05** at limit **
   6  Prefactor     6.8536        2.5880        .45091E-07    .12434    
   7  norm           .0000        3.4155        .30096E-06** at limit **
   8  norm           .0000        1.8548        .13368E-07** at limit **
   9  Prefactor     4.9074        6.7958       -.17534E-06   -.91863E-02
  10  Prefactor     .22982E-07    7.5734       -.75418E-06** at limit **
  11  Prefactor     .44409E-09    5.3469       -.85480E-06** at limit **
  12  norm          1.3138        .86262        .12377E-06   -.25914E-02
  13  Prefactor     .55178E-07    11.338        .95946E-06** at limit **
  14  Prefactor     2.5698        3.2711        .45256E-06    .11424E-02
  15  Normalizat    .87705        .25299        .64954E-05    .23037E-04
  16  Prefactor     1.2351        .14352        .49184E-06    .40138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84978
  norm       = 1.83335
  norm       = 5.60453
  Prefactor  = 10.7371
  Prefactor  = 0.0410774
  Prefactor  = 6.85364
  norm       = 0
  norm       = 0
  Prefactor  = 4.90744
  Prefactor  = 2.29816e-08
  Prefactor  = 4.44089e-10
  norm       = 1.31384
  Prefactor  = 5.51781e-08
  Prefactor  = 2.56985
  Normalizat = 0.877053
  Prefactor  = 1.23512
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.753     FROM HESSE     STATUS=OK           249 CALLS     1139 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8498        1.7139        .76650E-03   -1.5681    
   2  norm          1.8333        1.3919        .77039E-03   -1.5681    
   3  norm          5.6045        3.5726        .42225E-03   -1.5661    
   4  Prefactor     10.737        14.078        .30488E-03   -1.5642    
   5  Prefactor     .41077E-01    1.1381        .66231E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8536        19.838        .37958E-03   -1.5656    
   7  norm           .0000        .86912        .31400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9074        6.5835        .45308E-03   -1.5664    
  10  Prefactor     .22982E-07    7.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44409E-09    5.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3138        .87587        .96062E-03   -1.5685    
  13  Prefactor     .55178E-07    11.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5698        3.2766        .63555E-03   -1.5676    
  15  Normalizat    .87705        .22298        .81864E-01   -.97271    
  16  Prefactor     1.2351        .12438        .33853E-01   -.85257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.968e-07
Minuit parameter uncertainties:
  1  1.71393
  2  1.39187
  3  3.5726
  4  14.0785
  5  0.432432
  6  19.8379
  7  1.39249e-07
  8  1.17347e-05
  9  6.58347
  10  0.000838095
  11  9.81613e-05
  12  0.875868
  13  0.00158844
  14  3.27655
  15  0.223212
  16  0.124412
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  4.108e-02  4.324e-01  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.235e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.771e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 9.16412390703e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00703355165402 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27414518/likelihoodResults_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.60386374
delta logL = 0.149296894023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.562694
delta logL = 0.19046663109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7685.563     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22961        4.8443        .11285E-02** at limit **
   2  Index         3.6035        2.5236        .21023        .13024E-03
   3  Normalizat    .84670        .30361E-01    .83159E-01   -.59984E-04
   4  Prefactor     1.2419        .17500E-01    .33707E-01   -.10217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.229606
  Index      = 3.60351
  Normalizat = 0.846703
  Prefactor  = 1.24192
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.563     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22961        33.005        .68282E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6035        5.0384        .85852E-02   -.28306    
   3  Normalizat    .84670        .24400        .36819E-03   -.98359    
   4  Prefactor     1.2419        .14115        .17802E-03   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25786e-09
Minuit parameter uncertainties:
  1  5.50574
  2  12.4415
  3  0.244321
  4  0.141197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.5626916
delta logL = 0.19046903107

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  2.296e-01  5.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.604e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.242e+00  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.467e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.067 -55.562

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/27414518/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2026-05-29 15:50:15.945144', job_id='27414518', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1780095015.95', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2168' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 15:50:16 PDT 2026

outfile=/lscratch/kocevski/27414629/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 8.57
user 8.10
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27414629/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414629/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414629/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 71.80
user 67.53
sys 3.72

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

Setting source of interest to:
4FGL J2052.2-5533 @ 313.067 -55.5624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414629/cmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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.44
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414629/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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.53
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27414629/Model_4FGL_J2052.2-5533_daily_bin2168.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 sourcoutfile=/lscratch/kocevski/27414659/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 8.71
user 8.29
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" expcube=/lscratch/kocevski/27414659/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414659/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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/27414659/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
.....................!
real 72.20
user 67.40
sys 4.21

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

Setting source of interest to:
4FGL J2052.2-5533 @ 313.067 -55.5624

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414659/cmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 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.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits outfile=/lscratch/kocevski/27414659/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.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=313.067 yref=-55.5624 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits evtable="EVENTS" scfile=/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/27414659/Model_4FGL_J2052.2-5533_daily_bin2168.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits.....................!
real 25.87
user 24.48
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits', '/lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits', expMap='/lscratch/kocevski/27414629/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', expCube='/lscratch/kocevski/27414629/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27414629/Model_4FGL_J2052.2-5533_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27414629/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27414629/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27414629/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27414629/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27414629/Model_4FGL_J2052.2-5533_daily_bin2168.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) = 7686.54666647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8490       1.0000          .0000       .10000E+07
     2 'norm      '    1.8333       1.0000          .0000       .10000E+07
     3 'norm      '    5.6534       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.782       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46999E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9766       1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .10056E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9227       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50773E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58054E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3144       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23994E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
    15 'Normalizat'    .87679       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.753     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8498        1.6992       -.31274E-07    .15308E-02
   2  norm          1.8333        1.3922       -.19746E-06   -.28486E-02
   3  norm          5.6045        3.5739       -.14707E-06   -.66461E-03
   4  Prefactor     10.737        1.2362        .46322E-07   -.14511E-01
   5  Prefactor     .41077E-01    43.652        .15487E-05** at limit **
   6  Prefactor     6.8536        2.5880        .45091E-07    .12434    
   7  norm           .0000        3.4155        .30096E-06** at limit **
   8  norm           .0000        1.8548        .13368E-07** at limit **
   9  Prefactor     4.9074        6.7958       -.17534E-06   -.91863E-02
  10  Prefactor     .22982E-07    7.5734       -.75418E-06** at limit **
  11  Prefactor     .44409E-09    5.3469       -.85480E-06** at limit **
  12  norm          1.3138        .86262        .12377E-06   -.25914E-02
  13  Prefactor     .55178E-07    11.338        .95946E-06** at limit **
  14  Prefactor     2.5698        3.2711        .45256E-06    .11424E-02
  15  Normalizat    .87705        .25299        .64954E-05    .23037E-04
  16  Prefactor     1.2351        .14352        .49184E-06    .40138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84978
  norm       = 1.83335
  norm       = 5.60453
  Prefactor  = 10.7371
  Prefactor  = 0.0410774
  Prefactor  = 6.85364
  norm       = 0
  norm       = 0
  Prefactor  = 4.90744
  Prefactor  = 2.29816e-08
  Prefactor  = 4.44089e-10
  norm       = 1.31384
  Prefactor  = 5.51781e-08
  Prefactor  = 2.56985
  Normalizat = 0.877053
  Prefactor  = 1.23512
e GAL_V02
Working on...
/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits.....................!
real 25.75
user 24.40
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits', '/lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits', expMap='/lscratch/kocevski/27414659/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', expCube='/lscratch/kocevski/27414659/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/27414659/Model_4FGL_J2052.2-5533_daily_bin2168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2052.2-5533'

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  1.540e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/27414659/ft1_filtered_4FGL_J2052.2-5533_daily_bin2168.fits
Spacecraft file(s): /lscratch/kocevski/27414659/ft2_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure map: /lscratch/kocevski/27414659/expmap_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
Exposure cube: /lscratch/kocevski/27414659/ltcube_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/27414659/Model_4FGL_J2052.2-5533_daily_bin2168.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) = 7686.54666647

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8490       1.0000          .0000       .10000E+07
     2 'norm      '    1.8333       1.0000          .0000       .10000E+07
     3 'norm      '    5.6534       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.782       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46999E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    6.9766       1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'norm      '    .10056E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.9227       1.0000          .0000       .10000E+07
    10 'Prefactor '    .50773E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .58054E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.3144       1.0000          .0000       .10000E+07
    13 'Prefactor '    .23994E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5767       1.0000          .0000       .10000E+07
    15 'Normalizat'    .87679       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2349       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7685.753     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8498        1.6992       -.31274E-07    .15308E-02
   2  norm          1.8333        1.3922       -.19746E-06   -.28486E-02
   3  norm          5.6045        3.5739       -.14707E-06   -.66461E-03
   4  Prefactor     10.737        1.2362        .46322E-07   -.14511E-01
   5  Prefactor     .41077E-01    43.652        .15487E-05** at limit **
   6  Prefactor     6.8536        2.5880        .45091E-07    .12434    
   7  norm           .0000        3.4155        .30096E-06** at limit **
   8  norm           .0000        1.8548        .13368E-07** at limit **
   9  Prefactor     4.9074        6.7958       -.17534E-06   -.91863E-02
  10  Prefactor     .22982E-07    7.5734       -.75418E-06** at limit **
  11  Prefactor     .44409E-09    5.3469       -.85480E-06** at limit **
  12  norm          1.3138        .86262        .12377E-06   -.25914E-02
  13  Prefactor     .55178E-07    11.338        .95946E-06** at limit **
  14  Prefactor     2.5698        3.2711        .45256E-06    .11424E-02
  15  Normalizat    .87705        .25299        .64954E-05    .23037E-04
  16  Prefactor     1.2351        .14352        .49184E-06    .40138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84978
  norm       = 1.83335
  norm       = 5.60453
  Prefactor  = 10.7371
  Prefactor  = 0.0410774
  Prefactor  = 6.85364
  norm       = 0
  norm       = 0
  Prefactor  = 4.90744
  Prefactor  = 2.29816e-08
  Prefactor  = 4.44089e-10
  norm       = 1.31384
  Prefactor  = 5.51781e-08
  Prefactor  = 2.56985
  Normalizat = 0.877053
  Prefactor  = 1.23512
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.753     FROM HESSE     STATUS=OK           249 CALLS     1139 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8498        1.7139        .76650E-03   -1.5681    
   2  norm          1.8333        1.3919        .77039E-03   -1.5681    
   3  norm          5.6045        3.5726        .42225E-03   -1.5661    
   4  Prefactor     10.737        14.078        .30488E-03   -1.5642    
   5  Prefactor     .41077E-01    1.1381        .66231E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8536        19.838        .37958E-03   -1.5656    
   7  norm           .0000        .86912        .31400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9074        6.5835        .45308E-03   -1.5664    
  10  Prefactor     .22982E-07    7.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44409E-09    5.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3138        .87587        .96062E-03   -1.5685    
  13  Prefactor     .55178E-07    11.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5698        3.2766        .63555E-03   -1.5676    
  15  Normalizat    .87705        .22298        .81864E-01   -.97271    
  16  Prefactor     1.2351        .12438        .33853E-01   -.85257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.968e-07
Minuit parameter uncertainties:
  1  1.71393
  2  1.39187
  3  3.5726
  4  14.0785
  5  0.432432
  6  19.8379
  7  1.39249e-07
  8  1.17347e-05
  9  6.58347
  10  0.000838095
  11  9.81613e-05
  12  0.875868
  13  0.00158844
  14  3.27655
  15  0.223212
  16  0.124412
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.753     FROM HESSE     STATUS=OK           249 CALLS     1139 TOTAL
                     EDM=   .90E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8498        1.7139        .76650E-03   -1.5681    
   2  norm          1.8333        1.3919        .77039E-03   -1.5681    
   3  norm          5.6045        3.5726        .42225E-03   -1.5661    
   4  Prefactor     10.737        14.078        .30488E-03   -1.5642    
   5  Prefactor     .41077E-01    1.1381        .66231E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.8536        19.838        .37958E-03   -1.5656    
   7  norm           .0000        .86912        .31400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.8297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9074        6.5835        .45308E-03   -1.5664    
  10  Prefactor     .22982E-07    7.6388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .44409E-09    5.2748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3138        .87587        .96062E-03   -1.5685    
  13  Prefactor     .55178E-07    11.427        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5698        3.2766        .63555E-03   -1.5676    
  15  Normalizat    .87705        .22298        .81864E-01   -.97271    
  16  Prefactor     1.2351        .12438        .33853E-01   -.85257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.968e-07
Minuit parameter uncertainties:
  1  1.71393
  2  1.39187
  3  3.5726
  4  14.0785
  5  0.432432
  6  19.8379
  7  1.39249e-07
  8  1.17347e-05
  9  6.58347
  10  0.000838095
  11  9.81613e-05
  12  0.875868
  13  0.00158844
  14  3.27655
  15  0.223212
  16  0.124412
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  4.108e-02  4.324e-01  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.235e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.771e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 9.16412390703e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00703355165402 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27414629/likelihoodResults_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.60386374
delta logL = 0.149296894023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.562694
delta logL = 0.19046663109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7685.563     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22961        4.8443        .11285E-02** at limit **
   2  Index         3.6035        2.5236        .21023        .13024E-03
   3  Normalizat    .84670        .30361E-01    .83159E-01   -.59984E-04
   4  Prefactor     1.2419        .17500E-01    .33707E-01   -.10217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.229606
  Index      = 3.60351
  Normalizat = 0.846703
  Prefactor  = 1.24192
 **********
 **   18 **HESSE 
 **********

 FCN=   7685.563     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22961        33.005        .68282E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6035        5.0384        .85852E-02   -.28306    
   3  Normalizat    .84670        .24400        .36819E-03   -.98359    
   4  Prefactor     1.2419        .14115        .17802E-03   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25786e-09
Minuit parameter uncertainties:
  1  5.50574
  2  12.4415
  3  0.244321
  4  0.141197
Done.

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

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  4.108e-02  4.324e-01  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  2.301e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.235e+00  1.244e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.771e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.067 -55.562
Photon Flux Upper Limit: 9.16412390703e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00703355165402 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/27414659/likelihoodResults_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.60386374
delta logL = 0.149296894023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.562694
delta logL = 0.19046663109

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7685.563     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      238 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22961        4.8443        .11285E-02** at limit **
   2  Index         3.6035        2.5236        .21023        .13024E-03
   3  Normalizat    .84670        .30361E-01    .83159E-01   -.59984E-04
   4  Prefactor     1.2419        .17500E-01    .33707E-01   -.10217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.229606
  Index      = 3.60351
  Normalizat = 0.846703
  Prefactor  = 1.24192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.5626916
delta logL = 0.19046903107

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  2.296e-01  5.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.604e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.242e+00  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.467e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.067 -55.562

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/27414629/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2026-05-29 15:52:05.061670', job_id='27414629', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1780095125.06', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2168' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 15:52:05 PDT 2026

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

 FCN=   7685.563     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      269 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22961        33.005        .68282E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6035        5.0384        .85852E-02   -.28306    
   3  Normalizat    .84670        .24400        .36819E-03   -.98359    
   4  Prefactor     1.2419        .14115        .17802E-03   -.85051    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25786e-09
Minuit parameter uncertainties:
  1  5.50574
  2  12.4415
  3  0.244321
  4  0.141197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7685.5626916
delta logL = 0.19046903107

Extracting fit parameters...

4FGL J2052.2-5533
   Spectrum: PowerLaw
319    Prefactor:  2.296e-01  5.506e+00  0.000e+00  1.000e+06 ( 1.000e-12)
320        Index:  3.604e+00  1.244e+01  0.000e+00  1.000e+01 (-1.000e+00)
321        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.242e+00  1.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  8.467e-01  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.067 -55.562

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/27414659/cmap_HighResolution_801273601_801532801_4FGL_J2052.2-5533_daily_bin2168.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.03e-03', job_status='DONE', photon_flux_upper_limit='9.16e-08', time_completed='2026-05-29 15:52:07.720195', job_id='27414659', GAL2='1.24', fit_tolerance='1e-08', EG2='0.85', EG='0.88', time_epoch_completed='1780095127.72', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.90e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='2168' AND source_name='4FGL J2052.2-5533' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 29 15:52:07 PDT 2026

