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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin886
RA = 228.719, Dec = 44.8105
tmin = 468979201, tmax = 469238401
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='369621', job_status='RUN', time_executed='2021-09-11 18:16:19.572607', time_epoch_executed='1631409379.57' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='886'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369621

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369621/ft1_4FGL_J1514.8+4448_daily_bin886.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369621/ft1_4FGL_J1514.8+4448_daily_bin886.fits outfile=/scratch/kocevski/369621/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin886.fits ra=228.719 dec=44.8105 rad=12.0 tmin=468979201.0 tmax=469238401.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.40
user 3.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.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/369621/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin886.fits evtable="EVENTS" outfile="/scratch/kocevski/369621/ft1_filtered_4FGL_J1514.8+4448_daily_bin886.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/369621/ft1_filtered_4FGL_J1514.8+4448_daily_bin886.fits" evtable="EVENTS" scfile=/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits sctable="SC_DATA" outfile=/scratch/kocevski/369621/ltcube_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.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/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits
.....................!
real 12.09
user 11.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369621/ft1_filtered_4FGL_J1514.8+4448_daily_bin886.fits evtable="EVENTS" scfile=/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits sctable="SC_DATA" expcube=/scratch/kocevski/369621/ltcube_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.fits outfile=/scratch/kocevski/369621/expmap_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.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/369621/ltcube_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.fits
.....................!
real 192.17
user 187.38
sys 4.29

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/369621/ft1_filtered_4FGL_J1514.8+4448_daily_bin886.fits scfile=/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits outfile=/scratch/kocevski/369621/cmap_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.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/369621/ft1_filtered_4FGL_J1514.8+4448_daily_bin886.fits scfile=/scratch/kocevski/369621/ft2_4FGL_J1514.8+4448_daily_bin886.fits outfile=/scratch/kocevski/369621/cmap_HighResolution_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.202       1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3337       1.0000         .10000E-03   10000.    
    11 'norm      '    10.494       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2315       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14617E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    9.2886       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1333       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    21.417       1.0000         .10000E-03   10000.    
    25 'norm      '    .16157E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    43.502       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11010E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.4065       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .35801       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=   5762.372     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     3475 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.988        .12545E-07** at limit **
   2  Prefactor     .10000E-03    2.0105       -.37343E-07** at limit **
   3  Prefactor     .10000E-03    9.1743       -.38149E-07** at limit **
   4  Prefactor     .10000E-03    5.6434        .24815E-07** at limit **
   5  Prefactor     .10000E-03    8.2115       -.12461E-06** at limit **
   6  Prefactor     .10000E-03    14.914       -.21993E-06** at limit **
   7  Prefactor     34.197        23.666       -.43204E-07   -.31121E-04
   8  norm          .10000E-03    5.0027       -.21198E-06** at limit **
   9  Prefactor     .10000E-03    18.255       -.14405E-06** at limit **
  10  Prefactor     6.3326        12.194        .39867E-05    .40100E-04
  11  norm          10.495        7.5227       -.29511E-07    .42038E-04
  12  Prefactor     .10000E-03    6.1351        .27533E-07** at limit **
  13  Prefactor     .10000E-03    8.0847       -.24976E-06** at limit **
  14  norm          2.2314        1.7184       -.10066E-06   -.64059E-04
  15  Prefactor     .10010E-03    7.4258       -.96321E-06** at limit **
  16  Prefactor     .10000E-03    4.4866        .56660E-08** at limit **
  17  Prefactor     .10000E-03    2.6039       -.47072E-07** at limit **
  18  norm          9.2884        2.4958       -.16966E-07    .88751E-03
  19  norm          2.1314        2.8594        .65879E-07    .15320E-04
  20  Prefactor     .10000E-03    14.561       -.21040E-06** at limit **
  21  Prefactor     .10000E-03    44.520       -.52583E-06** at limit **
  22  Prefactor     .10000E-03    10.864        .18582E-06** at limit **
  23  Prefactor     .10000E-03    10.580        .19484E-06** at limit **
  24  Prefactor     21.428        19.761        .11039E-06    .47338E-04
  25  norm          .10000E-03    13.446        .46614E-06** at limit **
  26  Prefactor     .10000E-03    6.0423        .53098E-07** at limit **
  27  Prefactor     43.524        42.546        .71924E-06    .12792E-03
  28  Prefactor     .10000E-03    2.3128        .12665E-06** at limit **
  29  Prefactor     .10000E-03    33.553        .14571E-05** at limit **
  30  Normalizat    1.4066        .18159       -.39193E-06    .11121E-03
  31  Prefactor     .35788        .18836        .22596E-06    .38679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.1969
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.33258
  norm       = 10.4945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.23143
  Prefactor  = 0.0001001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.28841
  norm       = 2.13141
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.4278
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.5243
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.40657
  Prefactor  = 0.357879
 **********
 **   18 **HESSE 
 **********

 FCN=   5762.372     FROM HESSE     STATUS=OK           608 CALLS     4083 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    40.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0251        .10511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6524        .17613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.2180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.197        23.705        .68521E-04   -1.4538    
   8  norm          .10000E-03    5.1392        .33143E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.3326        12.251        .79746E-03   -1.5205    
  11  norm          10.495        7.5149        .12368E-03   -1.5060    
  12  Prefactor     .10000E-03    6.1685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1418        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2314        1.7074        .83001E-04   -1.5409    
  15  Prefactor     .10010E-03    41.612        .35947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5140        .15702E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.6311        .11960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.2884        2.3562        .55811E-04   -1.5098    
  19  norm          2.1314        2.8208        .14220E-03   -1.5416    
  20  Prefactor     .10000E-03    14.801        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    44.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    10.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     21.428        19.726        .86549E-04   -1.4782    
  25  norm          .10000E-03    13.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.0445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     43.524        42.673        .60783E-04   -1.4388    
  28  Prefactor     .10000E-03    2.3222        .11273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    34.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.4066        .19234        .19103E-03   -.80439    
  31  Prefactor     .35788        .19709        .37096E-03   -1.1901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47611e-09
