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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin261
RA = 228.719, Dec = 44.8105
tmin = 306979201, tmax = 307238401
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='364106', job_status='RUN', time_executed='2021-09-11 17:56:13.993614', time_epoch_executed='1631408173.99' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='261'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364106

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364106/ft1_4FGL_J1514.8+4448_daily_bin261.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364106/ft1_4FGL_J1514.8+4448_daily_bin261.fits outfile=/scratch/kocevski/364106/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin261.fits ra=228.719 dec=44.8105 rad=12.0 tmin=306979201.0 tmax=307238401.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 13.98
user 13.63
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.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/364106/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin261.fits evtable="EVENTS" outfile="/scratch/kocevski/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits" evtable="EVENTS" scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits sctable="SC_DATA" outfile=/scratch/kocevski/364106/ltcube_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.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/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits
.....................!
real 11.72
user 10.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits evtable="EVENTS" scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits sctable="SC_DATA" expcube=/scratch/kocevski/364106/ltcube_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.fits outfile=/scratch/kocevski/364106/expmap_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.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/364106/ltcube_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.fits
.....................!
real 190.49
user 184.92
sys 5.20

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/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits outfile=/scratch/kocevski/364106/cmap_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.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.56
user 0.34
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits outfile=/scratch/kocevski/364106/cmap_HighResolution_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.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/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits evtable="EVENTS" scfile=/scratch/kocevski/364106/ft2_4FGL_J1514.8+4448_daily_bin261.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/364106/Model_4FGL_J1514.8+4448_daily_bin261.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/364106/ft1_filtered_4FGL_J1514.8+4448_daily_bin261.fits.....................!
real 39.85
user 38.60
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.579       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.372       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.890       1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.595       1.0000         .10000E-03   10000.    
     7 'Prefactor '    43.910       1.0000         .10000E-03   10000.    
     8 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    39.829       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13966E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.102       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.692       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5596       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6618       1.0000         .10000E-03   10000.    
    19 'norm      '    5.2808       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.920       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .41199       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.170       1.0000         .10000E-03   10000.    
    27 'Prefactor '    222.17       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .39264E-02   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1959       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .82159       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=   4482.560     FROM MIGRAD    STATUS=CONVERGED    814 CALLS     4200 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.557       -.34450E-06** at limit **
   2  Prefactor     .10000E-03    1.7550       -.72504E-07** at limit **
   3  Prefactor     21.570        28.268        .86505E-06    .29654E-05
   4  Prefactor     12.372        24.475        .48338E-06    .23827E-05
   5  Prefactor     20.891        34.112        .60608E-06   -.10865E-05
   6  Prefactor     27.517        46.999        .17899E-06   -.38476E-04
   7  Prefactor     43.898        45.611        .75260E-06   -.13937E-04
   8  norm          .10000E-03    3.5715       -.93026E-07** at limit **
   9  Prefactor     39.826        55.776        .29632E-06   -.45810E-05
  10  Prefactor     .10000E-03    22.218       -.25606E-05** at limit **
  11  norm          .10000E-03    4.4897       -.31483E-07** at limit **
  12  Prefactor     .10000E-03    10.260       -.11525E-06** at limit **
  13  Prefactor     23.098        17.128        .33222E-06   -.63436E-05
  14  norm          .10000E-03    .50332       -.92326E-07** at limit **
  15  Prefactor     20.682        17.440        .12592E-06   -.18658E-04
  16  Prefactor     2.5587        8.5791        .15400E-05    .16198E-03
  17  Prefactor     .10000E-03    5.0135       -.15123E-06** at limit **
  18  norm          1.6634        2.7701        .31396E-06    .18754E-03
  19  norm          5.2791        4.2004        .15794E-06    .10565E-05
  20  Prefactor     .10000E-03    6.7598       -.70149E-07** at limit **
  21  Prefactor     .10000E-03    77.717       -.16525E-06** at limit **
  22  Prefactor     24.898        24.219       -.97429E-07   -.10498E-03
  23  Prefactor     .43074        14.660       -.44871E-08    .76192E-04
  24  Prefactor     .10000E-03    8.7870       -.31476E-07** at limit **
  25  norm          .10000E-03    7.4086       -.51479E-07** at limit **
  26  Prefactor     14.146        28.242        .45236E-06   -.26332E-04
  27  Prefactor     222.28        118.36       -.33688E-05   -.40747E-03
  28  Prefactor     .10918E-03    19.772        .50182E-05** at limit **
  29  Prefactor     .10000E-03    13.397        .37847E-06** at limit **
  30  Normalizat    1.1960        .23446       -.32841E-05   -.77472E-03
  31  Prefactor     .82150        .22894        .13198E-05   -.60631E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.5701
  Prefactor  = 12.3722
  Prefactor  = 20.8908
  Prefactor  = 27.5175
  Prefactor  = 43.8982
  norm       = 0.0001
  Prefactor  = 39.8257
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.0977
  norm       = 0.0001
  Prefactor  = 20.6819
  Prefactor  = 2.55874
  Prefactor  = 0.0001
  norm       = 1.6634
  norm       = 5.27907
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.8978
  Prefactor  = 0.430742
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.1463
  Prefactor  = 222.277
  Prefactor  = 0.000109179
  Prefactor  = 0.0001
  Normalizat = 1.19603
  Prefactor  = 0.821499
 **********
 **   18 **HESSE 
 **********

 FCN=   4482.560     FROM HESSE     STATUS=OK           624 CALLS     4824 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7559        .86608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     21.570        28.435        .86224E-04   -1.4779    
   4  Prefactor     12.372        24.478        .11388E-03   -1.5004    
   5  Prefactor     20.891        34.182        .87634E-04   -1.4794    
   6  Prefactor     27.517        46.879        .76264E-04   -1.4658    
   7  Prefactor     43.898        45.689        .60501E-04   -1.4382    
   8  norm          .10000E-03    3.5766        .12354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     39.826        55.770        .63513E-04   -1.4445    
  10  Prefactor     .10000E-03    22.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.4909        .13855E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.098        17.143        .83337E-04   -1.4746    
  14  norm          .10000E-03    .51143        .46322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.682        17.206        .88051E-04   -1.4798    
  16  Prefactor     2.5587        8.5851        .25518E-03   -1.5388    
  17  Prefactor     .10000E-03    5.0528        .14623E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6634        2.7107        .11834E-03   -1.5450    
  19  norm          5.2791        4.2186        .57313E-03   -1.5248    
  20  Prefactor     .10000E-03    6.7748        .16971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    77.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.898        25.211        .80245E-04   -1.4710    
  23  Prefactor     .43074        204.67        .42993E-02   -1.5577    
  24  Prefactor     .10000E-03    8.7901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    7.4183        .17798E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     14.146        28.228        .10640E-03   -1.4956    
  27  Prefactor     222.28        120.65        .13570E-03   -1.2715    
  28  Prefactor     .10918E-03    9.4683        .52578E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    13.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1960        .27516        .23620E-03   -.86726    
  31  Prefactor     .82150        .26900        .29404E-03   -.98941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47538e-09
