/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 0 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 = 7487
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1353.3+1434_daily_bin319
RA = 208.335, Dec = 14.5755
tmin = 322012801, tmax = 322272001
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='45975', job_status='RUN', time_executed='2021-09-08 17:01:23.890326', time_epoch_executed='1631145683.89' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='319'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45975/ft1_4FGL_J1353.3+1434_daily_bin319.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45975/ft1_4FGL_J1353.3+1434_daily_bin319.fits outfile=/scratch/kocevski/45975/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin319.fits ra=208.335 dec=14.5755 rad=12.0 tmin=322012801.0 tmax=322272001.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.43
user 3.17
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45975/ft1_filtered_4FGL_J1353.3+1434_daily_bin319.fits" evtable="EVENTS" scfile=/scratch/kocevski/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits sctable="SC_DATA" outfile=/scratch/kocevski/45975/ltcube_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.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/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits
.....................!
real 16.14
user 15.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45975/ft1_filtered_4FGL_J1353.3+1434_daily_bin319.fits evtable="EVENTS" scfile=/scratch/kocevski/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits sctable="SC_DATA" expcube=/scratch/kocevski/45975/ltcube_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.fits outfile=/scratch/kocevski/45975/expmap_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.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/45975/ltcube_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.fits
.....................!
real 192.17
user 186.54
sys 4.87

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/45975/ft1_filtered_4FGL_J1353.3+1434_daily_bin319.fits scfile=/scratch/kocevski/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits outfile=/scratch/kocevski/45975/cmap_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45975/ft1_filtered_4FGL_J1353.3+1434_daily_bin319.fits scfile=/scratch/kocevski/45975/ft2_4FGL_J1353.3+1434_daily_bin319.fits outfile=/scratch/kocevski/45975/cmap_HighResolution_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.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.56
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2383       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    22.518       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.2596       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.116       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9579       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.418       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.395       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.674       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.544       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.6863       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8102       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3849       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .74856       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=   6089.838     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1447 TOTAL
                     EDM=   .95E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2381        2.9138       -.10041E-06   -.29896E-02
   2  Prefactor     .10000E-03    3.0195        .21982E-07** at limit **
   3  Prefactor     .10000E-03    13.996        .17969E-06** at limit **
   4  norm          22.522        9.6373        .58254E-06    .52931E-04
   5  Prefactor     6.2559        64.584       -.10967E-04   -.18669E-04
   6  Prefactor     19.117        6.1924        .44611E-06    .66972E-04
   7  Prefactor     1.9580        4.2244       -.43862E-06   -.19171E-03
   8  Prefactor     22.422        17.107        .39924E-05    .11846E-03
   9  Prefactor     15.398        13.781        .23061E-05    .67627E-04
  10  Prefactor     24.667        35.290       -.10935E-04   -.94876E-04
  11  Prefactor     15.544        24.893        .49151E-06   -.79637E-06
  12  Prefactor     3.6880        7.2076        .17706E-05   -.13393E-02
  13  Prefactor     .10000E-03    10.200       -.23868E-06** at limit **
  14  norm          3.8101        3.5009       -.35079E-07   -.98490E-04
  15  Normalizat    1.3845        .20740       -.10261E-05    .69937E-04
  16  Prefactor     .74885        .15914        .75846E-06   -.50662E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.23808
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 22.5216
  Prefactor  = 6.25588
  Prefactor  = 19.1167
  Prefactor  = 1.95801
  Prefactor  = 22.4224
  Prefactor  = 15.3979
  Prefactor  = 24.6669
  Prefactor  = 15.5443
  Prefactor  = 3.68795
  Prefactor  = 0.0001
  norm       = 3.81015
  Normalizat = 1.38448
  Prefactor  = 0.748846
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.838     FROM HESSE     STATUS=OK           207 CALLS     1654 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2381        4.6081        .11495E-02   -1.5409    
   2  Prefactor     .10000E-03    3.0228        .13243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          22.522        9.7727        .84409E-04   -1.4758    
   5  Prefactor     6.2559        64.731        .16044E-03   -1.5208    
   6  Prefactor     19.117        6.2023        .91608E-04   -1.4833    
   7  Prefactor     1.9580        4.2108        .22695E-03   -1.5428    
   8  Prefactor     22.422        17.120        .84597E-04   -1.4761    
   9  Prefactor     15.398        13.819        .10208E-03   -1.4923    
  10  Prefactor     24.667        35.448        .80643E-04   -1.4714    
  11  Prefactor     15.544        24.908        .10159E-03   -1.4919    
  12  Prefactor     3.6880        8.3016        .10518E-02   -1.5324    
  13  Prefactor     .10000E-03    10.527        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8101        3.4961        .13387E-03   -1.5318    
  15  Normalizat    1.3845        .24705        .24740E-03   -.81079    
  16  Prefactor     .74885        .18750        .25451E-03   -1.0164    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18822e-08
