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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin33
RA = 228.719, Dec = 44.8105
tmin = 247881601, tmax = 248140801
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='361565', job_status='RUN', time_executed='2021-09-11 17:48:56.361943', time_epoch_executed='1631407736.36' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='33'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361565

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361565/ft1_4FGL_J1514.8+4448_daily_bin33.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361565/ft1_4FGL_J1514.8+4448_daily_bin33.fits outfile=/scratch/kocevski/361565/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin33.fits ra=228.719 dec=44.8105 rad=12.0 tmin=247881601.0 tmax=248140801.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.39
user 1.19
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361565/ft1_filtered_4FGL_J1514.8+4448_daily_bin33.fits" evtable="EVENTS" scfile=/scratch/kocevski/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits sctable="SC_DATA" outfile=/scratch/kocevski/361565/ltcube_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.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/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits
.....................!
real 12.76
user 12.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361565/ft1_filtered_4FGL_J1514.8+4448_daily_bin33.fits evtable="EVENTS" scfile=/scratch/kocevski/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits sctable="SC_DATA" expcube=/scratch/kocevski/361565/ltcube_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.fits outfile=/scratch/kocevski/361565/expmap_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.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/361565/ltcube_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.fits
.....................!
real 192.00
user 187.43
sys 4.19

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/361565/ft1_filtered_4FGL_J1514.8+4448_daily_bin33.fits scfile=/scratch/kocevski/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits outfile=/scratch/kocevski/361565/cmap_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.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/361565/ft1_filtered_4FGL_J1514.8+4448_daily_bin33.fits scfile=/scratch/kocevski/361565/ft2_4FGL_J1514.8+4448_daily_bin33.fits outfile=/scratch/kocevski/361565/cmap_HighResolution_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.7466       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89742       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10495E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10484E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.218       1.0000         .10000E-03   10000.    
    11 'norm      '    11.197       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.396       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.004       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6417       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3282       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.689       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.2109       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.2365       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    27.715       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .76202       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0308       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=   5503.736     FROM MIGRAD    STATUS=CONVERGED    788 CALLS     3504 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.868       -.49943E-07** at limit **
   2  Prefactor     2.7467        2.7620       -.10736E-07   -.26538E-04
   3  Prefactor     .89679        10.675        .62939E-06   -.92012E-04
   4  Prefactor     .10000E-03    31.006       -.27625E-07** at limit **
   5  Prefactor     .10000E-03    88.721       -.10213E-05** at limit **
   6  Prefactor     .10000E-03    68.429        .60430E-06** at limit **
   7  Prefactor     .10000E-03    6.3340        .29530E-08** at limit **
   8  norm          .10000E-03    2.3000        .11285E-07** at limit **
   9  Prefactor     .10000E-03    16.282        .13038E-06** at limit **
  10  Prefactor     17.222        20.625        .38224E-06   -.10782E-04
  11  norm          11.197        8.0736        .34198E-07   -.56091E-05
  12  Prefactor     .10000E-03    3.5278       -.39913E-09** at limit **
  13  Prefactor     20.392        15.967       -.21444E-07   -.13710E-04
  14  norm          .10000E-03    .73506        .74270E-08** at limit **
  15  Prefactor     .10000E-03    8.5084        .21976E-06** at limit **
  16  Prefactor     15.004        11.312        .39286E-07   -.24096E-05
  17  Prefactor     4.6416        5.5297        .18368E-06   -.11855E-04
  18  norm          1.3283        1.7920        .17015E-06   -.28504E-04
  19  norm          .10000E-03    1.3937        .44949E-08** at limit **
  20  Prefactor     .10000E-03    3.2984       -.66753E-08** at limit **
  21  Prefactor     12.663        88.976       -.84561E-06   -.20430E-04
  22  Prefactor     .10000E-03    22.805       -.26037E-06** at limit **
  23  Prefactor     .10000E-03    9.0406        .51458E-07** at limit **
  24  Prefactor     .10000E-03    12.194       -.64100E-06** at limit **
  25  norm          6.2110        10.320        .30233E-05   -.32384E-04
  26  Prefactor     .10000E-03    8.1943       -.72691E-07** at limit **
  27  Prefactor     8.2713        76.288        .12305E-05    .27002E-04
  28  Prefactor     .10000E-03    2.9699        .78402E-07** at limit **
  29  Prefactor     27.707        21.236        .11467E-06   -.10880E-04
  30  Normalizat    .76214        .16712       -.67963E-06   -.30967E-04
  31  Prefactor     1.0306        .18004       -.47437E-08   -.49769E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.7467
  Prefactor  = 0.896787
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2222
  norm       = 11.1969
  Prefactor  = 0.0001
  Prefactor  = 20.392
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0038
  Prefactor  = 4.64165
  norm       = 1.32832
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6628
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.211
  Prefactor  = 0.0001
  Prefactor  = 8.27135
  Prefactor  = 0.0001
  Prefactor  = 27.7073
  Normalizat = 0.762138
  Prefactor  = 1.03065
 **********
 **   18 **HESSE 
 **********

 FCN=   5503.736     FROM HESSE     STATUS=OK           620 CALLS     4124 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.7467        2.7557        .12030E-03   -1.5376    
   3  Prefactor     .89679        35.243        .46030E-02   -1.5519    
   4  Prefactor     .10000E-03    31.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    89.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    68.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.3377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3150        .10986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.222        20.575        .96523E-04   -1.4878    
  11  norm          11.197        8.0738        .11973E-03   -1.5039    
  12  Prefactor     .10000E-03    3.5317        .13608E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     20.392        15.943        .88689E-04   -1.4805    
  14  norm          .10000E-03    .75461        .12398E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.6587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.004        11.322        .10340E-03   -1.4933    
  17  Prefactor     4.6416        5.5155        .17973E-03   -1.5277    
  18  norm          1.3283        1.7519        .10416E-03   -1.5477    
  19  norm          .10000E-03    1.4025        .85504E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.3083        .13155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.663        88.584        .11245E-03   -1.4996    
  22  Prefactor     .10000E-03    22.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.1238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    12.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.2110        10.342        .80540E-03   -1.5209    
  26  Prefactor     .10000E-03    8.2070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.2713        76.390        .13969E-03   -1.5133    
  28  Prefactor     .10000E-03    2.9747        .12459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     27.707        21.199        .76098E-04   -1.4655    
  30  Normalizat    .76214        .19575        .23635E-03   -1.0149    
  31  Prefactor     1.0306        .21277        .22829E-03   -.91715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8912e-08
