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


Performing analysis on: 4FGL_J0854.8+2006_weekly_bin759
RA = 133.707, Dec = 20.1159
tmin = 698025601, tmax = 698630401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='584160', job_status='RUN', time_executed='2023-02-21 03:13:39.989449', time_epoch_executed='1676978019.99' WHERE source_name='4FGL J0854.8+2006' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/584160

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/584160/ft1_4FGL_J0854.8+2006_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/584160/ft1_4FGL_J0854.8+2006_weekly_bin759.fits outfile=/scratch/kocevski/584160/ft1_filteredMKT_4FGL_J0854.8+2006_weekly_bin759.fits ra=133.707 dec=20.1159 rad=12.0 tmin=698025601.0 tmax=698630401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 8.50
user 8.18
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.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/584160/ft1_filteredMKT_4FGL_J0854.8+2006_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/584160/ft1_filtered_4FGL_J0854.8+2006_weekly_bin759.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.56
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 464

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/584160/ft1_filtered_4FGL_J0854.8+2006_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/584160/ltcube_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.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/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits
.....................!
real 28.81
user 28.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/584160/ft1_filtered_4FGL_J0854.8+2006_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/584160/ltcube_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.fits outfile=/scratch/kocevski/584160/expmap_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.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/584160/ltcube_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.fits
.....................!
real 191.17
user 185.08
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 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/584160/ft1_filtered_4FGL_J0854.8+2006_weekly_bin759.fits scfile=/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits outfile=/scratch/kocevski/584160/cmap_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.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 4.03
user 0.42
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/584160/ft1_filtered_4FGL_J0854.8+2006_weekly_bin759.fits scfile=/scratch/kocevski/584160/ft2_4FGL_J0854.8+2006_weekly_bin759.fits outfile=/scratch/kocevski/584160/cmap_HighResolution_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.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 3.75
user 0.41
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5409       1.0000          .0000       .10000E+07
     2 'norm      '    .86311       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.4179       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32702E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .14729E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16113E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.134       1.0000          .0000       .10000E+07
     8 'norm      '    5.5391       1.0000          .0000       .10000E+07
     9 'norm      '    35.342       1.0000          .0000       .10000E+07
    10 'norm      '    .31297E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9793       1.0000          .0000       .10000E+07
    12 'Normalizat'    1.0064       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .92552       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=   5212.186     FROM MIGRAD    STATUS=CONVERGED    109 CALLS      872 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5100        110.67       -.67052E-06   -.14652E-01
   2  norm          .88548        1.1255       -.76752E-08   -.29551E-02
   3  Prefactor     9.3961        9.9697        .79865E-08   -.32647E-01
   4  Prefactor     .12379E-07    17.565        .53544E-07** at limit **
   5  norm          .27756E-09    1.5209        .13605E-06** at limit **
   6  Prefactor      .0000        6.7859        .79485E-07** at limit **
   7  Prefactor     17.426        18.090       -.45336E-07    .32510E-01
   8  norm          5.5532        8.4120        .58639E-08   -.12324E-02
   9  norm          35.078        11.844       -.55054E-07    .17027    
  10  norm           .0000        .69372       -.22076E-07** at limit **
  11  Prefactor     1.9653        3.3488        .19478E-07    .94590E-03
  12  Normalizat    1.0070        .22188        .69495E-06    .15312E-03
  13  Prefactor     .92545        .18173        .45868E-06    .17770E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.51001
  norm       = 0.885481
  Prefactor  = 9.39606
  Prefactor  = 1.2379e-08
  norm       = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 17.4263
  norm       = 5.55316
  norm       = 35.0783
  norm       = 0
  Prefactor  = 1.96532
  Normalizat = 1.00695
  Prefactor  = 0.92545
 **********
 **   18 **HESSE 
 **********

 FCN=   5212.186     FROM HESSE     STATUS=OK           179 CALLS     1051 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5100        134.13        .64039E-03   -1.5683    
   2  norm          .88548        1.2082        .48344E-03   -1.5689    
   3  Prefactor     9.3961        9.9849        .32632E-03   -1.5647    
   4  Prefactor     .12379E-07    17.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .27756E-09    .40144        .24692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.8139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.426        18.060        .24169E-03   -1.5624    
   8  norm          5.5532        8.4901        .42665E-03   -1.5661    
   9  norm          35.078        37.727        .16823E-03   -1.5590    
  10  norm           .0000        .69498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9653        3.3638        .73647E-03   -1.5680    
  12  Normalizat    1.0070        .18869        .46248E-01   -.92798    
  13  Prefactor     .92545        .15418        .45329E-01   -.95257    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28338e-06
Minuit parameter uncertainties:
  1  28.4634
  2  1.20822
  3  9.98494
  4  0.000934688
  5  2.21355e-05
  6  2.04364e-05
  7  18.0598
  8  8.49016
  9  37.7271
  10  4.08389e-06
  11  3.36382
  12  0.188817
  13  0.154249
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.776e-10  2.214e-05  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:  9.254e-01  1.542e-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.007e+00  1.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 133.707 20.116
Photon Flux Upper Limit: 7.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/584160/likelihoodResults_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.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) = 5212.19584999
delta logL = -0.00981303223762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5212.09504148
delta logL = 0.0909954717454

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88469E-02   1.0000          .0000       .10000E+07
     2 'alpha     '    4.8825       1.0000          .0000       5.0000    
     3 'Normalizat'    .98133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93924       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5212.186     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      250 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .36936E-01    .42118E-03** at limit **
   2  alpha         .60572        .76988        .19079E-04     .0000    
   3  Normalizat    1.0070        1.3275       -.57943E-04   -.40740E-03
   4  Prefactor     .92544        1.2736        .13962E-03    .16193E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.60572
  Normalizat = 1.00696
  Prefactor  = 0.925443
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5212.186     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .36936E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6432        .81333        .19079E-04   -2.2818    
   3  Normalizat    1.0070        1.3275       -.57943E-04   -2.2136    
   4  Prefactor     .92544        1.2736        .13962E-03   -2.1890    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.1081e-09
Minuit parameter uncertainties:
  1  8.06804e-07
  2  0.801766
  3  1.37535
  4  1.31865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/584160': 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) = 5212.18603696
delta logL = -5.90262061451e-10

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  0.000e+00  8.068e-07  0.000e+00  1.000e+06 ( 1.000e-11)
290        alpha:  6.057e-01  8.018e-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:  9.254e-01  1.319e+00  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.007e+00  1.375e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 133.707 20.116

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/584160/cmap_HighResolution_698025601_698630401_4FGL_J0854.8+2006_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.49e-05', job_status='DONE', photon_flux_upper_limit='7.95e-08', time_completed='2023-02-21 03:22:04.937071', job_id='584160', GAL2='0.93', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1676978524.94', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='-5.90e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='759' AND source_name='4FGL J0854.8+2006' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:22:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 584160: <4FGL_J0854.8+2006_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0854.8+2006_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:10:20 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:10:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:10:22 2023
Terminated at Tue Feb 21 03:22:05 2023
Results reported at Tue Feb 21 03:22:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_weekly_bin759 133.707 20.1159 698025601 698630401 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 :                                   485.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             195.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            705 sec.

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

