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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1553
RA = 198.688, Dec = 23.8124
tmin = 641865601, tmax = 642124801
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='384815', job_status='RUN', time_executed='2021-09-07 06:44:38.313775', time_epoch_executed='1631022278.31' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1553'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384815/ft1_4FGL_J1314.7+2348_daily_bin1553.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384815/ft1_4FGL_J1314.7+2348_daily_bin1553.fits outfile=/scratch/kocevski/384815/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1553.fits ra=198.688 dec=23.8124 rad=12.0 tmin=641865601.0 tmax=642124801.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 4.39
user 4.13
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits" evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits sctable="SC_DATA" outfile=/scratch/kocevski/384815/ltcube_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.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/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits
.....................!
real 16.51
user 16.15
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits sctable="SC_DATA" expcube=/scratch/kocevski/384815/ltcube_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.fits outfile=/scratch/kocevski/384815/expmap_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.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/384815/ltcube_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.fits
.....................!
real 191.60
user 187.28
sys 3.93

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/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits scfile=/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits outfile=/scratch/kocevski/384815/cmap_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits scfile=/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits outfile=/scratch/kocevski/384815/cmap_HighResolution_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits evtable="EVENTS" scfile=/scratch/kocevski/384815/ft2_4FGL_J1314.7+2348_daily_bin1553.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384815/Model_4FGL_J1314.7+2348_daily_bin1553.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/384815/ft1_filtered_4FGL_J1314.7+2348_daily_bin1553.fits.....................!
real 52.20
user 50.90
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4461       1.0000         .10000E-03   10000.    
     2 'norm      '    .36935E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    10.800       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .97082       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6987       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    8.8255       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.8596       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10858E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9462       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    41.071       1.0000         .10000E-03   10000.    
    19 'norm      '    .10289E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.7362       1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.639       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3114       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0907       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=   6183.456     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2887 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4461        4.5168       -.12044E-05   -.23261E-03
   2  norm          .36934E-01    .22230       -.26544E-06   -.13773E-02
   3  norm          10.800        6.1447       -.39466E-07    .21559E-03
   4  Prefactor     .96785        10.837       -.17020E-05   -.79906E-04
   5  Prefactor     .10000E-03    54.878       -.20595E-04** at limit **
   6  Prefactor     4.7000        8.2932       -.46316E-06   -.16657E-03
   7  norm          .10000E-03    2.6783       -.96224E-07** at limit **
   8  Prefactor     .10000E-03    12.599        .34658E-05** at limit **
   9  Prefactor     .10000E-03    49.559        .18980E-04** at limit **
  10  norm          8.8256        4.4828       -.19900E-06    .98376E-05
  11  norm          .10000E-03    1.3726       -.80448E-08** at limit **
  12  norm          5.8589        4.5937        .27826E-06   -.24941E-03
  13  norm          .10000E-03    17.617       -.33085E-05** at limit **
  14  Prefactor     .10000E-03    1.6291        .13045E-05** at limit **
  15  Prefactor     .10000E-03    6.4977        .15082E-05** at limit **
  16  norm          2.9453        3.4876        .26894E-06    .15400E-04
  17  Prefactor     .10000E-03    15.136       -.41323E-05** at limit **
  18  Prefactor     41.053        56.656       -.22699E-04   -.11067E-03
  19  norm          .10000E-03    18.803        .35367E-05** at limit **
  20  Prefactor     .10000E-03    6.0159       -.83953E-06** at limit **
  21  Prefactor     .10000E-03    8.9305       -.32412E-05** at limit **
  22  Prefactor     3.7367        3.3658        .26700E-07   -.14907E-04
  23  Prefactor     11.641        13.800       -.42109E-06   -.26804E-04
  24  Normalizat    1.3113        .19534        .89749E-06   -.18814E-03
  25  Prefactor     1.0907        .19561        .30382E-06   -.75842E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44609
  norm       = 0.036934
  norm       = 10.8002
  Prefactor  = 0.96785
  Prefactor  = 0.0001
  Prefactor  = 4.69996
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.82559
  norm       = 0.0001
  norm       = 5.85886
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 2.94528
  Prefactor  = 0.0001
  Prefactor  = 41.0531
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.73673
  Prefactor  = 11.6407
  Normalizat = 1.3113
  Prefactor  = 1.09074
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.456     FROM HESSE     STATUS=OK           429 CALLS     3316 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4461        4.5003        .21801E-03   -1.5395    
   2  norm          .36934E-01    .47200        .70662E-03   -1.5670    
   3  norm          10.800        6.1235        .12191E-03   -1.5051    
   4  Prefactor     .96785        40.810        .49085E-02   -1.5511    
   5  Prefactor     .10000E-03    54.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.7000        8.2871        .18564E-03   -1.5274    
   7  norm          .10000E-03    2.7375        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    49.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          8.8256        4.4819        .11435E-03   -1.5114    
  11  norm          .10000E-03    1.3805        .89796E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.8589        4.5762        .14479E-03   -1.5224    
  13  norm          .10000E-03    17.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.9458        .19070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.5223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9453        3.4846        .15548E-03   -1.5365    
  17  Prefactor     .10000E-03    15.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     41.053        56.679        .62549E-04   -1.4426    
  19  norm          .10000E-03    19.454        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.0250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.9358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.7367        3.3727        .13250E-03   -1.5321    
  23  Prefactor     11.641        13.805        .11742E-03   -1.5025    
  24  Normalizat    1.3113        .23274        .25230E-03   -.83230    
  25  Prefactor     1.0907        .23526        .27949E-03   -.89763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24928e-08
