/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 8 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 = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1314.7+2348_daily_bin447
RA = 198.688, Dec = 23.8124
tmin = 355190401, tmax = 355449601
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='378426', job_status='RUN', time_executed='2021-09-07 06:22:20.328081', time_epoch_executed='1631020940.33' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378426/ft1_4FGL_J1314.7+2348_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378426/ft1_4FGL_J1314.7+2348_daily_bin447.fits outfile=/scratch/kocevski/378426/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin447.fits ra=198.688 dec=23.8124 rad=12.0 tmin=355190401.0 tmax=355449601.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.45
user 3.18
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.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/378426/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin447.fits evtable="EVENTS" outfile="/scratch/kocevski/378426/ft1_filtered_4FGL_J1314.7+2348_daily_bin447.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378426/ft1_filtered_4FGL_J1314.7+2348_daily_bin447.fits" evtable="EVENTS" scfile=/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits sctable="SC_DATA" outfile=/scratch/kocevski/378426/ltcube_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.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/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits
.....................!
real 17.55
user 17.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378426/ft1_filtered_4FGL_J1314.7+2348_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/378426/ltcube_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.fits outfile=/scratch/kocevski/378426/expmap_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.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/378426/ltcube_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.fits
.....................!
real 193.82
user 188.17
sys 5.06

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/378426/ft1_filtered_4FGL_J1314.7+2348_daily_bin447.fits scfile=/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits outfile=/scratch/kocevski/378426/cmap_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.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/378426/ft1_filtered_4FGL_J1314.7+2348_daily_bin447.fits scfile=/scratch/kocevski/378426/ft2_4FGL_J1314.7+2348_daily_bin447.fits outfile=/scratch/kocevski/378426/cmap_HighResolution_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.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.60
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17748E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .50168       1.0000         .10000E-03   10000.    
     3 'norm      '    2.0126       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10130E-03   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 '    11.203       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.9319       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8810       1.0000         .10000E-03   10000.    
    12 'norm      '    .18476E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2513       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    31.243       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    13.853       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.420       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.2251       1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.977       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .64405       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1896       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=   4928.913     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     2509 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4811        .20536E-05** at limit **
   2  norm          .50167        .26313        .14344E-07    .22113E-03
   3  norm          2.0119        2.6790        .13968E-06    .17239E-03
   4  Prefactor     .10000E-03    4.9645       -.50453E-07** at limit **
   5  Prefactor     .10000E-03    101.14        .18748E-05** at limit **
   6  Prefactor     .10000E-03    2.0934       -.21964E-07** at limit **
   7  norm          .10000E-03    1.2131        .27329E-07** at limit **
   8  Prefactor     11.204        11.701       -.15856E-07    .34761E-04
   9  Prefactor     .10000E-03    6.1699        .32879E-06** at limit **
  10  norm          4.9320        3.7569        .15771E-06    .48379E-04
  11  norm          2.8764        3.3405       -.26696E-06   -.23207E-03
  12  norm          .10000E-03    13.899        .60530E-05** at limit **
  13  norm          .10000E-03    8.4090        .10511E-05** at limit **
  14  Prefactor     3.2516        2.6500        .20087E-07   -.61762E-04
  15  Prefactor     .10000E-03    6.1789       -.85758E-07** at limit **
  16  norm          31.243        9.7538       -.32647E-07   -.53655E-04
  17  Prefactor     .10000E-03    54.736       -.95928E-06** at limit **
  18  Prefactor     .10000E-03    17.064        .25713E-05** at limit **
  19  norm          13.853        9.2169        .15019E-06    .25146E-03
  20  Prefactor     .10000E-03    10.800        .14162E-06** at limit **
  21  Prefactor     13.424        29.785       -.33682E-06    .69812E-07
  22  Prefactor     5.2254        3.6434       -.72075E-07    .60610E-04
  23  Prefactor     12.980        14.385       -.59623E-07    .25330E-04
  24  Normalizat    .64399        .17774       -.15075E-06   -.36055E-04
  25  Prefactor     1.1896        .18437        .10094E-06   -.35211E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.501672
  norm       = 2.01191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.2042
  Prefactor  = 0.0001
  norm       = 4.93201
  norm       = 2.8764
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 3.25161
  Prefactor  = 0.0001
  norm       = 31.2434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.8534
  Prefactor  = 0.0001
  Prefactor  = 13.4239
  Prefactor  = 5.2254
  Prefactor  = 12.9797
  Normalizat = 0.643992
  Prefactor  = 1.18958
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.913     FROM HESSE     STATUS=OK           427 CALLS     2936 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.1131        .24809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .50167        .26238        .25185E-04   -1.5566    
   3  norm          2.0119        2.6558        .12834E-03   -1.5424    
   4  Prefactor     .10000E-03    4.9807        .15275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    101.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.0984        .99195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2157        .75514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.204        11.700        .11969E-03   -1.5038    
   9  Prefactor     .10000E-03    6.1755        .17034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.9320        3.7601        .11456E-03   -1.5264    
  11  norm          2.8764        3.3999        .13274E-03   -1.5369    
  12  norm          .10000E-03    16.267        .31277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.4195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2516        2.6445        .98523E-04   -1.5347    
  15  Prefactor     .10000E-03    6.1989        .17039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.243        9.7608        .71683E-04   -1.4589    
  17  Prefactor     .10000E-03    55.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    17.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          13.853        9.2464        .53808E-03   -1.4963    
  20  Prefactor     .10000E-03    10.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.424        29.980        .10934E-03   -1.4975    
  22  Prefactor     5.2254        3.6392        .10822E-03   -1.5251    
  23  Prefactor     12.980        14.389        .11119E-03   -1.4987    
  24  Normalizat    .64399        .20773        .26896E-03   -1.0615    
  25  Prefactor     1.1896        .21581        .22316E-03   -.86653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.24716e-10
