/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J2055.0-5218_daily_bin2106
RA = 313.764, Dec = -52.3099
tmin = 785203201, tmax = 785462401
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='15899703', job_status='RUN', time_executed='2025-11-22 00:57:06.352510', time_epoch_executed='1763801826.35' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='2106'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/15899703

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/15899703/ft1_4FGL_J2055.0-5218_daily_bin2106.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/15899703/ft1_4FGL_J2055.0-5218_daily_bin2106.fits outfile=/lscratch/kocevski/15899703/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin2106.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=785203201.0 tmax=785462401.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.55
user 1.48
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.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/15899703/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin2106.fits evtable="EVENTS" outfile="/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.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.81
user 0.18
sys 0.13

Number of photons that the gtmktime cut: 1092

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits" evtable="EVENTS" scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits sctable="SC_DATA" outfile=/lscratch/kocevski/15899703/ltcube_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.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/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits
.....................!
real 7.98
user 7.19
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits evtable="EVENTS" scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits sctable="SC_DATA" expcube=/lscratch/kocevski/15899703/ltcube_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits outfile=/lscratch/kocevski/15899703/expmap_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.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/15899703/ltcube_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits
.....................!
real 60.10
user 55.70
sys 3.48

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 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2055.0-5218 @ 313.764 -52.3099

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits outfile=/lscratch/kocevski/15899703/cmap_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.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.764 yref=-52.3099 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.94
user 0.19
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits outfile=/lscratch/kocevski/15899703/cmap_HighResolution_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.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.764 yref=-52.3099 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.91
user 0.20
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits evtable="EVENTS" scfile=/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/15899703/Model_4FGL_J2055.0-5218_daily_bin2106.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/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits.....................!
real 29.02
user 27.29
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits', '/lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits', expMap='/lscratch/kocevski/15899703/expmap_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits', expCube='/lscratch/kocevski/15899703/ltcube_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/15899703/Model_4FGL_J2055.0-5218_daily_bin2106.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2055.0-5218'

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.666e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/15899703/ft1_filtered_4FGL_J2055.0-5218_daily_bin2106.fits
Spacecraft file(s): /lscratch/kocevski/15899703/ft2_4FGL_J2055.0-5218_daily_bin2106.fits
Exposure map: /lscratch/kocevski/15899703/expmap_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits
Exposure cube: /lscratch/kocevski/15899703/ltcube_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/15899703/Model_4FGL_J2055.0-5218_daily_bin2106.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) = 11713.3094955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18272E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1.9480       1.0000          .0000       .10000E+07
     3 'norm      '    1.5367       1.0000          .0000       .10000E+07
     4 'norm      '    .32972E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .43612E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11905E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .43417       1.0000          .0000       .10000E+07
     9 'norm      '    .10159E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.3240       1.0000          .0000       .10000E+07
    11 'Prefactor '    12.139       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11596E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12175E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    47.313       1.0000          .0000       .10000E+07
    15 'Prefactor '    .33084       1.0000          .0000       .10000E+07
    16 'Prefactor '    .43965E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .65448E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .82519       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11713.29     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1430 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96589E-08    20.663        .30593E-05** at limit **
   2  norm          1.9481        1.1736       -.20617E-06   -.38918E-02
   3  norm          1.5365        1.6976        .35854E-06   -.26510E-03
   4  norm          .22204E-09    3.2266        .23281E-06** at limit **
   5  Prefactor     .14106E-05    48.699       -.28006E-04** at limit **
   6  Prefactor      .0000        .51101       -.23937E-06** at limit **
   7  Prefactor      .0000        4.8819        .14777E-05** at limit **
   8  norm          .43411        .90320       -.54520E-06   -.62774E-03
   9  norm           .0000        .39066        .39749E-06** at limit **
  10  Prefactor     6.3206        4.0981       -.16625E-06   -.14929E-02
  11  Prefactor     12.160        1.6955       -.68225E-06    .79474E-01
  12  Prefactor     .55511E-10    8.4142        .33882E-05** at limit **
  13  Prefactor      .0000        2.0501        .35890E-06** at limit **
  14  Prefactor     47.340        1.0811       -.11760E-06   -.19998E-02
  15  Prefactor     .29825        4.3133       -.82918E-05   -.37035E-01
  16  Prefactor      .0000        1.1434        .66864E-06** at limit **
  17  Prefactor     .55511E-10    33.794       -.18023E-05** at limit **
  18  Normalizat    .82541        .17480        .16152E-04    .21343E-03
  19  Prefactor     1.0609        .10389       -.11156E-04    .37680E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.65894e-09
  norm       = 1.94813
  norm       = 1.53646
  norm       = 2.22045e-10
  Prefactor  = 1.41065e-06
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.434114
  norm       = 0
  Prefactor  = 6.32058
  Prefactor  = 12.1598
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 47.3399
  Prefactor  = 0.29825
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.825407
  Prefactor  = 1.06092
 **********
 **   18 **HESSE 
 **********

 FCN=   11713.29     FROM HESSE     STATUS=OK           310 CALLS     1740 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96589E-08    20.633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.9481        1.1713        .74331E-03   -1.5680    
   3  norm          1.5365        1.7163        .86009E-03   -1.5683    
   4  norm          .22204E-09    3.2389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14106E-05    17.530        .15805E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .50893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        4.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43411        .92548        .85630E-03   -1.5695    
   9  norm           .0000        .38971        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3206        4.1118        .39891E-03   -1.5658    
  11  Prefactor     12.160        15.886        .28727E-03   -1.5638    
  12  Prefactor     .55511E-10    8.4119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.0292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     47.340        28.697        .14539E-03   -1.5570    
  15  Prefactor     .29825        3.2779        .63189E-02   -1.5697    
  16  Prefactor      .0000        1.1405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    33.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82541        .15192        .72093E-01   -.99133    
  19  Prefactor     1.0609        .87996E-01    .39305E-01   -.90725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55659e-07
