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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin22
RA = 228.719, Dec = 44.8105
tmin = 245030401, tmax = 245289601
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='361547', job_status='RUN', time_executed='2021-09-11 17:46:20.436440', time_epoch_executed='1631407580.44' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361547

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361547/ft1_4FGL_J1514.8+4448_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361547/ft1_4FGL_J1514.8+4448_daily_bin22.fits outfile=/scratch/kocevski/361547/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin22.fits ra=228.719 dec=44.8105 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.40
user 1.23
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/361547/ltcube_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.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/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits
.....................!
real 13.62
user 12.97
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/361547/ltcube_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.fits outfile=/scratch/kocevski/361547/expmap_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.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/361547/ltcube_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.fits
.....................!
real 192.29
user 186.18
sys 5.50

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/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits scfile=/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits outfile=/scratch/kocevski/361547/cmap_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits scfile=/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits outfile=/scratch/kocevski/361547/cmap_HighResolution_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.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/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/361547/ft2_4FGL_J1514.8+4448_daily_bin22.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/361547/Model_4FGL_J1514.8+4448_daily_bin22.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/361547/ft1_filtered_4FGL_J1514.8+4448_daily_bin22.fits.....................!
real 49.42
user 48.04
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.794       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.283       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    39.263       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    7.7083       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4201       1.0000         .10000E-03   10000.    
    14 'norm      '    1.7126       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4606       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1404       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.7751       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.6768       1.0000         .10000E-03   10000.    
    21 'Prefactor '    36.694       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8869       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    31.759       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .94403       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .93796       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=   5942.766     FROM MIGRAD    STATUS=CONVERGED    777 CALLS     4089 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.636       -.30195E-06** at limit **
   2  Prefactor     .10000E-03    2.0230       -.25347E-07** at limit **
   3  Prefactor     17.796        22.748        .63799E-07   -.69387E-04
   4  Prefactor     28.279        19.955        .82724E-07   -.16449E-03
   5  Prefactor     .10000E-03    13.441       -.30493E-06** at limit **
   6  Prefactor     39.261        41.646        .52624E-07    .23609E-04
   7  Prefactor     .10000E-03    61.271        .24096E-06** at limit **
   8  norm          .10000E-03    2.3099       -.11572E-07** at limit **
   9  Prefactor     .10000E-03    18.384        .74429E-06** at limit **
  10  Prefactor     .10000E-03    2.9502       -.70912E-08** at limit **
  11  norm          7.7085        6.6541       -.57941E-07   -.13363E-03
  12  Prefactor     .10000E-03    10.184        .36199E-06** at limit **
  13  Prefactor     2.4195        8.0460        .74472E-07   -.40583E-05
  14  norm          1.7126        1.2623        .26466E-08    .41823E-04
  15  Prefactor     1.4613        6.1385        .34536E-05   -.14571E-03
  16  Prefactor     5.1407        8.9465        .22895E-07    .15043E-04
  17  Prefactor     .10000E-03    4.6505       -.46781E-07** at limit **
  18  norm          .10000E-03    .56844        .10745E-06** at limit **
  19  norm          7.7735        6.2692       -.49085E-06    .20920E-03
  20  Prefactor     4.6825        16.001        .64073E-05    .24678E-03
  21  Prefactor     36.678        46.538        .29896E-06    .20799E-04
  22  Prefactor     .10000E-03    27.046        .85878E-06** at limit **
  23  Prefactor     2.8861        30.778       -.94533E-05    .10128E-03
  24  Prefactor     .10000E-03    5.9485       -.29608E-07** at limit **
  25  norm          .10000E-03    3.3931        .57354E-08** at limit **
  26  Prefactor     .10000E-03    14.452       -.94412E-08** at limit **
  27  Prefactor     .10000E-03    27.584       -.39015E-06** at limit **
  28  Prefactor     .10000E-03    3.7758        .69652E-07** at limit **
  29  Prefactor     31.755        25.377        .26318E-07    .48850E-04
  30  Normalizat    .94403        .17318       -.75759E-07   -.14284E-03
  31  Prefactor     .93796        .17856        .26561E-07   -.18849E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.7963
  Prefactor  = 28.2789
  Prefactor  = 0.0001
  Prefactor  = 39.2608
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.70851
  Prefactor  = 0.0001
  Prefactor  = 2.41947
  norm       = 1.71258
  Prefactor  = 1.46133
  Prefactor  = 5.14073
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.77353
  Prefactor  = 4.68246
  Prefactor  = 36.6776
  Prefactor  = 0.0001
  Prefactor  = 2.88613
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.7554
  Normalizat = 0.944028
  Prefactor  = 0.937965
 **********
 **   18 **HESSE 
 **********

 FCN=   5942.766     FROM HESSE     STATUS=OK           614 CALLS     4703 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0358        .10706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.796        22.849        .94949E-04   -1.4864    
   4  Prefactor     28.279        19.989        .75332E-04   -1.4644    
   5  Prefactor     .10000E-03    13.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     39.261        41.655        .63967E-04   -1.4454    
   7  Prefactor     .10000E-03    62.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3188        .11440E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.9508        .12931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          7.7085        6.6549        .14443E-03   -1.5153    
  12  Prefactor     .10000E-03    10.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.4195        8.0134        .26311E-03   -1.5397    
  14  norm          1.7126        1.2543        .71988E-04   -1.5446    
  15  Prefactor     1.4613        6.1523        .17801E-02   -1.5466    
  16  Prefactor     5.1407        8.9421        .17732E-03   -1.5254    
  17  Prefactor     .10000E-03    4.7269        .16220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .57725        .56605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7735        6.2164        .12870E-03   -1.5150    
  20  Prefactor     4.6825        16.186        .93043E-03   -1.5275    
  21  Prefactor     36.678        46.527        .66161E-04   -1.4496    
  22  Prefactor     .10000E-03    27.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.8861        31.850        .23919E-03   -1.5368    
  24  Prefactor     .10000E-03    5.9749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.3991        .13868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    14.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    27.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    3.7825        .14574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     31.755        25.357        .71101E-04   -1.4580    
  30  Normalizat    .94403        .20713        .23074E-03   -.94930    
  31  Prefactor     .93796        .21301        .24997E-03   -.94827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41519e-10
