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 162 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 = 7493
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2055.0-5218_daily_bin1748
RA = 313.764, Dec = -52.3099
tmin = 692409601, tmax = 692668801
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='895518', job_status='RUN', time_executed='2022-12-14 01:13:17.836187', time_epoch_executed='1671009197.84' WHERE source_name='4FGL J2055.0-5218' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/895518

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/895518/ft1_4FGL_J2055.0-5218_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/895518/ft1_4FGL_J2055.0-5218_daily_bin1748.fits outfile=/scratch/kocevski/895518/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1748.fits ra=313.764 dec=-52.3099 rad=12.0 tmin=692409601.0 tmax=692668801.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.57
user 3.35
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.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/895518/ft1_filteredMKT_4FGL_J2055.0-5218_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.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.33
sys 0.15

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/895518/ltcube_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.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/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits
.....................!
real 11.98
user 11.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/895518/ltcube_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.fits outfile=/scratch/kocevski/895518/expmap_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.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/895518/ltcube_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.fits
.....................!
real 190.42
user 185.32
sys 4.77

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/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits outfile=/scratch/kocevski/895518/cmap_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits outfile=/scratch/kocevski/895518/cmap_HighResolution_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.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/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/895518/ft2_4FGL_J2055.0-5218_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/895518/Model_4FGL_J2055.0-5218_daily_bin1748.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/895518/ft1_filtered_4FGL_J2055.0-5218_daily_bin1748.fits.....................!
real 55.10
user 53.73
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28664E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.9060       1.0000          .0000       .10000E+07
     3 'norm      '    .49011E-06   1.0000          .0000       .10000E+07
     4 'norm      '    .80691E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    66.780       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.8139       1.0000          .0000       .10000E+07
     7 'Prefactor '    17.989       1.0000          .0000       .10000E+07
     8 'norm      '    .76750E-06   1.0000          .0000       .10000E+07
     9 'norm      '    1.3989       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.711       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17010E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .80979E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .12998E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19451       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0420       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.0210       1.0000          .0000       .10000E+07
    17 'Prefactor '    .40354       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.6623       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90486       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=   6773.840     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1441 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        8.9575        .49092E-06** at limit **
   2  norm          3.9072        2.1051       -.26678E-06    .46527E-04
   3  norm           .0000        1.6750       -.26749E-06** at limit **
   4  norm           .0000        13.984       -.23061E-05** at limit **
   5  Prefactor     67.298        90.740        .24401E-05   -.14639E-03
   6  Prefactor     4.8161        3.6002       -.45762E-07   -.38292E-04
   7  Prefactor     18.093        2.4567       -.12862E-06    .82206E-02
   8  norm           .0000        1.1421        .11919E-06** at limit **
   9  norm          1.3992        1.4353       -.10570E-06    .11549E-03
  10  Prefactor     11.812        11.095        .95526E-06    .24326E-03
  11  Prefactor     .11102E-09    25.048        .10135E-05** at limit **
  12  Prefactor     .55511E-10    15.184       -.10818E-05** at limit **
  13  Prefactor      .0000        4.0589        .12479E-06** at limit **
  14  Prefactor     .55511E-10    61.223       -.51974E-05** at limit **
  15  Prefactor     1.0908        14.089        .24708E-05   -.89360E-04
  16  Prefactor     3.0247        3.5467       -.33131E-06    .28495E-04
  17  Prefactor     .11102E-08    101.16       -.67785E-05** at limit **
  18  Normalizat    1.6612        .29913        .10580E-04   -.29510E-04
  19  Prefactor     .90509        .15703       -.14876E-04   -.30569E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 3.90716
  norm       = 0
  norm       = 0
  Prefactor  = 67.2982
  Prefactor  = 4.81614
  Prefactor  = 18.0931
  norm       = 0
  norm       = 1.39921
  Prefactor  = 11.8118
  Prefactor  = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 1.0908
  Prefactor  = 3.02467
  Prefactor  = 1.11022e-09
  Normalizat = 1.66116
  Prefactor  = 0.905086
 **********
 **   18 **HESSE 
 **********

 FCN=   6773.840     FROM HESSE     STATUS=OK           304 CALLS     1745 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        8.9664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9072        2.1041        .51025E-03   -1.5668    
   3  norm           .0000        1.6738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        13.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     67.298        90.632        .12238E-03   -1.5544    
   6  Prefactor     4.8161        3.6480        .45828E-03   -1.5664    
   7  Prefactor     18.093        25.909        .23587E-03   -1.5623    
   8  norm           .0000        1.1367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3992        1.4484        .91723E-03   -1.5684    
  10  Prefactor     11.812        11.034        .29248E-03   -1.5639    
  11  Prefactor     .11102E-09    25.126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .55511E-10    15.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.0201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .55511E-10    60.796        .11874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.0908        13.702        .12240E-02   -1.5687    
  16  Prefactor     3.0247        3.5522        .58362E-03   -1.5673    
  17  Prefactor     .11102E-08    101.65        .89078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.6612        .25110        .68553E-01   -.73345    
  19  Prefactor     .90509        .13075        .45067E-01   -.95964    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9936e-06
