/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 78 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 = 7388
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1353.3+1434_daily_bin8
RA = 208.335, Dec = 14.5755
tmin = 241401601, tmax = 241660801
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='44470', job_status='RUN', time_executed='2021-09-08 16:57:13.802623', time_epoch_executed='1631145433.8' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='8'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/44470

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/44470/ft1_4FGL_J1353.3+1434_daily_bin8.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/44470/ft1_4FGL_J1353.3+1434_daily_bin8.fits outfile=/scratch/kocevski/44470/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin8.fits ra=208.335 dec=14.5755 rad=12.0 tmin=241401601.0 tmax=241660801.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 1.50
user 1.30
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/44470/ft1_filtered_4FGL_J1353.3+1434_daily_bin8.fits" evtable="EVENTS" scfile=/scratch/kocevski/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits sctable="SC_DATA" outfile=/scratch/kocevski/44470/ltcube_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.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/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits
.....................!
real 19.12
user 18.57
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/44470/ft1_filtered_4FGL_J1353.3+1434_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits sctable="SC_DATA" expcube=/scratch/kocevski/44470/ltcube_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.fits outfile=/scratch/kocevski/44470/expmap_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.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/44470/ltcube_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.fits
.....................!
real 192.50
user 186.01
sys 4.25

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/44470/ft1_filtered_4FGL_J1353.3+1434_daily_bin8.fits scfile=/scratch/kocevski/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits outfile=/scratch/kocevski/44470/cmap_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/44470/ft1_filtered_4FGL_J1353.3+1434_daily_bin8.fits scfile=/scratch/kocevski/44470/ft2_4FGL_J1353.3+1434_daily_bin8.fits outfile=/scratch/kocevski/44470/cmap_HighResolution_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.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.59
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10297E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8268       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.457       1.0000         .10000E-03   10000.    
     4 'norm      '    14.060       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.8193       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0363       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .83328       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.614       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4156       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .14566E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .59061       1.0000         .10000E-03   10000.    
    14 'norm      '    .76554E-02   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3076       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .80492       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=   9188.294     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1357 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.9561        .90712E-02** at limit **
   2  Prefactor     5.8268        8.0655        .41594E-02   -.11247E-02
   3  Prefactor     24.457        22.629        .20250E-02    .20278E-03
   4  norm          14.061        7.1706        .26704E-02    .11640E-02
   5  Prefactor     7.8213        52.220        .35849E-02   -.54604E-03
   6  Prefactor     6.0365        3.6455        .40856E-02    .37945E-03
   7  Prefactor     .83295        2.2785        .56271E-01    .13275E-02
   8  Prefactor     22.613        11.968        .21058E-02   -.70942E-03
   9  Prefactor     .10000E-03    7.1982        .90712E-02** at limit **
  10  Prefactor     7.4105        21.228        .36820E-02    .85396E-03
  11  Prefactor     .10000E-03    55.860        .90712E-02** at limit **
  12  Prefactor     .10000E-03    1.6531        .90712E-02** at limit **
  13  Prefactor     .62651        2.5047        .83013E-01    .58673E-03
  14  norm          .10000E-03    .96233        .62747E-01** at limit **
  15  Normalizat    1.3078        .16343        .54456E-01   -.29269E-04
  16  Prefactor     .80473        .12533        .43781E-01   -.95934E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.82683
  Prefactor  = 24.4569
  norm       = 14.0607
  Prefactor  = 7.82131
  Prefactor  = 6.03652
  Prefactor  = 0.832948
  Prefactor  = 22.6132
  Prefactor  = 0.0001
  Prefactor  = 7.41045
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.626514
  norm       = 0.0001
  Normalizat = 1.30779
  Prefactor  = 0.804727
 **********
 **   18 **HESSE 
 **********

 FCN=   9188.294     FROM HESSE     STATUS=OK           211 CALLS     1568 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9797        .16071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8268        8.0605        .16638E-03   -1.5225    
   3  Prefactor     24.457        22.635        .81000E-04   -1.4718    
   4  norm          14.061        7.1842        .10682E-03   -1.4958    
   5  Prefactor     7.8213        51.927        .14340E-03   -1.5149    
   6  Prefactor     6.0365        3.6471        .13509E-03   -1.5217    
   7  Prefactor     .83295        2.3780        .22795E-02   -1.5525    
   8  Prefactor     22.613        11.971        .84231E-04   -1.4757    
   9  Prefactor     .10000E-03    7.3133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.4105        21.198        .14728E-03   -1.5163    
  11  Prefactor     .10000E-03    57.402        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.6567        .12029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .62651        11.562        .27731E-02   -1.5550    
  14  norm          .10000E-03    2.4450        .31794E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3078        .19913        .24079E-03   -.83334    
  16  Prefactor     .80473        .15270        .23454E-03   -.99554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26718e-08
