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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1039
RA = 207.843, Dec = 11.2502
tmin = 508636801, tmax = 508896001
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='25032', job_status='RUN', time_executed='2021-09-08 15:50:33.012478', time_epoch_executed='1631141433.01' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1039'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25032

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25032/ft1_4FGL_J1351.3+1115_daily_bin1039.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25032/ft1_4FGL_J1351.3+1115_daily_bin1039.fits outfile=/scratch/kocevski/25032/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1039.fits ra=207.843 dec=11.2502 rad=12.0 tmin=508636801.0 tmax=508896001.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.80
user 3.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.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/25032/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1039.fits evtable="EVENTS" outfile="/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.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.52
user 0.38
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits" evtable="EVENTS" scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits sctable="SC_DATA" outfile=/scratch/kocevski/25032/ltcube_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.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/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits
.....................!
real 17.07
user 16.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits evtable="EVENTS" scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits sctable="SC_DATA" expcube=/scratch/kocevski/25032/ltcube_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits outfile=/scratch/kocevski/25032/expmap_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.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/25032/ltcube_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits
.....................!
real 193.30
user 187.54
sys 4.83

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 150 point sources and 0 extended sources

Setting source of interest to:
4FGL J1351.3+1115 @ 207.843 11.2502

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits outfile=/scratch/kocevski/25032/cmap_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.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=207.843 yref=11.2502 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits outfile=/scratch/kocevski/25032/cmap_HighResolution_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.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=207.843 yref=11.2502 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits evtable="EVENTS" scfile=/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/25032/Model_4FGL_J1351.3+1115_daily_bin1039.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/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits.....................!
real 51.15
user 49.80
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits', '/scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits', expMap='/scratch/kocevski/25032/expmap_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits', expCube='/scratch/kocevski/25032/ltcube_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25032/Model_4FGL_J1351.3+1115_daily_bin1039.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1351.3+1115'

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.085e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/25032/ft1_filtered_4FGL_J1351.3+1115_daily_bin1039.fits
Spacecraft file(s): /scratch/kocevski/25032/ft2_4FGL_J1351.3+1115_daily_bin1039.fits
Exposure map: /scratch/kocevski/25032/expmap_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits
Exposure cube: /scratch/kocevski/25032/ltcube_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25032/Model_4FGL_J1351.3+1115_daily_bin1039.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) = 6815.56070452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1285       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.391       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.8393       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11507E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5276       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.751       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10279E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.479       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12281E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10756E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.222       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.973       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1322       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .88497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6815.507     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1375 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1289        8.7857        .35156E-02   -.39302E-03
   2  Prefactor     16.391        19.790        .24732E-02    .35823E-04
   3  Prefactor     6.8376        115.02        .38354E-02    .47710E-03
   4  Prefactor     .10000E-03    1.0674        .90712E-02** at limit **
   5  Prefactor     .10000E-03    31.879        .90712E-02** at limit **
   6  Prefactor     1.5270        3.2657        .86360E-02    .78491E-03
   7  Prefactor     12.748        14.762        .28044E-02   -.32532E-03
   8  Prefactor     .10000E-03    15.377        .90712E-02** at limit **
   9  Prefactor     19.488        13.960        .22687E-02    .94972E-03
  10  Prefactor     .10000E-03    9.4313        .13976    ** at limit **
  11  Prefactor     .10000E-03    9.3851        .90712E-02** at limit **
  12  Prefactor     .10000E-03    24.015        .90712E-02** at limit **
  13  norm          12.207        20.046        .28645E-02   -.70223E-03
  14  Prefactor     .10000E-03    3.2570        .90712E-02** at limit **
  15  Prefactor     17.972        8.4647        .23618E-02    .64677E-03
  16  Normalizat    1.1319        .18214        .57997E-01   -.25139E-03
  17  Prefactor     .88519        .13822        .44813E-01   -.28201E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.12893
  Prefactor  = 16.3915
  Prefactor  = 6.83757
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.527
  Prefactor  = 12.7476
  Prefactor  = 0.0001
  Prefactor  = 19.4877
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.2067
  Prefactor  = 0.0001
  Prefactor  = 17.9716
  Normalizat = 1.13189
  Prefactor  = 0.885188
 **********
 **   18 **HESSE 
 **********

 FCN=   6815.507     FROM HESSE     STATUS=OK           215 CALLS     1590 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1289        8.7907        .14062E-03   -1.5138    
   2  Prefactor     16.391        19.790        .98927E-04   -1.4898    
   3  Prefactor     6.8376        114.77        .15342E-03   -1.5185    
   4  Prefactor     .10000E-03    1.0734        .83275E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5270        3.2294        .20993E-03   -1.5461    
   7  Prefactor     12.748        14.762        .11217E-03   -1.4994    
   8  Prefactor     .10000E-03    15.632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.488        13.706        .90749E-04   -1.4825    
  10  Prefactor     .10000E-03    96.318        .47866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.3982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.207        20.043        .11458E-03   -1.5009    
  14  Prefactor     .10000E-03    3.2735        .14541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.972        8.4616        .94474E-04   -1.4860    
  16  Normalizat    1.1319        .22040        .25648E-03   -.88734    
  17  Prefactor     .88519        .16690        .21768E-03   -.96661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41005e-08
