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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin40
RA = 228.719, Dec = 44.8105
tmin = 249696001, tmax = 249955201
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='361576', job_status='RUN', time_executed='2021-09-11 17:46:25.070655', time_epoch_executed='1631407585.07' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='40'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361576

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361576/ft1_4FGL_J1514.8+4448_daily_bin40.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361576/ft2_4FGL_J1514.8+4448_daily_bin40.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361576/ft1_4FGL_J1514.8+4448_daily_bin40.fits outfile=/scratch/kocevski/361576/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin40.fits ra=228.719 dec=44.8105 rad=12.0 tmin=249696001.0 tmax=249955201.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.46
user 1.26
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361576/ft1_filtered_4FGL_J1514.8+4448_daily_bin40.fits evtable="EVENTS" scfile=/scratch/kocevski/361576/ft2_4FGL_J1514.8+4448_daily_bin40.fits sctable="SC_DATA" expcube=/scratch/kocevski/361576/ltcube_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.fits outfile=/scratch/kocevski/361576/expmap_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.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/361576/ltcube_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.fits
.....................!
real 190.41
user 185.01
sys 5.04

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/361576/ft1_filtered_4FGL_J1514.8+4448_daily_bin40.fits scfile=/scratch/kocevski/361576/ft2_4FGL_J1514.8+4448_daily_bin40.fits outfile=/scratch/kocevski/361576/cmap_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.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/361576/ft1_filtered_4FGL_J1514.8+4448_daily_bin40.fits scfile=/scratch/kocevski/361576/ft2_4FGL_J1514.8+4448_daily_bin40.fits outfile=/scratch/kocevski/361576/cmap_HighResolution_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5263       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.707       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .15423E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.602       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.9716       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.232       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.277       1.0000         .10000E-03   10000.    
    14 'norm      '    .70080E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.3353       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .61115       1.0000         .10000E-03   10000.    
    19 'norm      '    5.4962       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.888       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .48397E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    11.326       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5905       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .78560E-02   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .16933E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .78962E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    33.898       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .71083       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.3491       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=   6223.466     FROM MIGRAD    STATUS=CONVERGED    815 CALLS     5024 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.677        .14106E-05** at limit **
   2  Prefactor     1.5262        4.0528       -.10252E-05   -.47011E-04
   3  Prefactor     10.706        23.623        .85716E-06    .40501E-04
   4  Prefactor     .10000E-03    38.869       -.10445E-06** at limit **
   5  Prefactor     .10000E-03    26.412       -.82459E-06** at limit **
   6  Prefactor     .10000E-03    34.788        .13627E-05** at limit **
   7  Prefactor     .10000E-03    18.160       -.92020E-06** at limit **
   8  norm          .10000E-03    5.9614        .70914E-06** at limit **
   9  Prefactor     12.592        43.457       -.63460E-06    .12333E-04
  10  Prefactor     1.9689        21.796       -.14612E-05   -.60076E-05
  11  norm          .10000E-03    4.7371        .15201E-06** at limit **
  12  Prefactor     11.230        16.556        .24057E-06    .36847E-04
  13  Prefactor     14.275        14.944        .12289E-06   -.23429E-04
  14  norm          .82152E-02    .64389        .10610E-06   -.10798E-03
  15  Prefactor     2.3400        11.900       -.10200E-05    .10168E-03
  16  Prefactor     .10003E-03    8.7329       -.79506E-06** at limit **
  17  Prefactor     .10000E-03    2.5336       -.32303E-07** at limit **
  18  norm          .60988        1.6759       -.37771E-06    .22790E-03
  19  norm          5.4962        3.3955        .12230E-07    .95555E-05
  20  Prefactor     .10000E-03    3.8875        .21086E-06** at limit **
  21  Prefactor     13.910        44.080       -.21056E-05   -.42497E-04
  22  Prefactor     .10016E-03    61.560        .56878E-05** at limit **
  23  Prefactor     11.339        12.322       -.18208E-06    .21230E-04
  24  Prefactor     3.5922        11.575       -.46282E-06    .12991E-04
  25  norm          .10000E-03    4.4821        .58125E-07** at limit **
  26  Prefactor     .10222E-03    50.443       -.60521E-05** at limit **
  27  Prefactor     .10001E-03    162.12       -.56716E-05** at limit **
  28  Prefactor     .10000E-03    9.2214        .31912E-05** at limit **
  29  Prefactor     33.885        25.182       -.26060E-05   -.19323E-03
  30  Normalizat    .71120        .17687       -.59521E-06   -.19447E-04
  31  Prefactor     1.3487        .18480        .16890E-06   -.98050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.52618
  Prefactor  = 10.7063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 12.5918
  Prefactor  = 1.96894
  norm       = 0.0001
  Prefactor  = 11.2301
  Prefactor  = 14.2751
  norm       = 0.00821516
  Prefactor  = 2.34002
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  norm       = 0.609876
  norm       = 5.49623
  Prefactor  = 0.0001
  Prefactor  = 13.9103
  Prefactor  = 0.000100165
  Prefactor  = 11.3386
  Prefactor  = 3.59217
  norm       = 0.0001
  Prefactor  = 0.000102215
  Prefactor  = 0.000100006
  Prefactor  = 0.000100004
  Prefactor  = 33.8854
  Normalizat = 0.7112
  Prefactor  = 1.34867
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.466     FROM HESSE     STATUS=OK           652 CALLS     5676 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.843        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5262        4.0092        .24297E-03   -1.5461    
   3  Prefactor     10.706        23.719        .12244E-03   -1.5053    
   4  Prefactor     .10000E-03    39.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    26.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    35.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    27.727        .35020E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.592        42.802        .11284E-03   -1.4998    
  10  Prefactor     1.9689        21.649        .29529E-03   -1.5427    
  11  norm          .10000E-03    4.7504        .16766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.230        16.273        .11954E-03   -1.5038    
  13  Prefactor     14.275        14.890        .10600E-03   -1.4952    
  14  norm          .82152E-02    .91245        .23414E-01   -1.5690    
  15  Prefactor     2.3400        9.6304        .26833E-03   -1.5402    
  16  Prefactor     .10003E-03    32.691        .37066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5439        .12258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .60988        1.4820        .12616E-03   -1.5552    
  19  norm          5.4962        3.3908        .10872E-03   -1.5239    
  20  Prefactor     .10000E-03    3.9111        .15177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     13.910        44.174        .10748E-03   -1.4962    
  22  Prefactor     .10016E-03    85.614        .53261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     11.339        11.519        .11904E-03   -1.5034    
  24  Prefactor     3.5922        11.556        .21326E-03   -1.5329    
  25  norm          .10000E-03    4.4880        .16311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10222E-03    11.151        .91771E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10001E-03    164.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    9.7273        .56153E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     33.885        32.878        .68827E-04   -1.4543    
  30  Normalizat    .71120        .21150        .27035E-03   -1.0345    
  31  Prefactor     1.3487        .22416        .22776E-03   -.81871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.98052e-09