Minuit parameter uncertainties:
  1  5.0626e-05
  2  1.6264e-06
  3  6.08139e-06
  4  1.24059e-05
  5  3.01738e-05
  6  6.18093e-05
  7  23.7116
  8  1.19067e-05
  9  3.40884e-05
  10  12.2559
  11  7.5156
  12  1.10493e-05
  13  4.22409e-05
  14  1.70739
  15  0.00407241
  16  3.76042e-06
  17  1.44208e-06
  18  2.35619
  19  2.82095
  20  3.77939e-05
  21  0.000366881
  22  5.13848e-05
  23  5.14954e-05
  24  19.7321
  25  2.26039e-06
  26  1.11484e-05
  27  42.7034
  28  5.37511e-07
  29  0.000423613
  30  0.192442
  31  0.197463
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.131e+00  2.821e+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:  3.579e-01  1.975e-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.407e+00  1.924e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/369621/likelihoodResults_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.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) = 5762.24527712
delta logL = 0.126863039743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5762.2346499
delta logL = 0.137490260819

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7564       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7336       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3972       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36216       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=   5762.235     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7545        59.616        .79063E-02    .40558E-03
   2  alpha         2.7330        3.3093        .41381        .36722E-04
   3  Normalizat    1.3972        .52211E-01    .31258E-01   -.95924E-04
   4  Prefactor     .36191        .49578E-01    .83264E-01    .96905E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7545
  alpha      = 2.73305
  Normalizat = 1.3972
  Prefactor  = 0.36191
 **********
 **   18 **HESSE 
 **********

 FCN=   5762.235     FROM HESSE     STATUS=OK            31 CALLS      236 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7545        2.6590        .11220E-03   -1.5443    
   2  alpha         2.7330        1.0311        .19183E-01    .93355E-01
   3  Normalizat    1.3972        .19018        .19156E-03   -.80710    
   4  Prefactor     .36191        .19587        .36890E-03   -1.1880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72708e-11
Minuit parameter uncertainties:
  1  2.65921
  2  1.06311
  3  0.190277
  4  0.196236
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369621': 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) = 5762.23464393
delta logL = 0.137496227089

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.754e+00  2.659e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  2.733e+00  1.063e+00  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:  3.619e-01  1.962e-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.397e+00  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.25
Ra Dec: 228.719 44.810
Photon Index (Free Index): 2.73 +/- 1.06
Photon Flux (Free Index): 2.34e-08 +/- 3.02e-08
Energy Flux (Free Index): 6.22e-06 +/- 7.25e-06

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/369621/cmap_HighResolution_468979201_469238401_4FGL_J1514.8+4448_daily_bin886.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', comment='SUCCESS', energy_flux2='6.22e-06', dlogl='1.37e-01', photon_flux2='2.34e-08', job_status='DONE', time_completed='2021-09-11 18:30:23.776895', photon_index_error2='1.06', photon_index2='2.73', ts='0.98', fit_tolerance='1e-08', GAL='0.36', photon_index_error='0.00', photon_flux_upper_limit='6.55e-08', energy_flux_error2='7.25e-06', EG='1.41', time_epoch_completed='1631410223.78', return_code='0', job_id='369621', GAL2='0.36', EG2='1.40', return_code2='0', photon_flux_error2='3.02e-08', ts2='1.25', photon_index='2.21' WHERE bin_id='886' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:30:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 369621: <4FGL_J1514.8+4448_daily_bin886> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin886> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 11 18:16:03 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 18:16:04 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:16:04 2021
Terminated at Sat Sep 11 18:30:25 2021
Results reported at Sat Sep 11 18:30:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin886 228.719 44.8105 468979201 469238401 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 :                                   838.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             302.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            862 sec.

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

