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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1498
RA = 208.335, Dec = 14.5755
tmin = 627609601, tmax = 627868801
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='51976', job_status='RUN', time_executed='2021-09-08 17:20:45.720721', time_epoch_executed='1631146845.72' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51976

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51976/ft1_4FGL_J1353.3+1434_daily_bin1498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51976/ft1_4FGL_J1353.3+1434_daily_bin1498.fits outfile=/scratch/kocevski/51976/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1498.fits ra=208.335 dec=14.5755 rad=12.0 tmin=627609601.0 tmax=627868801.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 2.52
user 2.34
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51976/ft1_filtered_4FGL_J1353.3+1434_daily_bin1498.fits" evtable="EVENTS" scfile=/scratch/kocevski/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits sctable="SC_DATA" outfile=/scratch/kocevski/51976/ltcube_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.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/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits
.....................!
real 14.72
user 14.32
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51976/ft1_filtered_4FGL_J1353.3+1434_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits sctable="SC_DATA" expcube=/scratch/kocevski/51976/ltcube_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.fits outfile=/scratch/kocevski/51976/expmap_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.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/51976/ltcube_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.fits
.....................!
real 190.94
user 185.28
sys 5.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/51976/ft1_filtered_4FGL_J1353.3+1434_daily_bin1498.fits scfile=/scratch/kocevski/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits outfile=/scratch/kocevski/51976/cmap_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51976/ft1_filtered_4FGL_J1353.3+1434_daily_bin1498.fits scfile=/scratch/kocevski/51976/ft2_4FGL_J1353.3+1434_daily_bin1498.fits outfile=/scratch/kocevski/51976/cmap_HighResolution_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7280       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.601       1.0000         .10000E-03   10000.    
     4 'norm      '    7.9184       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10872E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .24293E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .60551       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.530       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.630       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11519E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.012       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.1239       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0588       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86891       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=   6901.507     FROM MIGRAD    STATUS=CONVERGED    344 CALLS     1342 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7321        1.7204        .21036E-06   -.17932E-02
   2  Prefactor     .10000E-03    3.2520        .14477E-07** at limit **
   3  Prefactor     15.631        17.047       -.64349E-05   -.51458E-04
   4  norm          7.9210        7.6941        .48603E-06   -.34040E-05
   5  Prefactor     .10000E-03    22.163       -.81911E-06** at limit **
   6  Prefactor     .10003E-03    1.8504       -.16958E-06** at limit **
   7  Prefactor     .58938        2.6475        .39907E-07   -.37614E-04
   8  Prefactor     .10000E-03    3.9599        .15543E-07** at limit **
   9  Prefactor     19.457        10.588        .26665E-06    .72763E-05
  10  Prefactor     12.447        26.226       -.12013E-05   -.49670E-05
  11  Prefactor     .10000E-03    26.399        .17397E-05** at limit **
  12  Prefactor     14.015        7.8541        .97952E-06    .39256E-04
  13  Prefactor     .10000E-03    4.0895       -.93249E-07** at limit **
  14  norm          5.1233        2.6298       -.11731E-07   -.17912E-04
  15  Normalizat    1.0590        .17423        .48961E-07    .25026E-04
  16  Prefactor     .86894        .13508       -.47021E-07    .30101E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.73209
  Prefactor  = 0.0001
  Prefactor  = 15.6314
  norm       = 7.92104
  Prefactor  = 0.0001
  Prefactor  = 0.000100033
  Prefactor  = 0.589378
  Prefactor  = 0.0001
  Prefactor  = 19.4569
  Prefactor  = 12.4466
  Prefactor  = 0.0001
  Prefactor  = 14.0148
  Prefactor  = 0.0001
  norm       = 5.12325
  Normalizat = 1.05904
  Prefactor  = 0.868944
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.507     FROM HESSE     STATUS=OK           215 CALLS     1557 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7321        4.9600        .11354E-02   -1.5377    
   2  Prefactor     .10000E-03    3.2593        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.631        17.059        .10140E-03   -1.4917    
   4  norm          7.9210        8.1148        .14249E-03   -1.5145    
   5  Prefactor     .10000E-03    22.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10003E-03    2.9165        .40427E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .58938        10.487        .25507E-02   -1.5554    
   8  Prefactor     .10000E-03    3.9674        .16144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.457        10.616        .90630E-04   -1.4825    
  10  Prefactor     12.447        26.227        .11271E-03   -1.5002    
  11  Prefactor     .10000E-03    26.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.015        7.8506        .10700E-03   -1.4959    
  13  Prefactor     .10000E-03    4.1473        .16387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1233        2.6296        .93534E-04   -1.5255    
  15  Normalizat    1.0590        .20379        .24924E-03   -.91078    
  16  Prefactor     .86894        .15863        .21674E-03   -.97235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90454e-08