Minuit parameter uncertainties:
  1  1.40487e-05
  2  2.7558
  3  11.2503
  4  1.65184e-05
  5  0.000455108
  6  0.000412623
  7  1.72898e-06
  8  1.06258e-06
  9  5.01219e-05
  10  20.5839
  11  8.07462
  12  6.93909e-08
  13  15.9468
  14  2.80413e-07
  15  4.87646e-06
  16  11.3231
  17  5.51609
  18  1.75196
  19  7.57971e-07
  20  1.43269e-06
  21  67.126
  22  3.71924e-05
  23  2.43276e-05
  24  9.79937e-05
  25  10.3448
  26  1.56587e-05
  27  50.358
  28  4.13799e-07
  29  21.2048
  30  0.195928
  31  0.212943
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  7.580e-07  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.031e+00  2.129e-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.621e-01  1.959e-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: 4.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/361565/likelihoodResults_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.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) = 5503.73899272
delta logL = -0.00337472306001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5503.73561807
delta logL = -6.80356606608e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2057       1.0000          .0000       5.0000    
     3 'Normalizat'    .76216       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0307       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=   5503.736     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      223 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8928        .85557E-03** at limit **
   2  alpha         1.9875        2.9409        .16607       -.66608E-07
   3  Normalizat    .76214        .18901        .23635E-03    .93941E-04
   4  Prefactor     1.0306        .21066        .22829E-03    .10582E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98753
  Normalizat = 0.762138
  Prefactor  = 1.03065
 **********
 **   18 **HESSE 
 **********

 FCN=   5503.736     FROM HESSE     STATUS=OK            23 CALLS      246 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.4278        .17111E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9875        2.6244        .66428E-02   -.20645    
   3  Normalizat    .76214        .18922        .94540E-05   -1.0149    
   4  Prefactor     1.0306        .21089        .91317E-05   -.91715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9932e-11
Minuit parameter uncertainties:
  1  5.43737e-06
  2  190.918
  3  0.189378
  4  0.211061
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361565': 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) = 5503.73561737
delta logL = 6.29419446341e-07

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  5.437e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.988e+00  1.909e+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.031e+00  2.111e-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.621e-01  1.894e-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/361565/cmap_HighResolution_247881601_248140801_4FGL_J1514.8+4448_daily_bin33.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.83e-05', job_status='DONE', photon_flux_upper_limit='4.35e-08', time_completed='2021-09-11 18:02:18.392660', job_id='361565', GAL2='1.03', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1631408538.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='6.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='33' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:02:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 361565: <4FGL_J1514.8+4448_daily_bin33> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin33> 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) <bullet0106>, 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:02:19 2021
Results reported at Sat Sep 11 18:02:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin33 228.719 44.8105 247881601 248140801 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 :                                   801.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            969 sec.

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

