/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 71 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 = 7408
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1632
RA = 207.843, Dec = 11.2502
tmin = 662342401, tmax = 662601601
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='620768', job_status='RUN', time_executed='2021-12-31 00:13:20.977416', time_epoch_executed='1640938400.98' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/620768

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/620768/ft1_4FGL_J1351.3+1115_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/620768/ft2_4FGL_J1351.3+1115_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/620768/ft1_4FGL_J1351.3+1115_daily_bin1632.fits outfile=/scratch/kocevski/620768/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1632.fits ra=207.843 dec=11.2502 rad=12.0 tmin=662342401.0 tmax=662601601.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.93
user 2.69
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/620768/ft2_4FGL_J1351.3+1115_daily_bin1632.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/620768/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1632.fits evtable="EVENTS" outfile="/scratch/kocevski/620768/ft1_filtered_4FGL_J1351.3+1115_daily_bin1632.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.50
user 0.34
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/620768/ft1_filtered_4FGL_J1351.3+1115_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/620768/ft2_4FGL_J1351.3+1115_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/620768/ltcube_662342401_662601601_4FGL_J1351.3+1115_daily_bin1632.fits outfile=/scratch/kocevski/620768/expmap_662342401_662601601_4FGL_J1351.3+1115_daily_bin1632.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/620768/ltcube_662342401_662601601_4FGL_J1351.3+1115_daily_bin1632.fits
.....................!
real 190.10
user 185.46
sys 4.28

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/620768/ft1_filtered_4FGL_J1351.3+1115_daily_bin1632.fits scfile=/scratch/kocevski/620768/ft2_4FGL_J1351.3+1115_daily_bin1632.fits outfile=/scratch/kocevski/620768/cmap_662342401_662601601_4FGL_J1351.3+1115_daily_bin1632.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.56
user 0.38
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.529       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .45709       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.186       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7011       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1717       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.468       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.967       1.0000         .10000E-03   10000.    
    11 'Prefactor '    103.62       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .62792E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    1.8155       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10331E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    .89469       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1297       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=   9274.953     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1444 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.529        9.4675       -.22643E-07   -.14363E-03
   2  Prefactor     .10000E-03    14.151        .64723E-07** at limit **
   3  Prefactor     .10000E-03    31.854       -.11580E-06** at limit **
   4  Prefactor     .45687        2.3307        .18322E-05   -.79214E-03
   5  Prefactor     14.186        16.613        .18168E-06   -.45138E-05
   6  Prefactor     3.7011        2.8171        .88362E-08   -.21907E-04
   7  Prefactor     .10000E-03    5.0241        .15112E-07** at limit **
   8  Prefactor     4.1722        7.6691        .13217E-05    .27395E-03
   9  Prefactor     14.468        10.701       -.24951E-06   -.18812E-03
  10  Prefactor     15.967        18.110        .47078E-06    .97482E-04
  11  Prefactor     103.62        28.742        .44550E-08   -.84976E-04
  12  Prefactor     .10000E-03    14.124       -.43347E-06** at limit **
  13  norm          1.8091        27.110        .53848E-05    .18953E-03
  14  Prefactor     .10000E-03    3.4814        .46535E-08** at limit **
  15  Prefactor     .10000E-03    2.6882        .82024E-07** at limit **
  16  Normalizat    .89467        .16670       -.67239E-06   -.98727E-04
  17  Prefactor     1.1297        .12908       -.26063E-06   -.12844E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.5294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.456867
  Prefactor  = 14.1861
  Prefactor  = 3.7011
  Prefactor  = 0.0001
  Prefactor  = 4.1722
  Prefactor  = 14.4684
  Prefactor  = 15.9666
  Prefactor  = 103.618
  Prefactor  = 0.000100001
  norm       = 1.80914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.894674
  Prefactor  = 1.12965
 **********
 **   18 **HESSE 
 **********

 FCN=   9274.953     FROM HESSE     STATUS=OK           235 CALLS     1679 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.529        9.4785        .10508E-03   -1.4945    
   2  Prefactor     .10000E-03    14.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .45687        2.9028        .30933E-03   -1.5573    
   5  Prefactor     14.186        16.606        .10634E-03   -1.4954    
   6  Prefactor     3.7011        2.8174        .13687E-03   -1.5323    
   7  Prefactor     .10000E-03    5.0644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1722        7.7812        .19733E-03   -1.5299    
   9  Prefactor     14.468        10.723        .10530E-03   -1.4947    
  10  Prefactor     15.967        18.162        .10023E-03   -1.4909    
  11  Prefactor     103.62        28.747        .39501E-04   -1.3669    
  12  Prefactor     .10000E-03    17.438        .99421E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.8091        30.638        .30999E-03   -1.5439    
  14  Prefactor     .10000E-03    3.5522        .17532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    14.750        .30439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .89467        .19465        .28257E-03   -.96648    
  17  Prefactor     1.1297        .15123        .20384E-03   -.88524    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31629e-09
