/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 8 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1514.8+4448_daily_bin176
RA = 228.719, Dec = 44.8105
tmin = 284947201, tmax = 285206401
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='362840', job_status='RUN', time_executed='2021-09-11 17:51:16.061141', time_epoch_executed='1631407876.06' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='176'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362840

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362840/ft1_4FGL_J1514.8+4448_daily_bin176.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362840/ft1_4FGL_J1514.8+4448_daily_bin176.fits outfile=/scratch/kocevski/362840/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin176.fits ra=228.719 dec=44.8105 rad=12.0 tmin=284947201.0 tmax=285206401.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.29
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.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/362840/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin176.fits evtable="EVENTS" outfile="/scratch/kocevski/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits" evtable="EVENTS" scfile=/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits sctable="SC_DATA" outfile=/scratch/kocevski/362840/ltcube_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.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/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits
.....................!
real 11.94
user 11.58
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits evtable="EVENTS" scfile=/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits sctable="SC_DATA" expcube=/scratch/kocevski/362840/ltcube_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits outfile=/scratch/kocevski/362840/expmap_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.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/362840/ltcube_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits
.....................!
real 194.37
user 187.98
sys 5.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 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/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits scfile=/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits outfile=/scratch/kocevski/362840/cmap_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits scfile=/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits outfile=/scratch/kocevski/362840/cmap_HighResolution_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits', '/scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits', expMap='/scratch/kocevski/362840/expmap_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits', expCube='/scratch/kocevski/362840/ltcube_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/362840/Model_4FGL_J1514.8+4448_daily_bin176.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/362840/ft1_filtered_4FGL_J1514.8+4448_daily_bin176.fits
Spacecraft file(s): /scratch/kocevski/362840/ft2_4FGL_J1514.8+4448_daily_bin176.fits
Exposure map: /scratch/kocevski/362840/expmap_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits
Exposure cube: /scratch/kocevski/362840/ltcube_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/362840/Model_4FGL_J1514.8+4448_daily_bin176.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) = 5886.53360112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3082       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.019       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.6810       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.5189       1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6147       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3204       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.714       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.8284       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3614       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6429       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    12.828       1.0000         .10000E-03   10000.    
    26 'Prefactor '    18.798       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    50.189       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .66998       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=   5886.530     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     4061 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.634       -.73083E-06** at limit **
   2  Prefactor     1.3082        2.3190        .52450E-07    .10312E-04
   3  Prefactor     .10000E-03    6.4298       -.73289E-06** at limit **
   4  Prefactor     .10000E-03    5.2772        .54821E-06** at limit **
   5  Prefactor     39.020        34.764       -.13143E-06    .35948E-05
   6  Prefactor     .10000E-03    13.161        .74999E-06** at limit **
   7  Prefactor     .10000E-03    25.214       -.14494E-05** at limit **
   8  norm          4.6813        4.6495       -.23909E-07   -.29049E-05
   9  Prefactor     .10000E-03    12.377        .13951E-05** at limit **
  10  Prefactor     4.5193        7.1270        .68365E-06   -.67480E-05
  11  norm          .10000E-03    2.7322        .12748E-06** at limit **
  12  Prefactor     4.6151        13.156        .24111E-05   -.52124E-05
  13  Prefactor     4.3197        13.646        .10047E-06    .28911E-05
  14  norm          .10000E-03    .58644       -.16280E-07** at limit **
  15  Prefactor     .10000E-03    2.8142       -.21375E-06** at limit **
  16  Prefactor     14.714        12.488        .90135E-07    .17733E-05
  17  Prefactor     1.8293        4.8966        .19936E-06   -.96240E-05
  18  norm          1.3618        1.2434       -.10772E-07    .32983E-04
  19  norm          .10000E-03    .69933       -.40725E-08** at limit **
  20  Prefactor     .10000E-03    3.2568        .24509E-06** at limit **
  21  Prefactor     .10000E-03    27.913        .14081E-05** at limit **
  22  Prefactor     3.6420        12.025        .32247E-05   -.10663E-04
  23  Prefactor     .10000E-03    3.7217       -.25154E-06** at limit **
  24  Prefactor     .10000E-03    15.655       -.17325E-05** at limit **
  25  norm          12.828        11.828        .24354E-06    .93144E-04
  26  Prefactor     18.798        19.622        .50769E-07    .33134E-05
  27  Prefactor     .10000E-03    27.429        .88827E-06** at limit **
  28  Prefactor     .10000E-03    2.8904        .55614E-06** at limit **
  29  Prefactor     50.201        25.965       -.11293E-05   -.13872E-04
  30  Normalizat    1.1385        .16304       -.46169E-06    .50960E-04
  31  Prefactor     .66998        .16636        .24733E-06    .31234E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.30821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.0205
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.68134
  Prefactor  = 0.0001
  Prefactor  = 4.51927
  norm       = 0.0001
  Prefactor  = 4.61507
  Prefactor  = 4.31966
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7141
  Prefactor  = 1.82929
  norm       = 1.3618
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.642
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.8282
  Prefactor  = 18.798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 50.2005
  Normalizat = 1.13847
  Prefactor  = 0.669984
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.530     FROM HESSE     STATUS=OK           620 CALLS     4681 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3082        2.2725        .15160E-03   -1.5479    
   3  Prefactor     .10000E-03    6.4450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2798        .17204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.020        34.820        .64167E-04   -1.4458    
   6  Prefactor     .10000E-03    13.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    25.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.6813        4.6473        .15936E-03   -1.5275    
   9  Prefactor     .10000E-03    12.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.5193        7.1145        .94694E-03   -1.5283    
  11  norm          .10000E-03    2.7342        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.6151        13.137        .93682E-03   -1.5278    
  13  Prefactor     4.3197        13.427        .19380E-03   -1.5292    
  14  norm          .10000E-03    .60000        .11462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8280        .12563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.714        12.510        .10442E-03   -1.4941    
  17  Prefactor     1.8293        4.7870        .24952E-03   -1.5437    
  18  norm          1.3618        1.2235        .77994E-04   -1.5475    
  19  norm          .10000E-03    .70030        .62655E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.3090        .13510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    27.906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6420        12.025        .10583E-02   -1.5326    
  23  Prefactor     .10000E-03    3.7407        .14455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    15.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          12.828        11.822        .11184E-03   -1.4991    
  26  Prefactor     18.798        19.622        .92377E-04   -1.4841    
  27  Prefactor     .10000E-03    27.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    2.9327        .12790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     50.201        26.068        .56607E-04   -1.4290    
  30  Normalizat    1.1385        .19018        .20317E-03   -.88526    
  31  Prefactor     .66998        .19362        .27498E-03   -1.0472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.30673e-11
