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 208 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_J0854.8+2006_daily_bin1748
RA = 133.707, Dec = 20.1159
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='881728', job_status='RUN', time_executed='2022-12-14 00:29:01.518367', time_epoch_executed='1671006541.52' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/881728

Creating custom pfile directory:
/scratch/kocevski/881728/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/881728/ft1_4FGL_J0854.8+2006_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/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/881728/ft1_4FGL_J0854.8+2006_daily_bin1748.fits outfile=/scratch/kocevski/881728/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1748.fits ra=133.707 dec=20.1159 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.54
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_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/881728/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_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: 650

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/881728/ltcube_692409601_692668801_4FGL_J0854.8+2006_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/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits
.....................!
real 11.85
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/881728/ltcube_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits outfile=/scratch/kocevski/881728/expmap_692409601_692668801_4FGL_J0854.8+2006_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/881728/ltcube_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits
.....................!
real 190.85
user 185.95
sys 4.57

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

Setting source of interest to:
4FGL J0854.8+2006 @ 133.707 20.1159

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits outfile=/scratch/kocevski/881728/cmap_692409601_692668801_4FGL_J0854.8+2006_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=133.707 yref=20.1159 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits outfile=/scratch/kocevski/881728/cmap_HighResolution_692409601_692668801_4FGL_J0854.8+2006_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=133.707 yref=20.1159 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/881728/Model_4FGL_J0854.8+2006_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/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits.....................!
real 68.26
user 66.90
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits', '/scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits', expMap='/scratch/kocevski/881728/expmap_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits', expCube='/scratch/kocevski/881728/ltcube_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/881728/Model_4FGL_J0854.8+2006_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0854.8+2006'

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.743e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/881728/ft1_filtered_4FGL_J0854.8+2006_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/881728/ft2_4FGL_J0854.8+2006_daily_bin1748.fits
Exposure map: /scratch/kocevski/881728/expmap_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits
Exposure cube: /scratch/kocevski/881728/ltcube_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/881728/Model_4FGL_J0854.8+2006_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) = 7376.01085213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9154       1.0000          .0000       .10000E+07
     2 'norm      '    .19997       1.0000          .0000       .10000E+07
     3 'Prefactor '    .56079E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20568E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.3849       1.0000          .0000       .10000E+07
     6 'Prefactor '    19.469       1.0000          .0000       .10000E+07
     7 'Prefactor '    12.816       1.0000          .0000       .10000E+07
     8 'norm      '    .50615E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .11097       1.0000          .0000       .10000E+07
    10 'norm      '    .96922E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14488E-05   1.0000          .0000       .10000E+07
    12 'Normalizat'    1.3089       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.0016       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7375.942     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      704 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .90692        180.61        .39232E-05    .31149E-03
   2  norm          .25375        2.0088       -.21982E-06   -.65526E-02
   3  Prefactor     .88818E-09    12.462       -.14345E-06** at limit **
   4  Prefactor     .31530E-07    13.596        .12755E-05** at limit **
   5  norm          1.3803        .85383       -.17624E-07   -.23502E-02
   6  Prefactor     19.581        1.5251        .12455E-07    .20211E-01
   7  Prefactor     12.522        2.2381        .11598E-06   -.10279    
   8  norm           .0000        2.5127       -.44429E-07** at limit **
   9  norm          .12212E-08    64.532        .60954E-06** at limit **
  10  norm          .55511E-10    3.1188       -.72234E-07** at limit **
  11  Prefactor     .55511E-10    2.1705       -.95568E-07** at limit **
  12  Normalizat    1.3109        .21287        .41664E-06    .23115E-03
  13  Prefactor     1.0014        .17863        .14095E-05    .28405E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.906919
  norm       = 0.25375
  Prefactor  = 8.88178e-10
  Prefactor  = 3.15303e-08
  norm       = 1.38028
  Prefactor  = 19.5813
  Prefactor  = 12.5222
  norm       = 0
  norm       = 1.22125e-09
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Normalizat = 1.31087
  Prefactor  = 1.00137
 **********
 **   18 **HESSE 
 **********

 FCN=   7375.942     FROM HESSE     STATUS=OK           175 CALLS      879 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .90692        280.48        .59476E-03   -1.5689    
   2  norm          .25375        1.5175        .26079E-02   -1.5698    
   3  Prefactor     .88818E-09    12.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .31530E-07    14.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3803        .96217        .92389E-03   -1.5684    
   6  Prefactor     19.581        21.946        .22671E-03   -1.5619    
   7  Prefactor     12.522        18.578        .27954E-03   -1.5637    
   8  norm           .0000        2.5156        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .12212E-08    64.935        .13643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .55511E-10    3.0418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    2.1752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    1.3109        .18351        .57212E-01   -.83243    
  13  Prefactor     1.0014        .15026        .45103E-01   -.92684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.0293e-07
