aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 7 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1353.3+1434_weekly_bin398
RA = 208.335, Dec = 14.5755
tmin = 479692801, tmax = 480297601
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='129726', job_status='RUN', time_executed='2021-07-21 05:01:56.718651', time_epoch_executed='1626868916.72' WHERE source_name='4FGL J1353.3+1434' and cadence='weekly' and bin_id='398'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129726

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129726/ft1_4FGL_J1353.3+1434_weekly_bin398.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129726/ft1_4FGL_J1353.3+1434_weekly_bin398.fits outfile=/scratch/kocevski/129726/ft1_filteredMKT_4FGL_J1353.3+1434_weekly_bin398.fits ra=208.335 dec=14.5755 rad=12.0 tmin=479692801.0 tmax=480297601.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 7.36
user 7.06
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.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/129726/ft1_filteredMKT_4FGL_J1353.3+1434_weekly_bin398.fits evtable="EVENTS" outfile="/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits" evtable="EVENTS" scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits sctable="SC_DATA" outfile=/scratch/kocevski/129726/ltcube_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.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/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits
.....................!
real 31.76
user 30.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits evtable="EVENTS" scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits sctable="SC_DATA" expcube=/scratch/kocevski/129726/ltcube_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits outfile=/scratch/kocevski/129726/expmap_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.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/129726/ltcube_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits
.....................!
real 193.53
user 186.46
sys 5.51

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

Setting source of interest to:
4FGL J1353.3+1434 @ 208.335 14.5755

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits outfile=/scratch/kocevski/129726/cmap_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.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=208.335 yref=14.5755 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.59
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits outfile=/scratch/kocevski/129726/cmap_HighResolution_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.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=208.335 yref=14.5755 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.61
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits evtable="EVENTS" scfile=/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/129726/Model_4FGL_J1353.3+1434_weekly_bin398.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/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits.....................!
real 97.29
user 95.70
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits', '/scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits', expMap='/scratch/kocevski/129726/expmap_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits', expCube='/scratch/kocevski/129726/ltcube_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/129726/Model_4FGL_J1353.3+1434_weekly_bin398.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1353.3+1434'

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  3.439e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/129726/ft1_filtered_4FGL_J1353.3+1434_weekly_bin398.fits
Spacecraft file(s): /scratch/kocevski/129726/ft2_4FGL_J1353.3+1434_weekly_bin398.fits
Exposure map: /scratch/kocevski/129726/expmap_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits
Exposure cube: /scratch/kocevski/129726/ltcube_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/129726/Model_4FGL_J1353.3+1434_weekly_bin398.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) = 14384.7612902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.9812       1.0000         .10000E-03   10000.    
     5 'Prefactor '    56.230       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4424       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.259       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.694       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.1563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.8317       1.0000         .10000E-03   10000.    
    14 'norm      '    12.588       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1339       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98948       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14384.71     FROM MIGRAD    STATUS=CONVERGED    290 CALLS     1446 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.5897       -.98148E-07** at limit **
   2  Prefactor     .10000E-03    1.9708        .14943E-07** at limit **
   3  Prefactor     .10000E-03    16.832        .14238E-08** at limit **
   4  norm          3.9810        2.9243        .87394E-06   -.17884E-02
   5  Prefactor     56.223        32.422       -.30452E-05   -.38939E-03
   6  Prefactor     .10000E-03    1.0828        .40570E-07** at limit **
   7  Prefactor     .10000E-03    .97988        .20154E-08** at limit **
   8  Prefactor     .10000E-03    3.6981       -.20525E-08** at limit **
   9  Prefactor     4.4417        7.2195        .35756E-06   -.12276E-04
  10  Prefactor     22.258        21.593       -.60680E-06   -.64248E-04
  11  Prefactor     18.692        16.801       -.88128E-06   -.15545E-03
  12  Prefactor     5.1539        4.7814        .39254E-06    .12084E-03
  13  Prefactor     3.8330        4.5877       -.26713E-06   -.41553E-03
  14  norm          12.588        2.8018       -.12405E-06   -.53990E-03
  15  Normalizat    1.1339        .12899        .11746E-06   -.18557E-04
  16  Prefactor     .98943        .10195        .11606E-06   -.93601E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.98101
  Prefactor  = 56.2227
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.44174
  Prefactor  = 22.2582
  Prefactor  = 18.6922
  Prefactor  = 5.15391
  Prefactor  = 3.83299
  norm       = 12.5876
  Normalizat = 1.13394
  Prefactor  = 0.989425
 **********
 **   18 **HESSE 
 **********

 FCN=   14384.71     FROM HESSE     STATUS=OK           205 CALLS     1651 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.6169        .14773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9758        .16442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.9810        3.5484        .10107E-02   -1.5309    
   5  Prefactor     56.223        34.281        .53496E-04   -1.4207    
   6  Prefactor     .10000E-03    2.7763        .24105E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .99193        .11592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.7128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4417        7.2294        .19105E-03   -1.5286    
  10  Prefactor     22.258        21.632        .84898E-04   -1.4764    
  11  Prefactor     18.692        16.948        .92635E-04   -1.4843    
  12  Prefactor     5.1539        4.7708        .17704E-03   -1.5254    
  13  Prefactor     3.8330        4.6395        .20618E-03   -1.5316    
  14  norm          12.588        2.8071        .91218E-04   -1.4998    
  15  Normalizat    1.1339        .15605        .26418E-03   -.88669    
  16  Prefactor     .98943        .12318        .22427E-03   -.93083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55602e-09