Minuit parameter uncertainties:
  1  4.50088
  2  0.263713
  3  6.12381
  4  12.5779
  5  1.19931e-05
  6  8.2891
  7  9.79172e-06
  8  2.35292e-05
  9  0.000248609
  10  4.48211
  11  3.97297e-06
  12  4.5765
  13  4.76193e-06
  14  0.000433501
  15  2.07158e-05
  16  3.48485
  17  1.88709e-06
  18  56.7538
  19  0.000129661
  20  4.41522e-07
  21  3.5386e-06
  22  3.37292
  23  13.8089
  24  0.232922
  25  0.235484
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  4.762e-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:  1.091e+00  2.355e-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.311e+00  2.329e-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.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384815/likelihoodResults_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.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) = 6183.45592635
delta logL = -0.00026905816776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6183.45565843
delta logL = -1.14405702334e-06

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     '    2.5527       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0907       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=   6183.456     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      285 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    334.25        .18142E-01** at limit **
   2  alpha         2.0212        3.4898        .16465        .13119E-08
   3  Normalizat    1.3113        .22032E-01    .25229E-03    .12984E-03
   4  Prefactor     1.0907        .22618E-01    .27949E-03    .11455E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.02119
  Normalizat = 1.3113
  Prefactor  = 1.09073
 **********
 **   18 **HESSE 
 **********

 FCN=   6183.456     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      312 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6566.2        .32257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0212        3.5104        .65861E-01   -.19271    
   3  Normalizat    1.3113        .10638        .50459E-04   -.83230    
   4  Prefactor     1.0907        .10922        .11179E-04   -.89763    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.93955e-10
Minuit parameter uncertainties:
  1  0.000877619
  2  5091.01
  3  0.106399
  4  0.109245
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384815': 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): 102
logL (Free Index) = 6183.45565723
delta logL = 5.83077053307e-08

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  8.776e-04  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  2.021e+00  5.091e+03  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.091e+00  1.092e-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.311e+00  1.064e-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/384815/cmap_HighResolution_641865601_642124801_4FGL_J1314.7+2348_daily_bin1553.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', job_status='DONE', photon_flux_upper_limit='4.68e-08', time_completed='2021-09-07 06:56:15.727791', job_id='384815', GAL2='1.09', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631022975.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='5.83e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1553' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:56:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 384815: <4FGL_J1314.7+2348_daily_bin1553> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin1553> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep  7 06:40:40 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:40:52 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:40:52 2021
Terminated at Tue Sep  7 06:56:16 2021
Results reported at Tue Sep  7 06:56:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1553 198.688 23.8124 641865601 642124801 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 :                                   691.30 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            936 sec.

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

