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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin175
RA = 228.719, Dec = 44.8105
tmin = 284688001, tmax = 284947201
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='362839', job_status='RUN', time_executed='2021-09-11 17:51:08.944621', time_epoch_executed='1631407868.94' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='175'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362839

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362839/ft1_4FGL_J1514.8+4448_daily_bin175.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362839/ft2_4FGL_J1514.8+4448_daily_bin175.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362839/ft1_4FGL_J1514.8+4448_daily_bin175.fits outfile=/scratch/kocevski/362839/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin175.fits ra=228.719 dec=44.8105 rad=12.0 tmin=284688001.0 tmax=284947201.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.65
user 3.40
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/362839/ft2_4FGL_J1514.8+4448_daily_bin175.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/362839/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin175.fits evtable="EVENTS" outfile="/scratch/kocevski/362839/ft1_filtered_4FGL_J1514.8+4448_daily_bin175.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362839/ft1_filtered_4FGL_J1514.8+4448_daily_bin175.fits evtable="EVENTS" scfile=/scratch/kocevski/362839/ft2_4FGL_J1514.8+4448_daily_bin175.fits sctable="SC_DATA" expcube=/scratch/kocevski/362839/ltcube_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.fits outfile=/scratch/kocevski/362839/expmap_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.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/362839/ltcube_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.fits
.....................!
real 191.60
user 185.84
sys 5.16

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/362839/ft1_filtered_4FGL_J1514.8+4448_daily_bin175.fits scfile=/scratch/kocevski/362839/ft2_4FGL_J1514.8+4448_daily_bin175.fits outfile=/scratch/kocevski/362839/cmap_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.3557       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.702       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.8555       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10160E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.9319       1.0000         .10000E-03   10000.    
     9 'Prefactor '    59.306       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.8626       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.0716       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.478       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.1714       1.0000         .10000E-03   10000.    
    18 'norm      '    1.7515       1.0000         .10000E-03   10000.    
    19 'norm      '    .12187E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10909E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.5226       1.0000         .10000E-03   10000.    
    24 'Prefactor '    18.874       1.0000         .10000E-03   10000.    
    25 'norm      '    8.6681       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    12.153       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.0648       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .63913       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=   6069.546     FROM MIGRAD    STATUS=CONVERGED    778 CALLS     4098 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.026        .15210E-04** at limit **
   2  Prefactor     .10000E-03    1.8806       -.14413E-06** at limit **
   3  Prefactor     6.3573        14.079       -.10010E-05   -.40598E-04
   4  Prefactor     11.704        17.036       -.13248E-06    .18434E-04
   5  Prefactor     7.8551        16.042       -.45343E-07   -.14862E-04
   6  Prefactor     .10000E-03    15.890        .39805E-05** at limit **
   7  Prefactor     .10000E-03    10.593       -.41105E-05** at limit **
   8  norm          1.9350        5.5410       -.16031E-05   -.78254E-03
   9  Prefactor     59.302        41.005       -.30572E-05    .34620E-04
  10  Prefactor     .10000E-03    4.6915       -.37836E-07** at limit **
  11  norm          5.8628        5.8415        .19594E-06    .20224E-03
  12  Prefactor     .10000E-03    10.314       -.80679E-05** at limit **
  13  Prefactor     .10000E-03    18.123       -.14560E-04** at limit **
  14  norm          2.0716        1.1137        .22293E-07    .63788E-03
  15  Prefactor     .10000E-03    2.3056        .70075E-07** at limit **
  16  Prefactor     11.480        8.8489       -.25077E-06    .59071E-05
  17  Prefactor     1.1715        4.2905       -.18065E-05   -.86375E-03
  18  norm          1.7512        1.3265        .82543E-08   -.16015E-03
  19  norm          .10001E-03    1.7658       -.36818E-06** at limit **
  20  Prefactor     .10000E-03    5.5705       -.43722E-06** at limit **
  21  Prefactor     .10000E-03    82.163       -.76682E-05** at limit **
  22  Prefactor     .10000E-03    8.0059        .17495E-05** at limit **
  23  Prefactor     7.5178        9.6710        .56895E-06    .61106E-04
  24  Prefactor     18.868        31.608       -.62941E-05    .81416E-05
  25  norm          8.6697        19.134        .45983E-05   -.42434E-04
  26  Prefactor     .10000E-03    16.369       -.12949E-05** at limit **
  27  Prefactor     .10000E-03    26.000        .12826E-04** at limit **
  28  Prefactor     .10000E-03    1.7548       -.17277E-06** at limit **
  29  Prefactor     12.158        15.127       -.15471E-05   -.13416E-04
  30  Normalizat    1.0646        .15292        .88883E-06    .44697E-03
  31  Prefactor     .63931        .15942        .57944E-06    .34080E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.3573
  Prefactor  = 11.704
  Prefactor  = 7.85512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.93501
  Prefactor  = 59.3017
  Prefactor  = 0.0001
  norm       = 5.86283
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.0716
  Prefactor  = 0.0001
  Prefactor  = 11.4797
  Prefactor  = 1.17154
  norm       = 1.75118
  norm       = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.51782
  Prefactor  = 18.8683
  norm       = 8.66965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.158
  Normalizat = 1.06459
  Prefactor  = 0.639306
 **********
 **   18 **HESSE 
 **********

 FCN=   6069.546     FROM HESSE     STATUS=OK           620 CALLS     4718 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.9009        .10431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.3573        14.117        .15921E-03   -1.5204    
   4  Prefactor     11.704        17.075        .11711E-03   -1.5024    
   5  Prefactor     7.8551        16.035        .14306E-03   -1.5147    
   6  Prefactor     .10000E-03    15.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9350        5.5961        .29876E-03   -1.5430    
   9  Prefactor     59.302        40.892        .52098E-04   -1.4166    
  10  Prefactor     .10000E-03    4.7033        .16479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.8628        5.8441        .16586E-03   -1.5224    
  12  Prefactor     .10000E-03    10.371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0716        1.1158        .58504E-04   -1.5420    
  15  Prefactor     .10000E-03    2.3113        .11545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.480        8.8570        .11824E-03   -1.5030    
  17  Prefactor     1.1715        4.3314        .29924E-03   -1.5491    
  18  norm          1.7512        1.3150        .74779E-04   -1.5443    
  19  norm          .10001E-03    23.983        .19198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.6118        .17872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    82.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    8.0207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.5178        9.3834        .14622E-03   -1.5160    
  24  Prefactor     18.868        31.711        .92191E-04   -1.4839    
  25  norm          8.6697        19.164        .13615E-03   -1.5119    
  26  Prefactor     .10000E-03    16.432        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    25.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1.7584        .10064E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     12.158        15.120        .11491E-03   -1.5010    
  30  Normalizat    1.0646        .18256        .19921E-03   -.90897    
  31  Prefactor     .63931        .18813        .26883E-03   -1.0596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35605e-09
