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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1406
RA = 208.335, Dec = 14.5755
tmin = 603763201, tmax = 604022401
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='50777', job_status='RUN', time_executed='2021-09-08 17:20:16.817617', time_epoch_executed='1631146816.82' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1406'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50777

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50777/ft1_4FGL_J1353.3+1434_daily_bin1406.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50777/ft1_4FGL_J1353.3+1434_daily_bin1406.fits outfile=/scratch/kocevski/50777/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1406.fits ra=208.335 dec=14.5755 rad=12.0 tmin=603763201.0 tmax=604022401.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.23
user 3.95
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/50777/ft1_filtered_4FGL_J1353.3+1434_daily_bin1406.fits" evtable="EVENTS" scfile=/scratch/kocevski/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits sctable="SC_DATA" outfile=/scratch/kocevski/50777/ltcube_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.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/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits
.....................!
real 12.55
user 12.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50777/ft1_filtered_4FGL_J1353.3+1434_daily_bin1406.fits evtable="EVENTS" scfile=/scratch/kocevski/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits sctable="SC_DATA" expcube=/scratch/kocevski/50777/ltcube_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.fits outfile=/scratch/kocevski/50777/expmap_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.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/50777/ltcube_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.fits
.....................!
real 191.31
user 185.22
sys 4.94

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/50777/ft1_filtered_4FGL_J1353.3+1434_daily_bin1406.fits scfile=/scratch/kocevski/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits outfile=/scratch/kocevski/50777/cmap_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50777/ft1_filtered_4FGL_J1353.3+1434_daily_bin1406.fits scfile=/scratch/kocevski/50777/ft2_4FGL_J1353.3+1434_daily_bin1406.fits outfile=/scratch/kocevski/50777/cmap_HighResolution_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.6207       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.7983       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.639       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0530       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11896E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    101.83       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51754       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7732       1.0000         .10000E-03   10000.    
    14 'norm      '    6.3792       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1824       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0326       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=   6993.164     FROM MIGRAD    STATUS=CONVERGED    302 CALLS     1320 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.6205        10.956       -.10059E-06   -.28276E-04
   2  Prefactor     .10000E-03    19.823        .89747E-06** at limit **
   3  Prefactor     .10000E-03    9.5866        .34064E-06** at limit **
   4  norm          7.7979        13.024       -.19971E-06    .43509E-05
   5  Prefactor     20.637        39.196       -.33265E-05    .37240E-03
   6  Prefactor     .10000E-03    4.6946       -.30766E-06** at limit **
   7  Prefactor     .10000E-03    2.6036        .57575E-07** at limit **
   8  Prefactor     8.0539        8.9077        .22550E-07   -.72321E-05
   9  Prefactor     .10001E-03    31.353       -.20314E-05** at limit **
  10  Prefactor     101.83        35.450       -.10674E-05    .10322E-02
  11  Prefactor     .10000E-03    12.486       -.65981E-06** at limit **
  12  Prefactor     .51776        3.9580       -.51668E-05   -.39283E-03
  13  Prefactor     4.7729        6.6669        .80637E-07    .17842E-03
  14  norm          6.3789        3.2573       -.15543E-07    .16781E-04
  15  Normalizat    1.1824        .20162        .43268E-07    .18057E-03
  16  Prefactor     1.0326        .15550        .67111E-06    .16116E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.62052
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 7.79794
  Prefactor  = 20.6371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.05387
  Prefactor  = 0.000100008
  Prefactor  = 101.828
  Prefactor  = 0.000100001
  Prefactor  = 0.517757
  Prefactor  = 4.77293
  norm       = 6.3789
  Normalizat = 1.18241
  Prefactor  = 1.03261
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.164     FROM HESSE     STATUS=OK           201 CALLS     1521 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.6205        10.861        .14527E-03   -1.5156    
   2  Prefactor     .10000E-03    20.260        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.5824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.7979        12.924        .14359E-03   -1.5149    
   5  Prefactor     20.637        38.617        .88163E-04   -1.4799    
   6  Prefactor     .10000E-03    4.8783        .35318E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6256        .13172E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0539        8.9075        .14129E-03   -1.5140    
   9  Prefactor     .10001E-03    32.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     101.83        34.813        .39843E-04   -1.3686    
  11  Prefactor     .10000E-03    12.495        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .51776        8.5464        .45369E-03   -1.5564    
  13  Prefactor     4.7729        6.6347        .18416E-03   -1.5271    
  14  norm          6.3789        3.2553        .10412E-03   -1.5203    
  15  Normalizat    1.1824        .24483        .27775E-03   -.87148    
  16  Prefactor     1.0326        .18907        .22970E-03   -.91650    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34085e-09
