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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin1048
RA = 208.335, Dec = 14.5755
tmin = 510969601, tmax = 511228801
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='50224', job_status='RUN', time_executed='2021-09-08 17:17:51.374355', time_epoch_executed='1631146671.37' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='1048'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/50224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/50224/ft1_4FGL_J1353.3+1434_daily_bin1048.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/50224/ft2_4FGL_J1353.3+1434_daily_bin1048.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/50224/ft1_4FGL_J1353.3+1434_daily_bin1048.fits outfile=/scratch/kocevski/50224/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin1048.fits ra=208.335 dec=14.5755 rad=12.0 tmin=510969601.0 tmax=511228801.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.48
user 3.23
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/50224/ft1_filtered_4FGL_J1353.3+1434_daily_bin1048.fits evtable="EVENTS" scfile=/scratch/kocevski/50224/ft2_4FGL_J1353.3+1434_daily_bin1048.fits sctable="SC_DATA" expcube=/scratch/kocevski/50224/ltcube_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.fits outfile=/scratch/kocevski/50224/expmap_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.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/50224/ltcube_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.fits
.....................!
real 192.76
user 187.14
sys 4.19

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/50224/ft1_filtered_4FGL_J1353.3+1434_daily_bin1048.fits scfile=/scratch/kocevski/50224/ft2_4FGL_J1353.3+1434_daily_bin1048.fits outfile=/scratch/kocevski/50224/cmap_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/50224/ft1_filtered_4FGL_J1353.3+1434_daily_bin1048.fits scfile=/scratch/kocevski/50224/ft2_4FGL_J1353.3+1434_daily_bin1048.fits outfile=/scratch/kocevski/50224/cmap_HighResolution_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.718       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.8174       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.583       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.852       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.870       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.756       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.7881       1.0000         .10000E-03   10000.    
    14 'norm      '    11.903       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2099       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .57997       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=   4938.219     FROM MIGRAD    STATUS=CONVERGED    285 CALLS     1228 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8974        .90712E-02** at limit **
   2  Prefactor     12.718        11.024        .28080E-02    .31818E-04
   3  Prefactor     .10000E-03    23.246        .90712E-02** at limit **
   4  norm          8.8169        8.0186        .33746E-02    .69245E-03
   5  Prefactor     .10000E-03    30.225        .90712E-02** at limit **
   6  Prefactor     .10000E-03    1.4015        .90712E-02** at limit **
   7  Prefactor     .10000E-03    4.4768        .90712E-02** at limit **
   8  Prefactor     18.582        15.407        .23227E-02    .16756E-03
   9  Prefactor     19.850        13.227        .22473E-02    .33961E-03
  10  Prefactor     18.868        21.882        .23050E-02    .17149E-02
  11  Prefactor     25.756        21.435        .19733E-02    .44871E-03
  12  Prefactor     .10000E-03    1.9795        .90712E-02** at limit **
  13  Prefactor     9.7880        5.5838        .32021E-02    .29064E-02
  14  norm          11.903        4.0893        .29027E-02   -.29279E-02
  15  Normalizat    1.2100        .19178        .49522E-01    .12139E-04
  16  Prefactor     .57990        .14597        .40780E-01    .23108E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.7178
  Prefactor  = 0.0001
  norm       = 8.81687
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.5825
  Prefactor  = 19.8505
  Prefactor  = 18.8682
  Prefactor  = 25.7561
  Prefactor  = 0.0001
  Prefactor  = 9.78797
  norm       = 11.9031
  Normalizat = 1.21003
  Prefactor  = 0.579898
 **********
 **   18 **HESSE 
 **********

 FCN=   4938.219     FROM HESSE     STATUS=OK           197 CALLS     1425 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8995        .94514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.718        11.038        .11232E-03   -1.4995    
   3  Prefactor     .10000E-03    23.335        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.8169        8.0492        .13498E-03   -1.5114    
   5  Prefactor     .10000E-03    30.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4156        .81223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.5600        .14508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.582        15.430        .92909E-04   -1.4846    
   9  Prefactor     19.850        13.316        .89893E-04   -1.4817    
  10  Prefactor     18.868        21.885        .92201E-04   -1.4839    
  11  Prefactor     25.756        21.438        .78933E-04   -1.4693    
  12  Prefactor     .10000E-03    1.9860        .96545E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.7880        5.5829        .12083E-03   -1.5082    
  14  norm          11.903        4.0892        .80407E-04   -1.5018    
  15  Normalizat    1.2100        .22757        .21893E-03   -.86293    
  16  Prefactor     .57990        .17151        .23973E-03   -1.0844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21567e-08
