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


Performing analysis on: 4FGL_J0840.8+1317_daily_bin1708
RA = 130.222, Dec = 13.2871
tmin = 682041601, tmax = 682300801
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='69321', job_status='RUN', time_executed='2022-09-16 14:06:10.557967', time_epoch_executed='1663362370.56' WHERE source_name='4FGL J0840.8+1317' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69321

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69321/ft1_4FGL_J0840.8+1317_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69321/ft1_4FGL_J0840.8+1317_daily_bin1708.fits outfile=/scratch/kocevski/69321/ft1_filteredMKT_4FGL_J0840.8+1317_daily_bin1708.fits ra=130.222 dec=13.2871 rad=12.0 tmin=682041601.0 tmax=682300801.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 4.04
user 3.77
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.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/69321/ft1_filteredMKT_4FGL_J0840.8+1317_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.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.37
sys 0.16

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/69321/ltcube_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.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/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits
.....................!
real 14.22
user 13.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/69321/ltcube_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits outfile=/scratch/kocevski/69321/expmap_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.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/69321/ltcube_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits
.....................!
real 190.86
user 185.87
sys 4.60

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

Setting source of interest to:
4FGL J0840.8+1317 @ 130.222 13.2871

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits outfile=/scratch/kocevski/69321/cmap_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.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=130.222 yref=13.2871 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.56
user 0.41
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits outfile=/scratch/kocevski/69321/cmap_HighResolution_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.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=130.222 yref=13.2871 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69321/Model_4FGL_J0840.8+1317_daily_bin1708.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/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits.....................!
real 67.99
user 66.60
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits', '/scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits', expMap='/scratch/kocevski/69321/expmap_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits', expCube='/scratch/kocevski/69321/ltcube_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69321/Model_4FGL_J0840.8+1317_daily_bin1708.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0840.8+1317'

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  5.096e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/69321/ft1_filtered_4FGL_J0840.8+1317_daily_bin1708.fits
Spacecraft file(s): /scratch/kocevski/69321/ft2_4FGL_J0840.8+1317_daily_bin1708.fits
Exposure map: /scratch/kocevski/69321/expmap_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits
Exposure cube: /scratch/kocevski/69321/ltcube_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69321/Model_4FGL_J0840.8+1317_daily_bin1708.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) = 6511.37898013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11394E-02   1.0000          .0000       .10000E+07
     2 'norm      '    90.480       1.0000          .0000       .10000E+07
     3 'norm      '    .10429E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .42354E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.0221       1.0000          .0000       .10000E+07
     6 'norm      '    .32777       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23054E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    9.1459       1.0000          .0000       .10000E+07
     9 'norm      '    .25107       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.591       1.0000          .0000       .10000E+07
    11 'norm      '    .25847E-05   1.0000          .0000       .10000E+07
    12 'norm      '    7.4640       1.0000          .0000       .10000E+07
    13 'Normalizat'    1.6162       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .90816       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6511.375     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      916 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77716E-09    12.580        .12584E-05** at limit **
   2  norm          90.073        60.942        .93548E-06    .19913    
   3  norm          .55511E-10    10.799        .91800E-06** at limit **
   4  Prefactor      .0000        5.8154       -.70408E-06** at limit **
   5  norm          1.0224        1.1082        .15499E-06    .10420E-02
   6  norm          .32811        .51020       -.34849E-07   -.23648E-03
   7  Prefactor      .0000        7.9573       -.63280E-06** at limit **
   8  Prefactor     9.0382        30.086       -.37858E-07    .18689E-01
   9  norm          .25531        .84777       -.15915E-06   -.21334E-03
  10  Prefactor     15.548        3.5878        .15304E-06   -.31913E-01
  11  norm           .0000        2.6420        .20454E-06** at limit **
  12  norm          7.8068        66.871       -.23952E-05    .76279E-01
  13  Normalizat    1.6161        .25032        .15907E-04    .18223E-04
  14  Prefactor     .90805        .20059       -.12880E-04   -.23797E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77156e-10
  norm       = 90.0735
  norm       = 5.55112e-11
  Prefactor  = 0
  norm       = 1.02238
  norm       = 0.328113
  Prefactor  = 0
  Prefactor  = 9.03821
  norm       = 0.255315
  Prefactor  = 15.5481
  norm       = 0
  norm       = 7.80683
  Normalizat = 1.61609
  Prefactor  = 0.908049
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.375     FROM HESSE     STATUS=OK           196 CALLS     1112 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77716E-09    12.598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          90.073        98.104        .10514E-03   -1.5518    
   3  norm          .55511E-10    10.819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.8178        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0224        1.2190        .20087E-02   -1.5688    
   6  norm          .32811        .66306        .17370E-02   -1.5697    
   7  Prefactor      .0000        7.9329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.0382        30.089        .33116E-03   -1.5648    
   9  norm          .25531        .70006        .27841E-02   -1.5698    
  10  Prefactor     15.548        16.979        .25339E-03   -1.5629    
  11  norm           .0000        2.6470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.8068        109.14        .36686E-03   -1.5652    
  13  Normalizat    1.6161        .21187        .57217E-01   -.74567    
  14  Prefactor     .90805        .16851        .45109E-01   -.95860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.99018e-06
