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


Performing analysis on: 4FGL_J1514.8+4448_daily_bin3
RA = 228.719, Dec = 44.8105
tmin = 240105601, tmax = 240364801
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='360346', job_status='RUN', time_executed='2021-09-11 17:42:16.241786', time_epoch_executed='1631407336.24' WHERE source_name='4FGL J1514.8+4448' and cadence='daily' and bin_id='3'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/360346

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/360346/ft1_4FGL_J1514.8+4448_daily_bin3.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/360346/ft1_4FGL_J1514.8+4448_daily_bin3.fits outfile=/scratch/kocevski/360346/ft1_filteredMKT_4FGL_J1514.8+4448_daily_bin3.fits ra=228.719 dec=44.8105 rad=12.0 tmin=240105601.0 tmax=240364801.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.42
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/360346/ft1_filtered_4FGL_J1514.8+4448_daily_bin3.fits" evtable="EVENTS" scfile=/scratch/kocevski/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits sctable="SC_DATA" outfile=/scratch/kocevski/360346/ltcube_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.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/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits
.....................!
real 12.63
user 12.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/360346/ft1_filtered_4FGL_J1514.8+4448_daily_bin3.fits evtable="EVENTS" scfile=/scratch/kocevski/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits sctable="SC_DATA" expcube=/scratch/kocevski/360346/ltcube_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.fits outfile=/scratch/kocevski/360346/expmap_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.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/360346/ltcube_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.fits
.....................!
real 190.93
user 185.63
sys 4.95

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/360346/ft1_filtered_4FGL_J1514.8+4448_daily_bin3.fits scfile=/scratch/kocevski/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits outfile=/scratch/kocevski/360346/cmap_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=228.719 yref=44.8105 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/360346/ft1_filtered_4FGL_J1514.8+4448_daily_bin3.fits scfile=/scratch/kocevski/360346/ft2_4FGL_J1514.8+4448_daily_bin3.fits outfile=/scratch/kocevski/360346/cmap_HighResolution_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    84.687       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .56719       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.888       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.4615       1.0000         .10000E-03   10000.    
     8 'norm      '    1.3690       1.0000         .10000E-03   10000.    
     9 'Prefactor '    93.153       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.811       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.0133       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   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 '    6.8460       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.1535       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    116.87       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .16640E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    17.415       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.7636       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.2810       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .65525       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=   5609.206     FROM MIGRAD    STATUS=CONVERGED    817 CALLS     4158 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     84.704        76.639        .22247E-06    .18856E-03
   2  Prefactor     .56679        9.2085        .38269E-05    .60048E-03
   3  Prefactor     10.879        26.266       -.56119E-06   -.38735E-04
   4  Prefactor     .10000E-03    18.392        .11451E-06** at limit **
   5  Prefactor     .10000E-03    28.668        .66435E-06** at limit **
   6  Prefactor     .10005E-03    74.147        .18756E-05** at limit **
   7  Prefactor     7.4604        27.939        .12593E-05    .60302E-05
   8  norm          1.3667        5.0528        .94016E-05    .29365E-03
   9  Prefactor     93.161        55.122       -.18368E-05    .51393E-04
  10  Prefactor     .10000E-03    10.050        .53023E-06** at limit **
  11  norm          10.811        8.2588       -.27009E-06    .91348E-05
  12  Prefactor     5.0134        10.141        .81018E-06    .29445E-04
  13  Prefactor     .10000E-03    8.9344        .91912E-07** at limit **
  14  norm          .10000E-03    .88100        .21341E-06** at limit **
  15  Prefactor     .10000E-03    3.0814        .12382E-07** at limit **
  16  Prefactor     6.8452        9.0325        .25237E-06    .50223E-04
  17  Prefactor     .10000E-03    1.2591        .59244E-08** at limit **
  18  norm          .10000E-03    .71844       -.30878E-07** at limit **
  19  norm          1.1533        2.8995        .19686E-06    .17652E-03
  20  Prefactor     .10000E-03    10.649        .21054E-06** at limit **
  21  Prefactor     116.87        69.137        .24003E-06    .16931E-04
  22  Prefactor     .10148E-03    30.271       -.16544E-04** at limit **
  23  Prefactor     17.418        12.686        .39344E-07    .31105E-03
  24  Prefactor     .10000E-03    7.7654       -.35831E-07** at limit **
  25  norm          .10000E-03    5.8701       -.37139E-07** at limit **
  26  Prefactor     .10000E-03    6.6342       -.23996E-07** at limit **
  27  Prefactor     .10002E-03    54.932       -.57390E-06** at limit **
  28  Prefactor     4.7632        4.9246        .27248E-08   -.29682E-03
  29  Prefactor     .10000E-03    9.7209       -.55001E-06** at limit **
  30  Normalizat    1.2811        .18165       -.19293E-05    .11038E-03
  31  Prefactor     .65515        .18124        .11893E-05    .17929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 84.7037
  Prefactor  = 0.566791
  Prefactor  = 10.8791
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100052
  Prefactor  = 7.46042
  norm       = 1.36672
  Prefactor  = 93.1615
  Prefactor  = 0.000100001
  norm       = 10.8114
  Prefactor  = 5.01338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.84525
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.15331
  Prefactor  = 0.0001
  Prefactor  = 116.871
  Prefactor  = 0.00010148
  Prefactor  = 17.4182
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 4.76322
  Prefactor  = 0.0001
  Normalizat = 1.2811
  Prefactor  = 0.655151
 **********
 **   18 **HESSE 
 **********

 FCN=   5609.206     FROM HESSE     STATUS=OK           624 CALLS     4782 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     84.704        75.589        .43652E-04   -1.3865    
   2  Prefactor     .56679        9.2206        .41651E-03   -1.5557    
   3  Prefactor     10.879        26.255        .12142E-03   -1.5048    
   4  Prefactor     .10000E-03    18.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    28.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10005E-03    75.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.4604        27.986        .73411E-03   -1.5162    
   8  norm          1.3667        5.2497        .16106E-02   -1.5474    
   9  Prefactor     93.161        55.243        .20819E-03   -1.3775    
  10  Prefactor     .10000E-03    10.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.811        8.2601        .12185E-03   -1.5050    
  12  Prefactor     5.0134        10.125        .89799E-03   -1.5260    
  13  Prefactor     .10000E-03    8.9773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.3327        .13609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0954        .12837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.8452        9.0334        .15334E-03   -1.5185    
  17  Prefactor     .10000E-03    1.2602        .82071E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .74812        .12376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.1533        2.8280        .18922E-03   -1.5493    
  20  Prefactor     .10000E-03    10.738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     116.87        69.190        .37219E-04   -1.3542    
  22  Prefactor     .10148E-03    17.417        .86308E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.418        12.645        .95976E-04   -1.4873    
  24  Prefactor     .10000E-03    7.7723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    5.8796        .17722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    6.6376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10002E-03    55.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.7632        4.9194        .16374E-03   -1.5271    
  29  Prefactor     .10000E-03    9.7561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.2811        .21913        .20981E-03   -.84132    
  31  Prefactor     .65515        .21687        .29539E-03   -1.0531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.7163e-09
