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


Performing analysis on: 4FGL_J1353.3+1434_daily_bin402
RA = 208.335, Dec = 14.5755
tmin = 343526401, tmax = 343785601
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='47240', job_status='RUN', time_executed='2021-09-08 17:05:53.258183', time_epoch_executed='1631145953.26' WHERE source_name='4FGL J1353.3+1434' and cadence='daily' and bin_id='402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/47240

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/47240/ft1_4FGL_J1353.3+1434_daily_bin402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/47240/ft1_4FGL_J1353.3+1434_daily_bin402.fits outfile=/scratch/kocevski/47240/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin402.fits ra=208.335 dec=14.5755 rad=12.0 tmin=343526401.0 tmax=343785601.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.79
user 2.57
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.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/47240/ft1_filteredMKT_4FGL_J1353.3+1434_daily_bin402.fits evtable="EVENTS" outfile="/scratch/kocevski/47240/ft1_filtered_4FGL_J1353.3+1434_daily_bin402.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.44
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/47240/ft1_filtered_4FGL_J1353.3+1434_daily_bin402.fits" evtable="EVENTS" scfile=/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits sctable="SC_DATA" outfile=/scratch/kocevski/47240/ltcube_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.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/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits
.....................!
real 11.57
user 11.28
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/47240/ft1_filtered_4FGL_J1353.3+1434_daily_bin402.fits evtable="EVENTS" scfile=/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits sctable="SC_DATA" expcube=/scratch/kocevski/47240/ltcube_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.fits outfile=/scratch/kocevski/47240/expmap_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.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/47240/ltcube_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.fits
.....................!
real 152.26
user 148.01
sys 3.93

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/47240/ft1_filtered_4FGL_J1353.3+1434_daily_bin402.fits scfile=/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits outfile=/scratch/kocevski/47240/cmap_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.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.49
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/47240/ft1_filtered_4FGL_J1353.3+1434_daily_bin402.fits scfile=/scratch/kocevski/47240/ft2_4FGL_J1353.3+1434_daily_bin402.fits outfile=/scratch/kocevski/47240/cmap_HighResolution_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.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.52
user 0.34
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21304E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.696       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    20.468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.928       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5966       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .81212       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.0083       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.218       1.0000         .10000E-03   10000.    
    11 'Prefactor '    43.962       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1886       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0363       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=   8097.703     FROM MIGRAD    STATUS=CONVERGED    297 CALLS     1259 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.8854        .42098E-06** at limit **
   2  Prefactor     24.695        12.790        .16831E-06    .53116E-04
   3  Prefactor     .10000E-03    17.816        .19233E-06** at limit **
   4  norm          20.495        10.701       -.14129E-06    .52747E-04
   5  Prefactor     44.918        37.085       -.19544E-05   -.30948E-03
   6  Prefactor     5.5953        4.2098        .95002E-07   -.75845E-04
   7  Prefactor     .81546        3.9446       -.11227E-05    .21957E-03
   8  Prefactor     .10000E-03    3.9728       -.48011E-07** at limit **
   9  Prefactor     9.0062        11.227        .23975E-05   -.11072E-03
  10  Prefactor     13.217        15.435        .16622E-07    .14774E-05
  11  Prefactor     43.961        24.045        .52731E-07   -.13771E-04
  12  Prefactor     .10000E-03    2.4849        .34175E-07** at limit **
  13  Prefactor     .10000E-03    1.6984        .30179E-07** at limit **
  14  norm          .10000E-03    1.1194        .46133E-07** at limit **
  15  Normalizat    1.1888        .18968       -.84228E-06    .72014E-04
  16  Prefactor     1.0362        .14366        .87009E-07    .30533E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  Prefactor  = 24.6948
  Prefactor  = 0.0001
  norm       = 20.4947
  Prefactor  = 44.9183
  Prefactor  = 5.59527
  Prefactor  = 0.815457
  Prefactor  = 0.0001
  Prefactor  = 9.00625
  Prefactor  = 13.2174
  Prefactor  = 43.9611
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.18877
  Prefactor  = 1.03616
 **********
 **   18 **HESSE 
 **********

 FCN=   8097.703     FROM HESSE     STATUS=OK           205 CALLS     1464 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.390        .35460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.695        12.812        .80608E-04   -1.4714    
   3  Prefactor     .10000E-03    17.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          20.495        10.023        .88532E-04   -1.4802    
   5  Prefactor     44.918        38.881        .29907E-03   -1.4367    
   6  Prefactor     5.5953        4.2158        .15179E-03   -1.5235    
   7  Prefactor     .81546        6.5684        .30982E-02   -1.5527    
   8  Prefactor     .10000E-03    3.9774        .17515E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.0062        11.645        .66770E-03   -1.5108    
  10  Prefactor     13.217        15.442        .11017E-03   -1.4981    
  11  Prefactor     43.961        24.074        .60466E-04   -1.4381    
  12  Prefactor     .10000E-03    2.4939        .13852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.7031        .11452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.1564        .18593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1888        .22676        .27610E-03   -.86951    
  16  Prefactor     1.0362        .17200        .23055E-03   -.91534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33444e-10
