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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin577
RA = 198.688, Dec = 23.8124
tmin = 388886401, tmax = 389145601
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='379638', job_status='RUN', time_executed='2021-09-07 06:26:12.865892', time_epoch_executed='1631021172.87' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='577'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379638

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379638/ft1_4FGL_J1314.7+2348_daily_bin577.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379638/ft1_4FGL_J1314.7+2348_daily_bin577.fits outfile=/scratch/kocevski/379638/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin577.fits ra=198.688 dec=23.8124 rad=12.0 tmin=388886401.0 tmax=389145601.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.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.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/379638/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin577.fits evtable="EVENTS" outfile="/scratch/kocevski/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits" evtable="EVENTS" scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits sctable="SC_DATA" outfile=/scratch/kocevski/379638/ltcube_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.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/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits
.....................!
real 16.87
user 16.51
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits evtable="EVENTS" scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits sctable="SC_DATA" expcube=/scratch/kocevski/379638/ltcube_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.fits outfile=/scratch/kocevski/379638/expmap_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.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/379638/ltcube_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.fits
.....................!
real 193.19
user 187.46
sys 4.28

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/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits outfile=/scratch/kocevski/379638/cmap_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits outfile=/scratch/kocevski/379638/cmap_HighResolution_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits evtable="EVENTS" scfile=/scratch/kocevski/379638/ft2_4FGL_J1314.7+2348_daily_bin577.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379638/Model_4FGL_J1314.7+2348_daily_bin577.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/379638/ft1_filtered_4FGL_J1314.7+2348_daily_bin577.fits.....................!
real 52.06
user 50.56
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.049       1.0000         .10000E-03   10000.    
     2 'norm      '    .31949       1.0000         .10000E-03   10000.    
     3 'norm      '    16.380       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.634       1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.909       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.358       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.2679       1.0000         .10000E-03   10000.    
    12 'norm      '    .20341E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3655       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.6101       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    28.835       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.612       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.6851       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.4216       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1047       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89877       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=   5872.527     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2888 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.049        8.7230       -.80349E-06   -.12448E-02
   2  norm          .31949        .24290       -.23814E-07    .33648E-04
   3  norm          16.380        7.5111       -.32073E-06   -.12577E-02
   4  Prefactor     14.635        9.8770        .28230E-06    .17713E-04
   5  Prefactor     15.857        42.496       -.97232E-04   -.23098E-06
   6  Prefactor     .10000E-03    1.8840       -.27449E-07** at limit **
   7  norm          .10000E-03    1.4657        .20933E-06** at limit **
   8  Prefactor     .10000E-03    42.886        .35407E-05** at limit **
   9  Prefactor     22.356        26.727        .90496E-07   -.14221E-03
  10  norm          .10000E-03    .85717       -.16122E-07** at limit **
  11  norm          9.2647        6.3549       -.43037E-06   -.16804E-02
  12  norm          .10000E-03    10.609        .19313E-05** at limit **
  13  norm          .10000E-03    5.8745        .49551E-06** at limit **
  14  Prefactor     2.3654        2.4317        .44736E-07   -.97340E-04
  15  Prefactor     .10000E-03    6.1598       -.57516E-06** at limit **
  16  norm          4.6067        7.7097        .43136E-07   -.24615E-03
  17  Prefactor     .10000E-03    14.032        .42114E-05** at limit **
  18  Prefactor     .10000E-03    19.308       -.23820E-05** at limit **
  19  norm          28.834        12.759       -.21222E-06    .18293E-04
  20  Prefactor     .10000E-03    14.387       -.40058E-05** at limit **
  21  Prefactor     10.611        12.570       -.19596E-06    .16500E-04
  22  Prefactor     1.6853        3.2336       -.58663E-06   -.53610E-03
  23  Prefactor     5.4246        15.715       -.23751E-05   -.61698E-04
  24  Normalizat    1.1047        .18643        .21323E-05   -.13365E-03
  25  Prefactor     .89879        .18350        .19346E-05   -.64921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.0486
  norm       = 0.319487
  norm       = 16.3797
  Prefactor  = 14.6346
  Prefactor  = 15.8571
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 22.3565
  norm       = 0.0001
  norm       = 9.26467
  norm       = 0.000100004
  norm       = 0.0001
  Prefactor  = 2.36542
  Prefactor  = 0.0001
  norm       = 4.60671
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.8343
  Prefactor  = 0.0001
  Prefactor  = 10.6107
  Prefactor  = 1.68526
  Prefactor  = 5.42461
  Normalizat = 1.10472
  Prefactor  = 0.898791
 **********
 **   18 **HESSE 
 **********

 FCN=   5872.527     FROM HESSE     STATUS=OK           431 CALLS     3319 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.049        8.7311        .63201E-03   -1.5074    
   2  norm          .31949        .24629        .31792E-04   -1.5595    
   3  norm          16.380        7.5118        .49481E-03   -1.4898    
   4  Prefactor     14.635        9.8769        .10470E-03   -1.4943    
   5  Prefactor     15.857        42.420        .10042E-03   -1.4911    
   6  Prefactor     .10000E-03    1.8865        .10272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.4681        .90559E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    44.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.356        26.727        .84711E-04   -1.4762    
  10  norm          .10000E-03    .85852        .69285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.2647        5.0457        .11287E-03   -1.5099    
  12  norm          .10000E-03    25.348        .37381E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.8758        .18140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3654        2.4311        .11628E-03   -1.5400    
  15  Prefactor     .10000E-03    6.1719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6067        7.6625        .18746E-03   -1.5279    
  17  Prefactor     .10000E-03    14.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    19.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          28.834        12.710        .74609E-04   -1.4633    
  20  Prefactor     .10000E-03    14.692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.611        12.571        .12299E-03   -1.5056    
  22  Prefactor     1.6853        3.2061        .18422E-03   -1.5448    
  23  Prefactor     5.4246        15.709        .17258E-03   -1.5242    
  24  Normalizat    1.1047        .22061        .24497E-03   -.89600    
  25  Prefactor     .89879        .21635        .27066E-03   -.96183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3227e-09