Minuit parameter uncertainties:
  1  2.44856e-06
  2  8.06199
  3  22.6427
  4  7.18468
  5  40.3561
  6  3.64722
  7  2.37823
  8  11.9722
  9  1.30054e-05
  10  21.219
  11  0.000134075
  12  1.29235e-06
  13  5.38352
  14  3.74588e-06
  15  0.199247
  16  0.15278
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.261e+01  1.197e+01  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:  8.047e-01  1.528e-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.308e+00  1.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.54
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 5.63e-08 +/- 2.98e-08
Energy Flux (Fixed Index): 2.31e-05 +/- 1.22e-05

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) = 9187.64419871
delta logL = 0.649527189818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9187.63576982
delta logL = 0.657956079463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.995       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8017       1.0000          .0000       10.000    
     3 'Normalizat'    1.2611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82744       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=   9187.636     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      302 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.996        12.996        .11112E-03    .23041E-03
   2  Index         2.8014        .58517        .42511E-02    .12800E-03
   3  Normalizat    1.2613        .19847        .24430E-03    .20832E-03
   4  Prefactor     .82722        .15351        .23153E-03    .38411E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9963
  Index      = 2.80139
  Normalizat = 1.26129
  Prefactor  = 0.82722
 **********
 **   18 **HESSE 
 **********

 FCN=   9187.636     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.996        11.015        .44447E-05   -1.4987    
   2  Index         2.8014        .49584        .17004E-03   -.45529    
   3  Normalizat    1.2613        .19779        .48859E-04   -.84729    
   4  Prefactor     .82722        .15321        .46307E-04   -.98733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66284e-10
Minuit parameter uncertainties:
  1  11.0165
  2  0.496856
  3  0.197906
  4  0.153289
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/44470': 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) = 9187.63576822
delta logL = 0.657957684727

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.300e+01  1.102e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.801e+00  4.969e-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:  8.272e-01  1.533e-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.261e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.90
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.80 +/- 0.50
Photon Flux (Free Index): 9.18e-08 +/- 4.67e-08
Energy Flux (Free Index): 2.05e-05 +/- 9.03e-06

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/44470/cmap_HighResolution_241401601_241660801_4FGL_J1353.3+1434_daily_bin8.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.63e-08', energy_flux2='2.05e-05', photon_flux_error='2.98e-08', dlogl='6.58e-01', energy_flux='2.31e-05', photon_flux2='9.18e-08', job_status='DONE', time_completed='2021-09-08 17:06:07.064697', photon_index_error2='0.50', photon_index2='2.80', ts='8.54', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='9.03e-06', EG='1.31', time_epoch_completed='1631145967.06', return_code='0', job_id='44470', GAL2='0.83', EG2='1.26', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='4.67e-08', ts2='9.90', photon_index='2.25' WHERE bin_id='8' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:06:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 44470: <4FGL_J1353.3+1434_daily_bin8> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin8> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 16:55:43 2021
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 16:55:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 16:55:45 2021
Terminated at Wed Sep  8 17:06:07 2021
Results reported at Wed Sep  8 17:06:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin8 208.335 14.5755 241401601 241660801 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 :                                   529.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            624 sec.

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

