/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 28 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 = 7459
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J1351.3+1115_daily_bin1625
RA = 207.843, Dec = 11.2502
tmin = 660528001, tmax = 660787201
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='99704', job_status='RUN', time_executed='2021-12-10 00:15:36.713350', time_epoch_executed='1639124136.71' WHERE source_name='4FGL J1351.3+1115' and cadence='daily' and bin_id='1625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/99704

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/99704/ft1_4FGL_J1351.3+1115_daily_bin1625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/99704/ft1_4FGL_J1351.3+1115_daily_bin1625.fits outfile=/scratch/kocevski/99704/ft1_filteredMKT_4FGL_J1351.3+1115_daily_bin1625.fits ra=207.843 dec=11.2502 rad=12.0 tmin=660528001.0 tmax=660787201.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.56
user 3.33
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/99704/ft1_filtered_4FGL_J1351.3+1115_daily_bin1625.fits" evtable="EVENTS" scfile=/scratch/kocevski/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits sctable="SC_DATA" outfile=/scratch/kocevski/99704/ltcube_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.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/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits
.....................!
real 12.12
user 11.69
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/99704/ft1_filtered_4FGL_J1351.3+1115_daily_bin1625.fits evtable="EVENTS" scfile=/scratch/kocevski/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits sctable="SC_DATA" expcube=/scratch/kocevski/99704/ltcube_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.fits outfile=/scratch/kocevski/99704/expmap_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.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/99704/ltcube_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.fits
.....................!
real 192.02
user 186.08
sys 5.58

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/99704/ft1_filtered_4FGL_J1351.3+1115_daily_bin1625.fits scfile=/scratch/kocevski/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits outfile=/scratch/kocevski/99704/cmap_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/99704/ft1_filtered_4FGL_J1351.3+1115_daily_bin1625.fits scfile=/scratch/kocevski/99704/ft2_4FGL_J1351.3+1115_daily_bin1625.fits outfile=/scratch/kocevski/99704/cmap_HighResolution_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.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.54
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.064       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1374       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .98116       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8049       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.963       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.188       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.221       1.0000         .10000E-03   10000.    
    13 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3622       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89444       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=   7255.925     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1602 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.030        .90712E-02** at limit **
   2  Prefactor     .10000E-03    18.432        .90712E-02** at limit **
   3  Prefactor     23.063        34.373        .20852E-02    .56343E-03
   4  Prefactor     3.1377        2.8161        .57218E-02    .14738E-02
   5  Prefactor     .10000E-03    8.4360        .90712E-02** at limit **
   6  Prefactor     .98037        3.7090        .13099E-01    .13376E-02
   7  Prefactor     .10000E-03    6.6362        .90712E-02** at limit **
   8  Prefactor     5.8043        9.7690        .41674E-02    .15838E-03
   9  Prefactor     13.961        12.885        .26798E-02   -.28236E-03
  10  Prefactor     .10000E-03    11.346        .90712E-02** at limit **
  11  Prefactor     53.190        26.826        .13749E-02    .37939E-03
  12  Prefactor     16.163        28.624        .24861E-02    .12123E-04
  13  norm          .10000E-03    7.9559        .90712E-02** at limit **
  14  Prefactor     .10000E-03    2.6764        .90712E-02** at limit **
  15  Prefactor     .10000E-03    1.6143        .90712E-02** at limit **
  16  Normalizat    1.3620        .18829        .57361E-01    .10559E-05
  17  Prefactor     .89468        .14257        .44934E-01    .18066E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.0632
  Prefactor  = 3.1377
  Prefactor  = 0.0001
  Prefactor  = 0.980373
  Prefactor  = 0.0001
  Prefactor  = 5.80434
  Prefactor  = 13.9608
  Prefactor  = 0.0001
  Prefactor  = 53.1897
  Prefactor  = 16.1626
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.36196
  Prefactor  = 0.894682
 **********
 **   18 **HESSE 
 **********

 FCN=   7255.925     FROM HESSE     STATUS=OK           219 CALLS     1821 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    18.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.063        34.368        .83406E-04   -1.4747    
   4  Prefactor     3.1377        2.8194        .65373E-03   -1.5354    
   5  Prefactor     .10000E-03    8.4560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98037        3.6750        .30553E-03   -1.5510    
   7  Prefactor     .10000E-03    6.6632        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.8043        9.7685        .16669E-03   -1.5226    
   9  Prefactor     13.961        12.886        .10719E-03   -1.4961    
  10  Prefactor     .10000E-03    11.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.190        26.836        .54996E-04   -1.4248    
  12  Prefactor     16.163        28.671        .99444E-04   -1.4904    
  13  norm          .10000E-03    7.9644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7144        .13607E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6202        .10569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3620        .22673        .25366E-03   -.81735    
  17  Prefactor     .89468        .17103        .23254E-03   -.96327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92115e-09