Minuit parameter uncertainties:
  1  0.000893673
  2  1.17129
  3  1.71628
  4  5.44631e-05
  5  0.00994573
  6  4.2483e-07
  7  2.11908e-05
  8  0.925485
  9  1.39492e-06
  10  4.11178
  11  15.8865
  12  3.10121e-05
  13  3.91386e-06
  14  28.6972
  15  1.97751
  16  5.19681e-06
  17  6.46649e-05
  18  0.151997
  19  0.0880083
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  2.119e-05  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  2.460e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.061e+00  8.801e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.254e-01  1.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 313.764 -52.310
Photon Flux Upper Limit: 4.25664858794e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0033022259554 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/15899703/likelihoodResults_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11713.2928688
delta logL = -0.00146037455124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11712.9248783
delta logL = 0.36653018687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19659E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.8847       1.0000          .0000       10.000    
     3 'Normalizat'    .78277       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0763       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11713.29     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      302 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7954        .50737E-02** at limit **
   2  Index         3.3581        1.0240        .10066E-03     .0000    
   3  Normalizat    .82541        1.1498        .34638E-05   -.11599E-03
   4  Prefactor     1.0609        1.1584       -.27800E-05   -.19647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.35811
  Normalizat = 0.825406
  Prefactor  = 1.06092
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11713.29     FROM HESSE     STATUS=FAILED         9 CALLS      311 TOTAL
                     EDM=   .12E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7954        .50737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2615        2.1356        .10066E-03   -.33459    
   3  Normalizat    .82541        1.1498        .34638E-05   -.99133    
   4  Prefactor     1.0609        1.1584       -.27800E-05   -.90725    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.2486e-11
Minuit parameter uncertainties:
  1  1.37294e-05
  2  1.03215
  3  1.18664
  4  1.1876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 11713.2914085
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  0.000e+00  1.373e-05  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  3.358e+00  1.032e+00  0.000e+00  1.000e+01 (-1.000e+00)
315        Scale:  1.023e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.061e+00  1.188e+00  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.254e-01  1.187e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 313.764 -52.310

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/15899703/cmap_HighResolution_785203201_785462401_4FGL_J2055.0-5218_daily_bin2106.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-03', job_status='DONE', photon_flux_upper_limit='4.26e-08', time_completed='2025-11-22 01:02:56.590934', job_id='15899703', GAL2='1.06', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1763802176.59', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='2106' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 22 01:02:56 PST 2025