Minuit parameter uncertainties:
  1  8.79205
  2  19.7982
  3  56.1524
  4  4.43016e-06
  5  0.000207952
  6  3.22978
  7  14.7665
  8  1.57996e-05
  9  13.7086
  10  0.000820278
  11  4.56842e-05
  12  2.35696e-05
  13  20.0544
  14  2.36606e-06
  15  8.4622
  16  0.220579
  17  0.166996
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.527e+00  3.230e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.884e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  8.852e-01  1.670e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.132e+00  2.206e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 5.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/25032/likelihoodResults_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.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) = 6815.42905899
delta logL = 0.0783780568436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6815.42524954
delta logL = 0.0821875106776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3140       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5642       1.0000          .0000       10.000    
     3 'Normalizat'    1.1354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88269       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6815.425     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      234 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3141        156.20        .67423E-02    .41416E-03
   2  Index         1.5646        5.6010        .29116        .22335E-04
   3  Normalizat    1.1355        .50703E-01    .57915E-01    .10708E-04
   4  Prefactor     .88266        .35691E-01    .44784E-01    .11237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.31405
  Index      = 1.56463
  Normalizat = 1.13546
  Prefactor  = 0.882658
 **********
 **   18 **HESSE 
 **********

 FCN=   6815.425     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3141        4.1776        .21785E-03   -1.5404    
   2  Index         1.5646        .73191        .10391E-01   -.75745    
   3  Normalizat    1.1355        .21626        .25612E-03   -.88621    
   4  Prefactor     .88266        .16588        .21793E-03   -.96750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43241e-10
Minuit parameter uncertainties:
  1  4.17814
  2  0.736958
  3  0.216425
  4  0.165973
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25032': 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) = 6815.42524932
delta logL = 0.0821877285707

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  2.314e+00  4.178e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.565e+00  7.370e-01  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  2.645e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
489    Prefactor:  8.827e-01  1.660e-01  0.000e+00  1.000e+01 ( 1.000e+00)
490        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
491        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
488   Normalization:  1.135e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
Ra Dec: 207.843 11.250

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/25032/cmap_HighResolution_508636801_508896001_4FGL_J1351.3+1115_daily_bin1039.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-03', job_status='DONE', photon_flux_upper_limit='5.86e-08', time_completed='2021-09-08 15:59:07.082843', job_id='25032', GAL2='0.88', fit_tolerance='1e-08', EG2='1.14', EG='1.13', time_epoch_completed='1631141947.08', return_code2='0', ts='0.30', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='8.22e-02', ts2='0.46', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1039' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:59:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 25032: <4FGL_J1351.3+1115_daily_bin1039> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1039> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:50:16 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:50:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  8 15:50:18 2021
Terminated at Wed Sep  8 15:59:07 2021
Results reported at Wed Sep  8 15:59:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1039 207.843 11.2502 508636801 508896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   510.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             345.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   529 sec.
    Turnaround time :                            531 sec.

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