Minuit parameter uncertainties:
  1  4.96074
  2  1.61134e-06
  3  17.0644
  4  8.11593
  5  2.68994e-06
  6  0.00061677
  7  4.97273
  8  2.52876e-08
  9  10.6173
  10  26.2513
  11  9.75982e-06
  12  7.85117
  13  1.84018e-05
  14  2.62968
  15  0.203943
  16  0.158713
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.529e-08  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.689e-01  1.587e-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.059e+00  2.039e-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: 4.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/51976/likelihoodResults_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.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) = 6901.50866874
delta logL = -0.00119897590048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6901.50746978
delta logL = -1.40562406159e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2360       1.0000          .0000       10.000    
     3 'Normalizat'    1.0590       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86901       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6901.507     FROM MIGRAD    STATUS=FAILED        88 CALLS      236 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10272E-03    4.2043        .16260E-01** at limit **
   2  Index         2.0496        8.6563        .50000        .14609E-04
   3  Normalizat    1.0590        .41568E-02    .24924E-03    .27824E-05
   4  Prefactor     .86894        .33240E-02    .21674E-03    .50355E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6901.507     FROM SIMPLEX   STATUS=PROGRESS      96 CALLS      332 TOTAL
                     EDM=   .49E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10321E-03    4.2043        .25292E-03** at limit **
   2  Index         1.9577        8.6563        .31887E-01    .14609E-04
   3  Normalizat    1.0590        .41568E-02    .15430E-04    .27824E-05
   4  Prefactor     .86895        .33240E-02    .31085E-05    .50355E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6901.507     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      407 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    834.01        .33669E-03** at limit **
   2  Index         1.8488        5.7561        .50000       -.62573E-07
   3  Normalizat    1.0590        .88741E-01    .19939E-05   -.49376E-03
   4  Prefactor     .86895        .70914E-01    .17339E-05    .54158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.84881
  Normalizat = 1.05903
  Prefactor  = 0.868953
 **********
 **   18 **HESSE 
 **********

 FCN=   6901.507     FROM HESSE     STATUS=OK            29 CALLS      436 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9705        .67339E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8488        9.0462        .50000       -.68186    
   3  Normalizat    1.0590        .19481        .39879E-06   -.91078    
   4  Prefactor     .86895        .15584        .34678E-06   -.97235    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53209e-09
Minuit parameter uncertainties:
  1  2.0204e-05
  2  161.4
  3  0.194947
  4  0.155919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51976': 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) = 6901.50746837
delta logL = 1.39720123116e-06

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  2.020e-05  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  1.849e+00  1.614e+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:  8.690e-01  1.559e-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.059e+00  1.949e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/51976/cmap_HighResolution_627609601_627868801_4FGL_J1353.3+1434_daily_bin1498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-03', job_status='DONE', photon_flux_upper_limit='4.75e-08', time_completed='2021-09-08 17:29:22.418221', job_id='51976', GAL2='0.87', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631147362.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1498' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:29:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 51976: <4FGL_J1353.3+1434_daily_bin1498> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin1498> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:20:25 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:20:27 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:20:27 2021
Terminated at Wed Sep  8 17:29:23 2021
Results reported at Wed Sep  8 17:29:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1498 208.335 14.5755 627609601 627868801 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 :                                   507.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             387.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   535 sec.
    Turnaround time :                            538 sec.

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

