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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin181
RA = 228.719, Dec = 44.8105
tmin = 286243201, tmax = 286502401
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='362845', job_status='RUN', time_executed='2021-09-11 17:51:10.037039', time_epoch_executed='1631407870.04' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='181'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/362845

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/362845/ft1_4FGL_J1514.8+4448_daily_bin181.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/362845/ft2_4FGL_J1514.8+4448_daily_bin181.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/362845/ft1_4FGL_J1514.8+4448_daily_bin181.fits outfile=/scratch/kocevski/362845/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin181.fits ra=228.719 dec=44.8105 rad=12.0 tmin=286243201.0 tmax=286502401.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.45
user 3.23
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/362845/ft1_filtered_4FGL_J1514.8+4448_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/362845/ft2_4FGL_J1514.8+4448_daily_bin181.fits sctable="SC_DATA" expcube=/scratch/kocevski/362845/ltcube_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.fits outfile=/scratch/kocevski/362845/expmap_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.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/362845/ltcube_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.fits
.....................!
real 192.63
user 187.55
sys 4.68

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/362845/ft1_filtered_4FGL_J1514.8+4448_daily_bin181.fits scfile=/scratch/kocevski/362845/ft2_4FGL_J1514.8+4448_daily_bin181.fits outfile=/scratch/kocevski/362845/cmap_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/362845/ft1_filtered_4FGL_J1514.8+4448_daily_bin181.fits scfile=/scratch/kocevski/362845/ft2_4FGL_J1514.8+4448_daily_bin181.fits outfile=/scratch/kocevski/362845/cmap_HighResolution_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.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/362845/ft1_filtered_4FGL_J1514.8+4448_daily_bin181.fits evtable="EVENTS" scfile=/scratch/kocevski/362845/ft2_4FGL_J1514.8+4448_daily_bin181.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/362845/Model_4FGL_J1514.8+4448_daily_bin181.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/362845/ft1_filtered_4FGL_J1514.8+4448_daily_bin181.fits.....................!
real 50.22
user 48.91
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    159.94       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.469       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .82469E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2338       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10287E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.866       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3452       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4386       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .70822       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.2812       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.350       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3127       1.0000         .10000E-03   10000.    
    19 'norm      '    .26041       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.6975       1.0000         .10000E-03   10000.    
    27 'Prefactor '    43.232       1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.4751       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1632       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .71829       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=   6231.136     FROM MIGRAD    STATUS=CONVERGED    799 CALLS     3629 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     159.88        67.008       -.47343E-04   -.13788E-03
   2  Prefactor     .10000E-03    2.1448        .31245E-06** at limit **
   3  Prefactor     20.470        21.438        .27114E-04   -.45198E-04
   4  Prefactor     .10000E-03    11.952        .21510E-05** at limit **
   5  Prefactor     .57961        12.589        .73927E-05   -.19866E-03
   6  Prefactor     8.1858        35.433       -.83870E-04   -.41272E-04
   7  Prefactor     .10000E-03    10.423       -.56402E-06** at limit **
   8  norm          .10000E-03    4.4998       -.12489E-06** at limit **
   9  Prefactor     14.845        42.859        .21186E-04   -.13708E-04
  10  Prefactor     6.3442        7.6788        .31152E-05    .12573E-04
  11  norm          .10000E-03    3.1437       -.55154E-06** at limit **
  12  Prefactor     6.4438        16.446        .22986E-04   -.16430E-04
  13  Prefactor     .10000E-03    4.0673        .10773E-05** at limit **
  14  norm          .70835        1.2244        .41941E-06    .15514E-03
  15  Prefactor     .10000E-03    5.7013       -.21779E-05** at limit **
  16  Prefactor     6.2788        8.5194        .46021E-06   -.21278E-03
  17  Prefactor     10.351        6.0542        .40547E-06   -.29985E-03
  18  norm          2.3133        1.5982       -.62503E-06   -.70956E-03
  19  norm          .26139        1.9271        .10543E-05   -.19195E-02
  20  Prefactor     .10000E-03    3.3689        .50242E-06** at limit **
  21  Prefactor     .10000E-03    22.365       -.13559E-05** at limit **
  22  Prefactor     .10000E-03    7.0668       -.15445E-05** at limit **
  23  Prefactor     .10000E-03    10.655        .25523E-05** at limit **
  24  Prefactor     .10000E-03    10.059       -.44056E-05** at limit **
  25  norm          .10000E-03    3.9405       -.12652E-05** at limit **
  26  Prefactor     9.7004        17.530        .89001E-05   -.41151E-04
  27  Prefactor     43.249        40.871        .12822E-04   -.10670E-04
  28  Prefactor     4.4750        4.2390       -.23998E-06   -.51799E-05
  29  Prefactor     .10000E-03    6.6497        .36278E-05** at limit **
  30  Normalizat    1.1630        .17004       -.17512E-05   -.38467E-03
  31  Prefactor     .71823        .17472       -.11297E-05   -.27677E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 159.885
  Prefactor  = 0.0001
  Prefactor  = 20.4703
  Prefactor  = 0.0001
  Prefactor  = 0.579607
  Prefactor  = 8.18577
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 14.8455
  Prefactor  = 6.34421
  norm       = 0.0001
  Prefactor  = 6.44384
  Prefactor  = 0.0001
  norm       = 0.708346
  Prefactor  = 0.0001
  Prefactor  = 6.27878
  Prefactor  = 10.3511
  norm       = 2.31333
  norm       = 0.261389
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.70043
  Prefactor  = 43.2487
  Prefactor  = 4.47504
  Prefactor  = 0.0001
  Normalizat = 1.16302
  Prefactor  = 0.718235
 **********
 **   18 **HESSE 
 **********

 FCN=   6231.136     FROM HESSE     STATUS=OK           624 CALLS     4253 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     159.88        67.057        .15942E-03   -1.3172    
   2  Prefactor     .10000E-03    2.1543        .11285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.470        21.496        .88530E-04   -1.4803    
   4  Prefactor     .10000E-03    12.017        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .57961        109.14        .54096E-02   -1.5556    
   6  Prefactor     8.1858        35.490        .13972E-03   -1.5136    
   7  Prefactor     .10000E-03    10.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.5546        .16338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.845        42.821        .10388E-03   -1.4937    
  10  Prefactor     6.3442        7.6706        .15935E-03   -1.5204    
  11  norm          .10000E-03    3.1461        .13668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4438        16.424        .15817E-03   -1.5200    
  13  Prefactor     .10000E-03    4.0711        .15546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .70835        1.0802        .11022E-02   -1.5540    
  15  Prefactor     .10000E-03    5.7440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2788        8.5163        .16016E-03   -1.5207    
  17  Prefactor     10.351        6.0487        .12454E-03   -1.5064    
  18  norm          2.3133        1.5889        .78120E-04   -1.5404    
  19  norm          .26139        3.9975        .20996E-02   -1.5606    
  20  Prefactor     .10000E-03    3.3846        .14129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    22.370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.0801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.9435        .15303E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.7004        17.543        .12868E-03   -1.5085    
  27  Prefactor     43.249        40.875        .60972E-04   -1.4392    
  28  Prefactor     4.4750        4.2421        .15336E-03   -1.5285    
  29  Prefactor     .10000E-03    6.6546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1630        .20000        .21264E-03   -.87753    
  31  Prefactor     .71823        .20478        .28141E-03   -1.0282    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.51153e-09
