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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin655
RA = 198.688, Dec = 23.8124
tmin = 409104001, tmax = 409363201
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='379752', job_status='RUN', time_executed='2021-09-07 06:29:47.659361', time_epoch_executed='1631021387.66' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='655'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379752

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379752/ft1_4FGL_J1314.7+2348_daily_bin655.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379752/ft1_4FGL_J1314.7+2348_daily_bin655.fits outfile=/scratch/kocevski/379752/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin655.fits ra=198.688 dec=23.8124 rad=12.0 tmin=409104001.0 tmax=409363201.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 5.57
user 5.27
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.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/379752/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin655.fits evtable="EVENTS" outfile="/scratch/kocevski/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.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.56
user 0.35
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits" evtable="EVENTS" scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits sctable="SC_DATA" outfile=/scratch/kocevski/379752/ltcube_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.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/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits
.....................!
real 16.45
user 16.03
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits sctable="SC_DATA" expcube=/scratch/kocevski/379752/ltcube_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.fits outfile=/scratch/kocevski/379752/expmap_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.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/379752/ltcube_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.fits
.....................!
real 192.61
user 186.55
sys 5.44

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/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits outfile=/scratch/kocevski/379752/cmap_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits outfile=/scratch/kocevski/379752/cmap_HighResolution_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.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.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits evtable="EVENTS" scfile=/scratch/kocevski/379752/ft2_4FGL_J1314.7+2348_daily_bin655.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379752/Model_4FGL_J1314.7+2348_daily_bin655.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/379752/ft1_filtered_4FGL_J1314.7+2348_daily_bin655.fits.....................!
real 45.40
user 43.71
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.927       1.0000         .10000E-03   10000.    
     2 'norm      '    5.0869       1.0000         .10000E-03   10000.    
     3 'norm      '    5.1530       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .64041E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.8351       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.7623       1.0000         .10000E-03   10000.    
    10 'norm      '    8.0090       1.0000         .10000E-03   10000.    
    11 'norm      '    .40096E-01   1.0000         .10000E-03   10000.    
    12 'norm      '    12.080       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0550       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .58012       1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.905       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8007       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6274       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3171       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .81108       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=   4772.430     FROM MIGRAD    STATUS=CONVERGED   1089 CALLS     3095 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.927        10.659        .92062E-04    .49396E-05
   2  norm          5.0868        .83410        .24407E-04   -.40524E-04
   3  norm          5.1529        4.9172        .14301E-03   -.12481E-04
   4  Prefactor     .10000E-03    3.0416        .11765E-02** at limit **
   5  Prefactor     .10000E-03    86.480        .18142E-02** at limit **
   6  Prefactor     .10002E-03    53.610        .36113E-02** at limit **
   7  norm          .10000E-03    2.6651        .10966E-02** at limit **
   8  Prefactor     9.8317        19.414        .12778E-03   -.24023E-05
   9  Prefactor     8.7834        21.985        .13541E-03   -.23928E-04
  10  norm          8.0092        4.9541        .11676E-03   -.43817E-05
  11  norm          .10113E-03    15.683        .33915E-01** at limit **
  12  norm          12.145        12.524        .11526E-03   -.64116E-05
  13  norm          .10000E-03    8.9348        .18142E-02** at limit **
  14  Prefactor     .10000E-03    .84145        .61833E-03** at limit **
  15  Prefactor     .10000E-03    3.8192        .13183E-02** at limit **
  16  norm          2.0550        5.0369        .23601E-03    .21677E-05
  17  Prefactor     .48297        62.408        .13348        .88834E-04
  18  Prefactor     29.908        36.606        .73265E-04   -.13034E-05
  19  norm          .10000E-03    4.2105        .13813E-02** at limit **
  20  Prefactor     .10000E-03    27.313        .18142E-02** at limit **
  21  Prefactor     6.7942        29.946        .15386E-03   -.36946E-06
  22  Prefactor     3.6271        5.6576        .97066E-03   -.61701E-04
  23  Prefactor     .10000E-03    4.9713        .15033E-02** at limit **
  24  Normalizat    1.3172        .28092        .24338E-03   -.21523E-03
  25  Prefactor     .81108        .26814        .29943E-03   -.48979E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.9272
  norm       = 5.08684
  norm       = 5.15285
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100019
  norm       = 0.0001
  Prefactor  = 9.8317
  Prefactor  = 8.7834
  norm       = 8.00918
  norm       = 0.000101128
  norm       = 12.145
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.05504
  Prefactor  = 0.48297
  Prefactor  = 29.9079
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.79419
  Prefactor  = 3.62707
  Prefactor  = 0.0001
  Normalizat = 1.31721
  Prefactor  = 0.811077
 **********
 **   18 **HESSE 
 **********

 FCN=   4772.430     FROM HESSE     STATUS=OK           423 CALLS     3518 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.927        10.658        .36825E-05   -1.4838    
   2  norm          5.0868        .83409        .97630E-06   -1.5257    
   3  norm          5.1529        4.9170        .57204E-05   -1.5254    
   4  Prefactor     .10000E-03    3.0416        .23530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    86.483        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    55.433        .14445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6653        .21931E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     9.8317        19.413        .51110E-05   -1.5081    
   9  Prefactor     8.7834        21.954        .54164E-05   -1.5115    
  10  norm          8.0092        4.9535        .46703E-05   -1.5142    
  11  norm          .10113E-03    8.8775        .44261E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.145        11.788        .46102E-05   -1.5011    
  13  norm          .10000E-03    8.9350        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .84146        .12367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.8192        .26365E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0550        5.0366        .94403E-05   -1.5421    
  17  Prefactor     .48297        59.360        .13770       -1.5569    
  18  Prefactor     29.908        36.606        .14653E-04   -1.4614    
  19  norm          .10000E-03    4.2109        .27627E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    27.327        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.7942        29.923        .61543E-05   -1.5187    
  22  Prefactor     3.6271        5.6547        .38826E-04   -1.5327    
  23  Prefactor     .10000E-03    4.9715        .30066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.3172        .28081        .48676E-04   -.83054    
  25  Prefactor     .81108        .26813        .11977E-04   -.99321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.28276e-10
