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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1426
RA = 198.688, Dec = 23.8124
tmin = 608947201, tmax = 609206401
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='384631', job_status='RUN', time_executed='2021-09-07 06:43:26.586406', time_epoch_executed='1631022206.59' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1426'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384631

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384631/ft1_4FGL_J1314.7+2348_daily_bin1426.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384631/ft1_4FGL_J1314.7+2348_daily_bin1426.fits outfile=/scratch/kocevski/384631/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1426.fits ra=198.688 dec=23.8124 rad=12.0 tmin=608947201.0 tmax=609206401.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.17
user 2.94
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.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/384631/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1426.fits evtable="EVENTS" outfile="/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.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.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits" evtable="EVENTS" scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits sctable="SC_DATA" outfile=/scratch/kocevski/384631/ltcube_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.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/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits
.....................!
real 17.38
user 16.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits sctable="SC_DATA" expcube=/scratch/kocevski/384631/ltcube_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits outfile=/scratch/kocevski/384631/expmap_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.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/384631/ltcube_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits
.....................!
real 192.26
user 186.79
sys 4.86

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

Setting source of interest to:
4FGL J1314.7+2348 @ 198.688 23.8124

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits outfile=/scratch/kocevski/384631/cmap_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.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=198.688 yref=23.8124 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.60
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits outfile=/scratch/kocevski/384631/cmap_HighResolution_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.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=198.688 yref=23.8124 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits evtable="EVENTS" scfile=/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384631/Model_4FGL_J1314.7+2348_daily_bin1426.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/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits.....................!
real 52.05
user 50.47
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits', '/scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits', expMap='/scratch/kocevski/384631/expmap_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits', expCube='/scratch/kocevski/384631/ltcube_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384631/Model_4FGL_J1314.7+2348_daily_bin1426.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1314.7+2348'

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  9.277e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/384631/ft1_filtered_4FGL_J1314.7+2348_daily_bin1426.fits
Spacecraft file(s): /scratch/kocevski/384631/ft2_4FGL_J1314.7+2348_daily_bin1426.fits
Exposure map: /scratch/kocevski/384631/expmap_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits
Exposure cube: /scratch/kocevski/384631/ltcube_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384631/Model_4FGL_J1314.7+2348_daily_bin1426.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) = 5988.56454675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10119       1.0000         .10000E-03   10000.    
     2 'norm      '    .28519       1.0000         .10000E-03   10000.    
     3 'norm      '    7.5065       1.0000         .10000E-03   10000.    
     4 'Prefactor '    40.585       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.1063       1.0000         .10000E-03   10000.    
     8 'Prefactor '    42.191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.389       1.0000         .10000E-03   10000.    
    10 'norm      '    .21142       1.0000         .10000E-03   10000.    
    11 'norm      '    11.671       1.0000         .10000E-03   10000.    
    12 'norm      '    .10581E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    16.667       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0428       1.0000         .10000E-03   10000.    
    16 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.8509       1.0000         .10000E-03   10000.    
    18 'Prefactor '    34.368       1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.1837       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.227       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.7831       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .52248       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3747       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5988.536     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2502 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13147        4.8638        .95991E-06   -.36265E-04
   2  norm          .28518        .22076        .56180E-07    .86188E-04
   3  norm          7.4978        5.0681       -.29812E-05   -.47715E-03
   4  Prefactor     40.586        14.910        .60433E-06   -.35137E-04
   5  Prefactor     .10000E-03    24.529        .23230E-05** at limit **
   6  Prefactor     .10000E-03    2.1891       -.17031E-06** at limit **
   7  norm          2.1062        2.5350       -.59487E-07   -.55028E-04
   8  Prefactor     42.179        22.917       -.64900E-05    .42828E-06
   9  Prefactor     28.390        22.938        .24792E-07   -.57189E-04
  10  norm          .22330        1.9820       -.24833E-06   -.15312E-03
  11  norm          11.679        4.3684       -.14842E-06   -.10859E-02
  12  norm          .10000E-03    7.5550        .44971E-05** at limit **
  13  norm          16.663        17.110       -.99388E-06    .35570E-04
  14  Prefactor     .10000E-03    .81497        .84062E-07** at limit **
  15  Prefactor     6.0435        8.1279       -.93684E-08   -.12029E-03
  16  norm          .10000E-03    6.2493       -.24659E-05** at limit **
  17  Prefactor     9.8510        29.723        .71373E-06   -.70805E-05
  18  Prefactor     34.372        34.145        .42380E-05   -.34146E-05
  19  norm          .10000E-03    6.7558        .35678E-05** at limit **
  20  Prefactor     .10000E-03    8.1876       -.55469E-05** at limit **
  21  Prefactor     6.1829        21.554        .41388E-06   -.27532E-05
  22  Prefactor     12.228        5.0690        .63160E-06   -.27542E-04
  23  Prefactor     9.7891        17.754        .36718E-05   -.30177E-04
  24  Normalizat    .52252        .19251       -.10336E-06   -.18849E-04
  25  Prefactor     1.3745        .19340        .54900E-06   -.60140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.13147
  norm       = 0.285182
  norm       = 7.49783
  Prefactor  = 40.5863
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.10615
  Prefactor  = 42.1788
  Prefactor  = 28.3901
  norm       = 0.223304
  norm       = 11.6794
  norm       = 0.0001
  norm       = 16.6633
  Prefactor  = 0.0001
  Prefactor  = 6.0435
  norm       = 0.0001
  Prefactor  = 9.851
  Prefactor  = 34.3718
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.18293
  Prefactor  = 12.2279
  Prefactor  = 9.78909
  Normalizat = 0.522515
  Prefactor  = 1.37454
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.536     FROM HESSE     STATUS=OK           437 CALLS     2939 TOTAL
                     EDM=   .76E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13147        38.287        .30961E-02   -1.5635    
   2  norm          .28518        .21569        .30867E-04   -1.5601    
   3  norm          7.4978        5.2474        .12956E-03   -1.5160    
   4  Prefactor     40.586        14.909        .62921E-04   -1.4433    
   5  Prefactor     .10000E-03    24.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.1930        .11180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.1062        2.5204        .12805E-03   -1.5418    
   8  Prefactor     42.179        22.894        .61717E-04   -1.4408    
   9  Prefactor     28.390        22.905        .75191E-04   -1.4642    
  10  norm          .22330        9.7870        .20449E-02   -1.5613    
  11  norm          11.679        4.3268        .87839E-04   -1.5024    
  12  norm          .10000E-03    7.7161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          16.663        17.099        .98104E-04   -1.4891    
  14  Prefactor     .10000E-03    .81989        .68145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.0435        8.1106        .16333E-03   -1.5216    
  16  norm          .10000E-03    6.3376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.8510        29.711        .12767E-03   -1.5080    
  18  Prefactor     34.372        34.126        .68356E-04   -1.4535    
  19  norm          .10000E-03    6.8062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.2125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.1829        21.520        .16144E-03   -1.5211    
  22  Prefactor     12.228        5.0670        .10577E-03   -1.5008    
  23  Prefactor     9.7891        17.716        .12812E-03   -1.5082    
  24  Normalizat    .52252        .21637        .33203E-03   -1.1138    
  25  Prefactor     1.3745        .22304        .23398E-03   -.81117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.58174e-08
