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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1098
RA = 198.688, Dec = 23.8124
tmin = 523929601, tmax = 524188801
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='381172', job_status='RUN', time_executed='2021-09-07 06:34:34.263101', time_epoch_executed='1631021674.26' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381172/ft1_4FGL_J1314.7+2348_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381172/ft1_4FGL_J1314.7+2348_daily_bin1098.fits outfile=/scratch/kocevski/381172/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1098.fits ra=198.688 dec=23.8124 rad=12.0 tmin=523929601.0 tmax=524188801.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.32
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/381172/ltcube_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.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/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits
.....................!
real 14.15
user 13.75
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/381172/ltcube_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits outfile=/scratch/kocevski/381172/expmap_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.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/381172/ltcube_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits
.....................!
real 192.89
user 186.62
sys 4.96

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/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits scfile=/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits outfile=/scratch/kocevski/381172/cmap_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits scfile=/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits outfile=/scratch/kocevski/381172/cmap_HighResolution_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.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.64
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381172/Model_4FGL_J1314.7+2348_daily_bin1098.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/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits.....................!
real 52.12
user 49.31
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits', '/scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits', expMap='/scratch/kocevski/381172/expmap_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits', expCube='/scratch/kocevski/381172/ltcube_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/381172/Model_4FGL_J1314.7+2348_daily_bin1098.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/381172/ft1_filtered_4FGL_J1314.7+2348_daily_bin1098.fits
Spacecraft file(s): /scratch/kocevski/381172/ft2_4FGL_J1314.7+2348_daily_bin1098.fits
Exposure map: /scratch/kocevski/381172/expmap_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits
Exposure cube: /scratch/kocevski/381172/ltcube_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/381172/Model_4FGL_J1314.7+2348_daily_bin1098.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) = 6016.66237455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'norm      '    .10113E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.1155       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39794E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.8426       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.294       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6093       1.0000         .10000E-03   10000.    
    11 'norm      '    3.7682       1.0000         .10000E-03   10000.    
    12 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    14.122       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    34.017       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.9339       1.0000         .10000E-03   10000.    
    21 'Prefactor '    32.803       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .96352       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0915       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=   6016.533     FROM MIGRAD    STATUS=CONVERGED    581 CALLS     2554 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0254        .30711E-07** at limit **
   2  norm          .10000E-03    .22747        .70661E-07** at limit **
   3  norm          5.1154        3.8432       -.58971E-07   -.28516E-04
   4  Prefactor     .10000E-03    7.9582       -.41133E-06** at limit **
   5  Prefactor     .10003E-03    296.05        .22575E-04** at limit **
   6  Prefactor     .10000E-03    7.7216       -.38196E-06** at limit **
   7  norm          4.8415        4.6687        .32250E-06   -.58384E-03
   8  Prefactor     .10000E-03    13.870        .10936E-05** at limit **
   9  Prefactor     11.295        25.664       -.10587E-05   -.83938E-04
  10  norm          1.6089        4.6088        .68810E-06    .14066E-04
  11  norm          3.7691        2.7195        .45967E-07    .51713E-06
  12  norm          .10000E-03    4.6406       -.21070E-06** at limit **
  13  norm          14.121        18.492        .16446E-06   -.98528E-06
  14  Prefactor     .10000E-03    1.7535       -.70249E-08** at limit **
  15  Prefactor     .10000E-03    3.8022        .35089E-07** at limit **
  16  norm          34.018        9.6166        .83140E-07   -.13512E-04
  17  Prefactor     .10000E-03    23.838       -.30665E-05** at limit **
  18  Prefactor     .10000E-03    30.480        .22312E-05** at limit **
  19  norm          .10000E-03    2.6146        .23633E-07** at limit **
  20  Prefactor     1.9332        15.405        .11739E-04    .61348E-04
  21  Prefactor     32.804        20.794       -.72540E-06   -.32131E-05
  22  Prefactor     .10000E-03    2.8493       -.14243E-05** at limit **
  23  Prefactor     .10000E-03    2.6087       -.57864E-07** at limit **
  24  Normalizat    .96352        .17518       -.13628E-05   -.17820E-03
  25  Prefactor     1.0915        .17817       -.12910E-06   -.19323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.11537
  Prefactor  = 0.0001
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  norm       = 4.84152
  Prefactor  = 0.0001
  Prefactor  = 11.2952
  norm       = 1.60885
  norm       = 3.76906
  norm       = 0.0001
  norm       = 14.121
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 34.0179
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.93324
  Prefactor  = 32.8037
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.963519
  Prefactor  = 1.09154
 **********
 **   18 **HESSE 
 **********

 FCN=   6016.533     FROM HESSE     STATUS=OK           427 CALLS     2981 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0281        .10779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.2944        .71163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1154        3.8366        .12773E-03   -1.5256    
   4  Prefactor     .10000E-03    8.0120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    299.32        .42532E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.8260        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.8415        4.6598        .71724E-03   -1.5268    
   8  Prefactor     .10000E-03    14.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.295        25.601        .11921E-03   -1.5036    
  10  norm          1.6089        4.5945        .26334E-03   -1.5454    
  11  norm          3.7691        2.6881        .10249E-03   -1.5320    
  12  norm          .10000E-03    4.6911        .32325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          14.121        18.467        .10659E-03   -1.4956    
  14  Prefactor     .10000E-03    1.8109        .20040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8084        .14770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          34.018        9.6202        .68707E-04   -1.4541    
  17  Prefactor     .10000E-03    23.961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    30.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.6181        .12244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.9332        15.779        .14932E-02   -1.5430    
  21  Prefactor     32.804        20.821        .69963E-04   -1.4562    
  22  Prefactor     .10000E-03    6.3158        .24516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.6148        .12235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .96352        .20606        .24540E-03   -.94263    
  25  Prefactor     1.0915        .21158        .24796E-03   -.89737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64166e-10
