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


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1761
RA = 314.142, Dec = -2.0355
tmin = 695779201, tmax = 696038401
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='933550', job_status='RUN', time_executed='2023-01-22 01:39:23.839246', time_epoch_executed='1674380363.84' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933550

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933550/ft1_4FGL_J2056.5-0202_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933550/ft1_4FGL_J2056.5-0202_daily_bin1761.fits outfile=/scratch/kocevski/933550/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1761.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.09
user 4.81
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.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/933550/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 612

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/933550/ltcube_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.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/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits
.....................!
real 15.43
user 14.96
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/933550/ltcube_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits outfile=/scratch/kocevski/933550/expmap_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.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/933550/ltcube_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits
.....................!
real 192.70
user 186.84
sys 5.16

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

Setting source of interest to:
4FGL J2056.5-0202 @ 314.142 -2.0355

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits outfile=/scratch/kocevski/933550/cmap_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.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=314.142 yref=-2.0355 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits outfile=/scratch/kocevski/933550/cmap_HighResolution_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.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=314.142 yref=-2.0355 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/933550/Model_4FGL_J2056.5-0202_daily_bin1761.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/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits.....................!
real 73.07
user 71.52
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits', '/scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits', expMap='/scratch/kocevski/933550/expmap_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits', expCube='/scratch/kocevski/933550/ltcube_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933550/Model_4FGL_J2056.5-0202_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2056.5-0202'

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.312e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/933550/ft1_filtered_4FGL_J2056.5-0202_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/933550/ft2_4FGL_J2056.5-0202_daily_bin1761.fits
Exposure map: /scratch/kocevski/933550/expmap_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits
Exposure cube: /scratch/kocevski/933550/ltcube_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933550/Model_4FGL_J2056.5-0202_daily_bin1761.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) = 6907.73892057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38174E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .71620E-03   1.0000          .0000       .10000E+07
     3 'norm      '    3.1285       1.0000          .0000       .10000E+07
     4 'Prefactor '    5.3507       1.0000          .0000       .10000E+07
     5 'norm      '    .35399E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70850E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    31.998       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14584E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    67.496       1.0000          .0000       .10000E+07
    10 'Prefactor '    .68325E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    50.186       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.6852       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.3515       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.3859       1.0000          .0000       .10000E+07
    15 'Prefactor '    19.130       1.0000          .0000       .10000E+07
    16 'Normalizat'    .81360       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6907.637     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1207 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94968E-06    32.011        .14432E-05** at limit **
   2  Prefactor      .0000        8.2850        .68430E-07** at limit **
   3  norm          3.1463        1.7533        .82885E-09    .41973E-03
   4  Prefactor     5.4092        11.708       -.40067E-07    .65532E-03
   5  norm           .0000        1.4668        .87385E-08** at limit **
   6  Prefactor      .0000        1.5920       -.18733E-07** at limit **
   7  Prefactor     32.866        9.1826       -.20197E-06    .42565E-01
   8  Prefactor     .37748E-08    58.723        .51506E-06** at limit **
   9  Prefactor     69.510        24.355       -.44954E-06    .14283    
  10  Prefactor     .13095E-06    27.784       -.14627E-06** at limit **
  11  Prefactor     51.152        14.693        .10049E-06    .12745    
  12  Prefactor     19.123        72.082       -.16274E-05   -.88024E-02
  13  Prefactor     3.3618        3.8986       -.28530E-09    .60598E-04
  14  Prefactor     3.0160        3.6909        .99349E-07    .10132E-02
  15  Prefactor     21.538        36.419       -.10388E-05   -.23395E-01
  16  Normalizat    .79333        .32065        .74949E-06    .21292E-04
  17  Prefactor     1.0295        .12800       -.22798E-06    .37603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.49685e-07
  Prefactor  = 0
  norm       = 3.14626
  Prefactor  = 5.4092
  norm       = 0
  Prefactor  = 0
  Prefactor  = 32.8658
  Prefactor  = 3.77476e-09
  Prefactor  = 69.5097
  Prefactor  = 1.30951e-07
  Prefactor  = 51.1518
  Prefactor  = 19.1227
  Prefactor  = 3.36183
  Prefactor  = 3.01599
  Prefactor  = 21.5378
  Normalizat = 0.793332
  Prefactor  = 1.02948
 **********
 **   18 **HESSE 
 **********

 FCN=   6907.637     FROM HESSE     STATUS=OK           257 CALLS     1464 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94968E-06    34.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        8.3124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1463        1.7668        .57294E-03   -1.5672    
   4  Prefactor     5.4092        11.704        .43423E-03   -1.5661    
   5  norm           .0000        1.4726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.6023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.866        28.184        .17681E-03   -1.5593    
   8  Prefactor     .37748E-08    64.130        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     69.510        58.718        .12173E-03   -1.5541    
  10  Prefactor     .13095E-06    29.030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.152        31.157        .14117E-03   -1.5565    
  12  Prefactor     19.123        73.853        .36149E-03   -1.5621    
  13  Prefactor     3.3618        3.9078        .55256E-03   -1.5671    
  14  Prefactor     3.0160        3.8272        .54962E-03   -1.5673    
  15  Prefactor     21.538        44.108        .22872E-03   -1.5615    
  16  Normalizat    .79333        .28363        .99928E-01   -1.0032    
  17  Prefactor     1.0295        .11026        .41649E-01   -.91753    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47336e-06