Minuit parameter uncertainties:
  1  10.6595
  2  0.834089
  3  4.91741
  4  4.86698e-08
  5  9.90497e-05
  6  0.00202739
  7  3.32221e-05
  8  19.4257
  9  21.9744
  10  4.9537
  11  0.00632879
  12  11.7899
  13  3.1002e-06
  14  1.74506e-06
  15  1.76634e-07
  16  5.03763
  17  10.7185
  18  36.633
  19  6.21786e-06
  20  7.78215e-05
  21  28.5408
  22  5.65554
  23  7.36598e-06
  24  0.281133
  25  0.268564
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  3.100e-06  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:  8.111e-01  2.686e-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.317e+00  2.811e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/379752/likelihoodResults_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.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): 102
logL (Free Index) = 4772.43011624
delta logL = -0.000522665896824

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4772.42959358
delta logL = -6.11362338532e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8877       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3172       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81111       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=   4772.430     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      239 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1668.6        .18142E-02** at limit **
   2  alpha         1.6669        3.2551        .17133       -.46450E-08
   3  Normalizat    1.3172        .11296        .24338E-03    .74131E-04
   4  Prefactor     .81107        .11248        .29942E-03    .65800E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.66687
  Normalizat = 1.31721
  Prefactor  = 0.811075
 **********
 **   18 **HESSE 
 **********

 FCN=   4772.430     FROM HESSE     STATUS=OK            23 CALLS      262 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.3082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6669        4.1665        .68530E-02   -.33975    
   3  Normalizat    1.3172        .25957        .48676E-04   -.83054    
   4  Prefactor     .81107        .25836        .11977E-04   -.99321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79339e-11
Minuit parameter uncertainties:
  1  5.5729e-05
  2  336.107
  3  0.259827
  4  0.258746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379752': 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) = 4772.42959335
delta logL = 2.23528331844e-07

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  5.573e-05  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.667e+00  3.361e+02  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:  8.111e-01  2.587e-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.317e+00  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 198.688 23.812

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/379752/cmap_HighResolution_409104001_409363201_4FGL_J1314.7+2348_daily_bin655.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', job_status='DONE', photon_flux_upper_limit='4.38e-08', time_completed='2021-09-07 06:40:35.971582', job_id='379752', GAL2='0.81', fit_tolerance='1e-08', EG2='1.32', EG='1.32', time_epoch_completed='1631022035.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.24e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='655' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:40:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 379752: <4FGL_J1314.7+2348_daily_bin655> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin655> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:25:30 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:26:59 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:26:59 2021
Terminated at Tue Sep  7 06:40:36 2021
Results reported at Tue Sep  7 06:40:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin655 198.688 23.8124 409104001 409363201 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 :                                   641.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            906 sec.

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

