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


Performing analysis on: 4FGL_J0854.8+2006_weekly_bin735
RA = 133.707, Dec = 20.1159
tmin = 683510401, tmax = 684115201
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='153917', job_status='RUN', time_executed='2022-09-16 18:45:15.625056', time_epoch_executed='1663379115.63' WHERE source_name='4FGL J0854.8+2006' and cadence='weekly' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153917

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153917/ft1_4FGL_J0854.8+2006_weekly_bin735.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153917/ft1_4FGL_J0854.8+2006_weekly_bin735.fits outfile=/scratch/kocevski/153917/ft1_filteredMKT_4FGL_J0854.8+2006_weekly_bin735.fits ra=133.707 dec=20.1159 rad=12.0 tmin=683510401.0 tmax=684115201.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 6.99
user 5.75
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.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/153917/ft1_filteredMKT_4FGL_J0854.8+2006_weekly_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.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.55
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 1397

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/153917/ltcube_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.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/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits
.....................!
real 25.65
user 22.96
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/153917/ltcube_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits outfile=/scratch/kocevski/153917/expmap_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.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/153917/ltcube_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits
.....................!
real 178.16
user 154.06
sys 4.14

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/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits outfile=/scratch/kocevski/153917/cmap_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.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.80
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits outfile=/scratch/kocevski/153917/cmap_HighResolution_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.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.62
user 0.36
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/153917/Model_4FGL_J0854.8+2006_weekly_bin735.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/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits.....................!
real 111.82
user 106.94
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits', '/scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits', expMap='/scratch/kocevski/153917/expmap_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits', expCube='/scratch/kocevski/153917/ltcube_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/153917/Model_4FGL_J0854.8+2006_weekly_bin735.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/153917/ft1_filtered_4FGL_J0854.8+2006_weekly_bin735.fits
Spacecraft file(s): /scratch/kocevski/153917/ft2_4FGL_J0854.8+2006_weekly_bin735.fits
Exposure map: /scratch/kocevski/153917/expmap_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits
Exposure cube: /scratch/kocevski/153917/ltcube_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/153917/Model_4FGL_J0854.8+2006_weekly_bin735.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) = 15980.5373382

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.525       1.0000          .0000       .10000E+07
     2 'norm      '    .88759       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.473       1.0000          .0000       .10000E+07
     4 'Prefactor '    .10513E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .38677       1.0000          .0000       .10000E+07
     6 'Prefactor '    .49394E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50650E-01   1.0000          .0000       .10000E+07
     8 'norm      '    2.2302       1.0000          .0000       .10000E+07
     9 'norm      '    7.7821       1.0000          .0000       .10000E+07
    10 'norm      '    2.1350       1.0000          .0000       .10000E+07
    11 'Prefactor '    .29754E-06   1.0000          .0000       .10000E+07
    12 'Normalizat'    .98313       1.0000         .10000E-01   10.000    
    13 'Prefactor '    1.1373       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=   15980.49     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      658 TOTAL
                     EDM=   .85E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.422        1.1449       -.73821E-09    .10466E-01
   2  norm          .89198        .74229        .53868E-07   -.14219E-02
   3  Prefactor     10.363        6.6662        .59047E-07   -.31153E-03
   4  Prefactor     .16653E-09    15.371       -.11583E-06** at limit **
   5  norm          .38674        .26604        .22658E-07   -.48254E-02
   6  Prefactor      .0000        3.7899        .12306E-06** at limit **
   7  Prefactor     .10547E-08    70.223        .55069E-07** at limit **
   8  norm          2.1670        4.0083        .15275E-06   -.26472E-03
   9  norm          7.8260        1.1233       -.27109E-08    .32562E-01
  10  norm          2.1349        1.0185       -.27560E-07    .18580E-02
  11  Prefactor      .0000        .93128       -.80827E-09** at limit **
  12  Normalizat    .98381        .13677        .25132E-06    .45701E-04
  13  Prefactor     1.1371        .11703       -.99212E-06    .83019E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4215
  norm       = 0.89198
  Prefactor  = 10.3632
  Prefactor  = 1.66533e-10
  norm       = 0.386743
  Prefactor  = 0
  Prefactor  = 1.05471e-09
  norm       = 2.16703
  norm       = 7.82605
  norm       = 2.1349
  Prefactor  = 0
  Normalizat = 0.983814
  Prefactor  = 1.13709
 **********
 **   18 **HESSE 
 **********

 FCN=   15980.49     FROM HESSE     STATUS=OK           175 CALLS      833 TOTAL
                     EDM=   .65E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.422        17.320        .20622E-03   -1.5611    
   2  norm          .89198        .83970        .46622E-03   -1.5689    
   3  Prefactor     10.363        6.7051        .30936E-03   -1.5644    
   4  Prefactor     .16653E-09    15.519        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .38674        .26271        .91036E-03   -1.5696    
   6  Prefactor      .0000        3.7848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10547E-08    5.7347        .94740E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1670        4.0303        .68812E-03   -1.5679    
   9  norm          7.8260        18.551        .35922E-03   -1.5652    
  10  norm          2.1349        1.0205        .70523E-04   -1.5679    
  11  Prefactor      .0000        .92950        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Normalizat    .98381        .11979        .45955E-01   -.93575    
  13  Prefactor     1.1371        .10102        .36316E-01   -.88290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.54322e-07
