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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin1
RA = 228.719, Dec = 44.8105
tmin = 239587201, tmax = 239846401
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='360343', job_status='RUN', time_executed='2021-09-11 17:42:22.452909', time_epoch_executed='1631407342.45' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/360343

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/360343/ft1_4FGL_J1514.8+4448_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/360343/ft1_4FGL_J1514.8+4448_daily_bin1.fits outfile=/scratch/kocevski/360343/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1.fits ra=228.719 dec=44.8105 rad=12.0 tmin=239587201.0 tmax=239846401.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.31
user 1.10
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.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/360343/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin1.fits evtable="EVENTS" outfile="/scratch/kocevski/360343/ft1_filtered_4FGL_J1514.8+4448_daily_bin1.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/360343/ft1_filtered_4FGL_J1514.8+4448_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/360343/ltcube_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.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/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits
.....................!
real 12.64
user 12.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/360343/ft1_filtered_4FGL_J1514.8+4448_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/360343/ltcube_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.fits outfile=/scratch/kocevski/360343/expmap_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.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/360343/ltcube_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.fits
.....................!
real 191.91
user 187.37
sys 4.23

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/360343/ft1_filtered_4FGL_J1514.8+4448_daily_bin1.fits scfile=/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits outfile=/scratch/kocevski/360343/cmap_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.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/360343/ft1_filtered_4FGL_J1514.8+4448_daily_bin1.fits scfile=/scratch/kocevski/360343/ft2_4FGL_J1514.8+4448_daily_bin1.fits outfile=/scratch/kocevski/360343/cmap_HighResolution_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.795       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10429E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.484       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.642       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7451       1.0000         .10000E-03   10000.    
    18 'norm      '    .30944       1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11428E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .82907       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .85647       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=   3990.925     FROM MIGRAD    STATUS=CONVERGED    801 CALLS     4081 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.868        97.176        .16973E-05   -.79372E-04
   2  Prefactor     .10003E-03    60.679        .19702E-04** at limit **
   3  Prefactor     .10000E-03    11.580       -.29545E-06** at limit **
   4  Prefactor     .10000E-03    10.784       -.22013E-06** at limit **
   5  Prefactor     12.445        61.326        .21590E-05   -.59351E-04
   6  Prefactor     16.635        112.12       -.59050E-06   -.70959E-04
   7  Prefactor     .10000E-03    17.239       -.13936E-06** at limit **
   8  norm          .10000E-03    3.0913       -.96346E-07** at limit **
   9  Prefactor     26.650        43.538       -.46448E-06    .50636E-04
  10  Prefactor     .10002E-03    44.258       -.26205E-05** at limit **
  11  norm          .10000E-03    2.9440       -.46882E-08** at limit **
  12  Prefactor     .10000E-03    7.6110        .23592E-07** at limit **
  13  Prefactor     .10000E-03    9.6531       -.57522E-06** at limit **
  14  norm          .10000E-03    .70426       -.26436E-06** at limit **
  15  Prefactor     .10000E-03    2.1943        .49510E-07** at limit **
  16  Prefactor     .10000E-03    5.5724       -.14653E-06** at limit **
  17  Prefactor     3.7450        4.5753       -.82481E-07   -.16141E-04
  18  norm          .30928        .95636       -.73333E-06   -.11638E-02
  19  norm          .10000E-03    3.4618       -.39282E-06** at limit **
  20  Prefactor     .10000E-03    3.7291       -.21185E-06** at limit **
  21  Prefactor     .10000E-03    84.990        .21353E-07** at limit **
  22  Prefactor     .10000E-03    25.297       -.53877E-06** at limit **
  23  Prefactor     .10000E-03    9.8294       -.60505E-06** at limit **
  24  Prefactor     .10000E-03    6.9227       -.21360E-06** at limit **
  25  norm          .10000E-03    4.9396       -.11457E-06** at limit **
  26  Prefactor     .10000E-03    8.4441       -.12269E-07** at limit **
  27  Prefactor     .10000E-03    19.169       -.23300E-06** at limit **
  28  Prefactor     .10000E-03    3.8564       -.20855E-06** at limit **
  29  Prefactor     .10000E-03    22.514       -.68816E-06** at limit **
  30  Normalizat    .82890        .17997       -.96249E-06    .50515E-04
  31  Prefactor     .85667        .18718        .27344E-05    .40259E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8679
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4448
  Prefactor  = 16.6351
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.6502
  Prefactor  = 0.000100023
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.74499
  norm       = 0.309275
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.8289
  Prefactor  = 0.85667
 **********
 **   18 **HESSE 
 **********

 FCN=   3990.925     FROM HESSE     STATUS=OK           604 CALLS     4685 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.868        96.552        .12194E-03   -1.5049    
   2  Prefactor     .10003E-03    60.296        .30758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.445        61.118        .11337E-03   -1.5002    
   6  Prefactor     16.635        110.21        .98181E-04   -1.4892    
   7  Prefactor     .10000E-03    17.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.1240        .10846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.650        43.522        .77613E-04   -1.4675    
  10  Prefactor     .10002E-03    45.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    2.9458        .10586E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.6361        .17019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.7082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .72037        .51967E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.1969        .91383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.5802        .14566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7450        4.5712        .14490E-03   -1.5321    
  18  norm          .30928        .94744        .10772E-02   -1.5597    
  19  norm          .10000E-03    3.5830        .22991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.7454        .11918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    85.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    25.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.9444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.9286        .16237E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    4.9487        .13715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.4493        .17929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    19.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    3.9255        .12121E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    22.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .82890        .21439        .21300E-03   -.99005    
  31  Prefactor     .85667        .22613        .22505E-03   -.97672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16948e-09
