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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin1534
RA = 198.688, Dec = 23.8124
tmin = 636940801, tmax = 637200001
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='384787', job_status='RUN', time_executed='2021-09-07 06:41:18.127616', time_epoch_executed='1631022078.13' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='1534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384787

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384787/ft1_4FGL_J1314.7+2348_daily_bin1534.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384787/ft1_4FGL_J1314.7+2348_daily_bin1534.fits outfile=/scratch/kocevski/384787/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin1534.fits ra=198.688 dec=23.8124 rad=12.0 tmin=636940801.0 tmax=637200001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.48
user 5.18
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384787/ft1_filtered_4FGL_J1314.7+2348_daily_bin1534.fits" evtable="EVENTS" scfile=/scratch/kocevski/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits sctable="SC_DATA" outfile=/scratch/kocevski/384787/ltcube_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.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/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits
.....................!
real 17.03
user 16.49
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384787/ft1_filtered_4FGL_J1314.7+2348_daily_bin1534.fits evtable="EVENTS" scfile=/scratch/kocevski/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits sctable="SC_DATA" expcube=/scratch/kocevski/384787/ltcube_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.fits outfile=/scratch/kocevski/384787/expmap_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.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/384787/ltcube_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.fits
.....................!
real 191.54
user 186.84
sys 3.94

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/384787/ft1_filtered_4FGL_J1314.7+2348_daily_bin1534.fits scfile=/scratch/kocevski/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits outfile=/scratch/kocevski/384787/cmap_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384787/ft1_filtered_4FGL_J1314.7+2348_daily_bin1534.fits scfile=/scratch/kocevski/384787/ft2_4FGL_J1314.7+2348_daily_bin1534.fits outfile=/scratch/kocevski/384787/cmap_HighResolution_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=198.688 yref=23.8124 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.41
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.195       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.929       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.839       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.9342       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7399       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .93300E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.0887       1.0000         .10000E-03   10000.    
    11 'norm      '    41.584       1.0000         .10000E-03   10000.    
    12 'norm      '    .67898       1.0000         .10000E-03   10000.    
    13 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .49422E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12906E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    119.97       1.0000         .10000E-03   10000.    
    19 'norm      '    22.687       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.4390       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .57860       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=   5515.527     FROM MIGRAD    STATUS=CONVERGED    591 CALLS     2934 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.196        8.4570        .23225E-07    .94996E-04
   2  norm          .10000E-03    .15368       -.49282E-08** at limit **
   3  norm          .10000E-03    2.9676       -.19061E-07** at limit **
   4  Prefactor     20.928        13.383        .45607E-07   -.30878E-05
   5  Prefactor     20.695        182.68       -.17929E-05    .50509E-04
   6  Prefactor     .10000E-03    3.4387       -.12259E-07** at limit **
   7  norm          6.9275        8.2048       -.30333E-06   -.98856E-04
   8  Prefactor     4.7376        14.648       -.25340E-06    .69156E-05
   9  Prefactor     .10007E-03    241.33        .33731E-05** at limit **
  10  norm          2.0887        2.4822       -.15346E-08    .23623E-04
  11  norm          41.603        13.990       -.17360E-05   -.11148E-02
  12  norm          .63996        126.13        .14658E-04   -.13709E-03
  13  norm          .10000E-03    8.0678        .12711E-07** at limit **
  14  Prefactor     .10000E-03    4.1601        .13349E-05** at limit **
  15  Prefactor     .10000E-03    10.098        .86083E-07** at limit **
  16  norm          .10000E-03    3.5552       -.42512E-07** at limit **
  17  Prefactor     .10000E-03    41.056       -.10350E-06** at limit **
  18  Prefactor     119.99        110.79       -.10799E-06    .62777E-04
  19  norm          22.689        11.462       -.13467E-08   -.31320E-04
  20  Prefactor     .10000E-03    4.8698        .10792E-07** at limit **
  21  Prefactor     .10000E-03    7.7549       -.51129E-07** at limit **
  22  Prefactor     .10000E-03    5.9060       -.78714E-07** at limit **
  23  Prefactor     .10000E-03    5.7329       -.60012E-07** at limit **
  24  Normalizat    1.4388        .20792        .38066E-06    .45447E-03
  25  Prefactor     .57876        .19012       -.69273E-07   -.69849E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1957
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.9277
  Prefactor  = 20.6953
  Prefactor  = 0.0001
  norm       = 6.92749
  Prefactor  = 4.73763
  Prefactor  = 0.000100073
  norm       = 2.08868
  norm       = 41.6032
  norm       = 0.63996
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 119.988
  norm       = 22.6891
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.43883
  Prefactor  = 0.578756
 **********
 **   18 **HESSE 
 **********

 FCN=   5515.527     FROM HESSE     STATUS=OK           423 CALLS     3357 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.196        8.4306        .11973E-03   -1.5039    
   2  norm          .10000E-03    .23287        .56163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.9915        .12482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.928        13.383        .87552E-04   -1.4793    
   5  Prefactor     20.695        175.38        .87740E-04   -1.4798    
   6  Prefactor     .10000E-03    3.4516        .13449E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.9275        8.1439        .76177E-03   -1.5182    
   8  Prefactor     4.7376        14.648        .18482E-03   -1.5273    
   9  Prefactor     .10007E-03    253.41        .20807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.0887        2.4735        .12406E-03   -1.5419    
  11  norm          41.603        17.737        .62164E-04   -1.4417    
  12  norm          .63996        208.97        .46183E-02   -1.5548    
  13  norm          .10000E-03    8.0779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.536        .25779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.5628        .13661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     119.99        107.56        .18371E-03   -1.3513    
  19  norm          22.689        11.482        .84095E-04   -1.4755    
  20  Prefactor     .10000E-03    4.8734        .16007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.7598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    6.1770        .35225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    5.7550        .17369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.4388        .24398        .23125E-03   -.79512    
  25  Prefactor     .57876        .21860        .32683E-03   -1.0849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11002e-09
