aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 205 seconds before starting...
Proceeding.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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 = 7555
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1771
RA = 313.764, Dec = -52.3099
tmin = 698371201, tmax = 698630401
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='566156', job_status='RUN', time_executed='2023-02-21 02:03:52.501220', time_epoch_executed='1676973832.5' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/566156

Creating custom pfile directory:
/scratch/kocevski/566156/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=698371201.0 && nMetStart<698630401.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=698371201.0 && nMetStart<698630401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/566156/ft1_4FGL_J2055.0-5218_daily_bin1771.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=698371201.0 && nMetStart<698630401.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/566156/ft1_4FGL_J2055.0-5218_daily_bin1771.fits outfile=/scratch/kocevski/566156/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1771.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=698371201.0 tmax=698630401.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 3.09
user 2.89
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/566156/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 334

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/566156/ltcube_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.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 /scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits
.....................!
real 13.04
user 12.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/566156/ltcube_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits outfile=/scratch/kocevski/566156/expmap_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.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 /scratch/kocevski/566156/ltcube_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits
.....................!
real 191.53
user 186.30
sys 4.87

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=/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits outfile=/scratch/kocevski/566156/cmap_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits outfile=/scratch/kocevski/566156/cmap_HighResolution_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/566156/Model_4FGL_J2055.0-5218_daily_bin1771.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...
/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits.....................!
real 36.02
user 34.75
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits', '/scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits', expMap='/scratch/kocevski/566156/expmap_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits', expCube='/scratch/kocevski/566156/ltcube_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/566156/Model_4FGL_J2055.0-5218_daily_bin1771.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): /scratch/kocevski/566156/ft1_filtered_4FGL_J2055.0-5218_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/566156/ft2_4FGL_J2055.0-5218_daily_bin1771.fits
Exposure map: /scratch/kocevski/566156/expmap_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits
Exposure cube: /scratch/kocevski/566156/ltcube_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/566156/Model_4FGL_J2055.0-5218_daily_bin1771.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) = 3595.84403004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    45.852       1.0000          .0000       .10000E+07
     2 'norm      '    1.1715       1.0000          .0000       .10000E+07
     3 'norm      '    .14074E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .14999E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .92004E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.9499       1.0000          .0000       .10000E+07
     7 'Prefactor '    36.653       1.0000          .0000       .10000E+07
     8 'norm      '    .39307E-06   1.0000          .0000       .10000E+07
     9 'norm      '    2.0696       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.059       1.0000          .0000       .10000E+07
    11 'Prefactor '    122.98       1.0000          .0000       .10000E+07
    12 'Prefactor '    9.4679       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.101       1.0000          .0000       .10000E+07
    14 'Prefactor '    155.25       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23607E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.351       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17601       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1209       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89514       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=   3595.565     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1467 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          45.571        33.464        .77891E-06   -.65194E-01
   2  norm          1.1725        1.9349        .33676E-08   -.77379E-04
   3  norm           .0000        10.959       -.35980E-06** at limit **
   4  norm           .0000        16.853       -.22206E-06** at limit **
   5  Prefactor     .78826E-08    32.203       -.47800E-06** at limit **
   6  Prefactor     1.9464        4.2408       -.73468E-07   -.74494E-03
   7  Prefactor     36.706        6.0089        .25867E-06    .11505    
   8  norm           .0000        1.5012       -.32137E-07** at limit **
   9  norm          2.0704        2.3679        .68825E-07    .64738E-03
  10  Prefactor     13.025        21.193       -.15864E-05   -.81989E-01
  11  Prefactor     124.67        57.642        .18400E-05    .48658    
  12  Prefactor     11.374        72.612       -.11582E-04   -.45259E-02
  13  Prefactor     14.116        10.826        .16135E-06    .49723E-02
  14  Prefactor     159.02        135.45        .43385E-05   -.24362    
  15  Prefactor     .55511E-10    11.565       -.13062E-06** at limit **
  16  Prefactor     16.848        12.978        .43805E-06    .62491E-05
  17  Prefactor     .49705E-06    177.77        .24360E-06** at limit **
  18  Normalizat    1.1186        .39789        .15259E-04   -.87910E-05
  19  Prefactor     .89582        .19228       -.71268E-05   -.29467E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 45.5707
  norm       = 1.17251
  norm       = 0
  norm       = 0
  Prefactor  = 7.88258e-09
  Prefactor  = 1.94639
  Prefactor  = 36.7056
  norm       = 0
  norm       = 2.07044
  Prefactor  = 13.0248
  Prefactor  = 124.666
  Prefactor  = 11.3738
  Prefactor  = 14.1162
  Prefactor  = 159.016
  Prefactor  = 5.55112e-11
  Prefactor  = 16.8477
  Prefactor  = 4.97047e-07
  Normalizat = 1.11856
  Prefactor  = 0.895819
 **********
 **   18 **HESSE 
 **********

 FCN=   3595.565     FROM HESSE     STATUS=OK           308 CALLS     1775 TOTAL
                     EDM=   .35E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          45.571        33.500        .14769E-03   -1.5573    
   2  norm          1.1725        1.9809        .10595E-02   -1.5686    
   3  norm           .0000        10.651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        16.837        .17391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .78826E-08    32.187        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9464        4.3345        .74291E-03   -1.5680    
   7  Prefactor     36.706        37.786        .16519E-03   -1.5587    
   8  norm           .0000        1.4990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0704        2.3775        .71782E-03   -1.5679    
  10  Prefactor     13.025        21.920        .27693E-03   -1.5636    
  11  Prefactor     124.67        109.76        .90179E-04   -1.5485    
  12  Prefactor     11.374        71.981        .32545E-03   -1.5641    
  13  Prefactor     14.116        10.843        .26647E-03   -1.5633    
  14  Prefactor     159.02        160.14        .80265E-04   -1.5456    
  15  Prefactor     .55511E-10    11.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     16.848        12.938        .24017E-03   -1.5626    
  17  Prefactor     .49705E-06    177.36        .12219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1186        .33329        .74407E-01   -.89158    
  19  Prefactor     .89582        .15883        .44943E-01   -.96287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48962e-05
