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


Performing analysis on: 4FGL_J1314.7+2348_daily_bin698
RA = 198.688, Dec = 23.8124
tmin = 420249601, tmax = 420508801
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='379814', job_status='RUN', time_executed='2021-09-07 06:27:34.941856', time_epoch_executed='1631021254.94' WHERE source_name='4FGL J1314.7+2348' and cadence='daily' and bin_id='698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/379814

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/379814/ft1_4FGL_J1314.7+2348_daily_bin698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/379814/ft1_4FGL_J1314.7+2348_daily_bin698.fits outfile=/scratch/kocevski/379814/ft1_filteredMKT_4FGL_J1314.7+2348_daily_bin698.fits ra=198.688 dec=23.8124 rad=12.0 tmin=420249601.0 tmax=420508801.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.43
user 3.21
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/379814/ft1_filtered_4FGL_J1314.7+2348_daily_bin698.fits" evtable="EVENTS" scfile=/scratch/kocevski/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits sctable="SC_DATA" outfile=/scratch/kocevski/379814/ltcube_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.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/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits
.....................!
real 15.92
user 15.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/379814/ft1_filtered_4FGL_J1314.7+2348_daily_bin698.fits evtable="EVENTS" scfile=/scratch/kocevski/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits sctable="SC_DATA" expcube=/scratch/kocevski/379814/ltcube_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.fits outfile=/scratch/kocevski/379814/expmap_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.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/379814/ltcube_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.fits
.....................!
real 193.11
user 188.06
sys 4.65

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/379814/ft1_filtered_4FGL_J1314.7+2348_daily_bin698.fits scfile=/scratch/kocevski/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits outfile=/scratch/kocevski/379814/cmap_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.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.58
user 0.38
sys 0.16

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

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

This is gtbin version HEAD
real 0.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/379814/ft1_filtered_4FGL_J1314.7+2348_daily_bin698.fits evtable="EVENTS" scfile=/scratch/kocevski/379814/ft2_4FGL_J1314.7+2348_daily_bin698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/379814/Model_4FGL_J1314.7+2348_daily_bin698.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/379814/ft1_filtered_4FGL_J1314.7+2348_daily_bin698.fits.....................!
real 51.28
user 49.78
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3420       1.0000         .10000E-03   10000.    
     2 'norm      '    .91389       1.0000         .10000E-03   10000.    
     3 'norm      '    .28201E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.829       1.0000         .10000E-03   10000.    
     7 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    23.340       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0144       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    34.845       1.0000         .10000E-03   10000.    
    12 'norm      '    .91776       1.0000         .10000E-03   10000.    
    13 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8998       1.0000         .10000E-03   10000.    
    16 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.750       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .13942E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.4834       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.960       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .84373       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2511       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=   6172.612     FROM MIGRAD    STATUS=CONVERGED    615 CALLS     2548 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3544        5.3677        .44665E-07   -.15434E-04
   2  norm          .91408        .33903        .83724E-08    .39592E-04
   3  norm          .10074E-03    2.3580       -.42931E-08** at limit **
   4  Prefactor     .10000E-03    8.1674       -.54859E-08** at limit **
   5  Prefactor     .10000E-03    31.996        .15881E-06** at limit **
   6  Prefactor     10.828        7.6651        .69036E-07   -.21684E-04
   7  norm          .10000E-03    1.6294       -.26315E-07** at limit **
   8  Prefactor     23.336        15.234        .40365E-06    .15351E-03
   9  Prefactor     7.0144        24.373       -.54672E-06   -.47400E-04
  10  norm          .10000E-03    2.7827       -.15729E-07** at limit **
  11  norm          34.844        9.0963       -.21379E-06    .10581E-03
  12  norm          .92239        10.465        .68127E-07    .47173E-04
  13  norm          .10000E-03    17.233       -.33800E-07** at limit **
  14  Prefactor     .10000E-03    1.5053       -.10412E-06** at limit **
  15  Prefactor     6.8991        11.237        .22766E-05   -.24773E-03
  16  norm          .10000E-03    5.3079       -.83142E-08** at limit **
  17  Prefactor     18.741        23.428        .16594E-05    .23335E-03
  18  Prefactor     .10000E-03    38.057       -.39803E-06** at limit **
  19  norm          .10000E-03    11.836        .20551E-07** at limit **
  20  Prefactor     .10000E-03    10.647       -.40858E-08** at limit **
  21  Prefactor     3.4794        18.760        .14235E-05    .44568E-04
  22  Prefactor     .10000E-03    3.2785       -.28514E-07** at limit **
  23  Prefactor     25.956        15.581        .46485E-06    .18284E-03
  24  Normalizat    .84381        .18447       -.66571E-07   -.80432E-05
  25  Prefactor     1.2511        .19462       -.47526E-06    .27752E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.3544
  norm       = 0.914081
  norm       = 0.000100736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8281
  norm       = 0.0001
  Prefactor  = 23.3364
  Prefactor  = 7.01439
  norm       = 0.0001
  norm       = 34.8442
  norm       = 0.92239
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.89909
  norm       = 0.0001
  Prefactor  = 18.7413
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.47936
  Prefactor  = 0.0001
  Prefactor  = 25.9562
  Normalizat = 0.843811
  Prefactor  = 1.25112
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.612     FROM HESSE     STATUS=OK           437 CALLS     2985 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3544        5.4018        .17285E-03   -1.5245    
   2  norm          .91408        .33948        .26782E-04   -1.5517    
   3  norm          .10074E-03    5.3312        .39038E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.2577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.828        7.6682        .12175E-03   -1.5050    
   7  norm          .10000E-03    1.6350        .97836E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     23.336        15.342        .82912E-04   -1.4741    
   9  Prefactor     7.0144        24.610        .15147E-03   -1.5178    
  10  norm          .10000E-03    2.8524        .25576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          34.844        9.8362        .67888E-04   -1.4527    
  12  norm          .92239        53.893        .34689E-02   -1.5516    
  13  norm          .10000E-03    17.322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5293        .94135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8991        11.623        .76369E-03   -1.5183    
  16  norm          .10000E-03    5.4022        .17662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.741        24.648        .92496E-04   -1.4842    
  18  Prefactor     .10000E-03    38.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    12.323        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.4794        18.913        .21665E-03   -1.5335    
  22  Prefactor     .10000E-03    3.4285        .27761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     25.956        15.732        .78624E-04   -1.4689    
  24  Normalizat    .84381        .21863        .27571E-03   -.98464    
  25  Prefactor     1.2511        .23053        .25092E-03   -.84772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44308e-10