Minuit parameter uncertainties:
  1  1.14793e-05
  2  2.10412
  3  1.2059e-06
  4  1.17737e-05
  5  90.6336
  6  3.64798
  7  25.9096
  8  1.82422e-06
  9  1.44839
  10  11.0338
  11  0.000108959
  12  4.63462e-05
  13  3.52488e-07
  14  0.000102132
  15  7.73218
  16  3.55216
  17  0.000667135
  18  0.251288
  19  0.130795
Done.

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

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  1.809e+01  2.591e+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:  9.051e-01  1.308e-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.661e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/895518/likelihoodResults_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.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) = 6772.0557703
delta logL = 1.78391718247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6771.9781001
delta logL = 1.86158737856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66701E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.9668       1.0000          .0000       10.000    
     3 'Normalizat'    1.5201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95899       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=   6771.978     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      308 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66720E-01    .57156        .27143E-03** at limit **
   2  Index         5.9674        2.2557        .96379E-01    .57866E-03
   3  Normalizat    1.5199        .71826E-01    .70887E-01   -.55944E-04
   4  Prefactor     .95900        .38849E-01    .45753E-01   -.23596E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0667197
  Index      = 5.96737
  Normalizat = 1.51994
  Prefactor  = 0.959003
 **********
 **   18 **HESSE 
 **********

 FCN=   6771.978     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      339 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66720E-01    1.1689        .12184E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.9674        3.4287        .38493E-02    .19470    
   3  Normalizat    1.5199        .25907        .31363E-03   -.77219    
   4  Prefactor     .95900        .13694        .20679E-03   -.94109    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.09463e-10
Minuit parameter uncertainties:
  1  0.558534
  2  3.79651
  3  0.259295
  4  0.136992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/895518': 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) = 6771.97809724
delta logL = 1.86159023388

Extracting fit parameters...

4FGL J2055.0-5218
   Spectrum: PowerLaw
313    Prefactor:  6.672e-02  5.585e-01  0.000e+00  1.000e+06 ( 1.000e-13)
314        Index:  5.967e+00  3.797e+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.590e-01  1.370e-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.520e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.62
Ra Dec: 313.764 -52.310
Photon Index (Free Index): 5.97 +/- 3.80
Photon Flux (Free Index): 1.44e-07 +/- 9.29e-08
Energy Flux (Free Index): 1.80e-05 +/- 1.35e-05

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 /scratch/kocevski/895518/cmap_HighResolution_692409601_692668801_4FGL_J2055.0-5218_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', energy_flux2='1.80e-05', dlogl='1.86e+00', photon_flux2='1.44e-07', job_status='DONE', time_completed='2022-12-14 01:22:48.838198', photon_index_error2='3.80', photon_index2='5.97', ts='0.64', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.35e-05', EG='1.66', time_epoch_completed='1671009768.84', return_code='0', job_id='895518', GAL2='0.96', EG2='1.52', return_code2='102', photon_flux_error2='9.29e-08', ts2='4.62', photon_index='2.46' WHERE bin_id='1748' AND source_name='4FGL J2055.0-5218' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:22:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 895518: <4FGL_J2055.0-5218_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2055.0-5218_daily_bin1748> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Dec 14 01:10:27 2022
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:10:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:10:27 2022
Terminated at Wed Dec 14 01:22:49 2022
Results reported at Wed Dec 14 01:22:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2055.0-5218_daily_bin1748 313.764 -52.3099 692409601 692668801 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 :                                   573.23 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             303.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   742 sec.
    Turnaround time :                            742 sec.

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

