/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 24 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 = 7391
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1469
RA = 198.688, Dec = 23.8124
tmin = 620092801, tmax = 620352001
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='384693', job_status='RUN', time_executed='2021-09-07 06:41:27.015106', time_epoch_executed='1631022087.02' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384693/ft1_4FGL_J1314.7+2348_daily_bin1469.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384693/ft1_4FGL_J1314.7+2348_daily_bin1469.fits outfile=/scratch/kocevski/384693/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1469.fits ra=198.688 dec=23.8124 rad=12.0 tmin=620092801.0 tmax=620352001.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.50
user 3.26
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits" evtable="EVENTS" scfile=/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits sctable="SC_DATA" outfile=/scratch/kocevski/384693/ltcube_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.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/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits
.....................!
real 15.71
user 15.35
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits evtable="EVENTS" scfile=/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits sctable="SC_DATA" expcube=/scratch/kocevski/384693/ltcube_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.fits outfile=/scratch/kocevski/384693/expmap_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.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/384693/ltcube_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.fits
.....................!
real 193.19
user 187.81
sys 4.91

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/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits scfile=/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits outfile=/scratch/kocevski/384693/cmap_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.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.61
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits scfile=/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits outfile=/scratch/kocevski/384693/cmap_HighResolution_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.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.62
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits evtable="EVENTS" scfile=/scratch/kocevski/384693/ft2_4FGL_J1314.7+2348_daily_bin1469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384693/Model_4FGL_J1314.7+2348_daily_bin1469.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/384693/ft1_filtered_4FGL_J1314.7+2348_daily_bin1469.fits.....................!
real 50.31
user 48.70
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.7808       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.928       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.8016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1759       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9543       1.0000         .10000E-03   10000.    
    10 'norm      '    2.4620       1.0000         .10000E-03   10000.    
    11 'norm      '    7.4884       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0940       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    23.616       1.0000         .10000E-03   10000.    
    17 'Prefactor '    46.782       1.0000         .10000E-03   10000.    
    18 'Prefactor '    44.400       1.0000         .10000E-03   10000.    
    19 'norm      '    4.8048       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.5782       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15135E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.840       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.3142       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79737       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=   6020.240     FROM MIGRAD    STATUS=CONVERGED    577 CALLS     2908 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5052       -.39526E-09** at limit **
   2  norm          .10000E-03    .12455        .64118E-07** at limit **
   3  norm          3.7809        2.8689        .72784E-08   -.11023E-04
   4  Prefactor     18.930        12.521        .34936E-07   -.67431E-05
   5  Prefactor     .10000E-03    19.270        .34759E-06** at limit **
   6  Prefactor     .10000E-03    1.9339        .83079E-07** at limit **
   7  norm          7.8107        5.8565       -.17350E-05   -.29926E-03
   8  Prefactor     6.1761        11.283        .22549E-06   -.22114E-05
   9  Prefactor     4.8791        52.760        .20316E-04   -.28229E-04
  10  norm          2.4630        4.2080        .20218E-05   -.74292E-05
  11  norm          7.4826        5.6672       -.22304E-05    .15578E-03
  12  norm          2.0962        6.5888        .56246E-05   -.53781E-04
  13  norm          .10000E-03    8.0151        .26372E-08** at limit **
  14  Prefactor     .10000E-03    3.7659       -.22265E-05** at limit **
  15  Prefactor     .10000E-03    38.836       -.54825E-05** at limit **
  16  norm          23.618        8.4322       -.39955E-07    .29723E-05
  17  Prefactor     46.777        40.172        .51477E-06   -.83912E-05
  18  Prefactor     44.327        57.694        .77270E-05   -.22345E-04
  19  norm          4.8049        7.1869        .15757E-06    .18897E-05
  20  Prefactor     .10000E-03    5.6547        .16641E-06** at limit **
  21  Prefactor     7.5888        23.635       -.10290E-05    .13652E-04
  22  Prefactor     .10000E-03    2.2502        .53395E-06** at limit **
  23  Prefactor     12.842        10.060        .80156E-07   -.16672E-05
  24  Normalizat    1.3137        .18569        .12787E-05   -.77844E-06
  25  Prefactor     .79780        .18673       -.26071E-05    .10285E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.78092
  Prefactor  = 18.9303
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.81066
  Prefactor  = 6.17606
  Prefactor  = 4.8791
  norm       = 2.46296
  norm       = 7.48264
  norm       = 2.09618
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 23.618
  Prefactor  = 46.7773
  Prefactor  = 44.3269
  norm       = 4.8049
  Prefactor  = 0.0001
  Prefactor  = 7.58882
  Prefactor  = 0.0001
  Prefactor  = 12.8416
  Normalizat = 1.31373
  Prefactor  = 0.7978
 **********
 **   18 **HESSE 
 **********

 FCN=   6020.240     FROM HESSE     STATUS=OK           439 CALLS     3347 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5061        .92966E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .16290        .53240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.7809        2.8707        .11147E-03   -1.5319    
   4  Prefactor     18.930        12.528        .92061E-04   -1.4838    
   5  Prefactor     .10000E-03    19.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9371        .10537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.8107        5.8260        .13118E-03   -1.5149    
   8  Prefactor     6.1761        11.276        .16154E-03   -1.5211    
   9  Prefactor     4.8791        52.508        .18069E-03   -1.5266    
  10  norm          2.4630        4.2346        .99670E-03   -1.5394    
  11  norm          7.4826        5.6310        .11297E-03   -1.5161    
  12  norm          2.0962        6.6152        .13240E-02   -1.5418    
  13  norm          .10000E-03    8.0225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9512        .29415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    40.406        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          23.618        8.4268        .82426E-04   -1.4736    
  17  Prefactor     46.777        40.175        .58623E-04   -1.4339    
  18  Prefactor     44.327        57.836        .30084E-03   -1.4375    
  19  norm          4.8049        7.1673        .18354E-03   -1.5270    
  20  Prefactor     .10000E-03    5.6698        .18017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.5888        23.712        .14568E-03   -1.5157    
  22  Prefactor     .10000E-03    4.5873        .22479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.842        10.061        .11178E-03   -1.4991    
  24  Normalizat    1.3137        .22049        .22717E-03   -.83157    
  25  Prefactor     .79780        .21970        .29580E-03   -.99809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10108e-10