Minuit parameter uncertainties:
  1  64.9263
  2  0.00276498
  3  6.99043e-06
  4  4.16074e-05
  5  55.2484
  6  85.8646
  7  0.000103571
  8  1.09122e-05
  9  43.5739
  10  0.00206158
  11  1.28393e-06
  12  3.41038e-05
  13  0.000132537
  14  2.94664e-05
  15  5.47366e-06
  16  6.52996e-05
  17  4.57159
  18  0.947488
  19  6.71674e-05
  20  3.3086e-05
  21  9.4653e-05
  22  0.000330913
  23  0.00013004
  24  9.47655e-06
  25  1.77521e-05
  26  4.28644e-05
  27  1.43834e-05
  28  3.88688e-05
  29  0.000163844
  30  0.214611
  31  0.22638
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  6.717e-05  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.567e-01  2.264e-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.289e-01  2.146e-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: 5.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/360343/likelihoodResults_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.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) = 3990.92587874
delta logL = -0.00133142223194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3990.92451554
delta logL = 3.17817916766e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13430E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6931       1.0000          .0000       5.0000    
     3 'Normalizat'    .82894       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85667       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=   3990.916     FROM MIGRAD    STATUS=CONVERGED     75 CALLS      265 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14483        17.932        .20174E-01    .98888E-03
   2  alpha         3.4485        2.6500        .49639        .19906E-04
   3  Normalizat    .82309        .18649E-01    .43987E-01    .50836E-04
   4  Prefactor     .85876        .20117E-01    .44450E-01   -.23684E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.144835
  alpha      = 3.4485
  Normalizat = 0.823092
  Prefactor  = 0.858761
 **********
 **   18 **HESSE 
 **********

 FCN=   3990.916     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      298 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14483        414.48        .12134E-02   -1.5632    
   2  alpha         3.4485        2.5133        .58064E-01    .38915    
   3  Normalizat    .82309        .21911        .21371E-03   -.99218    
   4  Prefactor     .85876        .16902        .22480E-03   -.97597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.66825e-08
Minuit parameter uncertainties:
  1  15.5998
  2  38.1075
  3  0.219343
  4  0.169119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/360343': 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): 102
logL (Free Index) = 3990.91636052
delta logL = 0.00818680211478

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.448e-01  1.560e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.449e+00  3.811e+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:  8.588e-01  1.691e-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.231e-01  2.193e-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/360343/cmap_HighResolution_239587201_239846401_4FGL_J1514.8+4448_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.51e-05', job_status='DONE', photon_flux_upper_limit='5.97e-08', time_completed='2021-09-11 17:53:45.889172', job_id='360343', GAL2='0.86', fit_tolerance='1e-08', EG2='0.82', EG='0.83', time_epoch_completed='1631408025.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='8.19e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='1' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 17:53:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 360343: <4FGL_J1514.8+4448_daily_bin1> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin1 228.719 44.8105 239587201 239846401 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 :                                   684.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             357.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            760 sec.

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