Minuit parameter uncertainties:
  1  75.6746
  2  4.57258
  3  26.2828
  4  6.87362e-06
  5  0.000453401
  6  0.00395178
  7  28.0352
  8  5.25149
  9  55.273
  10  0.000156711
  11  8.26093
  12  10.1282
  13  2.61841e-05
  14  1.84787e-05
  15  1.76124e-06
  16  9.03517
  17  7.65718e-07
  18  1.4478e-06
  19  2.82829
  20  0.000107459
  21  69.2377
  22  0.010157
  23  12.6466
  24  1.87569e-05
  25  3.30928e-06
  26  1.13787e-05
  27  0.00184863
  28  4.91981
  29  0.000126017
  30  0.219288
  31  0.217145
Done.

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

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  1.153e+00  2.828e+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:  6.552e-01  2.171e-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.281e+00  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/360346/likelihoodResults_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.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) = 5609.12490084
delta logL = 0.0810511427735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5609.10189103
delta logL = 0.104060951546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63972       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2623       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2656       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66517       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=   5609.102     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      217 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63396        17.545        .22938E-01   -.31987E-03
   2  alpha         3.2667        4.0048        .43877       -.36704E-05
   3  Normalizat    1.2662        .26121E-01    .33451E-01   -.42800E-03
   4  Prefactor     .66470        .27243E-01    .66299E-01   -.87355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.633957
  alpha      = 3.26674
  Normalizat = 1.26623
  Prefactor  = 0.664696
 **********
 **   18 **HESSE 
 **********

 FCN=   5609.102     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      250 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63396        93.138        .10440E-02   -1.5549    
   2  alpha         3.2667        3.9876        .29149E-01    .31172    
   3  Normalizat    1.2662        .20486        .21075E-03   -.84580    
   4  Prefactor     .66470        .19162        .29336E-03   -1.0493    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.04131e-10
Minuit parameter uncertainties:
  1  15.3914
  2  18.2697
  3  0.204995
  4  0.191805
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/360346': 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): 102
logL (Free Index) = 5609.10188209
delta logL = 0.104069889982

Extracting fit parameters...

4FGL J1514.8+4448
   Spectrum: LogParabola
286         norm:  6.340e-01  1.539e+01  1.000e-04  1.000e+04 ( 1.000e-12)
287        alpha:  3.267e+00  1.827e+01  0.000e+00  5.000e+00 ( 1.000e+00)
288         beta:  1.666e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
289           Eb:  8.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
633    Prefactor:  6.647e-01  1.918e-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.266e+00  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
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/360346/cmap_HighResolution_240105601_240364801_4FGL_J1514.8+4448_daily_bin3.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.52e-05', job_status='DONE', photon_flux_upper_limit='5.98e-08', time_completed='2021-09-11 17:56:31.587481', job_id='360346', GAL2='0.66', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1631408191.59', return_code2='102', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.04e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='3' AND source_name='4FGL J1514.8+4448' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 17:56:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 360346: <4FGL_J1514.8+4448_daily_bin3> in cluster <slac> Done

Job <4FGL_J1514.8+4448_daily_bin3> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 11 17:41:07 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 17:41:08 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:41:08 2021
Terminated at Sat Sep 11 17:56:31 2021
Results reported at Sat Sep 11 17:56:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1514.8+4448_daily_bin3 228.719 44.8105 240105601 240364801 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 :                                   854.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            924 sec.

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

