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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1013
RA = 198.688, Dec = 23.8124
tmin = 501897601, tmax = 502156801
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='381052', job_status='RUN', time_executed='2021-09-07 06:34:20.584009', time_epoch_executed='1631021660.58' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1013'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/381052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/381052/ft1_4FGL_J1314.7+2348_daily_bin1013.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/381052/ft1_4FGL_J1314.7+2348_daily_bin1013.fits outfile=/scratch/kocevski/381052/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1013.fits ra=198.688 dec=23.8124 rad=12.0 tmin=501897601.0 tmax=502156801.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.53
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.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/381052/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1013.fits evtable="EVENTS" outfile="/scratch/kocevski/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.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/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits" evtable="EVENTS" scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits sctable="SC_DATA" outfile=/scratch/kocevski/381052/ltcube_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.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/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits
.....................!
real 16.14
user 15.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits sctable="SC_DATA" expcube=/scratch/kocevski/381052/ltcube_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.fits outfile=/scratch/kocevski/381052/expmap_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.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/381052/ltcube_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.fits
.....................!
real 192.51
user 186.60
sys 5.33

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/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits outfile=/scratch/kocevski/381052/cmap_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.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/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits outfile=/scratch/kocevski/381052/cmap_HighResolution_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.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.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits evtable="EVENTS" scfile=/scratch/kocevski/381052/ft2_4FGL_J1314.7+2348_daily_bin1013.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/381052/Model_4FGL_J1314.7+2348_daily_bin1013.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/381052/ft1_filtered_4FGL_J1314.7+2348_daily_bin1013.fits.....................!
real 50.35
user 48.49
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    .52948       1.0000         .10000E-03   10000.    
     3 'norm      '    7.7408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.0363       1.0000         .10000E-03   10000.    
     7 'norm      '    3.9513       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.9470       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    12.504       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .86087       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.495       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    89.008       1.0000         .10000E-03   10000.    
    19 'norm      '    8.8199       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3600       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .99596       1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.4790       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .91735       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2647       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=   5821.281     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2833 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9627        .38517E-07** at limit **
   2  norm          .52950        .26935        .49981E-09   -.11000E-03
   3  norm          7.7417        4.7879        .65368E-07    .16257E-04
   4  Prefactor     .10000E-03    4.2233        .58668E-07** at limit **
   5  Prefactor     .10000E-03    23.254        .15885E-05** at limit **
   6  Prefactor     8.0372        8.4178        .18893E-05   -.64437E-03
   7  norm          3.9510        3.5088       -.27183E-06   -.42542E-03
   8  Prefactor     .10000E-03    6.5652        .40475E-06** at limit **
   9  Prefactor     .10000E-03    6.9480       -.22132E-06** at limit **
  10  norm          5.9471        3.4083       -.29726E-07    .83469E-04
  11  norm          .10000E-03    1.6115       -.58110E-08** at limit **
  12  norm          .10000E-03    2.5568       -.32291E-07** at limit **
  13  norm          12.505        13.398       -.47717E-07    .96865E-06
  14  Prefactor     .86263        2.9449        .11484E-05   -.12994E-03
  15  Prefactor     .10000E-03    6.1865       -.21046E-06** at limit **
  16  norm          12.496        7.8142       -.16662E-06   -.17430E-03
  17  Prefactor     .10000E-03    17.682       -.31095E-06** at limit **
  18  Prefactor     88.989        67.697       -.45337E-05   -.30971E-03
  19  norm          8.8203        9.6513        .16068E-05   -.50304E-03
  20  Prefactor     .10000E-03    24.944       -.16514E-05** at limit **
  21  Prefactor     4.3502        24.614       -.42165E-05   -.17764E-03
  22  Prefactor     .99652        2.7959        .60016E-06   -.12736E-03
  23  Prefactor     7.4801        12.533        .18418E-06   -.21675E-04
  24  Normalizat    .91725        .18424       -.54316E-07   -.60835E-04
  25  Prefactor     1.2647        .19374       -.62297E-06   -.10770E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.529504
  norm       = 7.74166
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.03717
  norm       = 3.95099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.94707
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.5045
  Prefactor  = 0.862628
  Prefactor  = 0.0001
  norm       = 12.4959
  Prefactor  = 0.0001
  Prefactor  = 88.9892
  norm       = 8.8203
  Prefactor  = 0.0001
  Prefactor  = 4.35025
  Prefactor  = 0.996524
  Prefactor  = 7.48012
  Normalizat = 0.917248
  Prefactor  = 1.26474
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.281     FROM HESSE     STATUS=OK           429 CALLS     3262 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9659        .10436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .52950        .26632        .27345E-04   -1.5562    
   3  norm          7.7417        4.7866        .12669E-03   -1.5151    
   4  Prefactor     .10000E-03    4.2481        .15313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.0372        8.8267        .70717E-03   -1.5141    
   7  norm          3.9510        3.5303        .13141E-03   -1.5310    
   8  Prefactor     .10000E-03    6.5947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.9548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.9471        3.4093        .10322E-03   -1.5220    
  11  norm          .10000E-03    1.6324        .94473E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.5692        .11912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          12.505        13.396        .11328E-03   -1.5001    
  14  Prefactor     .86263        2.9381        .22400E-03   -1.5522    
  15  Prefactor     .10000E-03    6.1992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.496        7.8090        .56660E-03   -1.5001    
  17  Prefactor     .10000E-03    17.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     88.989        70.470        .21294E-03   -1.3818    
  19  norm          8.8203        9.9018        .67483E-03   -1.5114    
  20  Prefactor     .10000E-03    25.368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.3502        26.263        .19290E-03   -1.5291    
  22  Prefactor     .99652        2.7376        .20759E-03   -1.5508    
  23  Prefactor     7.4801        12.544        .14665E-03   -1.5161    
  24  Normalizat    .91725        .21652        .26143E-03   -.95857    
  25  Prefactor     1.2647        .22759        .24655E-03   -.84362    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6927e-09