Minuit parameter uncertainties:
  1  0.000183336
  2  4.0099
  3  23.7398
  4  1.45547e-05
  5  0.000109185
  6  0.000276505
  7  0.000116435
  8  0.000486213
  9  42.9068
  10  13.0635
  11  1.10667e-05
  12  16.2792
  13  14.8943
  14  0.172104
  15  9.49673
  16  0.00208383
  17  5.16187e-08
  18  1.48207
  19  3.3909
  20  1.94407e-05
  21  44.2785
  22  0.00752358
  23  11.5208
  24  11.5635
  25  9.60339e-06
  26  0.00994237
  27  0.0019716
  28  0.000370676
  29  32.8959
  30  0.21174
  31  0.224324
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  5.496e+00  3.391e+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:  1.349e+00  2.243e-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.112e-01  2.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.62
Ra Dec: 228.719 44.810
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 3.65e-08 +/- 2.25e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 9.48e-06

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) = 6223.4553035
delta logL = 0.0102721475123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6223.45319271
delta logL = 0.0123829326621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7237       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1170       1.0000          .0000       5.0000    
     3 'Normalizat'    .71383       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3470       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=   6223.453     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      235 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7241        3.7596        .11176E-03   -.31568E-02
   2  alpha         2.1171        .58459        .14386E-01   -.25430E-03
   3  Normalizat    .71381        .19451        .26991E-03    .21275E-03
   4  Prefactor     1.3471        .21926        .22789E-03    .33437E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.7241
  alpha      = 2.11706
  Normalizat = 0.713814
  Prefactor  = 1.34706
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.453     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7241        3.7172        .22352E-04   -1.5229    
   2  alpha         2.1171        .57800        .57545E-03   -.15378    
   3  Normalizat    .71381        .19463        .10796E-04   -1.0335    
   4  Prefactor     1.3471        .21942        .45577E-04   -.81918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.30401e-09
Minuit parameter uncertainties:
  1  3.71735
  2  0.583404
  3  0.194821
  4  0.219576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361576': 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) = 6223.45319263
delta logL = 0.012383016373

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  5.724e+00  3.717e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.117e+00  5.834e-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:  1.347e+00  2.196e-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.138e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.65
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.12 +/- 0.58
Photon Flux (Free Index): 3.41e-08 +/- 2.56e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.08e-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/361576/cmap_HighResolution_249696001_249955201_4FGL_J1514.8+4448_daily_bin40.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.65e-08', energy_flux2='1.60e-05', photon_flux_error='2.25e-08', dlogl='1.24e-02', energy_flux='1.54e-05', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-11 18:00:44.312459', photon_index_error2='0.58', photon_index2='2.12', ts='7.62', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='0.71', time_epoch_completed='1631408444.31', return_code='0', job_id='361576', GAL2='1.35', EG2='0.71', return_code2='0', energy_flux_error='9.48e-06', photon_flux_error2='2.56e-08', ts2='7.65', photon_index='2.21' WHERE bin_id='40' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:00:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 361576: <4FGL_J1514.8+4448_daily_bin40> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin40> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 17:46:10 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:46:12 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:12 2021
Terminated at Sat Sep 11 18:00:45 2021
Results reported at Sat Sep 11 18:00:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin40 228.719 44.8105 249696001 249955201 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 :                                   855.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            875 sec.

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