Minuit parameter uncertainties:
  1  33.5002
  2  1.98089
  3  1.8659e-05
  4  2.04083e-05
  5  0.00100635
  6  4.33455
  7  37.7859
  8  5.90264e-08
  9  2.37746
  10  21.92
  11  109.762
  12  57.2269
  13  10.8429
  14  160.146
  15  4.12735e-05
  16  12.938
  17  0.0187786
  18  0.333918
  19  0.15891
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  3.671e+01  3.779e+01  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:  8.958e-01  1.589e-01  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:  1.119e+00  3.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.45
Ra Dec: 313.764 -52.310
Photon Index (Fixed Index): 2.46 +/- 0.00
Photon Flux (Fixed Index): 7.68e-08 +/- 7.89e-08
Energy Flux (Fixed Index): 2.33e-05 +/- 2.40e-05

TS (Fixed Index): 1.45
Ra Dec: 313.764 -52.310
Photon Flux Upper Limit: 2.50e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/566156/likelihoodResults_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.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) = 3593.35767753
delta logL = 2.20760261303

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3593.31303539
delta logL = 2.25224474567

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3300       1.0000          .0000       .10000E+07
     2 'Index     '    4.5458       1.0000          .0000       10.000    
     3 'Normalizat'    .88291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97577       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.

 FCN=   3593.313     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      267 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3271        19.696        .67158E-03    .46750E-02
   2  Index         4.5464        2.5961        .62221E-01    .15486E-03
   3  Normalizat    .88285        .12965        .82272E-01   -.70273E-05
   4  Prefactor     .97584        .65329E-01    .45964E-01   -.33416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.32709
  Index      = 4.5464
  Normalizat = 0.882855
  Prefactor  = 0.975836
 **********
 **   18 **HESSE 
 **********

 FCN=   3593.313     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      298 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3271        27.149        .42711E-05   -1.5677    
   2  Index         4.5464        3.1206        .26354E-02   -.90846E-01
   3  Normalizat    .88285        .37307        .36423E-03   -.97065    
   4  Prefactor     .97584        .18739        .17807E-03   -.93539    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.89585e-10
Minuit parameter uncertainties:
  1  15.8971
  2  3.37268
  3  0.374169
  4  0.187514
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/566156': No such file or directory
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) = 3593.3130351
delta logL = 2.2522450379

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  2.327e+00  1.590e+01  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  4.546e+00  3.373e+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:  9.758e-01  1.875e-01  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.829e-01  3.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.61
Ra Dec: 313.764 -52.310
Photon Index (Free Index): 4.55 +/- 3.37
Photon Flux (Free Index): 2.57e-07 +/- 1.31e-07
Energy Flux (Free Index): 3.58e-05 +/- 2.09e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/566156/cmap_HighResolution_698371201_698630401_4FGL_J2055.0-5218_daily_bin1771.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/566156

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-02', comment='SUCCESS', photon_flux='7.68e-08', energy_flux2='3.58e-05', photon_flux_error='7.89e-08', dlogl='2.25e+00', energy_flux='2.33e-05', photon_flux2='2.57e-07', job_status='DONE', time_completed='2023-02-21 02:11:12.420594', photon_index_error2='3.37', photon_index2='4.55', ts='1.45', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='2.50e-07', energy_flux_error2='2.09e-05', EG='1.12', time_epoch_completed='1676974272.42', return_code='0', job_id='566156', GAL2='0.98', EG2='0.88', return_code2='102', energy_flux_error='2.40e-05', photon_flux_error2='1.31e-07', ts2='6.61', photon_index='2.46' WHERE bin_id='1771' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 02:11:12 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 566156: <4FGL_J2055.0-5218_daily_bin1771> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1771> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 02:00:18 2023
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:00:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:00:18 2023
Terminated at Tue Feb 21 02:11:12 2023
Results reported at Tue Feb 21 02:11:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1771 313.764 -52.3099 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2055.0-5218 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   442.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             255.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            654 sec.

The output (if any) is above this job summary.