Minuit parameter uncertainties:
  1  0.011522
  2  2.27917e-05
  3  1.76684
  4  11.7042
  5  3.13511e-07
  6  3.57756e-07
  7  28.184
  8  0.000985427
  9  58.7188
  10  0.00389936
  11  31.1568
  12  73.8561
  13  3.90784
  14  3.82722
  15  44.1085
  16  0.28416
  17  0.110286
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  0.000e+00  3.578e-07  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.029e+00  1.103e-01  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  7.933e-01  2.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 314.142 -2.035
Photon Flux Upper Limit: 7.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/933550/likelihoodResults_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.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) = 6907.637915
delta logL = -0.000837962737933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6907.63707706
delta logL = -1.63072400028e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37192E-08   1.0000          .0000       .10000E+07
     2 'Index     '    1.0280       1.0000          .0000       10.000    
     3 'Normalizat'    .79335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   6907.637     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      248 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .90096        .42118E-03** at limit **
   2  Index         3.2469        1.8846        .44837E-04     .0000    
   3  Normalizat    .79333        1.1323        .29545E-04   -.86559E-04
   4  Prefactor     1.0295        1.2197       -.81964E-05   -.28723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 3.24692
  Normalizat = 0.793332
  Prefactor  = 1.02948
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6907.637     FROM HESSE     STATUS=FAILED         9 CALLS      257 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .90096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.1841        2.2111        .44837E-04   -.35823    
   3  Normalizat    .79333        1.1323        .29545E-04   -1.0032    
   4  Prefactor     1.0295        1.2197       -.81964E-05   -.91753    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.35169e-11
Minuit parameter uncertainties:
  1  1.69423e-06
  2  1.93961
  3  1.16882
  4  1.25511
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933550': 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): 101
logL (Free Index) = 6907.63707704
delta logL = -1.54614099301e-11

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  0.000e+00  1.694e-06  0.000e+00  1.000e+06 ( 1.000e-12)
327        Index:  3.247e+00  1.940e+00  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.029e+00  1.255e+00  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
585   Normalization:  7.933e-01  1.169e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 314.142 -2.035

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/933550/cmap_HighResolution_695779201_696038401_4FGL_J2056.5-0202_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', job_status='DONE', photon_flux_upper_limit='7.76e-08', time_completed='2023-01-22 01:48:44.565876', job_id='933550', GAL2='1.03', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1674380924.57', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-1.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1761' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:48:44 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 933550: <4FGL_J2056.5-0202_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 01:35:24 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:35:58 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:35:58 2023
Terminated at Sun Jan 22 01:48:45 2023
Results reported at Sun Jan 22 01:48:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1761 314.142 -2.0355 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2056.5-0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   561.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            801 sec.

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

