/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 4 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 = 7426
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1514.8+4448_daily_bin466
RA = 228.719, Dec = 44.8105
tmin = 360115201, tmax = 360374401
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='365568', job_status='RUN', time_executed='2021-09-11 18:01:28.953083', time_epoch_executed='1631408488.95' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/365568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/365568/ft1_4FGL_J1514.8+4448_daily_bin466.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/365568/ft1_4FGL_J1514.8+4448_daily_bin466.fits outfile=/scratch/kocevski/365568/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin466.fits ra=228.719 dec=44.8105 rad=12.0 tmin=360115201.0 tmax=360374401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.44
user 3.24
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/365568/ft1_filtered_4FGL_J1514.8+4448_daily_bin466.fits" evtable="EVENTS" scfile=/scratch/kocevski/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits sctable="SC_DATA" outfile=/scratch/kocevski/365568/ltcube_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.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/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits
.....................!
real 12.36
user 11.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/365568/ft1_filtered_4FGL_J1514.8+4448_daily_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits sctable="SC_DATA" expcube=/scratch/kocevski/365568/ltcube_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.fits outfile=/scratch/kocevski/365568/expmap_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.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/365568/ltcube_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.fits
.....................!
real 190.43
user 185.74
sys 4.32

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/365568/ft1_filtered_4FGL_J1514.8+4448_daily_bin466.fits scfile=/scratch/kocevski/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits outfile=/scratch/kocevski/365568/cmap_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/365568/ft1_filtered_4FGL_J1514.8+4448_daily_bin466.fits scfile=/scratch/kocevski/365568/ft2_4FGL_J1514.8+4448_daily_bin466.fits outfile=/scratch/kocevski/365568/cmap_HighResolution_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.650       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.7159       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.009       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.571       1.0000         .10000E-03   10000.    
     8 'norm      '    10.040       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.560       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.465       1.0000         .10000E-03   10000.    
    11 'norm      '    10.478       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.9262       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3756       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.8600       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10702E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    9.4735       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    34.851       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.6598       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .78000       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0181       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=   5973.743     FROM MIGRAD    STATUS=CONVERGED    778 CALLS     4065 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.642        49.558       -.96943E-05   -.66646E-04
   2  Prefactor     .10000E-03    1.9521        .70339E-07** at limit **
   3  Prefactor     .10000E-03    31.003        .18277E-04** at limit **
   4  Prefactor     7.7145        17.924       -.54832E-06   -.45278E-04
   5  Prefactor     40.006        33.379       -.27105E-05   -.33739E-04
   6  Prefactor     .10000E-03    47.973        .19281E-04** at limit **
   7  Prefactor     39.569        24.394       -.15559E-05   -.42882E-04
   8  norm          10.039        6.8606       -.12667E-05   -.23450E-02
   9  Prefactor     22.560        24.542        .26502E-06    .13066E-05
  10  Prefactor     31.463        16.039        .11692E-06   -.12200E-03
  11  norm          10.478        8.1788        .93739E-07    .12483E-04
  12  Prefactor     .10000E-03    6.0528        .78719E-06** at limit **
  13  Prefactor     .10000E-03    4.8915       -.90181E-06** at limit **
  14  norm          .10000E-03    .47377       -.13133E-07** at limit **
  15  Prefactor     .10000E-03    1.9678       -.11574E-07** at limit **
  16  Prefactor     .10000E-03    4.4014        .54887E-06** at limit **
  17  Prefactor     3.9261        5.3798       -.57412E-06   -.42884E-03
  18  norm          2.3755        1.4608       -.10506E-06   -.62614E-04
  19  norm          .10000E-03    1.0832       -.39314E-08** at limit **
  20  Prefactor     .10000E-03    2.9312       -.26917E-07** at limit **
  21  Prefactor     .10000E-03    25.884       -.16548E-04** at limit **
  22  Prefactor     .10000E-03    12.249        .30785E-05** at limit **
  23  Prefactor     9.8622        10.283       -.28953E-06   -.12038E-03
  24  Prefactor     .10000E-03    55.072       -.26256E-04** at limit **
  25  norm          9.4500        12.999        .13314E-05    .47245E-03
  26  Prefactor     .10000E-03    9.4618       -.20101E-05** at limit **
  27  Prefactor     34.836        53.883       -.20536E-04    .25959E-05
  28  Prefactor     .10000E-03    3.8602       -.12590E-07** at limit **
  29  Prefactor     3.6601        15.924        .25366E-07   -.64075E-04
  30  Normalizat    .78009        .16883        .19901E-05   -.94243E-04
  31  Prefactor     1.0179        .17826        .64421E-06    .76330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.6424
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.71453
  Prefactor  = 40.0057
  Prefactor  = 0.0001
  Prefactor  = 39.5687
  norm       = 10.0394
  Prefactor  = 22.56
  Prefactor  = 31.4634
  norm       = 10.4782
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.92613
  norm       = 2.37551
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.86223
  Prefactor  = 0.0001
  norm       = 9.44997
  Prefactor  = 0.0001
  Prefactor  = 34.8358
  Prefactor  = 0.0001
  Prefactor  = 3.66013
  Normalizat = 0.780089
  Prefactor  = 1.01794
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.743     FROM HESSE     STATUS=OK           616 CALLS     4681 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.642        49.646        .64471E-04   -1.4464    
   2  Prefactor     .10000E-03    1.9610        .10539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7145        17.918        .14436E-03   -1.5152    
   5  Prefactor     40.006        33.418        .63371E-04   -1.4442    
   6  Prefactor     .10000E-03    47.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.569        24.447        .63719E-04   -1.4449    
   8  norm          10.039        7.0177        .63230E-03   -1.5074    
   9  Prefactor     22.560        24.543        .84332E-04   -1.4758    
  10  Prefactor     31.463        16.037        .71430E-04   -1.4586    
  11  norm          10.478        8.1800        .12378E-03   -1.5060    
  12  Prefactor     .10000E-03    6.0796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.9048        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .48773        .10385E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.9709        .10585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.4166        .15834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.9261        5.3772        .20137E-03   -1.5312    
  18  norm          2.3755        1.4563        .70125E-04   -1.5400    
  19  norm          .10000E-03    1.0859        .78512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.9331        .12899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    25.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    12.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.8622        10.282        .12761E-03   -1.5080    
  24  Prefactor     .10000E-03    55.893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          9.4500        12.965        .13020E-03   -1.5093    
  26  Prefactor     .10000E-03    9.4857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     34.836        53.627        .67883E-04   -1.4527    
  28  Prefactor     .10000E-03    3.8749        .14713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.6601        15.676        .21115E-03   -1.5325    
  30  Normalizat    .78009        .19956        .24191E-03   -1.0081    
  31  Prefactor     1.0179        .21074        .23668E-03   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31532e-09
