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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin334
RA = 228.719, Dec = 44.8105
tmin = 325900801, tmax = 326160001
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='364197', job_status='RUN', time_executed='2021-09-11 17:56:22.498513', time_epoch_executed='1631408182.5' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364197

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364197/ft1_4FGL_J1514.8+4448_daily_bin334.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364197/ft1_4FGL_J1514.8+4448_daily_bin334.fits outfile=/scratch/kocevski/364197/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin334.fits ra=228.719 dec=44.8105 rad=12.0 tmin=325900801.0 tmax=326160001.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.44
user 3.23
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.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/364197/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin334.fits evtable="EVENTS" outfile="/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits" evtable="EVENTS" scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits sctable="SC_DATA" outfile=/scratch/kocevski/364197/ltcube_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.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/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits
.....................!
real 12.04
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits sctable="SC_DATA" expcube=/scratch/kocevski/364197/ltcube_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits outfile=/scratch/kocevski/364197/expmap_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.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/364197/ltcube_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits
.....................!
real 191.33
user 186.57
sys 4.39

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 198 point sources and 0 extended sources

Setting source of interest to:
4FGL J1514.8+4448 @ 228.719 44.8105

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits outfile=/scratch/kocevski/364197/cmap_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.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=228.719 yref=44.8105 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits outfile=/scratch/kocevski/364197/cmap_HighResolution_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.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=228.719 yref=44.8105 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits evtable="EVENTS" scfile=/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/364197/Model_4FGL_J1514.8+4448_daily_bin334.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/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits.....................!
real 49.55
user 48.27
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits', '/scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits', expMap='/scratch/kocevski/364197/expmap_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits', expCube='/scratch/kocevski/364197/ltcube_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/364197/Model_4FGL_J1514.8+4448_daily_bin334.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1514.8+4448'

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/364197/ft1_filtered_4FGL_J1514.8+4448_daily_bin334.fits
Spacecraft file(s): /scratch/kocevski/364197/ft2_4FGL_J1514.8+4448_daily_bin334.fits
Exposure map: /scratch/kocevski/364197/expmap_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits
Exposure cube: /scratch/kocevski/364197/ltcube_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/364197/Model_4FGL_J1514.8+4448_daily_bin334.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) = 6130.83486061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.300       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.853       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9826       1.0000         .10000E-03   10000.    
     6 'Prefactor '    69.335       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.747       1.0000         .10000E-03   10000.    
     8 'norm      '    3.3047       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18984E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18643E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .17860E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.2541       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .86672       1.0000         .10000E-03   10000.    
    18 'norm      '    .42970E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5503       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.8481       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .12445E-02   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    15.342       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .94297       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .84545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6130.828     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     4236 TOTAL
                     EDM=   .94E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.436       -.94028E-07** at limit **
   2  Prefactor     .10000E-03    1.6855       -.14999E-07** at limit **
   3  Prefactor     15.306        17.078        .92573E-07   -.56556E-04
   4  Prefactor     20.848        18.651        .13496E-06    .37086E-04
   5  Prefactor     8.9898        30.952        .38357E-06   -.11707E-04
   6  Prefactor     69.361        62.412        .65245E-06    .32835E-04
   7  Prefactor     10.733        23.341        .42108E-06    .26248E-04
   8  norm          3.3003        5.4271        .46513E-06   -.64126E-04
   9  Prefactor     .10000E-03    162.44        .20178E-06** at limit **
  10  Prefactor     .10000E-03    28.352        .25926E-05** at limit **
  11  norm          .10002E-03    4.3608        .44047E-06** at limit **
  12  Prefactor     .10000E-03    13.298       -.24879E-06** at limit **
  13  Prefactor     .10000E-03    8.0336       -.45972E-07** at limit **
  14  norm          3.2548        1.6107       -.86106E-08   -.20016E-03
  15  Prefactor     .10000E-03    4.1839       -.50235E-07** at limit **
  16  Prefactor     .10000E-03    3.4983       -.20863E-07** at limit **
  17  Prefactor     .86953        5.3596        .27789E-05   -.11796E-04
  18  norm          .10000E-03    .64898        .21538E-07** at limit **
  19  norm          .10000E-03    1.1844       -.47690E-07** at limit **
  20  Prefactor     9.5516        8.0612       -.28013E-07   -.54650E-04
  21  Prefactor     .10000E-03    26.496       -.13568E-06** at limit **
  22  Prefactor     .10000E-03    9.8157        .13572E-06** at limit **
  23  Prefactor     7.8530        11.739        .30728E-06   -.33591E-04
  24  Prefactor     .10000E-03    14.773        .24166E-06** at limit **
  25  norm          .10000E-03    5.6173        .20838E-08** at limit **
  26  Prefactor     .10000E-03    10.694       -.26779E-06** at limit **
  27  Prefactor     .10000E-03    230.41       -.77842E-06** at limit **
  28  Prefactor     .10000E-03    2.4946        .33914E-06** at limit **
  29  Prefactor     15.332        18.392        .16888E-06    .36107E-04
  30  Normalizat    .94281        .16582       -.93661E-06   -.11811E-03
  31  Prefactor     .84536        .17065        .29441E-06   -.16580E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3058
  Prefactor  = 20.8482
  Prefactor  = 8.98975
  Prefactor  = 69.3611
  Prefactor  = 10.7334
  norm       = 3.30031
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.25479
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.869529
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 9.55158
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.85299
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 15.3318
  Normalizat = 0.942811
  Prefactor  = 0.845363
 **********
 **   18 **HESSE 
 **********

 FCN=   6130.828     FROM HESSE     STATUS=OK           626 CALLS     4862 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6932        .99246E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.306        17.177        .10240E-03   -1.4925    
   4  Prefactor     20.848        18.665        .87711E-04   -1.4794    
   5  Prefactor     8.9898        31.023        .13373E-03   -1.5108    
   6  Prefactor     69.361        62.071        .48207E-04   -1.4040    
   7  Prefactor     10.733        23.359        .12221E-03   -1.5053    
   8  norm          3.3003        5.4030        .22270E-03   -1.5345    
   9  Prefactor     .10000E-03    164.71        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    28.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10002E-03    27.484        .31127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.0841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2548        1.6086        .66947E-04   -1.5347    
  15  Prefactor     .10000E-03    4.2137        .15627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.5093        .14301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .86953        5.4369        .34584E-03   -1.5521    
  18  norm          .10000E-03    1.2176        .22476E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.1898        .83101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.5516        8.0289        .12968E-03   -1.5090    
  21  Prefactor     .10000E-03    26.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    9.8626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.8530        11.702        .14313E-03   -1.5147    
  24  Prefactor     .10000E-03    14.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.6326        .18123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    10.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    233.04        .20612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.4991        .12044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     15.332        18.364        .10225E-03   -1.4925    
  30  Normalizat    .94281        .20016        .21811E-03   -.94972    
  31  Prefactor     .84536        .20567        .24802E-03   -.98077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4764e-10