Minuit parameter uncertainties:
  1  0.000219395
  2  0.262382
  3  2.656
  4  5.10634e-07
  5  3.41234e-05
  6  1.44561e-06
  7  1.54226e-07
  8  11.7026
  9  4.56518e-07
  10  3.76025
  11  3.40018
  12  0.000264442
  13  5.14987e-06
  14  2.64455
  15  2.03277e-06
  16  9.76126
  17  4.22973e-05
  18  6.12724e-06
  19  9.24731
  20  2.35629e-05
  21  30.0132
  22  3.63936
  23  14.3928
  24  0.207978
  25  0.215966
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  5.150e-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.190e+00  2.160e-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:  6.440e-01  2.080e-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.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378426/likelihoodResults_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.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) = 4928.91349113
delta logL = -0.000561193380236

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4928.91292994
delta logL = 1.49066181621e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8932       1.0000          .0000       5.0000    
     3 'Normalizat'    .64399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1896       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=   4928.913     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      237 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1389.6        .18142E-02** at limit **
   2  alpha         1.8358        4.0239        .17120        .30674E-06
   3  Normalizat    .64399        .77709E-01    .26896E-03   -.14060E-02
   4  Prefactor     1.1896        .85816E-01    .22316E-03   -.17796E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100011
  alpha      = 1.83577
  Normalizat = 0.64399
  Prefactor  = 1.18958
 **********
 **   18 **HESSE 
 **********

 FCN=   4928.913     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    8.4669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8358        3.4044        .68478E-02   -.26892    
   3  Normalizat    .64399        .19354        .53791E-04   -1.0615    
   4  Prefactor     1.1896        .21379        .44631E-04   -.86653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.31563e-09
Minuit parameter uncertainties:
  1  0.000613011
  2  320.794
  3  0.193742
  4  0.213942
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378426': 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) = 4928.91292992
delta logL = 2.30047589866e-08

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  6.130e-04  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.836e+00  3.208e+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:  1.190e+00  2.139e-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:  6.440e-01  1.937e-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/378426/cmap_HighResolution_355190401_355449601_4FGL_J1314.7+2348_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-05', job_status='DONE', photon_flux_upper_limit='3.66e-08', time_completed='2021-09-07 06:32:33.542153', job_id='378426', GAL2='1.19', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1631021553.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='2.30e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='447' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:32:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 378426: <4FGL_J1314.7+2348_daily_bin447> in cluster <slac> Done

Job <4FGL_J1314.7+2348_daily_bin447> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Sep  7 06:20:46 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep  7 06:22:03 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:22:03 2021
Terminated at Tue Sep  7 06:32:34 2021
Results reported at Tue Sep  7 06:32:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin447 198.688 23.8124 355190401 355449601 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 :                                   608.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             289.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            708 sec.

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