Minuit parameter uncertainties:
  1  31.8997
  2  1.24108
  3  0.000210064
  4  0.00133809
  5  0.962174
  6  21.9466
  7  18.5777
  8  6.75369e-06
  9  0.000561749
  10  1.99706e-05
  11  1.92466e-05
  12  0.1836
  13  0.150327
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.380e+00  9.622e-01  0.000e+00  1.000e+06 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.001e+00  1.503e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.311e+00  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.48
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 6.52e-08 +/- 4.54e-08
Energy Flux (Fixed Index): 2.86e-05 +/- 2.00e-05

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) = 7372.35708849
delta logL = 3.58450636847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7372.31116007
delta logL = 3.63043478386

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .52945       1.0000          .0000       .10000E+07
     2 'alpha     '    3.7805       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7372.311     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      213 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52917        2.1725        .46431E-03    .85503E-02
   2  alpha         3.7809        3.9702        .20279        .59573E-04
   3  Normalizat    1.1166        .71744E-01    .60967E-01    .95706E-05
   4  Prefactor     1.1135        .60755E-01    .37096E-01    .34197E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.529169
  alpha      = 3.78091
  Normalizat = 1.11659
  Prefactor  = 1.11348
 **********
 **   18 **HESSE 
 **********

 FCN=   7372.311     FROM HESSE     STATUS=OK            31 CALLS      244 TOTAL
                     EDM=   .33E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52917        .58318        .20703E-05   -1.5693    
   2  alpha         3.7809        .74247        .88702E-03    .53794    
   3  Normalizat    1.1166        .22381        .26965E-03   -.89221    
   4  Prefactor     1.1135        .18549        .22979E-03   -.89037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34956e-14
Minuit parameter uncertainties:
  1  0.583176
  2  0.758131
  3  0.223999
  4  0.1856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/881728': 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): 0
logL (Free Index) = 7372.31115986
delta logL = 3.63043499736

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  5.292e-01  5.832e-01  0.000e+00  1.000e+06 ( 1.000e-11)
290        alpha:  3.781e+00  7.581e-01  0.000e+00  5.000e+00 ( 1.000e+00)
291         beta:  5.102e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.113e+00  1.856e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.117e+00  2.240e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.68
Ra Dec: 133.707 20.116
Photon Index (Free Index): 3.78 +/- 0.76
Photon Flux (Free Index): 2.19e-07 +/- 8.23e-08
Energy Flux (Free Index): 3.48e-05 +/- 1.26e-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/881728/cmap_HighResolution_692409601_692668801_4FGL_J0854.8+2006_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.52e-08', energy_flux2='3.48e-05', photon_flux_error='4.54e-08', dlogl='3.63e+00', energy_flux='2.86e-05', photon_flux2='2.19e-07', job_status='DONE', time_completed='2022-12-14 00:36:26.382706', photon_index_error2='0.76', photon_index2='3.78', ts='4.48', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.26e-05', EG='1.31', time_epoch_completed='1671006986.38', return_code='0', job_id='881728', GAL2='1.11', EG2='1.12', return_code2='0', energy_flux_error='2.00e-05', photon_flux_error2='8.23e-08', ts2='12.68', photon_index='2.16' WHERE bin_id='1748' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:36:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 881728: <4FGL_J0854.8+2006_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:25:22 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:25:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:25:24 2022
Terminated at Wed Dec 14 00:36:26 2022
Results reported at Wed Dec 14 00:36:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1748 133.707 20.1159 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0854.8+2006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   447.19 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             247.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   662 sec.
    Turnaround time :                            664 sec.

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