Minuit parameter uncertainties:
  1  6.40592e-06
  2  2.27265
  3  3.70723e-06
  4  4.57497e-06
  5  34.8383
  6  7.17277e-06
  7  1.8604e-05
  8  4.64767
  9  1.38268e-05
  10  7.11582
  11  8.40541e-07
  12  13.1451
  13  13.436
  14  6.35476e-07
  15  4.29401e-07
  16  12.5122
  17  4.78798
  18  1.22352
  19  2.99556e-07
  20  5.12795e-06
  21  2.57034e-05
  22  12.0327
  23  1.21108e-06
  24  1.33031e-05
  25  11.8244
  26  19.6284
  27  8.41473e-07
  28  2.96651e-05
  29  26.0734
  30  0.190297
  31  0.193817
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  2.996e-07  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:  6.700e-01  1.938e-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:  1.138e+00  1.903e-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: 2.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362840/likelihoodResults_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.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) = 5886.5302089
delta logL = -6.46841908747e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5886.53020186
delta logL = 5.7031866163e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1843       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1384       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67006       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=   5886.530     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      236 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    74.530        .63255E-02** at limit **
   2  alpha         1.6272        3.9776        .16630        .96189E-07
   3  Normalizat    1.1385        .41018E-01    .20317E-03   -.20536E-04
   4  Prefactor     .66998        .43832E-01    .27498E-03   -.10749E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.62723
  Normalizat = 1.13847
  Prefactor  = 0.669984
 **********
 **   18 **HESSE 
 **********

 FCN=   5886.530     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .82684        .68105E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6272        3.0064        .66518E-02   -.35662    
   3  Normalizat    1.1385        .17966        .81269E-05   -.88526    
   4  Prefactor     .66998        .19189        .10999E-04   -1.0472    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.06746e-11
Minuit parameter uncertainties:
  1  3.6123e-06
  2  118.924
  3  0.179754
  4  0.192078
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362840': 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) = 5886.53019153
delta logL = 1.08976500997e-05

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  3.612e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.627e+00  1.189e+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:  6.700e-01  1.921e-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:  1.138e+00  1.798e-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/362840/cmap_HighResolution_284947201_285206401_4FGL_J1514.8+4448_daily_bin176.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-05', job_status='DONE', photon_flux_upper_limit='2.66e-08', time_completed='2021-09-11 18:06:22.937616', job_id='362840', GAL2='0.67', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631408782.94', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.09e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='176' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:06:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 362840: <4FGL_J1514.8+4448_daily_bin176> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin176> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 17:50:58 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:51:00 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:51:00 2021
Terminated at Sat Sep 11 18:06:23 2021
Results reported at Sat Sep 11 18:06:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin176 228.719 44.8105 284947201 285206401 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 :                                   904.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

