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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1107
RA = 198.688, Dec = 23.8124
tmin = 526262401, tmax = 526521601
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='381185', job_status='RUN', time_executed='2021-09-07 06:37:35.438149', time_epoch_executed='1631021855.44' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1107'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381185

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381185/ft1_4FGL_J1314.7+2348_daily_bin1107.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381185/ft1_4FGL_J1314.7+2348_daily_bin1107.fits outfile=/scratch/kocevski/381185/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1107.fits ra=198.688 dec=23.8124 rad=12.0 tmin=526262401.0 tmax=526521601.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.31
user 3.09
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.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/381185/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1107.fits evtable="EVENTS" outfile="/scratch/kocevski/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.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.53
user 0.30
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits" evtable="EVENTS" scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits sctable="SC_DATA" outfile=/scratch/kocevski/381185/ltcube_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.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/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits
.....................!
real 20.33
user 19.93
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits sctable="SC_DATA" expcube=/scratch/kocevski/381185/ltcube_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.fits outfile=/scratch/kocevski/381185/expmap_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.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/381185/ltcube_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.fits
.....................!
real 158.66
user 153.65
sys 4.62

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/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits outfile=/scratch/kocevski/381185/cmap_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits outfile=/scratch/kocevski/381185/cmap_HighResolution_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.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.50
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits evtable="EVENTS" scfile=/scratch/kocevski/381185/ft2_4FGL_J1314.7+2348_daily_bin1107.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381185/Model_4FGL_J1314.7+2348_daily_bin1107.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/381185/ft1_filtered_4FGL_J1314.7+2348_daily_bin1107.fits.....................!
real 33.39
user 31.96
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37040       1.0000         .10000E-03   10000.    
     2 'norm      '    .63190       1.0000         .10000E-03   10000.    
     3 'norm      '    4.9734       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.2623       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.903       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7085       1.0000         .10000E-03   10000.    
     8 'Prefactor '    32.770       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4518       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.1113       1.0000         .10000E-03   10000.    
    13 'norm      '    13.756       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    20.451       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.611       1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.033       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.9427       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.9002       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .87626       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92049       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=   4183.894     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     3009 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35749        5.7328        .56625E-06   -.11548E-03
   2  norm          .63196        .39028        .46194E-07   -.22949E-03
   3  norm          4.9765        4.4654       -.15243E-06   -.14285E-03
   4  Prefactor     1.2536        41.107        .67114E-05    .42784E-04
   5  Prefactor     22.018        125.84       -.12933E-05    .73082E-05
   6  Prefactor     .10000E-03    4.0666       -.12481E-06** at limit **
   7  norm          2.7075        4.3223        .84609E-06    .19245E-03
   8  Prefactor     32.768        20.457        .30286E-06   -.15174E-04
   9  Prefactor     3.4509        15.146        .49784E-06    .15286E-04
  10  norm          .10000E-03    2.1315       -.90654E-07** at limit **
  11  norm          .10000E-03    2.0528        .11852E-06** at limit **
  12  norm          2.1120        3.9247        .18202E-06    .23425E-04
  13  norm          13.754        21.546        .27902E-06   -.37193E-05
  14  Prefactor     .10000E-03    1.5180       -.29559E-07** at limit **
  15  Prefactor     .10000E-03    5.7548       -.29815E-07** at limit **
  16  norm          20.452        9.3429        .21980E-06    .60982E-05
  17  Prefactor     .10000E-03    10.600       -.51216E-07** at limit **
  18  Prefactor     .10000E-03    21.306       -.14383E-07** at limit **
  19  norm          .10000E-03    6.9895       -.15294E-06** at limit **
  20  Prefactor     22.615        21.330        .56785E-06   -.36574E-05
  21  Prefactor     10.033        16.375        .25075E-06   -.16207E-05
  22  Prefactor     2.9440        5.5739        .10056E-05    .81118E-04
  23  Prefactor     5.8999        14.257        .63361E-06    .12561E-04
  24  Normalizat    .87585        .22907       -.58377E-05   -.43194E-04
  25  Prefactor     .92090        .21614        .40987E-05   -.17822E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.357487
  norm       = 0.631957
  norm       = 4.97648
  Prefactor  = 1.25357
  Prefactor  = 22.0179
  Prefactor  = 0.0001
  norm       = 2.70754
  Prefactor  = 32.7682
  Prefactor  = 3.45094
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.11198
  norm       = 13.754
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.4519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.6152
  Prefactor  = 10.0335
  Prefactor  = 2.94399
  Prefactor  = 5.8999
  Normalizat = 0.875854
  Prefactor  = 0.9209
 **********
 **   18 **HESSE 
 **********

 FCN=   4183.894     FROM HESSE     STATUS=OK           435 CALLS     3444 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35749        14.775        .29015E-02   -1.5588    
   2  norm          .63196        .38526        .30363E-04   -1.5549    
   3  norm          4.9765        4.5245        .12221E-03   -1.5262    
   4  Prefactor     1.2536        42.972        .39684E-03   -1.5484    
   5  Prefactor     22.018        125.09        .85585E-04   -1.4769    
   6  Prefactor     .10000E-03    4.0861        .12735E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7075        4.3254        .15137E-03   -1.5379    
   8  Prefactor     32.768        20.476        .69998E-04   -1.4562    
   9  Prefactor     3.4509        14.999        .21768E-03   -1.5336    
  10  norm          .10000E-03    2.1508        .92158E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.0698        .17902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.1120        3.8556        .16794E-03   -1.5417    
  13  norm          13.754        21.539        .10800E-03   -1.4966    
  14  Prefactor     .10000E-03    1.5306        .77787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.7699        .15153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          20.452        9.3359        .88567E-04   -1.4803    
  17  Prefactor     .10000E-03    10.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    21.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.0253        .16676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.615        21.312        .84237E-04   -1.4756    
  21  Prefactor     10.033        16.363        .12650E-03   -1.5074    
  22  Prefactor     2.9440        5.5720        .19639E-03   -1.5365    
  23  Prefactor     5.8999        14.274        .16532E-03   -1.5222    
  24  Normalizat    .87585        .23550        .24264E-03   -.97314    
  25  Prefactor     .92090        .22456        .24201E-03   -.95415    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94538e-08