Minuit parameter uncertainties:
  1  17.3205
  2  0.839704
  3  6.70511
  4  9.63284e-05
  5  0.262706
  6  1.51511e-05
  7  0.00015721
  8  4.03028
  9  18.5511
  10  1.02046
  11  3.03339e-07
  12  0.119819
  13  0.101035
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  3.867e-01  2.627e-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.137e+00  1.010e-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:  9.838e-01  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.13
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.83e-08 +/- 1.24e-08
Energy Flux (Fixed Index): 8.02e-06 +/- 5.45e-06

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) = 15977.7640316
delta logL = 2.73089912171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15977.6542859
delta logL = 2.84064485777

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .50949E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    .74228       1.0000          .0000       5.0000    
     3 'Normalizat'    .99395       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1375       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=   15977.65     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      219 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50869E-01    .74200E-01    .54818E-03** at limit **
   2  alpha         .74186        .36708        .40637       -.90482E-04
   3  Normalizat    .99393        .11504        .46091E-01    .35605E-04
   4  Prefactor     1.1375        .10032        .36310E-01    .10481E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0508694
  alpha      = 0.741855
  Normalizat = 0.993934
  Prefactor  = 1.13748
 **********
 **   18 **HESSE 
 **********

 FCN=   15977.65     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50869E-01    .30214        .28106E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .74186        1.2850        .17778E-02   -.77997    
   3  Normalizat    .99393        .13364        .26637E-03   -.93234    
   4  Prefactor     1.1375        .11697        .21772E-03   -.88278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42872e-11
Minuit parameter uncertainties:
  1  0.247948
  2  1.43631
  3  0.133684
  4  0.116999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153917': 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) = 15977.6542857
delta logL = 2.84064501283

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  5.087e-02  2.479e-01  0.000e+00  1.000e+06 ( 1.000e-11)
290        alpha:  7.419e-01  1.436e+00  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.137e+00  1.170e-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:  9.939e-01  1.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.81
Ra Dec: 133.707 20.116
Photon Index (Free Index): 0.74 +/- 1.44
Photon Flux (Free Index): 2.61e-09 +/- 5.89e-09
Energy Flux (Free Index): 4.02e-05 +/- 5.01e-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/153917/cmap_HighResolution_683510401_684115201_4FGL_J0854.8+2006_weekly_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.83e-08', energy_flux2='4.02e-05', photon_flux_error='1.24e-08', dlogl='2.84e+00', energy_flux='8.02e-06', photon_flux2='2.61e-09', job_status='DONE', time_completed='2022-09-16 18:54:51.747317', photon_index_error2='1.44', photon_index2='0.74', ts='9.13', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='5.01e-05', EG='0.98', time_epoch_completed='1663379691.75', return_code='0', job_id='153917', GAL2='1.14', EG2='0.99', return_code2='0', energy_flux_error='5.45e-06', photon_flux_error2='5.89e-09', ts2='14.81', photon_index='2.16' WHERE bin_id='735' AND source_name='4FGL J0854.8+2006' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 18:54:51 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 153917: <4FGL_J0854.8+2006_weekly_bin735> in cluster <slac> Done

Job <4FGL_J0854.8+2006_weekly_bin735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 18:40:31 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 18:43:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 18:43:39 2022
Terminated at Fri Sep 16 18:54:53 2022
Results reported at Fri Sep 16 18:54:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_weekly_bin735 133.707 20.1159 683510401 684115201 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 :                                   539.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            862 sec.

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