Minuit parameter uncertainties:
  1  0.000105444
  2  2.20841e-07
  3  17.183
  4  18.6702
  5  31.079
  6  62.1286
  7  23.3792
  8  5.40379
  9  0.0001289
  10  5.77926e-05
  11  0.0012888
  12  3.83485e-05
  13  2.42301e-05
  14  1.60862
  15  1.13075e-06
  16  1.04568e-06
  17  4.34892
  18  6.59567e-05
  19  2.05622e-06
  20  8.02981
  21  5.45755e-05
  22  5.23967e-05
  23  11.705
  24  9.22761e-05
  25  2.85815e-06
  26  5.87968e-05
  27  0.00078878
  28  1.16417e-06
  29  18.3703
  30  0.200315
  31  0.205858
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  2.056e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.210e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.454e-01  2.059e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  9.428e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 228.719 44.810
Photon Flux Upper Limit: 3.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.58e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/364197/likelihoodResults_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.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) = 6130.83201094
delta logL = -0.00396754490976

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6130.8280434
delta logL = -5.08498487761e-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     '    2.2054       1.0000          .0000       5.0000    
     3 'Normalizat'    .94280       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84540       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6360E+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=   6130.828     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      225 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.1429        .83160E-03** at limit **
   2  alpha         2.0596        2.6788        .16607       -.11008E-06
   3  Normalizat    .94281        .18638        .21811E-03    .31794E-03
   4  Prefactor     .84536        .20281        .24802E-03    .27630E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.0596
  Normalizat = 0.942811
  Prefactor  = 0.845364
 **********
 **   18 **HESSE 
 **********

 FCN=   6130.828     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.2046        .16632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0596        2.9304        .66429E-02   -.17708    
   3  Normalizat    .94281        .18657        .43622E-04   -.94972    
   4  Prefactor     .84536        .20301        .49603E-04   -.98077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02781e-10
Minuit parameter uncertainties:
  1  3.16473e-05
  2  146.872
  3  0.1867
  4  0.203191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364197': 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) = 6130.82804288
delta logL = 5.16923137184e-07

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  3.165e-05  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.060e+00  1.469e+02  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.454e-01  2.032e-01  0.000e+00  1.000e+01 ( 1.000e+00)
634        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
635        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
632   Normalization:  9.428e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 228.719 44.810

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/364197/cmap_HighResolution_325900801_326160001_4FGL_J1514.8+4448_daily_bin334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-05', job_status='DONE', photon_flux_upper_limit='3.76e-08', time_completed='2021-09-11 18:12:10.171449', job_id='364197', GAL2='0.85', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631409130.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='5.17e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='334' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:12:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 364197: <4FGL_J1514.8+4448_daily_bin334> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin334> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 17:56:05 2021
Job was executed on host(s) <bullet0237>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:56:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 17:56:07 2021
Terminated at Sat Sep 11 18:12:10 2021
Results reported at Sat Sep 11 18:12:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin334 228.719 44.8105 325900801 326160001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1514.8+4448 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   942.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             359.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            965 sec.

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

