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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin647
RA = 228.719, Dec = 44.8105
tmin = 407030401, tmax = 407289601
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='366929', job_status='RUN', time_executed='2021-09-11 18:06:31.804688', time_epoch_executed='1631408791.8' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='647'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/366929

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/366929/ft1_4FGL_J1514.8+4448_daily_bin647.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/366929/ft1_4FGL_J1514.8+4448_daily_bin647.fits outfile=/scratch/kocevski/366929/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin647.fits ra=228.719 dec=44.8105 rad=12.0 tmin=407030401.0 tmax=407289601.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.50
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/366929/ft1_filtered_4FGL_J1514.8+4448_daily_bin647.fits" evtable="EVENTS" scfile=/scratch/kocevski/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits sctable="SC_DATA" outfile=/scratch/kocevski/366929/ltcube_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.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/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits
.....................!
real 11.76
user 11.45
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/366929/ft1_filtered_4FGL_J1514.8+4448_daily_bin647.fits evtable="EVENTS" scfile=/scratch/kocevski/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits sctable="SC_DATA" expcube=/scratch/kocevski/366929/ltcube_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.fits outfile=/scratch/kocevski/366929/expmap_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.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/366929/ltcube_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.fits
.....................!
real 189.76
user 185.02
sys 4.40

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/366929/ft1_filtered_4FGL_J1514.8+4448_daily_bin647.fits scfile=/scratch/kocevski/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits outfile=/scratch/kocevski/366929/cmap_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/366929/ft1_filtered_4FGL_J1514.8+4448_daily_bin647.fits scfile=/scratch/kocevski/366929/ft2_4FGL_J1514.8+4448_daily_bin647.fits outfile=/scratch/kocevski/366929/cmap_HighResolution_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11936E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.066       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.9729       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.791       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.815       1.0000         .10000E-03   10000.    
     8 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.780       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.551       1.0000         .10000E-03   10000.    
    11 'norm      '    6.1143       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10528E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.8673       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4016       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.040       1.0000         .10000E-03   10000.    
    18 'norm      '    1.0263       1.0000         .10000E-03   10000.    
    19 'norm      '    .10855E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .32798       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.3767       1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.4785       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.6220       1.0000         .10000E-03   10000.    
    25 'norm      '    .26798E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    55.538       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.6096       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.1163       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .78043       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=   6237.874     FROM MIGRAD    STATUS=CONVERGED    819 CALLS     4189 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.121       -.24157E-06** at limit **
   2  Prefactor     .10003E-03    3.1106        .11663E-05** at limit **
   3  Prefactor     12.065        15.505        .17159E-06   -.25373E-04
   4  Prefactor     5.9727        16.736       -.67839E-08    .25351E-05
   5  Prefactor     44.803        35.295       -.14492E-05   -.76702E-04
   6  Prefactor     .10000E-03    49.806       -.38356E-05** at limit **
   7  Prefactor     20.810        23.796       -.38576E-06   -.57118E-05
   8  norm          .10000E-03    3.1292       -.69394E-07** at limit **
   9  Prefactor     21.770        50.073        .34641E-05    .44557E-04
  10  Prefactor     23.553        15.012        .30157E-06    .99502E-04
  11  norm          6.1141        6.0030       -.55651E-06   -.15850E-03
  12  Prefactor     .10000E-03    6.2751        .77504E-07** at limit **
  13  Prefactor     .10000E-03    30.292       -.16487E-05** at limit **
  14  norm          1.8672        1.3698        .38446E-07    .17818E-03
  15  Prefactor     6.4000        8.9391       -.19882E-06   -.67478E-05
  16  Prefactor     .10000E-03    3.4299        .42532E-07** at limit **
  17  Prefactor     10.041        6.0613        .89162E-06    .54689E-03
  18  norm          1.0265        1.4736        .11192E-06    .40523E-03
  19  norm          .10000E-03    3.0980       -.18556E-06** at limit **
  20  Prefactor     .23731        18.526       -.32697E-05    .41005E-03
  21  Prefactor     .10000E-03    33.984        .18659E-05** at limit **
  22  Prefactor     6.3769        11.417        .82269E-06    .21557E-03
  23  Prefactor     8.5444        15.966        .11804E-05    .61381E-03
  24  Prefactor     3.6150        12.629        .16167E-05    .29460E-03
  25  norm          .10002E-03    14.112       -.47733E-05** at limit **
  26  Prefactor     55.528        27.231        .10826E-05    .16334E-03
  27  Prefactor     .10000E-03    34.491        .22676E-05** at limit **
  28  Prefactor     3.6088        3.5025       -.90042E-06   -.82686E-03
  29  Prefactor     .10000E-03    10.423        .23923E-06** at limit **
  30  Normalizat    1.1164        .17919       -.17055E-06    .20971E-03
  31  Prefactor     .78037        .18259       -.86516E-06    .13010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100031
  Prefactor  = 12.0652
  Prefactor  = 5.9727
  Prefactor  = 44.8034
  Prefactor  = 0.000100001
  Prefactor  = 20.8102
  norm       = 0.0001
  Prefactor  = 21.7698
  Prefactor  = 23.5532
  norm       = 6.11413
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.86717
  Prefactor  = 6.39998
  Prefactor  = 0.0001
  Prefactor  = 10.0411
  norm       = 1.02652
  norm       = 0.000100002
  Prefactor  = 0.237314
  Prefactor  = 0.0001
  Prefactor  = 6.37686
  Prefactor  = 8.54436
  Prefactor  = 3.61503
  norm       = 0.000100021
  Prefactor  = 55.5277
  Prefactor  = 0.0001
  Prefactor  = 3.60884
  Prefactor  = 0.0001
  Normalizat = 1.11643
  Prefactor  = 0.780368
 **********
 **   18 **HESSE 
 **********

 FCN=   6237.874     FROM HESSE     STATUS=OK           634 CALLS     4823 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10003E-03    20.474        .25206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.065        15.463        .11532E-03   -1.5013    
   4  Prefactor     5.9727        16.724        .16430E-03   -1.5219    
   5  Prefactor     44.803        35.312        .59906E-04   -1.4368    
   6  Prefactor     .10000E-03    49.779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.810        23.803        .87792E-04   -1.4795    
   8  norm          .10000E-03    3.1451        .13638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.770        50.083        .85825E-04   -1.4774    
  10  Prefactor     23.553        15.020        .82540E-04   -1.4737    
  11  norm          6.1141        6.0067        .16236E-03   -1.5213    
  12  Prefactor     .10000E-03    6.2908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.215        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8672        1.3634        .76152E-04   -1.5435    
  15  Prefactor     6.4000        8.6454        .15863E-03   -1.5202    
  16  Prefactor     .10000E-03    3.4378        .14285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     10.041        6.0880        .12646E-03   -1.5074    
  18  norm          1.0265        1.2805        .10048E-02   -1.5505    
  19  norm          .10000E-03    5.0220        .23539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .23731        167.48        .40482E-02   -1.5611    
  21  Prefactor     .10000E-03    33.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     6.3769        11.381        .15895E-03   -1.5203    
  23  Prefactor     8.5444        18.169        .13767E-03   -1.5123    
  24  Prefactor     3.6150        14.367        .10614E-02   -1.5328    
  25  norm          .10002E-03    23.659        .40100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     55.528        27.206        .53826E-04   -1.4216    
  27  Prefactor     .10000E-03    34.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.6088        3.5021        .70792E-03   -1.5328    
  29  Prefactor     .10000E-03    10.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1164        .21322        .22623E-03   -.89226    
  31  Prefactor     .78037        .21712        .28065E-03   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18886e-08