Minuit parameter uncertainties:
  1  4.48834
  2  0.215689
  3  5.24772
  4  14.9106
  5  1.08456e-06
  6  3.04142e-06
  7  2.52048
  8  22.8987
  9  22.9116
  10  2.95652
  11  4.32689
  12  3.79443e-05
  13  17.104
  14  2.55676e-06
  15  8.11207
  16  1.27643e-05
  17  29.756
  18  34.1456
  19  4.65954e-06
  20  7.66424e-06
  21  21.5471
  22  5.06719
  23  17.7254
  24  0.216721
  25  0.223192
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.666e+01  1.710e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.896e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.375e+00  2.232e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.225e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.40
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.59e-08 +/- 1.63e-08
Energy Flux (Fixed Index): 1.24e-05 +/- 1.27e-05

TS (Fixed Index): 2.40
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384631/likelihoodResults_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.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) = 5988.4362383
delta logL = 0.0996304817827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5988.43524819
delta logL = 0.100620589794

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.411       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2894       1.0000          .0000       5.0000    
     3 'Normalizat'    .51006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3788       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5988.435     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      229 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.376        414.45        .24716E-02    .60780E-04
   2  alpha         2.2851        3.2514        .41338        .43848E-04
   3  Normalizat    .51030        .90381E-01    .75862E-01    .12564E-03
   4  Prefactor     1.3789        .67960E-01    .52856E-01    .12230E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3764
  alpha      = 2.28508
  Normalizat = 0.510297
  Prefactor  = 1.37895
 **********
 **   18 **HESSE 
 **********

 FCN=   5988.435     FROM HESSE     STATUS=OK            31 CALLS      260 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.376        16.529        .98866E-04   -1.4898    
   2  alpha         2.2851        .83157        .15495E-01   -.86073E-01
   3  Normalizat    .51030        .20220        .33593E-03   -1.1194    
   4  Prefactor     1.3789        .22018        .23367E-03   -.80989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50304e-11
Minuit parameter uncertainties:
  1  16.5339
  2  0.847852
  3  0.202487
  4  0.220333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384631': 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) = 5988.43522391
delta logL = 0.100644862796

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.638e+01  1.653e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  2.285e+00  8.479e-01  0.000e+00  5.000e+00 ( 1.000e+00)
310         beta:  9.683e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
311           Eb:  1.210e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.379e+00  2.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  5.103e-01  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.29 +/- 0.85
Photon Flux (Free Index): 2.74e-08 +/- 3.64e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.06e-05

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/384631/cmap_HighResolution_608947201_609206401_4FGL_J1314.7+2348_daily_bin1426.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-05', comment='SUCCESS', photon_flux='1.59e-08', energy_flux2='1.13e-05', photon_flux_error='1.63e-08', dlogl='1.01e-01', energy_flux='1.24e-05', photon_flux2='2.74e-08', job_status='DONE', time_completed='2021-09-07 06:55:40.805776', photon_index_error2='0.85', photon_index2='2.29', ts='2.40', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', photon_flux_upper_limit='6.14e-08', energy_flux_error2='1.06e-05', EG='0.52', time_epoch_completed='1631022940.81', return_code='0', job_id='384631', GAL2='1.38', EG2='0.51', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.64e-08', ts2='2.60', photon_index='1.90' WHERE bin_id='1426' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:55:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0012>
Subject: Job 384631: <4FGL_J1314.7+2348_daily_bin1426> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1426> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:40:28 2021
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:40:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep  7 06:40:34 2021
Terminated at Tue Sep  7 06:55:41 2021
Results reported at Tue Sep  7 06:55:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1426 198.688 23.8124 608947201 609206401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1314.7+2348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             257.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            913 sec.

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

