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


Performing analysis on: 4FGL_J1351.3+1115_daily_bin90
RA = 207.843, Dec = 11.2502
tmin = 262656001, tmax = 262915201
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='19971', job_status='RUN', time_executed='2021-09-08 15:37:58.655839', time_epoch_executed='1631140678.66' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='90'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19971/ft1_4FGL_J1351.3+1115_daily_bin90.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19971/ft1_4FGL_J1351.3+1115_daily_bin90.fits outfile=/scratch/kocevski/19971/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin90.fits ra=207.843 dec=11.2502 rad=12.0 tmin=262656001.0 tmax=262915201.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 1.45
user 1.28
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.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/19971/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin90.fits evtable="EVENTS" outfile="/scratch/kocevski/19971/ft1_filtered_4FGL_J1351.3+1115_daily_bin90.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/19971/ft1_filtered_4FGL_J1351.3+1115_daily_bin90.fits" evtable="EVENTS" scfile=/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits sctable="SC_DATA" outfile=/scratch/kocevski/19971/ltcube_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.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/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits
.....................!
real 19.06
user 18.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19971/ft1_filtered_4FGL_J1351.3+1115_daily_bin90.fits evtable="EVENTS" scfile=/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits sctable="SC_DATA" expcube=/scratch/kocevski/19971/ltcube_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.fits outfile=/scratch/kocevski/19971/expmap_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.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/19971/ltcube_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.fits
.....................!
real 193.62
user 188.31
sys 4.33

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/19971/ft1_filtered_4FGL_J1351.3+1115_daily_bin90.fits scfile=/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits outfile=/scratch/kocevski/19971/cmap_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19971/ft1_filtered_4FGL_J1351.3+1115_daily_bin90.fits scfile=/scratch/kocevski/19971/ft2_4FGL_J1351.3+1115_daily_bin90.fits outfile=/scratch/kocevski/19971/cmap_HighResolution_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.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.56
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.059       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4440       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.837       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.205       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4954       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2650       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72386       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=   4998.085     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1351 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.6535        .90712E-02** at limit **
   2  Prefactor     .10000E-03    19.516        .90712E-02** at limit **
   3  Prefactor     20.058        32.332        .22357E-02    .58586E-03
   4  Prefactor     .10000E-03    1.1272        .90712E-02** at limit **
   5  Prefactor     .10000E-03    6.2351        .90712E-02** at limit **
   6  Prefactor     1.4445        2.9685        .89709E-02    .43988E-03
   7  Prefactor     11.837        10.970        .29109E-02    .43048E-03
   8  Prefactor     .10000E-03    10.136        .90712E-02** at limit **
   9  Prefactor     .10000E-03    5.0525        .90712E-02** at limit **
  10  Prefactor     .10001E-03    11.824        .90712E-02** at limit **
  11  Prefactor     19.204        27.674        .22849E-02    .27541E-03
  12  Prefactor     .10000E-03    13.862        .90712E-02** at limit **
  13  norm          .10000E-03    14.110        .90712E-02** at limit **
  14  Prefactor     4.4958        5.9097        .47474E-02    .25994E-03
  15  Prefactor     .10000E-03    1.7713        .90712E-02** at limit **
  16  Normalizat    1.2649        .19550        .50855E-01   -.17113E-04
  17  Prefactor     .72389        .15082        .42718E-01   -.29568E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 20.0584
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.44446
  Prefactor  = 11.8373
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 19.2045
  Prefactor  = 0.000100001
  norm       = 0.000100003
  Prefactor  = 4.49584
  Prefactor  = 0.0001
  Normalizat = 1.26493
  Prefactor  = 0.723888
 **********
 **   18 **HESSE 
 **********

 FCN=   4998.085     FROM HESSE     STATUS=OK           215 CALLS     1566 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.6636        .13197E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    19.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.058        32.330        .89429E-04   -1.4812    
   4  Prefactor     .10000E-03    1.1352        .73290E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.2403        .17242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.4445        2.9265        .16942E-03   -1.5468    
   7  Prefactor     11.837        10.968        .58219E-03   -1.5020    
   8  Prefactor     .10000E-03    10.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.0715        .15519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10001E-03    11.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.204        27.676        .91395E-04   -1.4831    
  12  Prefactor     .10000E-03    13.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    14.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4958        5.8983        .18940E-03   -1.5284    
  15  Prefactor     .10000E-03    1.7752        .91878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2649        .23740        .22484E-03   -.84619    
  17  Prefactor     .72389        .18295        .22143E-03   -1.0260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81748e-09
Minuit parameter uncertainties:
  1  1.99987e-05
  2  0.000219569
  3  32.3584
  4  1.33286e-06
  5  2.85443e-06
  6  2.92677
  7  10.9702
  8  0.000349206
  9  8.23356e-06
  10  0.000785278
  11  27.6947
  12  0.000218692
  13  0.00042619
  14  5.89905
  15  9.74485e-06
  16  0.237605
  17  0.183104
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.444e+00  2.927e+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:  7.239e-01  1.831e-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.265e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/19971/likelihoodResults_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.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) = 4998.07940135
delta logL = 0.00566637944576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4998.07741701
delta logL = 0.00765072875947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6668       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7693       1.0000          .0000       10.000    
     3 'Normalizat'    1.2658       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72340       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4998.077     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      235 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6663        3.7836        .17913E-03    .81235E-03
   2  Index         1.7685        .94021        .11365E-01    .14501E-03
   3  Normalizat    1.2659        .23658        .22476E-03   -.13697E-03
   4  Prefactor     .72335        .18265        .22150E-03   -.20064E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66634
  Index      = 1.76852
  Normalizat = 1.26593
  Prefactor  = 0.723354
 **********
 **   18 **HESSE 
 **********

 FCN=   4998.077     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6663        3.6374        .71654E-05   -1.5450    
   2  Index         1.7685        .90524        .45460E-03   -.70272    
   3  Normalizat    1.2659        .23678        .44953E-04   -.84589    
   4  Prefactor     .72335        .18282        .88599E-05   -1.0262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0853e-09
Minuit parameter uncertainties:
  1  3.63784
  2  0.913958
  3  0.236985
  4  0.182972
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19971': 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) = 4998.07741643
delta logL = 0.00765130175205

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  1.666e+00  3.638e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.769e+00  9.140e-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:  7.234e-01  1.830e-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.266e+00  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
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/19971/cmap_HighResolution_262656001_262915201_4FGL_J1351.3+1115_daily_bin90.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.81e-08', time_completed='2021-09-08 15:45:33.089549', job_id='19971', GAL2='0.72', fit_tolerance='1e-08', EG2='1.27', EG='1.26', time_epoch_completed='1631141133.09', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='7.65e-03', ts2='0.37', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='90' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  8 15:45:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 19971: <4FGL_J1351.3+1115_daily_bin90> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin90> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  8 15:35:17 2021
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  8 15:35: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:35:18 2021
Terminated at Wed Sep  8 15:45:33 2021
Results reported at Wed Sep  8 15:45:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin90 207.843 11.2502 262656001 262915201 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 :                                   454.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            616 sec.

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

