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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1015
RA = 198.688, Dec = 23.8124
tmin = 502416001, tmax = 502675201
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='381055', job_status='RUN', time_executed='2021-09-07 06:36:53.235563', time_epoch_executed='1631021813.24' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1015'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381055

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381055/ft1_4FGL_J1314.7+2348_daily_bin1015.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381055/ft1_4FGL_J1314.7+2348_daily_bin1015.fits outfile=/scratch/kocevski/381055/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1015.fits ra=198.688 dec=23.8124 rad=12.0 tmin=502416001.0 tmax=502675201.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.51
user 2.62
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits" evtable="EVENTS" scfile=/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits sctable="SC_DATA" outfile=/scratch/kocevski/381055/ltcube_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.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/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits
.....................!
real 10.16
user 9.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits sctable="SC_DATA" expcube=/scratch/kocevski/381055/ltcube_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.fits outfile=/scratch/kocevski/381055/expmap_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.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/381055/ltcube_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.fits
.....................!
real 149.69
user 145.38
sys 4.00

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/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits scfile=/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits outfile=/scratch/kocevski/381055/cmap_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.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.50
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits scfile=/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits outfile=/scratch/kocevski/381055/cmap_HighResolution_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.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.55
user 0.33
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits evtable="EVENTS" scfile=/scratch/kocevski/381055/ft2_4FGL_J1314.7+2348_daily_bin1015.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381055/Model_4FGL_J1314.7+2348_daily_bin1015.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/381055/ft1_filtered_4FGL_J1314.7+2348_daily_bin1015.fits.....................!
real 40.24
user 38.27
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10326E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .87380E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    4.4861       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.7146       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12229E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11062       1.0000         .10000E-03   10000.    
     7 'norm      '    .95787       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10252E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25760       1.0000         .10000E-03   10000.    
    10 'norm      '    .10502E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6742       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.879       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2619       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10512E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .85705E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6252       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.6202       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .49724       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=   5604.128     FROM MIGRAD    STATUS=CONVERGED    622 CALLS     2566 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.0683       -.19490E-05** at limit **
   2  norm          .87485E-01    .24207        .92982E-07    .34227E-02
   3  norm          4.4861        3.7598        .74363E-07    .56797E-03
   4  Prefactor     9.7199        10.032       -.11392E-06    .50498E-04
   5  Prefactor     .10000E-03    16.605        .38999E-05** at limit **
   6  Prefactor     .14560        15.930        .97796E-05   -.45529E-04
   7  norm          .94953        3.6058       -.20181E-05   -.18913E-04
   8  Prefactor     .10000E-03    4.1325       -.24698E-07** at limit **
   9  Prefactor     .33071        25.388        .73695E-05   -.10310E-03
  10  norm          .10001E-03    2.7515       -.11037E-05** at limit **
  11  norm          1.6757        2.8426       -.87124E-07    .92674E-04
  12  norm          .10000E-03    3.1498        .19427E-06** at limit **
  13  norm          15.884        15.010        .55015E-06    .67821E-04
  14  Prefactor     2.2623        2.9282       -.14901E-06    .23655E-03
  15  Prefactor     .10000E-03    7.7293       -.16032E-06** at limit **
  16  norm          .10000E-03    3.6199        .83095E-07** at limit **
  17  Prefactor     .10000E-03    37.145       -.82011E-06** at limit **
  18  Prefactor     .10000E-03    18.736       -.51521E-05** at limit **
  19  norm          .10002E-03    33.160        .13979E-04** at limit **
  20  Prefactor     4.6393        11.012       -.45540E-06    .59384E-04
  21  Prefactor     .10000E-03    10.405       -.17440E-06** at limit **
  22  Prefactor     .10000E-03    1.1968       -.36260E-07** at limit **
  23  Prefactor     .10000E-03    6.5175        .19512E-05** at limit **
  24  Normalizat    1.6201        .17887        .24035E-06   -.39582E-04
  25  Prefactor     .49715        .17254        .51591E-06    .10998E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0874852
  norm       = 4.48606
  Prefactor  = 9.71985
  Prefactor  = 0.000100002
  Prefactor  = 0.145601
  norm       = 0.949532
  Prefactor  = 0.0001
  Prefactor  = 0.330713
  norm       = 0.000100007
  norm       = 1.67567
  norm       = 0.0001
  norm       = 15.8839
  Prefactor  = 2.26225
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.000100021
  Prefactor  = 4.63929
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.62012
  Prefactor  = 0.497154
 **********
 **   18 **HESSE 
 **********

 FCN=   5604.128     FROM HESSE     STATUS=OK           443 CALLS     3009 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.2442        .36036E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .87485E-01    .25773        .58815E-03   -1.5649    
   3  norm          4.4861        3.7517        .12846E-03   -1.5284    
   4  Prefactor     9.7199        10.029        .12857E-03   -1.5084    
   5  Prefactor     .10000E-03    16.856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .14560        29.875        .30660E-02   -1.5632    
   7  norm          .94953        3.7966        .25616E-03   -1.5513    
   8  Prefactor     .10000E-03    4.1407        .14862E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33071        23.856        .92251E-01   -1.5593    
  10  norm          .10001E-03    5.7033        .23645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6757        2.7812        .15232E-03   -1.5449    
  12  norm          .10000E-03    3.1653        .12917E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.884        15.001        .10051E-03   -1.4911    
  14  Prefactor     2.2623        2.9128        .13872E-03   -1.5407    
  15  Prefactor     .10000E-03    7.7704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.6340        .13890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    37.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    58.094        .40124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.6393        10.997        .18715E-03   -1.5277    
  21  Prefactor     .10000E-03    10.440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.2098        .79969E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.5807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.6201        .19855        .19406E-03   -.74457    
  25  Prefactor     .49715        .19478        .33132E-03   -1.1211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85528e-08