Minuit parameter uncertainties:
  1  10.8638
  2  0.000410613
  3  9.27616e-05
  4  12.9288
  5  38.6643
  6  4.98393e-05
  7  8.28814e-06
  8  8.90892
  9  0.000997277
  10  34.82
  11  0.000195927
  12  4.20743
  13  6.63569
  14  3.25542
  15  0.245071
  16  0.189188
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  8.054e+00  8.909e+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

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  1.033e+00  1.892e-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.182e+00  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.10
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 2.00e-08 +/- 2.21e-08
Energy Flux (Fixed Index): 8.24e-06 +/- 9.12e-06

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

Saving results to:
/scratch/kocevski/50777/likelihoodResults_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.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) = 6993.13456241
delta logL = 0.0290920176221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6993.12896938
delta logL = 0.0346850487731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1167       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0326       1.0000          .0000       10.000    
     3 'Normalizat'    1.1869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0308       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=   6993.129     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      235 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1177        10.622        .13274E-03   -.58662E-03
   2  Index         2.0326        .81209        .10962E-01   -.15966E-03
   3  Normalizat    1.1869        .23871        .27729E-03    .23845E-03
   4  Prefactor     1.0308        .18669        .22988E-03    .33662E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.11773
  Index      = 2.03258
  Normalizat = 1.18692
  Prefactor  = 1.03083
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.129     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1177        10.502        .26548E-04   -1.5104    
   2  Index         2.0326        .80314        .43847E-03   -.63538    
   3  Normalizat    1.1869        .23890        .55458E-04   -.87008    
   4  Prefactor     1.0308        .18686        .45976E-04   -.91709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3332e-09
Minuit parameter uncertainties:
  1  10.5045
  2  0.808565
  3  0.239124
  4  0.186982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50777': 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) = 6993.12896937
delta logL = 0.0346850556416

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  9.118e+00  1.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.033e+00  8.086e-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:  1.031e+00  1.870e-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.187e+00  2.391e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.17
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.03 +/- 0.81
Photon Flux (Free Index): 1.58e-08 +/- 2.37e-08
Energy Flux (Free Index): 1.01e-05 +/- 1.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/50777/cmap_HighResolution_603763201_604022401_4FGL_J1353.3+1434_daily_bin1406.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.58e-03', comment='SUCCESS', photon_flux='2.00e-08', energy_flux2='1.01e-05', photon_flux_error='2.21e-08', dlogl='3.47e-02', energy_flux='8.24e-06', photon_flux2='1.58e-08', job_status='DONE', time_completed='2021-09-08 17:28:41.584050', photon_index_error2='0.81', photon_index2='2.03', ts='2.10', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='8.60e-08', energy_flux_error2='1.45e-05', EG='1.18', time_epoch_completed='1631147321.58', return_code='0', job_id='50777', GAL2='1.03', EG2='1.19', return_code2='0', energy_flux_error='9.12e-06', photon_flux_error2='2.37e-08', ts2='2.17', photon_index='2.25' WHERE bin_id='1406' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:28:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 50777: <4FGL_J1353.3+1434_daily_bin1406> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1406> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  8 17:16:10 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:16:12 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:16:12 2021
Terminated at Wed Sep  8 17:28:42 2021
Results reported at Wed Sep  8 17:28:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1406 208.335 14.5755 603763201 604022401 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 :                                   500.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            752 sec.

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