Minuit parameter uncertainties:
  1  5.11707e-06
  2  5.83476e-07
  3  5.36656e-07
  4  3.5486
  5  34.2928
  6  2.21209e-06
  7  1.63127e-06
  8  8.06472e-07
  9  7.2308
  10  21.6396
  11  16.9522
  12  4.77112
  13  4.63994
  14  2.80709
  15  0.156117
  16  0.123214
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  8.065e-07  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  9.894e-01  1.232e-01  0.000e+00  1.000e+01 ( 1.000e+00)
484        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
485        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
482   Normalization:  1.134e+00  1.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 208.335 14.575
Photon Flux Upper Limit: 3.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/129726/likelihoodResults_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.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) = 14384.7086812
delta logL = -0.00128362144096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14384.7073977
delta logL = -1.14710928756e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2520       1.0000          .0000       10.000    
     3 'Normalizat'    1.1339       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98941       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14384.71     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      205 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    699.81        .90712E-02** at limit **
   2  Index         2.2545        5.9545        .50000       -.59842E-05
   3  Normalizat    1.1339        .66863E-01    .59733E-01   -.81145E-05
   4  Prefactor     .98943        .53510E-01    .46135E-01   -.14522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25453
  Normalizat = 1.13394
  Prefactor  = 0.989425
 **********
 **   18 **HESSE 
 **********

 FCN=   14384.71     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      238 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    547.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2545        5.7024        .50000       -.58128    
   3  Normalizat    1.1339        .50297E-01    .26418E-03   -.88669    
   4  Prefactor     .98943        .40402E-01    .22427E-03   -.93083    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.56383e-09
Minuit parameter uncertainties:
  1  4.29524e-05
  2  51.2176
  3  0.0502989
  4  0.0404032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129726': 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): 102
logL (Free Index) = 14384.7073976
delta logL = 7.11224856786e-09

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  4.295e-05  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.255e+00  5.122e+01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  9.894e-01  4.040e-02  0.000e+00  1.000e+01 ( 1.000e+00)
484        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
485        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
482   Normalization:  1.134e+00  5.030e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 208.335 14.575

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/129726/cmap_HighResolution_479692801_480297601_4FGL_J1353.3+1434_weekly_bin398.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.93e-03', job_status='DONE', photon_flux_upper_limit='3.84e-08', time_completed='2021-07-21 05:15:08.756317', job_id='129726', GAL2='0.99', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1626869708.76', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='7.11e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='398' AND source_name='4FGL J1353.3+1434' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 05:15:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 129726: <4FGL_J1353.3+1434_weekly_bin398> in cluster <slac> Done

Job <4FGL_J1353.3+1434_weekly_bin398> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Jul 21 05:00:26 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 05:01:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 05:01:41 2021
Terminated at Wed Jul 21 05:15:09 2021
Results reported at Wed Jul 21 05:15:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_weekly_bin398 208.335 14.5755 479692801 480297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1353.3+1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             347.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   808 sec.
    Turnaround time :                            883 sec.

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