Minuit parameter uncertainties:
  1  3.17991e-06
  2  1.2931e-06
  3  14.1248
  4  17.0825
  5  16.0434
  6  4.72222e-06
  7  9.12033e-06
  8  5.59758
  9  40.911
  10  1.38575e-06
  11  5.84468
  12  2.29811e-05
  13  0.000125366
  14  1.11578
  15  7.91973e-07
  16  8.85806
  17  4.33254
  18  1.31499
  19  0.00111622
  20  1.53435e-05
  21  2.72994e-05
  22  1.53142e-05
  23  9.38521
  24  31.7391
  25  19.1774
  26  2.27909e-05
  27  1.84691e-05
  28  4.72666e-06
  29  15.1251
  30  0.182666
  31  0.188314
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.393e-01  1.883e-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.065e+00  1.827e-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.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.25e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/362839/likelihoodResults_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.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) = 6069.54649485
delta logL = -0.000199140102268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6069.54629556
delta logL = 1.50815139932e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13632E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3298       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63951       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=   6069.546     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      286 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .43607E-01    4.4522        .59901E-01    .17074E-03
   2  alpha         2.6917        3.6067        .41273        .88909E-05
   3  Normalizat    1.0644        .79403E-02    .39678E-01   -.12883E-03
   4  Prefactor     .63906        .85398E-02    .60782E-01   -.99296E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0436072
  alpha      = 2.6917
  Normalizat = 1.0644
  Prefactor  = 0.639063
 **********
 **   18 **HESSE 
 **********

 FCN=   6069.546     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      319 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .43607E-01    6821.2        .14600E-02   -1.5666    
   2  alpha         2.6917        3.8387        .16509        .76756E-01
   3  Normalizat    1.0644        .84853E-01    .19923E-03   -.90903    
   4  Prefactor     .63906        .10626        .26888E-03   -1.0597    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00853e-06
Minuit parameter uncertainties:
  1  27.1162
  2  113.472
  3  0.0848635
  4  0.106293
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362839': 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) = 6069.54611206
delta logL = 0.000183646364349

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.391e-01  1.063e-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.064e+00  8.486e-02  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/362839/cmap_HighResolution_284688001_284947201_4FGL_J1514.8+4448_daily_bin175.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.25e-05', job_status='DONE', photon_flux_upper_limit='5.35e-08', time_completed='2021-09-11 18:06:38.572134', job_id='362839', GAL2='0.64', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631408798.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='1.84e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='175' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:06:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 362839: <4FGL_J1514.8+4448_daily_bin175> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin175> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 17:50:58 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:51:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 17:51:00 2021
Terminated at Sat Sep 11 18:06:38 2021
Results reported at Sat Sep 11 18:06:38 2021

Your job looked like:

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

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