Minuit parameter uncertainties:
  1  2.10521e-06
  2  2.19748e-06
  3  3.83677
  4  4.94343e-06
  5  0.00614625
  6  8.31131e-06
  7  4.66017
  8  7.09189e-06
  9  25.6258
  10  4.59547
  11  2.68822
  12  2.85159e-06
  13  18.4747
  14  5.46049e-07
  15  1.72208e-07
  16  9.62067
  17  7.59407e-07
  18  1.48449e-05
  19  1.49935e-07
  20  11.0497
  21  20.8253
  22  0.000104456
  23  2.70991e-07
  24  0.206225
  25  0.211747
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.412e+01  1.847e+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.092e+00  2.117e-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:  9.635e-01  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/381172/likelihoodResults_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.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) = 6016.26072322
delta logL = 0.271842422013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6016.25713528
delta logL = 0.275430360993

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8915       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7081       1.0000          .0000       5.0000    
     3 'Normalizat'    .94144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1042       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6016.257     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      297 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8864        17.160        .12741E-03    .28750E-03
   2  alpha         2.7082        1.1409        .15956E-01    .31228E-04
   3  Normalizat    .94170        .20025        .24769E-03   -.10209E-02
   4  Prefactor     1.1042        .21159        .24655E-03   -.11916E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 9.88641
  alpha      = 2.70816
  Normalizat = 0.941704
  Prefactor  = 1.1042
 **********
 **   18 **HESSE 
 **********

 FCN=   6016.257     FROM HESSE     STATUS=OK            25 CALLS      322 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8864        15.126        .50964E-05   -1.5079    
   2  alpha         2.7082        1.0127        .63825E-03    .83360E-01
   3  Normalizat    .94170        .19978        .49539E-04   -.95010    
   4  Prefactor     1.1042        .21139        .49311E-04   -.89332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72706e-09
Minuit parameter uncertainties:
  1  15.1315
  2  1.04292
  3  0.199938
  4  0.211548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381172': 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) = 6016.25713179
delta logL = 0.275433850912

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  9.886e+00  1.513e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  2.708e+00  1.043e+00  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.104e+00  2.115e-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:  9.417e-01  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.71 +/- 1.04
Photon Flux (Free Index): 3.42e-08 +/- 4.36e-08
Energy Flux (Free Index): 9.16e-06 +/- 9.41e-06

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/381172/cmap_HighResolution_523929601_524188801_4FGL_J1314.7+2348_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-05', comment='SUCCESS', energy_flux2='9.16e-06', dlogl='2.75e-01', photon_flux2='3.42e-08', job_status='DONE', time_completed='2021-09-07 06:46:03.033130', photon_index_error2='1.04', photon_index2='2.71', ts='0.97', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='6.12e-08', energy_flux_error2='9.41e-06', EG='0.96', time_epoch_completed='1631022363.03', return_code='0', job_id='381172', GAL2='1.10', EG2='0.94', return_code2='0', photon_flux_error2='4.36e-08', ts2='1.55', photon_index='1.90' WHERE bin_id='1098' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:46:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 381172: <4FGL_J1314.7+2348_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1098> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:30:35 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:34:19 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:34:19 2021
Terminated at Tue Sep  7 06:46:03 2021
Results reported at Tue Sep  7 06:46:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1098 198.688 23.8124 523929601 524188801 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 :                                   678.45 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            928 sec.

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