Minuit parameter uncertainties:
  1  5.40234
  2  0.339483
  3  0.00396188
  4  6.52673e-06
  5  5.73989e-05
  6  7.66892
  7  2.96689e-06
  8  15.3448
  9  24.6452
  10  2.74181e-06
  11  9.83664
  12  14.1137
  13  1.79223e-06
  14  3.62197e-06
  15  11.627
  16  3.60974e-06
  17  24.6618
  18  0.000106017
  19  1.36838e-05
  20  1.06018e-05
  21  16.2316
  22  1.67903e-06
  23  15.7344
  24  0.218856
  25  0.230721
Done.

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

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  1.792e-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.251e+00  2.307e-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:  8.438e-01  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 198.688 23.812
Photon Flux Upper Limit: 4.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.53e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/379814/likelihoodResults_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.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) = 6172.61234508
delta logL = -0.000275021678135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6172.61207203
delta logL = -1.97312056116e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15133E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8572       1.0000          .0000       5.0000    
     3 'Normalizat'    .84385       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2511       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.

 FCN=   6172.612     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      194 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.100        .90712E-02** at limit **
   2  alpha         1.9110        3.4466        .43018       -.16511E-04
   3  Normalizat    .84380        .17593        .44180E-01   -.30866E-03
   4  Prefactor     1.2511        .19175        .56747E-01    .19621E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.91098
  Normalizat = 0.843804
  Prefactor  = 1.25113
 **********
 **   18 **HESSE 
 **********

 FCN=   6172.612     FROM HESSE     STATUS=OK            29 CALLS      223 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    17.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9110        3.3880        .17207       -.23784    
   3  Normalizat    .84380        .20726        .27571E-03   -.98464    
   4  Prefactor     1.2511        .22593        .25092E-03   -.84772    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61722e-09
Minuit parameter uncertainties:
  1  9.01316e-06
  2  2.43647
  3  0.207457
  4  0.226105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/379814': 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) = 6172.61206996
delta logL = 9.95523805614e-08

Extracting fit parameters...

4FGL J1314.7+2348
   Spectrum: LogParabola
308         norm:  1.000e-04  9.013e-06  1.000e-04  1.000e+04 ( 1.000e-13)
309        alpha:  1.911e+00  2.436e+00  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.251e+00  2.261e-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:  8.438e-01  2.075e-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/379814/cmap_HighResolution_420249601_420508801_4FGL_J1314.7+2348_daily_bin698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-05', job_status='DONE', photon_flux_upper_limit='4.54e-08', time_completed='2021-09-07 06:38:52.414012', job_id='379814', GAL2='1.25', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1631021932.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='9.96e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='698' AND source_name='4FGL J1314.7+2348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep  7 06:38:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 379814: <4FGL_J1314.7+2348_daily_bin698> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1314.7+2348_daily_bin698 198.688 23.8124 420249601 420508801 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 :                                   675.07 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   690 sec.
    Turnaround time :                            800 sec.

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