Minuit parameter uncertainties:
  1  4.59707
  2  0.385263
  3  4.52485
  4  14.6899
  5  105.296
  6  2.2727e-07
  7  4.32588
  8  20.4801
  9  14.3947
  10  2.09441e-06
  11  1.1797e-06
  12  3.85605
  13  21.5516
  14  2.52266e-06
  15  4.66784e-06
  16  9.33652
  17  3.14146e-06
  18  7.08893e-06
  19  8.32516e-08
  20  21.3187
  21  16.3704
  22  5.57296
  23  14.2827
  24  0.235781
  25  0.224788
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.375e+01  2.155e+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:  9.209e-01  2.248e-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:  8.759e-01  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/381185/likelihoodResults_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.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) = 4183.44719668
delta logL = 0.44654844036

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4183.44302251
delta logL = 0.450722616537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.317       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7989       1.0000          .0000       5.0000    
     3 'Normalizat'    .84803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93372       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=   4183.443     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      287 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.315        17.063        .12474E-03    .11365E-03
   2  alpha         2.7988        .98961        .11783E-01    .17402E-04
   3  Normalizat    .84808        .21802        .24593E-03   -.39866E-03
   4  Prefactor     .93382        .22074        .24026E-03   -.42765E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3149
  alpha      = 2.79877
  Normalizat = 0.848076
  Prefactor  = 0.933816
 **********
 **   18 **HESSE 
 **********

 FCN=   4183.443     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.315        15.491        .49897E-05   -1.5066    
   2  alpha         2.7988        .90203        .47130E-03    .11979    
   3  Normalizat    .84808        .21795        .49186E-04   -.98309    
   4  Prefactor     .93382        .22074        .48052E-04   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18044e-10
Minuit parameter uncertainties:
  1  15.497
  2  0.923169
  3  0.218179
  4  0.220948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381185': 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) = 4183.44302168
delta logL = 0.450723447194

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.031e+01  1.550e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  2.799e+00  9.232e-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:  9.338e-01  2.209e-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:  8.481e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.51
Ra Dec: 198.688 23.812
Photon Index (Free Index): 2.80 +/- 0.92
Photon Flux (Free Index): 4.21e-08 +/- 4.85e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.05e-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/381185/cmap_HighResolution_526262401_526521601_4FGL_J1314.7+2348_daily_bin1107.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.42e-05', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='4.51e-01', photon_flux2='4.21e-08', job_status='DONE', time_completed='2021-09-07 06:46:49.069192', photon_index_error2='0.92', photon_index2='2.80', ts='0.60', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='6.96e-08', energy_flux_error2='1.05e-05', EG='0.88', time_epoch_completed='1631022409.07', return_code='0', job_id='381185', GAL2='0.93', EG2='0.85', return_code2='0', photon_flux_error2='4.85e-08', ts2='1.51', photon_index='1.90' WHERE bin_id='1107' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:46:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 381185: <4FGL_J1314.7+2348_daily_bin1107> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1107 198.688 23.8124 526262401 526521601 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 :                                   494.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             217.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            973 sec.

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