Minuit parameter uncertainties:
  1  8.43145
  2  5.17053e-06
  3  5.66517e-06
  4  13.3849
  5  120.973
  6  4.04788e-06
  7  8.14521
  8  14.6595
  9  0.00860965
  10  2.47364
  11  17.739
  12  23.2089
  13  1.21441e-05
  14  0.000274942
  15  1.82097e-05
  16  5.93074e-06
  17  6.73826e-05
  18  107.739
  19  11.4833
  20  2.53235e-06
  21  4.0142e-06
  22  7.45781e-06
  23  1.09944e-05
  24  0.244181
  25  0.218921
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  1.214e-05  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:  5.788e-01  2.189e-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.439e+00  2.442e-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.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384787/likelihoodResults_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.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) = 5515.52805451
delta logL = -0.000584796427574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5515.52746982
delta logL = -1.0644816939e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8854       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4389       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57869       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=   5515.527     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      239 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    232.23        .18142E-01** at limit **
   2  alpha         1.6458        2.6395        .17138       -.13267E-07
   3  Normalizat    1.4388        .26920E-01    .23125E-03    .36685E-04
   4  Prefactor     .57876        .25350E-01    .32684E-03    .24244E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.64578
  Normalizat = 1.43882
  Prefactor  = 0.578761
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.6002        .21146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6458        2.5707        .68552E-02   -.34871    
   3  Normalizat    1.4388        .22686        .46249E-04   -.79512    
   4  Prefactor     .57876        .21348        .13074E-04   -1.0849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26089e-11
Minuit parameter uncertainties:
  1  4.79493e-05
  2  295.111
  3  0.227022
  4  0.213783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384787': 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) = 5515.52746937
delta logL = 3.39518919645e-07

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  4.795e-05  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.646e+00  2.951e+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:  5.788e-01  2.138e-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.439e+00  2.270e-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/384787/cmap_HighResolution_636940801_637200001_4FGL_J1314.7+2348_daily_bin1534.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-05', job_status='DONE', photon_flux_upper_limit='3.71e-08', time_completed='2021-09-07 06:53:34.262587', job_id='384787', GAL2='0.58', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1631022814.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='3.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1534' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:53:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 384787: <4FGL_J1314.7+2348_daily_bin1534> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin1534 198.688 23.8124 636940801 637200001 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 :                                   658.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            777 sec.

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

