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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1269
RA = 207.843, Dec = 11.2502
tmin = 568252801, tmax = 568512001
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='25369', job_status='RUN', time_executed='2021-09-08 15:52:04.703214', time_epoch_executed='1631141524.7' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1269'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25369

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25369/ft1_4FGL_J1351.3+1115_daily_bin1269.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25369/ft1_4FGL_J1351.3+1115_daily_bin1269.fits outfile=/scratch/kocevski/25369/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1269.fits ra=207.843 dec=11.2502 rad=12.0 tmin=568252801.0 tmax=568512001.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.68
user 3.44
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.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/25369/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1269.fits evtable="EVENTS" outfile="/scratch/kocevski/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.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.37
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits" evtable="EVENTS" scfile=/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits sctable="SC_DATA" outfile=/scratch/kocevski/25369/ltcube_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.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/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits
.....................!
real 16.13
user 15.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits evtable="EVENTS" scfile=/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits sctable="SC_DATA" expcube=/scratch/kocevski/25369/ltcube_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits outfile=/scratch/kocevski/25369/expmap_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.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/25369/ltcube_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits
.....................!
real 192.04
user 186.57
sys 4.91

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/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits scfile=/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits outfile=/scratch/kocevski/25369/cmap_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.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.66
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits scfile=/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits outfile=/scratch/kocevski/25369/cmap_HighResolution_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.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.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits', '/scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits', expMap='/scratch/kocevski/25369/expmap_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits', expCube='/scratch/kocevski/25369/ltcube_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25369/Model_4FGL_J1351.3+1115_daily_bin1269.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/25369/ft1_filtered_4FGL_J1351.3+1115_daily_bin1269.fits
Spacecraft file(s): /scratch/kocevski/25369/ft2_4FGL_J1351.3+1115_daily_bin1269.fits
Exposure map: /scratch/kocevski/25369/expmap_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits
Exposure cube: /scratch/kocevski/25369/ltcube_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25369/Model_4FGL_J1351.3+1115_daily_bin1269.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) = 2507.09389271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    53.993       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5096       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6169       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11798E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    153.97       1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.611       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    31.225       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    36.159       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1732       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .67417       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2507.091     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1554 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.740       -.50981E-06** at limit **
   2  Prefactor     53.973        67.662       -.88704E-06   -.34247E-04
   3  Prefactor     5.1421        585.28       -.64065E-04   -.16357E-04
   4  Prefactor     .10000E-03    5.7827       -.61863E-06** at limit **
   5  Prefactor     .10000E-03    111.78       -.36612E-06** at limit **
   6  Prefactor     .10000E-03    9.9361       -.55545E-05** at limit **
   7  Prefactor     .10000E-03    9.4671       -.44734E-06** at limit **
   8  Prefactor     1.5703        56.741        .64577E-05    .61526E-04
   9  Prefactor     .10000E-03    89.344       -.60203E-06** at limit **
  10  Prefactor     153.90        126.04        .87357E-06   -.26451E-05
  11  Prefactor     46.602        43.117       -.76764E-06   -.34230E-04
  12  Prefactor     .10000E-03    29.898        .37167E-06** at limit **
  13  norm          31.202        49.208        .18676E-06   -.10321E-04
  14  Prefactor     .10000E-03    27.876        .17158E-05** at limit **
  15  Prefactor     36.150        14.912       -.63569E-06   -.20461E-03
  16  Normalizat    1.1734        .35450        .74709E-05   -.27069E-03
  17  Prefactor     .67444        .23956       -.90231E-05   -.15091E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 53.9732
  Prefactor  = 5.14211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.57032
  Prefactor  = 0.0001
  Prefactor  = 153.904
  Prefactor  = 46.6023
  Prefactor  = 0.0001
  norm       = 31.2019
  Prefactor  = 0.000100001
  Prefactor  = 36.1498
  Normalizat = 1.17338
  Prefactor  = 0.674442
 **********
 **   18 **HESSE 
 **********

 FCN=   2507.091     FROM HESSE     STATUS=OK           213 CALLS     1767 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     53.973        67.649        .54586E-04   -1.4237    
   3  Prefactor     5.1421        600.75        .17117E-02   -1.5254    
   4  Prefactor     .10000E-03    5.7906        .11755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    111.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.9352        .15308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.4748        .15046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.5703        59.245        .33294E-03   -1.5457    
   9  Prefactor     .10000E-03    89.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     153.90        126.13        .16244E-03   -1.3220    
  11  Prefactor     46.602        43.125        .58729E-04   -1.4342    
  12  Prefactor     .10000E-03    29.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          31.202        49.221        .71704E-04   -1.4590    
  14  Prefactor     .10000E-03    28.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     36.150        14.889        .66647E-04   -1.4505    
  16  Normalizat    1.1734        .41174        .25590E-03   -.87429    
  17  Prefactor     .67444        .27672        .23913E-03   -1.0454    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41138e-09
Minuit parameter uncertainties:
  1  5.61053e-06
  2  67.746
  3  112.333
  4  1.22107e-06
  5  0.000291513
  6  3.54896e-05
  7  5.1575e-07
  8  19.3108
  9  0.000176754
  10  126.348
  11  43.1536
  12  5.38343e-05
  13  49.2847
  14  0.000300859
  15  14.8908
  16  0.412885
  17  0.277283
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  3.549e-05  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:  6.744e-01  2.773e-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.173e+00  4.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 207.843 11.250
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/25369/likelihoodResults_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.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) = 2507.09117239
delta logL = -0.000479440597701

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2507.09069269
delta logL = 2.55158283835e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9199       1.0000          .0000       10.000    
     3 'Normalizat'    1.1734       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67444       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=   2507.091     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    121.42        .90712E-02** at limit **
   2  Index         1.9589        8.4057        .50000       -.30964E-04
   3  Normalizat    1.1734        .25299E-01    .57862E-01    .14027E-04
   4  Prefactor     .67443        .18507E-01    .42060E-01   -.45907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100008
  Index      = 1.95887
  Normalizat = 1.17339
  Prefactor  = 0.674433
 **********
 **   18 **HESSE 
 **********

 FCN=   2507.091     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    542.56        .16192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9589        5.9516        .50000       -.65382    
   3  Normalizat    1.1734        .55808E-01    .25588E-03   -.87429    
   4  Prefactor     .67443        .40832E-01    .23913E-03   -1.0454    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63204e-07
Minuit parameter uncertainties:
  1  0.00415186
  2  27.9829
  3  0.0558107
  4  0.0408335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25369': 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) = 2507.09069239
delta logL = 5.54840880795e-07

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  4.152e-03  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.959e+00  2.798e+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:  6.744e-01  4.083e-02  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.173e+00  5.581e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 207.843 11.250

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/25369/cmap_HighResolution_568252801_568512001_4FGL_J1351.3+1115_daily_bin1269.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.29e-07', time_completed='2021-09-08 15:58:40.992238', job_id='25369', GAL2='0.67', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631141920.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='5.55e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1269' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:58:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 25369: <4FGL_J1351.3+1115_daily_bin1269> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1269> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  8 15:50:40 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:51:54 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:51:54 2021
Terminated at Wed Sep  8 15:58:41 2021
Results reported at Wed Sep  8 15:58:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1269 207.843 11.2502 568252801 568512001 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 :                                   390.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   407 sec.
    Turnaround time :                            481 sec.

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