Minuit parameter uncertainties:
  1  4.60887
  2  4.39822e-07
  3  3.90771e-06
  4  9.77344
  5  40.3027
  6  6.2025
  7  4.21145
  8  17.1234
  9  13.8223
  10  35.4782
  11  24.9246
  12  8.30418
  13  3.4406e-05
  14  3.49631
  15  0.247268
  16  0.187658
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  2.242e+01  1.712e+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.488e-01  1.877e-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.384e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.90
Ra Dec: 208.335 14.575
Photon Index (Fixed Index): 2.25 +/- 0.00
Photon Flux (Fixed Index): 5.58e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 2.29e-05 +/- 1.75e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6089.56074288
delta logL = 0.277725643467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6089.53052274
delta logL = 0.30794578574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.037       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8895       1.0000          .0000       10.000    
     3 'Normalizat'    1.3171       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77968       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6089.531     FROM MIGRAD    STATUS=FAILED       100 CALLS      294 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.997        31.029        .55469E-03   -.31932E-04
   2  Index         2.8910        1.4526        .41366E-02    .63177E-03
   3  Normalizat    1.3175        .26687        .25224E-03   -.69410E-05
   4  Prefactor     .77934        .19790        .24982E-03   -.14335E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6089.531     FROM SIMPLEX   STATUS=UNCHANGED     84 CALLS      378 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.997        31.029        .18523E-03   -1.4987    
   2  Index         2.8910        1.4526        .65012E-03   -.43544    
   3  Normalizat    1.3175        .26687        .18461E-03   -.83046    
   4  Prefactor     .77934        .19790        .15963E-03   -1.0049    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6089.531     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      418 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.997        18.057        .22188E-04    .40991E-05
   2  Index         2.8910        .85366        .82733E-03    .23984E-04
   3  Normalizat    1.3175        .25037        .10089E-04    .22536E-06
   4  Prefactor     .77934        .18999        .99929E-05    .91014E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.9968
  Index      = 2.89097
  Normalizat = 1.31747
  Prefactor  = 0.779338
 **********
 **   18 **HESSE 
 **********

 FCN=   6089.531     FROM HESSE     STATUS=OK            25 CALLS      443 TOTAL
                     EDM=   .21E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.997        17.211        .88751E-06   -1.4987    
   2  Index         2.8910        .81389        .16547E-03   -.43544    
   3  Normalizat    1.3175        .24934        .20179E-05   -.83046    
   4  Prefactor     .77934        .18948        .99929E-05   -1.0049    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12042e-13
Minuit parameter uncertainties:
  1  17.2178
  2  0.818326
  3  0.249568
  4  0.189636
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45975': 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) = 6089.53051755
delta logL = 0.307950977525

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.300e+01  1.722e+01  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.891e+00  8.183e-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:  7.793e-01  1.896e-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.317e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.57
Ra Dec: 208.335 14.575
Photon Index (Free Index): 2.89 +/- 0.82
Photon Flux (Free Index): 1.10e-07 +/- 7.82e-08
Energy Flux (Free Index): 2.32e-05 +/- 1.28e-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/45975/cmap_HighResolution_322012801_322272001_4FGL_J1353.3+1434_daily_bin319.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.58e-08', energy_flux2='2.32e-05', photon_flux_error='4.26e-08', dlogl='3.08e-01', energy_flux='2.29e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-09-08 17:09:26.114086', photon_index_error2='0.82', photon_index2='2.89', ts='4.90', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='1.38', time_epoch_completed='1631146166.11', return_code='0', job_id='45975', GAL2='0.78', EG2='1.32', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='7.82e-08', ts2='5.57', photon_index='2.25' WHERE bin_id='319' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:09:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 45975: <4FGL_J1353.3+1434_daily_bin319> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin319> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep  8 17:00:42 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:01:15 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:01:15 2021
Terminated at Wed Sep  8 17:09:26 2021
Results reported at Wed Sep  8 17:09:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin319 208.335 14.5755 322012801 322272001 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 :                                   474.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             345.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   491 sec.
    Turnaround time :                            524 sec.

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