Minuit parameter uncertainties:
  1  1.1532e-06
  2  0.266324
  3  4.78681
  4  2.41636e-06
  5  0.000306055
  6  8.8281
  7  3.53045
  8  3.20933e-05
  9  2.10277e-05
  10  3.40943
  11  2.61151e-07
  12  2.49271e-06
  13  13.3992
  14  2.93864
  15  1.16284e-05
  16  7.80965
  17  5.70092e-05
  18  70.5363
  19  9.90366
  20  0.000120661
  21  21.3915
  22  2.73796
  23  12.5487
  24  0.216723
  25  0.227763
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.250e+01  1.340e+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.265e+00  2.278e-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.172e-01  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.70
Ra Dec: 198.688 23.812
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.19e-08 +/- 1.28e-08
Energy Flux (Fixed Index): 9.28e-06 +/- 9.94e-06

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

Saving results to:
/scratch/kocevski/381052/likelihoodResults_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.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) = 5820.99307936
delta logL = 0.287473806156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5820.98447953
delta logL = 0.296073633819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.701       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2678       1.0000          .0000       5.0000    
     3 'Normalizat'    .92163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2635       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=   5820.984     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      234 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.698        13.236        .12248E-03   -.23047E-03
   2  alpha         1.2675        .76560        .20281E-01    .17245E-04
   3  Normalizat    .92163        .20735        .26091E-03    .22388E-03
   4  Prefactor     1.2635        .22645        .24669E-03    .19384E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.6976
  alpha      = 1.2675
  Normalizat = 0.921633
  Prefactor  = 1.26349
 **********
 **   18 **HESSE 
 **********

 FCN=   5820.984     FROM HESSE     STATUS=OK            25 CALLS      259 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.698        13.537        .48992E-05   -1.5054    
   2  alpha         1.2675        .78246        .81124E-03   -.51554    
   3  Normalizat    .92163        .20753        .10436E-04   -.95704    
   4  Prefactor     1.2635        .22665        .49337E-04   -.84399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35454e-10
Minuit parameter uncertainties:
  1  13.5406
  2  0.800407
  3  0.207712
  4  0.226823
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/381052': 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) = 5820.98447944
delta logL = 0.296073723078

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.070e+01  1.354e+01  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.267e+00  8.004e-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.263e+00  2.268e-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.216e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.30
Ra Dec: 198.688 23.812
Photon Index (Free Index): 1.27 +/- 0.80
Photon Flux (Free Index): 6.05e-09 +/- 8.38e-09
Energy Flux (Free Index): 2.16e-05 +/- 3.52e-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/381052/cmap_HighResolution_501897601_502156801_4FGL_J1314.7+2348_daily_bin1013.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', comment='SUCCESS', photon_flux='1.19e-08', energy_flux2='2.16e-05', photon_flux_error='1.28e-08', dlogl='2.96e-01', energy_flux='9.28e-06', photon_flux2='6.05e-09', job_status='DONE', time_completed='2021-09-07 06:45:36.705003', photon_index_error2='0.80', photon_index2='1.27', ts='2.70', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='5.24e-08', energy_flux_error2='3.52e-05', EG='0.92', time_epoch_completed='1631022336.71', return_code='0', job_id='381052', GAL2='1.26', EG2='0.92', return_code2='0', energy_flux_error='9.94e-06', photon_flux_error2='8.38e-09', ts2='3.30', photon_index='1.90' WHERE bin_id='1013' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:45:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0014>
Subject: Job 381052: <4FGL_J1314.7+2348_daily_bin1013> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1013> 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) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:32:21 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:21 2021
Terminated at Tue Sep  7 06:45:37 2021
Results reported at Tue Sep  7 06:45:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1013 198.688 23.8124 501897601 502156801 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 :                                   673.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            910 sec.

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