Minuit parameter uncertainties:
  1  8.73219
  2  0.246286
  3  7.51219
  4  9.87796
  5  42.5005
  6  3.09487e-06
  7  2.53978e-05
  8  0.000576023
  9  26.7409
  10  7.55998e-07
  11  5.04594
  12  0.000604311
  13  4.05935e-06
  14  2.43118
  15  6.70696e-07
  16  7.66416
  17  2.12924e-05
  18  2.94635e-06
  19  12.7107
  20  8.00184e-06
  21  12.574
  22  3.20639
  23  15.7205
  24  0.220797
  25  0.216555
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  4.059e-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.988e-01  2.166e-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.105e+00  2.208e-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: 3.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379638/likelihoodResults_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.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) = 5872.52793604
delta logL = -0.000795186935648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5872.52714085
delta logL = -1.52431312017e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8972       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1047       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89880       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=   5872.527     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      187 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    5.3679       -.15965E-05** at limit **
   2  alpha         1.9615        3.7619        .25959E-01   -.61672E-07
   3  Normalizat    1.1047        .17966       -.15465E-06    .81464E-05
   4  Prefactor     .89879        .18190       -.20345E-06    .38499E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 1.96147
  Normalizat = 1.10472
  Prefactor  = 0.898791
 **********
 **   18 **HESSE 
 **********

 FCN=   5872.527     FROM HESSE     STATUS=OK            31 CALLS      218 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    10.279        .18141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9615        3.4389        .17110       -.21711    
   3  Normalizat    1.1047        .21210        .24496E-03   -.89600    
   4  Prefactor     .89879        .21481        .27066E-03   -.96183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23302e-09
Minuit parameter uncertainties:
  1  0.000509442
  2  606.748
  3  0.212266
  4  0.21501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379638': 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) = 5872.52714084
delta logL = 1.18943717098e-08

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  5.094e-04  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.961e+00  6.067e+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.988e-01  2.150e-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.105e+00  2.123e-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/379638/cmap_HighResolution_388886401_389145601_4FGL_J1314.7+2348_daily_bin577.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.44e-05', job_status='DONE', photon_flux_upper_limit='3.13e-08', time_completed='2021-09-07 06:37:33.914602', job_id='379638', GAL2='0.90', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631021853.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='577' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:37:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 379638: <4FGL_J1314.7+2348_daily_bin577> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin577 198.688 23.8124 388886401 389145601 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 :                                   669.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            732 sec.

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