Minuit parameter uncertainties:
  1  2.27615e-07
  2  6.05197e-08
  3  2.87082
  4  12.5299
  5  2.27884e-05
  6  8.10603e-07
  7  5.8264
  8  11.2799
  9  32.0476
  10  4.2351
  11  5.63136
  12  6.6175
  13  6.0218e-06
  14  0.000114942
  15  0.0003953
  16  8.42722
  17  40.1983
  18  57.9093
  19  7.16857
  20  3.1605e-07
  21  23.7417
  22  5.30934e-05
  23  10.0623
  24  0.220645
  25  0.219946
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  6.022e-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:  7.978e-01  2.199e-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.314e+00  2.206e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.87e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384693/likelihoodResults_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.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) = 6020.24052436
delta logL = -0.000590461888351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6020.2399339
delta logL = 2.74667399935e-10

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.8944       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79780       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=   6020.240     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      242 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    484.51        .18142E-02** at limit **
   2  alpha         1.8755        3.3250        .50000        .60056E-06
   3  Normalizat    1.3137        .37937E-01    .22717E-03   -.10009E-05
   4  Prefactor     .79780        .39728E-01    .29580E-03   -.53807E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00010003
  alpha      = 1.87552
  Normalizat = 1.31373
  Prefactor  = 0.7978
 **********
 **   18 **HESSE 
 **********

 FCN=   6020.240     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    1551.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8755        2.9021        .50000       -.25247    
   3  Normalizat    1.3137        .10441        .90867E-05   -.83157    
   4  Prefactor     .79780        .10933        .11832E-04   -.99809    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72191e-09
Minuit parameter uncertainties:
  1  0.0139945
  2  3642.36
  3  0.104431
  4  0.109361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384693': 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) = 6020.23993389
delta logL = 5.32418198418e-09

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  1.399e-02  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.876e+00  3.642e+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:  7.978e-01  1.094e-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.314e+00  1.044e-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/384693/cmap_HighResolution_620092801_620352001_4FGL_J1314.7+2348_daily_bin1469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.87e-05', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-09-07 06:54:35.295717', job_id='384693', GAL2='0.80', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631022875.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.32e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1469' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:54:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 384693: <4FGL_J1314.7+2348_daily_bin1469> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1469 198.688 23.8124 620092801 620352001 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 :                                   698.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             278.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            844 sec.

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