Minuit parameter uncertainties:
  1  67.0889
  2  5.44266e-05
  3  21.5042
  4  7.47954e-05
  5  15.9351
  6  34.1229
  7  6.07326e-05
  8  0.000125664
  9  42.9093
  10  7.67175
  11  4.15344e-05
  12  16.435
  13  1.94627e-05
  14  1.08024
  15  9.97767e-05
  16  8.51792
  17  6.04906
  18  1.58895
  19  2.04419
  20  1.04404e-05
  21  4.45783e-06
  22  4.4883e-06
  23  3.60315e-05
  24  1.66967e-05
  25  3.37784e-06
  26  17.5523
  27  40.9013
  28  4.24235
  29  3.31977e-06
  30  0.200133
  31  0.204991
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  2.614e-01  2.044e+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:  7.182e-01  2.050e-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.163e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/362845/likelihoodResults_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.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) = 6230.99623202
delta logL = 0.139735267197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6230.98875094
delta logL = 0.147216349684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37950       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3561       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72238       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=   6230.989     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      255 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37939        78.991        .97023E-03    .16232E-02
   2  alpha         3.3557        3.9530        .31667E-01    .54027E-04
   3  Normalizat    1.1514        .18169        .21357E-03    .17950E-03
   4  Prefactor     .72238        .19681        .28061E-03    .13601E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.379393
  alpha      = 3.35572
  Normalizat = 1.15142
  Prefactor  = 0.722376
 **********
 **   18 **HESSE 
 **********

 FCN=   6230.989     FROM HESSE     STATUS=OK            27 CALLS      282 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37939        1.1901        .38809E-04   -1.5585    
   2  alpha         3.3557        1.7267        .12667E-02    .34935    
   3  Normalizat    1.1514        .19055        .42714E-04   -.88117    
   4  Prefactor     .72238        .20178        .11224E-04   -1.0266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.14307e-10
Minuit parameter uncertainties:
  1  1.19021
  2  1.93977
  3  0.190669
  4  0.201983
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/362845': 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) = 6230.98875082
delta logL = 0.14721646663

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  3.794e-01  1.190e+00  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.356e+00  1.940e+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:  7.224e-01  2.020e-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.151e+00  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/362845/cmap_HighResolution_286243201_286502401_4FGL_J1514.8+4448_daily_bin181.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', job_status='DONE', photon_flux_upper_limit='4.54e-08', time_completed='2021-09-11 18:06:29.185569', job_id='362845', GAL2='0.72', fit_tolerance='1e-08', EG2='1.15', EG='1.16', time_epoch_completed='1631408789.19', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.47e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='181' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:06:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 362845: <4FGL_J1514.8+4448_daily_bin181> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin181> 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) <bullet0043>, 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:29 2021
Results reported at Sat Sep 11 18:06:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin181 228.719 44.8105 286243201 286502401 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 :                                   914.39 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            931 sec.

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

