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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1425
RA = 208.335, Dec = 14.5755
tmin = 608688001, tmax = 608947201
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='50807', job_status='RUN', time_executed='2021-09-08 17:19:18.867193', time_epoch_executed='1631146758.87' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50807

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50807/ft1_4FGL_J1353.3+1434_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50807/ft2_4FGL_J1353.3+1434_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50807/ft1_4FGL_J1353.3+1434_daily_bin1425.fits outfile=/scratch/kocevski/50807/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1425.fits ra=208.335 dec=14.5755 rad=12.0 tmin=608688001.0 tmax=608947201.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 3.00
user 2.79
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/50807/ft2_4FGL_J1353.3+1434_daily_bin1425.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/50807/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1425.fits evtable="EVENTS" outfile="/scratch/kocevski/50807/ft1_filtered_4FGL_J1353.3+1434_daily_bin1425.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.51
user 0.33
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50807/ft1_filtered_4FGL_J1353.3+1434_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/50807/ft2_4FGL_J1353.3+1434_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/50807/ltcube_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.fits outfile=/scratch/kocevski/50807/expmap_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.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/50807/ltcube_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.fits
.....................!
real 189.64
user 185.24
sys 3.99

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/50807/ft1_filtered_4FGL_J1353.3+1434_daily_bin1425.fits scfile=/scratch/kocevski/50807/ft2_4FGL_J1353.3+1434_daily_bin1425.fits outfile=/scratch/kocevski/50807/cmap_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.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.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.4268       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.731       1.0000         .10000E-03   10000.    
     4 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16719E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.4445       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.403       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.7010       1.0000         .10000E-03   10000.    
    14 'norm      '    8.1332       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3324       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .73051       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=   4550.325     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1440 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.4259        7.4615       -.26358E-06   -.43957E-04
   2  Prefactor     .10000E-03    28.927        .28682E-04** at limit **
   3  Prefactor     48.731        45.186        .82818E-07   -.42477E-04
   4  norm          .10000E-03    10.728       -.97381E-06** at limit **
   5  Prefactor     .10000E-03    65.000       -.18629E-04** at limit **
   6  Prefactor     .10000E-03    2.0754       -.97161E-07** at limit **
   7  Prefactor     .10017E-03    6.5569        .47732E-05** at limit **
   8  Prefactor     8.4414        22.678       -.23727E-05   -.24466E-03
   9  Prefactor     .10000E-03    6.7951        .65649E-06** at limit **
  10  Prefactor     31.407        42.189        .49256E-05   -.29356E-04
  11  Prefactor     .10000E-03    21.842       -.31998E-04** at limit **
  12  Prefactor     9.5838        11.596       -.52046E-06   -.74117E-04
  13  Prefactor     4.7023        10.563       -.67023E-06   -.18047E-03
  14  norm          8.1339        4.5521       -.65893E-07   -.12678E-03
  15  Normalizat    1.3324        .22823        .54978E-06   -.53163E-03
  16  Prefactor     .73046        .17785       -.13975E-05   -.52920E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.4259
  Prefactor  = 0.000100001
  Prefactor  = 48.731
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100165
  Prefactor  = 8.44139
  Prefactor  = 0.0001
  Prefactor  = 31.4069
  Prefactor  = 0.0001
  Prefactor  = 9.58382
  Prefactor  = 4.70229
  norm       = 8.13388
  Normalizat = 1.33235
  Prefactor  = 0.730461
 **********
 **   18 **HESSE 
 **********

 FCN=   4550.325     FROM HESSE     STATUS=OK           199 CALLS     1639 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.4259        7.5017        .13053E-03   -1.5094    
   2  Prefactor     .10000E-03    29.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     48.731        45.200        .57444E-04   -1.4311    
   4  norm          .10000E-03    10.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    65.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0775        .94905E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10017E-03    17.552        .32215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.4414        22.527        .13795E-03   -1.5127    
   9  Prefactor     .10000E-03    6.8291        .17170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.407        42.204        .71501E-04   -1.4587    
  11  Prefactor     .10000E-03    21.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5838        11.512        .12946E-03   -1.5089    
  13  Prefactor     4.7023        10.471        .18560E-03   -1.5274    
  14  norm          8.1339        4.5477        .10219E-03   -1.5137    
  15  Normalizat    1.3324        .27155        .24725E-03   -.82606    
  16  Prefactor     .73046        .20978        .25074E-03   -1.0234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.8179e-09
Minuit parameter uncertainties:
  1  7.50242
  2  0.000306598
  3  45.2313
  4  2.91128e-05
  5  1.10663e-05
  6  1.54347e-06
  7  0.00340658
  8  22.5493
  9  6.61631e-06
  10  42.2437
  11  6.20961e-06
  12  11.5142
  13  10.4751
  14  4.5479
  15  0.271838
  16  0.210009
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  8.441e+00  2.255e+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:  7.305e-01  2.100e-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.332e+00  2.718e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 208.335 14.575
Photon Flux Upper Limit: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/50807/likelihoodResults_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.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) = 4550.12698984
delta logL = 0.197826555543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4550.09478474
delta logL = 0.230031658516

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.4242       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2985       1.0000          .0000       10.000    
     3 'Normalizat'    1.2860       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75100       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=   4550.095     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      259 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3803        142.05        .54650E-02   -.69223E-03
   2  Index         3.3042        6.6155        .10850       -.91462E-04
   3  Normalizat    1.2860        .69283E-01    .56746E-01   -.29679E-03
   4  Prefactor     .75108        .53072E-01    .43076E-01   -.19933E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.38029
  Index      = 3.30422
  Normalizat = 1.28595
  Prefactor  = 0.751082
 **********
 **   18 **HESSE 
 **********

 FCN=   4550.095     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      290 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3803        266.73        .15475E-03   -1.5340    
   2  Index         3.3042        6.2302        .68157E-02   -.34602    
   3  Normalizat    1.2860        .25606        .25093E-03   -.83987    
   4  Prefactor     .75108        .21393        .24748E-03   -1.0156    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.73013e-10
Minuit parameter uncertainties:
  1  60.3343
  2  8.53371
  3  0.256308
  4  0.214163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50807': 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) = 4550.09477954
delta logL = 0.230036861311

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  3.380e+00  6.033e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  3.304e+00  8.534e+00  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:  7.511e-01  2.142e-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.286e+00  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/50807/cmap_HighResolution_608688001_608947201_4FGL_J1353.3+1434_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-08 17:26:34.511460', job_id='50807', GAL2='0.75', fit_tolerance='1e-08', EG2='1.29', EG='1.33', time_epoch_completed='1631147194.51', return_code2='102', ts='0.16', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='2.30e-01', ts2='0.63', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1425' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:26:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 50807: <4FGL_J1353.3+1434_daily_bin1425> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1425 208.335 14.5755 608688001 608947201 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 :                                   434.07 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             295.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            622 sec.

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