Minuit parameter uncertainties:
  1  0.000203921
  2  12.813
  3  4.85822e-05
  4  10.0238
  5  38.9034
  6  4.21605
  7  4.62913
  8  1.57295e-06
  9  11.6482
  10  15.4465
  11  24.079
  12  1.39053e-06
  13  1.0644e-06
  14  1.28629e-06
  15  0.226949
  16  0.172092
Done.

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

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.573e-06  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  2.249e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  1.282e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
483    Prefactor:  1.036e+00  1.721e-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.189e+00  2.269e-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.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/47240/likelihoodResults_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.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) = 8097.70377276
delta logL = -0.00119440541584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8097.70257832
delta logL = 3.83179212804e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2396       1.0000          .0000       10.000    
     3 'Normalizat'    1.1888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0362       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=   8097.703     FROM MIGRAD    STATUS=FAILED        88 CALLS      240 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10163E-03    177.01        .17583E-02** at limit **
   2  Index         2.1128        8.8896        .50000        .13553E-04
   3  Normalizat    1.1888        .30999E-01    .27610E-03    .10706E-05
   4  Prefactor     1.0362        .24493E-01    .23055E-03    .37476E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8097.703     FROM SIMPLEX   STATUS=UNCHANGED    133 CALLS      373 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10163E-03    177.01        .34231E-03** at limit **
   2  Index         2.1128        8.8896        .26305E-03    .13553E-04
   3  Normalizat    1.1888        .30999E-01    .48795E-05    .10706E-05
   4  Prefactor     1.0362        .24493E-01    .40757E-05    .37476E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8097.703     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      416 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    901.79        .35166E-03** at limit **
   2  Index         1.8895        8.4701        .50000       -.57230E-07
   3  Normalizat    1.1888        .11894        .11044E-04    .36647E-04
   4  Prefactor     1.0362        .93844E-01    .92222E-05    .46105E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.88948
  Normalizat = 1.18877
  Prefactor  = 1.03616
 **********
 **   18 **HESSE 
 **********

 FCN=   8097.703     FROM HESSE     STATUS=OK            29 CALLS      445 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6194        .70332E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8895        6.6193        .50000       -.67143    
   3  Normalizat    1.1888        .21452        .22088E-05   -.86951    
   4  Prefactor     1.0362        .16952        .18444E-05   -.91534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99165e-12
Minuit parameter uncertainties:
  1  1.65456e-06
  2  169.448
  3  0.214675
  4  0.169612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/47240': 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) = 8097.70257741
delta logL = 9.45781721384e-07

Extracting fit parameters...

4FGL J1353.3+1434
   Spectrum: PowerLaw
265    Prefactor:  1.000e-04  1.655e-06  1.000e-04  1.000e+04 ( 1.000e-13)
266        Index:  1.889e+00  1.694e+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:  1.036e+00  1.696e-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.189e+00  2.147e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/47240/cmap_HighResolution_343526401_343785601_4FGL_J1353.3+1434_daily_bin402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-03', job_status='DONE', photon_flux_upper_limit='4.95e-08', time_completed='2021-09-08 17:13:17.097585', job_id='47240', GAL2='1.04', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631146397.1', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.46e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='402' AND source_name='4FGL J1353.3+1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 17:13:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 47240: <4FGL_J1353.3+1434_daily_bin402> in cluster <slac> Done

Job <4FGL_J1353.3+1434_daily_bin402> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  8 17:05:22 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 17:05:38 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:05:38 2021
Terminated at Wed Sep  8 17:13:17 2021
Results reported at Wed Sep  8 17:13:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1353.3+1434_daily_bin402 208.335 14.5755 343526401 343785601 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 :                                   440.39 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   459 sec.
    Turnaround time :                            475 sec.

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