Minuit parameter uncertainties:
  1  2.29632e-05
  2  1.67621e-05
  3  34.3975
  4  2.81952
  5  4.43075e-06
  6  3.67583
  7  3.24078e-06
  8  9.77115
  9  12.8889
  10  1.76939e-06
  11  26.8419
  12  28.6959
  13  4.16919e-06
  14  2.67397e-06
  15  9.92183e-07
  16  0.226899
  17  0.171137
Done.

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

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  9.804e-01  3.676e+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.947e-01  1.711e-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.362e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/99704/likelihoodResults_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.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) = 7255.92469188
delta logL = 0.000474067353935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7255.92466827
delta logL = 0.000497675037877

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95959       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9353       1.0000          .0000       10.000    
     3 'Normalizat'    1.3615       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89471       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7255.925     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      267 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95771        3.8681        .29844E-03   -.69330E-05
   2  Index         1.9323        1.5554        .14954E-01    .10361E-03
   3  Normalizat    1.3616        .22246        .25369E-03   -.14430E-04
   4  Prefactor     .89475        .17073        .23253E-03   -.79204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.957705
  Index      = 1.93229
  Normalizat = 1.36157
  Prefactor  = 0.894755
 **********
 **   18 **HESSE 
 **********

 FCN=   7255.925     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95771        3.7052        .11938E-04   -1.5512    
   2  Index         1.9323        1.5021        .29907E-02   -.66054    
   3  Normalizat    1.3616        .22258        .10148E-04   -.81747    
   4  Prefactor     .89475        .17085        .93011E-05   -.96325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19152e-12
Minuit parameter uncertainties:
  1  3.70604
  2  1.54096
  3  0.22274
  4  0.170956
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/99704': 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) = 7255.92466562
delta logL = 0.000500323076267

Extracting fit parameters...

4FGL J1351.3+1115
   Spectrum: PowerLaw
263    Prefactor:  9.577e-01  3.706e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.932e+00  1.541e+00  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.948e-01  1.710e-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.362e+00  2.227e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/99704/cmap_HighResolution_660528001_660787201_4FGL_J1351.3+1115_daily_bin1625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-03', job_status='DONE', photon_flux_upper_limit='6.19e-08', time_completed='2021-12-10 00:24:48.268779', job_id='99704', GAL2='0.89', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1639124688.27', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='5.00e-04', ts2='0.08', photon_index_error='0.00', photon_index='1.88' WHERE bin_id='1625' AND source_name='4FGL J1351.3+1115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 10 00:24:48 PST 2021

------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 99706: <4FGL_J1351.3+1115_daily_bin1625> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1625> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Dec 10 00:09:31 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:09:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:09:33 2021
Terminated at Fri Dec 10 00:19:39 2021
Results reported at Fri Dec 10 00:19:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_daily_bin1625 207.843 11.2502 660528001 660787201 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 :                                   523.44 sec.
    Max Memory :                                 618 MB
    Average Memory :                             287.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            608 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 99704: <4FGL_J1351.3+1115_daily_bin1625> in cluster <slac> Done

Job <4FGL_J1351.3+1115_daily_bin1625> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 10 00:09:31 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 10 00:09:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 10 00:09:33 2021
Terminated at Fri Dec 10 00:24:49 2021
Results reported at Fri Dec 10 00:24:49 2021

Your job looked like:

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

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