Minuit parameter uncertainties:
  1  5.24804e-05
  2  3.30971e-06
  3  28.4532
  4  24.4976
  5  34.2135
  6  46.9418
  7  45.7256
  8  5.27256e-06
  9  55.8436
  10  0.000448631
  11  2.21499e-06
  12  1.22853e-05
  13  17.1464
  14  2.08943e-06
  15  17.2104
  16  8.58921
  17  6.55107e-06
  18  2.71088
  19  4.21885
  20  1.43552e-06
  21  6.58582e-05
  22  25.2222
  23  18.8415
  24  4.27952e-07
  25  2.56761e-06
  26  28.2547
  27  120.785
  28  0.0186479
  29  2.51606e-05
  30  0.275497
  31  0.26943
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  5.279e+00  4.219e+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

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  8.215e-01  2.694e-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.196e+00  2.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.67
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.50e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.18e-05

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) = 4482.32856052
delta logL = 0.231269601621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4482.07936444
delta logL = 0.480465684693

Fit tolerance = 1e-08

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

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

 FCN=   4482.079     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6137        1.9051        .83341E-02    .41781E-02
   2  alpha         .82396        .65568        .43548       -.13905E-04
   3  Normalizat    1.2221        .20959        .52948E-01    .21658E-05
   4  Prefactor     .81777        .22172        .66665E-01    .15776E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.61367
  alpha      = 0.82396
  Normalizat = 1.2221
  Prefactor  = 0.81777
 **********
 **   18 **HESSE 
 **********

 FCN=   4482.079     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6137        2.9636        .81768E-04   -1.5454    
   2  alpha         .82396        .95626        .19695E-02   -.73477    
   3  Normalizat    1.2221        .25132        .23411E-03   -.85923    
   4  Prefactor     .81777        .26560        .29492E-03   -.99077    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13098e-08
Minuit parameter uncertainties:
  1  2.96383
  2  1.00466
  3  0.251574
  4  0.266018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364106': 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) = 4482.07936428
delta logL = 0.480465844385

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.614e+00  2.964e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  8.240e-01  1.005e+00  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.178e-01  2.660e-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.222e+00  2.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.63
Ra Dec: 228.719 44.810
Photon Index (Free Index): 0.82 +/- 1.00
Photon Flux (Free Index): 5.90e-09 +/- 7.64e-09
Energy Flux (Free Index): 3.16e-05 +/- 5.16e-05

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/364106/cmap_HighResolution_306979201_307238401_4FGL_J1514.8+4448_daily_bin261.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.50e-08', energy_flux2='3.16e-05', photon_flux_error='2.80e-08', dlogl='4.80e-01', energy_flux='1.48e-05', photon_flux2='5.90e-09', job_status='DONE', time_completed='2021-09-11 18:08:27.772623', photon_index_error2='1.00', photon_index2='0.82', ts='8.67', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='5.16e-05', EG='1.20', time_epoch_completed='1631408907.77', return_code='0', job_id='364106', GAL2='0.82', EG2='1.22', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='7.64e-09', ts2='9.63', photon_index='2.21' WHERE bin_id='261' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:08:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 364106: <4FGL_J1514.8+4448_daily_bin261> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin261> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 17:55:58 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:56:01 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:01 2021
Terminated at Sat Sep 11 18:08:28 2021
Results reported at Sat Sep 11 18:08:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin261 228.719 44.8105 306979201 307238401 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 :                                   723.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            750 sec.

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

