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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1000
RA = 208.335, Dec = 14.5755
tmin = 498528001, tmax = 498787201
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='49247', job_status='RUN', time_executed='2021-09-08 17:15:14.630528', time_epoch_executed='1631146514.63' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49247

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49247/ft1_4FGL_J1353.3+1434_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49247/ft1_4FGL_J1353.3+1434_daily_bin1000.fits outfile=/scratch/kocevski/49247/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1000.fits ra=208.335 dec=14.5755 rad=12.0 tmin=498528001.0 tmax=498787201.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.97
user 4.68
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.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/49247/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1000.fits evtable="EVENTS" outfile="/scratch/kocevski/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.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.52
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/49247/ltcube_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.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/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits
.....................!
real 15.49
user 15.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/49247/ltcube_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits outfile=/scratch/kocevski/49247/expmap_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.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/49247/ltcube_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits
.....................!
real 193.66
user 186.96
sys 5.69

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/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits scfile=/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits outfile=/scratch/kocevski/49247/cmap_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits scfile=/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits outfile=/scratch/kocevski/49247/cmap_HighResolution_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.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.56
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits', '/scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits', expMap='/scratch/kocevski/49247/expmap_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits', expCube='/scratch/kocevski/49247/ltcube_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49247/Model_4FGL_J1353.3+1434_daily_bin1000.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/49247/ft1_filtered_4FGL_J1353.3+1434_daily_bin1000.fits
Spacecraft file(s): /scratch/kocevski/49247/ft2_4FGL_J1353.3+1434_daily_bin1000.fits
Exposure map: /scratch/kocevski/49247/expmap_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits
Exposure cube: /scratch/kocevski/49247/ltcube_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49247/Model_4FGL_J1353.3+1434_daily_bin1000.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) = 5820.93263428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6221       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7849       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.1547       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.415       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16451E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.786       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.5483       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.5232       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3971       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5820.928     FROM MIGRAD    STATUS=CONVERGED     58 CALLS     1201 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6213        1.2555       -.16062E-05   -.53092E-03
   2  Prefactor     1.7828        1.3751        .23379E-05   -.21146E-03
   3  Prefactor     .10000E-03    12.111        .14681E-04** at limit **
   4  norm          3.1595        2.3557       -.42412E-05   -.28113E-03
   5  Prefactor     15.412        1.2521       -.65792E-06    .16389E-02
   6  Prefactor     .10000E-03    9.9878        .34099E-05** at limit **
   7  Prefactor     .10000E-03    1.7973        .65983E-06** at limit **
   8  Prefactor     .10000E-03    11.055       -.17393E-04** at limit **
   9  Prefactor     14.790        1.0402       -.22170E-06    .45823E-03
  10  Prefactor     .10040E-03    27.381        .24759E-05** at limit **
  11  Prefactor     .10049E-03    27.390       -.55289E-05** at limit **
  12  Prefactor     2.5462        1.0233        .84329E-07    .64825E-04
  13  Prefactor     .10000E-03    3.6385        .18309E-06** at limit **
  14  norm          6.5232        3.3576       -.10555E-06    .14110E-03
  15  Normalizat    1.3968        .25895        .90440E-06   -.24051E-04
  16  Prefactor     1.0030        .20333       -.15668E-05    .34984E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.62127
  Prefactor  = 1.78282
  Prefactor  = 0.000100001
  norm       = 3.15952
  Prefactor  = 15.4123
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 14.7896
  Prefactor  = 0.000100402
  Prefactor  = 0.000100495
  Prefactor  = 2.5462
  Prefactor  = 0.0001
  norm       = 6.52318
  Normalizat = 1.39676
  Prefactor  = 1.00299
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.928     FROM HESSE     STATUS=OK           239 CALLS     1440 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6213        11.074        .83065E-02   -1.5453    
   2  Prefactor     1.7828        15.493        .78294E-02   -1.5441    
   3  Prefactor     .10000E-03    12.610        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1595        8.3815        .57052E-02   -1.5352    
   5  Prefactor     15.412        47.140        .25503E-02   -1.4923    
   6  Prefactor     .10000E-03    3.8618        .46532E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.7959        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.753        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.790        15.498        .26040E-02   -1.4939    
  10  Prefactor     .10040E-03    52.292        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10049E-03    54.365        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.5462        7.6367        .63948E-02   -1.5389    
  13  Prefactor     .10000E-03    3.6192        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.5232        3.3607        .39283E-02   -1.5197    
  15  Normalizat    1.3968        .22257        .59685E-01   -.80723    
  16  Prefactor     1.0030        .16985        .44736E-01   -.92630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91368e-07
Minuit parameter uncertainties:
  1  8.47632
  2  10.5144
  3  0.000254006
  4  8.38462
  5  47.2538
  6  4.78527e-05
  7  1.5213e-05
  8  0.000205968
  9  15.5023
  10  0.00917636
  11  0.0103821
  12  7.6396
  13  3.69301e-06
  14  3.36075
  15  0.222724
  16  0.169938
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.060e-04  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:  1.003e+00  1.699e-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.397e+00  2.227e-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: 7.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/49247/likelihoodResults_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.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) = 5820.92879758
delta logL = -0.000402127981943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5820.92839661
delta logL = -1.150895514e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11788E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2617       1.0000          .0000       10.000    
     3 'Normalizat'    1.3965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0032       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5820.928     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      242 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10063E-03    122.75        .18142E-02** at limit **
   2  Index         2.3024        8.8487        .50000       -.74354E-05
   3  Normalizat    1.3968        .17587E-01    .26396E-03    .13653E-04
   4  Prefactor     1.0030        .13795E-01    .23801E-03    .14139E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100626
  Index      = 2.30237
  Normalizat = 1.39676
  Prefactor  = 1.00299
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.928     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10063E-03    617.24        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3024        6.1453        .50000       -.56987    
   3  Normalizat    1.3968        .41789E-01    .10558E-04   -.80723    
   4  Prefactor     1.0030        .32775E-01    .95204E-05   -.92630    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.32136e-08
Minuit parameter uncertainties:
  1  0.0397397
  2  876.816
  3  0.04179
  4  0.0327758
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49247': 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) = 5820.92839538
delta logL = 7.4628587754e-08

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.006e-04  3.974e-02  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.302e+00  8.768e+02  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:  1.003e+00  3.278e-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.397e+00  4.179e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/49247/cmap_HighResolution_498528001_498787201_4FGL_J1353.3+1434_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.93e-08', time_completed='2021-09-08 17:23:20.158111', job_id='49247', GAL2='1.00', fit_tolerance='1e-08', EG2='1.40', EG='1.40', time_epoch_completed='1631147000.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='7.46e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1000' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:23:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 49247: <4FGL_J1353.3+1434_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1000> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  8 17:11:20 2021
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:11:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 17:11:35 2021
Terminated at Wed Sep  8 17:23:21 2021
Results reported at Wed Sep  8 17:23:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1000 208.335 14.5755 498528001 498787201 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 :                                   481.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            721 sec.

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