Minuit parameter uncertainties:
  1  0.000195378
  2  98.1057
  3  3.90651e-05
  4  1.28045e-05
  5  1.219
  6  0.663062
  7  2.55057e-05
  8  30.0896
  9  0.700058
  10  16.9788
  11  3.14758e-06
  12  58.3817
  13  0.211991
  14  0.168609
Done.

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

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  9.038e+00  3.009e+01  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.080e-01  1.686e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.616e+00  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 130.222 13.287
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69321/likelihoodResults_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.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): 0
logL (Free Index) = 6511.29060878
delta logL = 0.0842042418208

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6511.23445328
delta logL = 0.140359747038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6064       1.0000          .0000       .10000E+07
     2 'Index     '    4.1236       1.0000          .0000       10.000    
     3 'Normalizat'    1.5705       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93317       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6511.234     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      264 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5740        318.96        .10034E-03   -.28612E-02
   2  Index         4.1321        5.4445        .84227E-02   -.39837E-04
   3  Normalizat    1.5706        .18904        .25596E-03   -.13256E-03
   4  Prefactor     .93303        .15259        .25917E-03   -.32679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.57401
  Index      = 4.13211
  Normalizat = 1.57059
  Prefactor  = 0.933025
 **********
 **   18 **HESSE 
 **********

 FCN=   6511.234     FROM HESSE     STATUS=OK            27 CALLS      291 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5740        20.227        .40135E-05   -1.5676    
   2  Index         4.1321        3.0134        .33691E-03   -.17446    
   3  Normalizat    1.5706        .26311        .51193E-04   -.75814    
   4  Prefactor     .93303        .20635        .10367E-04   -.94996    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36937e-10
Minuit parameter uncertainties:
  1  14.4314
  2  3.24273
  3  0.263343
  4  0.206527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69321': 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) = 6511.2344481
delta logL = 0.140364919076

Extracting fit parameters...

4FGL J0840.8+1317
   Spectrum: PowerLaw
297    Prefactor:  2.574e+00  1.443e+01  0.000e+00  1.000e+06 ( 1.000e-13)
298        Index:  4.132e+00  3.243e+00  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  7.999e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  9.330e-01  2.065e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  1.571e+00  2.633e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 130.222 13.287

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/69321/cmap_HighResolution_682041601_682300801_4FGL_J0840.8+1317_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.46e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2022-09-16 14:14:11.115651', job_id='69321', GAL2='0.93', fit_tolerance='1e-08', EG2='1.57', EG='1.62', time_epoch_completed='1663362851.12', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.40e-01', ts2='0.41', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1708' AND source_name='4FGL J0840.8+1317' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 14:14:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 69321: <4FGL_J0840.8+1317_daily_bin1708> in cluster <slac> Done

Job <4FGL_J0840.8+1317_daily_bin1708> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 14:00:25 2022
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:04:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:04:15 2022
Terminated at Fri Sep 16 14:14:12 2022
Results reported at Fri Sep 16 14:14:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0840.8+1317_daily_bin1708 130.222 13.2871 682041601 682300801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0840.8+1317 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.61 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            827 sec.

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