Minuit parameter uncertainties:
  1  9.47944
  2  2.05734e-05
  3  1.55642e-05
  4  2.30311
  5  16.6112
  6  2.81755
  7  1.9939e-06
  8  7.78305
  9  10.7241
  10  18.1687
  11  28.7505
  12  0.000266645
  13  14.8985
  14  5.03057e-06
  15  0.000127421
  16  0.194803
  17  0.151285
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  3.701e+00  2.818e+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:  1.130e+00  1.513e-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:  8.947e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.11
Ra Dec: 207.843 11.250
Photon Index (Fixed Index): 1.88 +/- 0.00
Photon Flux (Fixed Index): 2.00e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.87e-05 +/- 1.43e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9274.89417048
delta logL = 0.0593216110665

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9274.88952273
delta logL = 0.0639693643589

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1507       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7035       1.0000          .0000       10.000    
     3 'Normalizat'    .89841       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1291       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=   9274.890     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      246 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1519        103.33        .49460E-02   -.57392E-04
   2  Index         1.7037        5.6064        .17554        .79006E-04
   3  Normalizat    .89836        .97558E-01    .44881E-01    .16826E-04
   4  Prefactor     1.1291        .57558E-01    .36574E-01   -.10094E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15191
  Index      = 1.7037
  Normalizat = 0.898357
  Prefactor  = 1.12907
 **********
 **   18 **HESSE 
 **********

 FCN=   9274.890     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1519        3.3930        .14996E-03   -1.5300    
   2  Index         1.7037        .50907        .94897E-02   -.71983    
   3  Normalizat    .89836        .18649        .28205E-03   -.96518    
   4  Prefactor     1.1291        .15010        .20390E-03   -.88543    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85877e-09
Minuit parameter uncertainties:
  1  3.39313
  2  0.510643
  3  0.186628
  4  0.150157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/620768': 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) = 9274.8895225
delta logL = 0.0639695906084

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  4.152e+00  3.393e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.704e+00  5.106e-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:  1.129e+00  1.502e-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:  8.984e-01  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.23
Ra Dec: 207.843 11.250
Photon Index (Free Index): 1.70 +/- 0.51
Photon Flux (Free Index): 1.55e-08 +/- 1.68e-08
Energy Flux (Free Index): 2.50e-05 +/- 2.95e-05

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/620768/cmap_HighResolution_662342401_662601601_4FGL_J1351.3+1115_daily_bin1632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.00e-08', energy_flux2='2.50e-05', photon_flux_error='1.52e-08', dlogl='6.40e-02', energy_flux='1.87e-05', photon_flux2='1.55e-08', job_status='DONE', time_completed='2021-12-31 00:23:06.208650', photon_index_error2='0.51', photon_index2='1.70', ts='6.11', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.95e-05', EG='0.89', time_epoch_completed='1640938986.21', return_code='0', job_id='620768', GAL2='1.13', EG2='0.90', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='1.68e-08', ts2='6.23', photon_index='1.88' WHERE bin_id='1632' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:23:06 PST 2021

------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 620973: <4FGL_J1351.3+1115_daily_bin1632> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1632> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 31 00:07:23 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:08:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:08:07 2021
Terminated at Fri Dec 31 00:22:28 2021
Results reported at Fri Dec 31 00:22:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1632 207.843 11.2502 662342401 662601601 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 :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             259.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            905 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 620768: <4FGL_J1351.3+1115_daily_bin1632> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1632> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Fri Dec 31 00:07:14 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:07:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:07:51 2021
Terminated at Fri Dec 31 00:23:07 2021
Results reported at Fri Dec 31 00:23:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1632 207.843 11.2502 662342401 662601601 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 :                                   576.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            953 sec.

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