Minuit parameter uncertainties:
  1  8.82816e-06
  2  0.00160516
  3  15.4685
  4  16.7367
  5  35.3287
  6  0.000338758
  7  23.8139
  8  6.27273e-06
  9  50.1801
  10  15.0227
  11  6.00726
  12  1.20334e-05
  13  0.000286666
  14  1.36337
  15  8.64712
  16  5.21469e-06
  17  6.08841
  18  1.28054
  19  0.000189518
  20  12.6417
  21  0.000176549
  22  11.3846
  23  18.1809
  24  14.3811
  25  0.00140048
  26  27.2117
  27  0.000222777
  28  3.50233
  29  2.98085e-05
  30  0.213387
  31  0.217354
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  1.895e-04  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.804e-01  2.174e-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.116e+00  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/366929/likelihoodResults_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6237.87501082
delta logL = -0.000953035403654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6237.87405786
delta logL = -6.7971086537e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1907       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78031       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6237.874     FROM MIGRAD    STATUS=FAILED        87 CALLS      245 TOTAL
                     EDM=   .86E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10243E-03    1061.7        .23749E-02** at limit **
   2  alpha         1.9829        2.6798        .16623E-01    .56461E-05
   3  Normalizat    1.1164        .89604E-01    .22623E-03    .13097E-03
   4  Prefactor     .78037        .95559E-01    .28065E-03    .10322E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6237.874     FROM SIMPLEX   STATUS=PROGRESS     147 CALLS      392 TOTAL
                     EDM=   .98E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10233E-03    1061.7        .39059E-03** at limit **
   2  alpha         1.9828        2.6798        .89136E-05    .56461E-05
   3  Normalizat    1.1164        .89604E-01    .63020E-06    .13097E-03
   4  Prefactor     .78037        .95559E-01    .73477E-06    .10322E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6237.874     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      430 TOTAL
                     EDM=   .46E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.8019        .47497E-03** at limit **
   2  alpha         1.9001        3.0920        .33245E-01    .64973E-08
   3  Normalizat    1.1164        .20053        .45247E-04    .38694E-05
   4  Prefactor     .78037        .21250        .11226E-04   -.10127E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90012
  Normalizat = 1.11643
  Prefactor  = 0.780368
 **********
 **   18 **HESSE 
 **********

 FCN=   6237.874     FROM HESSE     STATUS=OK            23 CALLS      453 TOTAL
                     EDM=   .39E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7199        .94994E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9001        3.4059        .13298E-02   -.24232    
   3  Normalizat    1.1164        .20066        .90493E-05   -.89226    
   4  Prefactor     .78037        .21264        .22452E-05   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93133e-13
Minuit parameter uncertainties:
  1  3.05916e-06
  2  186.86
  3  0.200796
  4  0.212868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/366929': 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) = 6237.87405656
delta logL = 1.2250529835e-06

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.000e-04  3.059e-06  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  1.900e+00  1.869e+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:  7.804e-01  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:  1.116e+00  2.008e-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/366929/cmap_HighResolution_407030401_407289601_4FGL_J1514.8+4448_daily_bin647.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='5.40e-08', time_completed='2021-09-11 18:22:14.899374', job_id='366929', GAL2='0.78', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1631409734.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='1.23e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='647' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 18:22:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 366929: <4FGL_J1514.8+4448_daily_bin647> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin647 228.719 44.8105 407030401 407289601 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 :                                   938.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             336.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            959 sec.

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