Minuit parameter uncertainties:
  1  6.40471e-05
  2  0.257731
  3  3.75187
  4  10.0309
  5  0.000348702
  6  4.17192
  7  3.79752
  8  6.64154e-06
  9  5.61916
  10  0.000398791
  11  2.78139
  12  1.39575e-05
  13  15.0047
  14  2.91301
  15  2.22333e-06
  16  1.25132e-05
  17  0.000156876
  18  0.00047901
  19  0.00221269
  20  11.0018
  21  1.85311e-05
  22  2.50011e-06
  23  8.45923e-05
  24  0.198648
  25  0.195038
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.588e+01  1.500e+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:  4.972e-01  1.950e-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:  1.620e+00  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.98
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.51e-08 +/- 1.43e-08
Energy Flux (Fixed Index): 1.18e-05 +/- 1.11e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.76087904
delta logL = 0.366723260283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5603.69899305
delta logL = 0.42860925034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.249       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1302       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6279       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49619       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=   5603.699     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      217 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.249        10.397        .31290E-02    .36569E-03
   2  alpha         1.1301        .54079        .45370       -.23139E-04
   3  Normalizat    1.6280        .17085        .43820E-01   -.13952E-03
   4  Prefactor     .49612        .17247        .74907E-01   -.17699E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.2488
  alpha      = 1.13006
  Normalizat = 1.62797
  Prefactor  = 0.496125
 **********
 **   18 **HESSE 
 **********

 FCN=   5603.699     FROM HESSE     STATUS=OK            31 CALLS      248 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.249        13.494        .12516E-03   -1.5068    
   2  alpha         1.1301        .74446        .18712E-01   -.57994    
   3  Normalizat    1.6280        .19193        .19368E-03   -.74243    
   4  Prefactor     .49612        .19329        .33169E-03   -1.1216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.53014e-10
Minuit parameter uncertainties:
  1  13.4984
  2  0.761152
  3  0.192016
  4  0.193549
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381055': 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) = 5603.69899297
delta logL = 0.428609324364

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.025e+01  1.350e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.130e+00  7.612e-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:  4.961e-01  1.935e-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:  1.628e+00  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.83
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.13 +/- 0.76
Photon Flux (Free Index): 5.73e-09 +/- 7.32e-09
Energy Flux (Free Index): 2.93e-05 +/- 4.44e-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/381055/cmap_HighResolution_502416001_502675201_4FGL_J1314.7+2348_daily_bin1015.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.51e-08', energy_flux2='2.93e-05', photon_flux_error='1.43e-08', dlogl='4.29e-01', energy_flux='1.18e-05', photon_flux2='5.73e-09', job_status='DONE', time_completed='2021-09-07 06:44:46.906586', photon_index_error2='0.76', photon_index2='1.13', ts='6.98', fit_tolerance='1e-08', GAL='0.50', photon_index_error='0.00', energy_flux_error2='4.44e-05', EG='1.62', time_epoch_completed='1631022286.91', return_code='0', job_id='381055', GAL2='0.50', EG2='1.63', return_code2='0', energy_flux_error='1.11e-05', photon_flux_error2='7.32e-09', ts2='7.83', photon_index='1.90' WHERE bin_id='1015' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:44:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 381055: <4FGL_J1314.7+2348_daily_bin1015> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1015> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:30:27 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:32: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:32:22 2021
Terminated at Tue Sep  7 06:44:47 2021
Results reported at Tue Sep  7 06:44:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1015 198.688 23.8124 502416001 502675201 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 :                                   466.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            860 sec.

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