Minuit parameter uncertainties:
  1  49.6987
  2  1.12507e-05
  3  0.000118147
  4  17.9304
  5  33.4341
  6  6.8102e-05
  7  24.4532
  8  7.01826
  9  24.5537
  10  16.0391
  11  8.18086
  12  1.64734e-06
  13  1.39007e-06
  14  5.99589e-07
  15  2.06056e-07
  16  5.05488e-06
  17  5.37784
  18  1.45628
  19  1.62036e-06
  20  3.29737e-06
  21  4.07092e-06
  22  1.98203e-05
  23  10.2843
  24  4.59936e-05
  25  12.9687
  26  1.07697e-05
  27  53.7017
  28  2.02092e-05
  29  15.1561
  30  0.199746
  31  0.210912
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  1.018e+00  2.109e-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:  7.801e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/365568/likelihoodResults_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5973.74696197
delta logL = -0.00431328374816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5973.74265603
delta logL = -7.34703735361e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11577E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2063       1.0000          .0000       5.0000    
     3 'Normalizat'    .78004       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0180       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=   5973.743     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      229 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4874        .78549E-03** at limit **
   2  alpha         2.0326        3.3823        .16606        .41076E-07
   3  Normalizat    .78009        .18718        .24191E-03    .83652E-04
   4  Prefactor     1.0179        .20788        .23668E-03    .87565E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.03256
  Normalizat = 0.780091
  Prefactor  = 1.01794
 **********
 **   18 **HESSE 
 **********

 FCN=   5973.743     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0995        .15710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0326        3.9480        .66426E-02   -.18808    
   3  Normalizat    .78009        .18739        .96764E-05   -1.0081    
   4  Prefactor     1.0179        .20812        .94674E-05   -.92134    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52371e-11
Minuit parameter uncertainties:
  1  6.79595e-06
  2  166.009
  3  0.187541
  4  0.208282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/365568': 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) = 5973.74264812
delta logL = 5.65396476304e-07

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  6.796e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.033e+00  1.660e+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:  1.018e+00  2.083e-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:  7.801e-01  1.875e-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/365568/cmap_HighResolution_360115201_360374401_4FGL_J1514.8+4448_daily_bin466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.59e-05', job_status='DONE', photon_flux_upper_limit='3.77e-08', time_completed='2021-09-11 18:16:29.590760', job_id='365568', GAL2='1.02', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1631409389.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='5.65e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='466' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:16:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 365568: <4FGL_J1514.8+4448_daily_bin466> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin466> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Sep 11 18:01:13 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:01:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 18:01:16 2021
Terminated at Sat Sep 11 18:16:30 2021
Results reported at Sat Sep 11 18:16:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin466 228.719 44.8105 360115201 360374401 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 :                                   896.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            917 sec.

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