Minuit parameter uncertainties:
  1  9.44244e-07
  2  11.0397
  3  6.55217e-05
  4  8.05023
  5  2.45189e-05
  6  2.56591e-06
  7  1.31185e-06
  8  15.4329
  9  13.3177
  10  21.8944
  11  21.4443
  12  4.12724e-07
  13  5.58315
  14  4.08926
  15  0.227754
  16  0.171666
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.858e+01  1.543e+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:  5.799e-01  1.717e-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.210e+00  2.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.65
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 4.62e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 1.90e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/50224/likelihoodResults_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.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) = 4937.83793549
delta logL = 0.380750341879

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4937.80525716
delta logL = 0.413428670183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3371       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6320       1.0000          .0000       10.000    
     3 'Normalizat'    1.1345       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62427       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=   4937.805     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      255 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3163        25.059        .67054E-02    .34593E-03
   2  Index         3.6362        2.5843        .95184E-01    .14665E-03
   3  Normalizat    1.1345        .62205E-01    .36741E-01    .37734E-05
   4  Prefactor     .62437        .47121E-01    .41384E-01    .13778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.31631
  Index      = 3.63616
  Normalizat = 1.13449
  Prefactor  = 0.624371
 **********
 **   18 **HESSE 
 **********

 FCN=   4937.805     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3163        43.449        .64054E-04   -1.5404    
   2  Index         3.6362        3.7199        .36207E-02   -.27627    
   3  Normalizat    1.1345        .22321        .22476E-03   -.88652    
   4  Prefactor     .62437        .17065        .23177E-03   -1.0657    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.59231e-10
Minuit parameter uncertainties:
  1  20.0804
  2  4.25254
  3  0.223398
  4  0.170796
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/50224': 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) = 4937.80525417
delta logL = 0.413431660219

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.316e+00  2.008e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  3.636e+00  4.253e+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:  6.244e-01  1.708e-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.134e+00  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.57
Ra Dec: 208.335 14.575
Photon Index (Free Index): 3.64 +/- 4.25
Photon Flux (Free Index): 9.42e-08 +/- 8.08e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.12e-05

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/50224/cmap_HighResolution_510969601_511228801_4FGL_J1353.3+1434_daily_bin1048.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', comment='SUCCESS', photon_flux='4.62e-08', energy_flux2='1.51e-05', photon_flux_error='3.84e-08', dlogl='4.13e-01', energy_flux='1.90e-05', photon_flux2='9.42e-08', job_status='DONE', time_completed='2021-09-08 17:25:26.140439', photon_index_error2='4.25', photon_index2='3.64', ts='2.65', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='1.31e-07', energy_flux_error2='1.12e-05', EG='1.21', time_epoch_completed='1631147126.14', return_code='0', job_id='50224', GAL2='0.62', EG2='1.13', return_code2='102', energy_flux_error='1.58e-05', photon_flux_error2='8.08e-08', ts2='3.57', photon_index='2.25' WHERE bin_id='1048' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:25:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 50224: <4FGL_J1353.3+1434_daily_bin1048> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin1048 208.335 14.5755 510969601 511228801 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 :                                   450.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             244.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            605 sec.

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