Minuit parameter uncertainties:
  1  4.85803e-05
  2  2.59793e-06
  3  22.8606
  4  19.9939
  5  4.4324e-05
  6  41.6862
  7  6.80581e-05
  8  4.48216e-06
  9  0.00014181
  10  3.35362e-07
  11  6.65551
  12  1.20354e-05
  13  8.01693
  14  1.2543
  15  5.99769
  16  8.94447
  17  5.49914e-06
  18  1.21396e-05
  19  6.21688
  20  16.2007
  21  46.573
  22  4.74958e-05
  23  19.188
  24  1.14578e-05
  25  3.1908e-06
  26  1.21186e-05
  27  8.39116e-05
  28  2.8308e-05
  29  25.3655
  30  0.207303
  31  0.213198
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  7.774e+00  6.217e+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:  9.380e-01  2.132e-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.440e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.46
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 5.16e-08 +/- 4.13e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.74e-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) = 5940.93519233
delta logL = 1.83065305671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5940.33256009
delta logL = 2.43328529279

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9631       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4569       1.0000          .0000       5.0000    
     3 'Normalizat'    .85352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99745       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=   5940.333     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9641        17.964        .58975E-02    .28748E-03
   2  alpha         3.4569        3.9351        .17642        .62862E-04
   3  Normalizat    .85337        .70361E-01    .44305E-01    .13761E-04
   4  Prefactor     .99756        .75146E-01    .46235E-01    .99282E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.96406
  alpha      = 3.45693
  Normalizat = 0.853374
  Prefactor  = 0.997562
 **********
 **   18 **HESSE 
 **********

 FCN=   5940.333     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9641        3.8639        .50972E-04   -1.5364    
   2  alpha         3.4569        .78385        .75901E-02    .39279    
   3  Normalizat    .85337        .19829        .24050E-03   -.98118    
   4  Prefactor     .99756        .21311        .24280E-03   -.92811    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68885e-09
Minuit parameter uncertainties:
  1  3.86426
  2  0.799739
  3  0.198463
  4  0.213288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361547': 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) = 5940.33255959
delta logL = 2.43328579264

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.964e+00  3.864e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.457e+00  7.997e-01  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:  9.976e-01  2.133e-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:  8.534e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.54
Ra Dec: 228.719 44.810
Photon Index (Free Index): 3.46 +/- 0.80
Photon Flux (Free Index): 1.24e-07 +/- 5.15e-08
Energy Flux (Free Index): 2.32e-05 +/- 1.02e-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/361547/cmap_HighResolution_245030401_245289601_4FGL_J1514.8+4448_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.16e-08', energy_flux2='2.32e-05', photon_flux_error='4.13e-08', dlogl='2.43e+00', energy_flux='2.17e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-11 17:59:27.975986', photon_index_error2='0.80', photon_index2='3.46', ts='4.46', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='1.02e-05', EG='0.94', time_epoch_completed='1631408367.98', return_code='0', job_id='361547', GAL2='1.00', EG2='0.85', return_code2='0', energy_flux_error='1.74e-05', photon_flux_error2='5.15e-08', ts2='9.54', photon_index='2.21' WHERE bin_id='22' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 17:59:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 361547: <4FGL_J1514.8+4448_daily_bin22> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin22> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 17:46:08 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:46:09 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:46:09 2021
Terminated at Sat Sep 11 17:59:28 2021
Results reported at Sat Sep 11 17:59:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin22 228.719 44.8105 245030401 245289601 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 :                                   784.00 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             341.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

