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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1405
RA = 153.911, Dec = 55.8893
tmin = 603504001, tmax = 603763201
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='767971', job_status='RUN', time_executed='2021-09-01 15:40:10.616839', time_epoch_executed='1630536010.62' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767971/ft1_4FGL_J1015.6+5553_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767971/ft1_4FGL_J1015.6+5553_daily_bin1405.fits outfile=/scratch/kocevski/767971/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1405.fits ra=153.911 dec=55.8893 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.84
user 2.60
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.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/767971/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1405.fits evtable="EVENTS" outfile="/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/767971/ltcube_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.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/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits
.....................!
real 15.50
user 15.09
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/767971/ltcube_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits outfile=/scratch/kocevski/767971/expmap_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.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/767971/ltcube_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits
.....................!
real 191.32
user 185.74
sys 4.58

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 240 point sources and 0 extended sources

Setting source of interest to:
4FGL J1015.6+5553 @ 153.911 55.8893

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits outfile=/scratch/kocevski/767971/cmap_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.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=153.911 yref=55.8893 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits outfile=/scratch/kocevski/767971/cmap_HighResolution_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.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=153.911 yref=55.8893 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/767971/Model_4FGL_J1015.6+5553_daily_bin1405.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/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits.......................!
real 29.45
user 27.90
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits', '/scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits', expMap='/scratch/kocevski/767971/expmap_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits', expCube='/scratch/kocevski/767971/ltcube_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/767971/Model_4FGL_J1015.6+5553_daily_bin1405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1015.6+5553'

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  7.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/767971/ft1_filtered_4FGL_J1015.6+5553_daily_bin1405.fits
Spacecraft file(s): /scratch/kocevski/767971/ft2_4FGL_J1015.6+5553_daily_bin1405.fits
Exposure map: /scratch/kocevski/767971/expmap_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits
Exposure cube: /scratch/kocevski/767971/ltcube_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/767971/Model_4FGL_J1015.6+5553_daily_bin1405.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) = 1812.54550787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.094       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3148.9       1.0000         .10000E-03   10000.    
     7 'Prefactor '    29.501       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .24583E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11552E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12802E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.6325       1.0000         .10000E-03   10000.    
    15 'norm      '    317.14       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10168E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5974       1.0000         .10000E-03   10000.    
    18 'norm      '    .10229E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.776       1.0000         .10000E-03   10000.    
    22 'norm      '    .64095       1.0000         .10000E-03   10000.    
    23 'norm      '    8.4229       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .83975E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .13473E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    37.774       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11510E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    1.2942       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .25861E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.1372       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0156       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1800.574     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     5428 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        794.97        .67110E-05** at limit **
   2  Prefactor     26.101        28.447        .90740E-06   -.21365E-05
   3  Prefactor    10000.0        1613.7        .25293E-05** at limit **
   4  Prefactor    10000.0        8711.8       -.23547E-04** at limit **
   5  norm          .10000E-03    1.6115       -.42720E-06** at limit **
   6  Prefactor     3096.1        5532.4        .18251E-04   -.10873E-04
   7  Prefactor     30.989        355.90       -.23762E-04   -.98297E-04
   8  Prefactor     .10000E-03    1691.4       -.41338E-05** at limit **
   9  Prefactor     .10000E-03    10.049       -.97784E-07** at limit **
  10  Prefactor     .10000E-03    5.6102       -.25389E-06** at limit **
  11  Prefactor     .10000E-03    157.22        .10399E-05** at limit **
  12  norm          .10000E-03    15.235       -.61858E-07** at limit **
  13  Prefactor     .10000E-03    44.557       -.49138E-06** at limit **
  14  norm          2.6332        1.8033        .63799E-07    .18605E-03
  15  norm          318.06        404.26       -.22634E-05    .81125E-06
  16  Prefactor     .10000E-03    27.597       -.56547E-06** at limit **
  17  norm          2.5971        1.5893        .42852E-06   -.60384E-03
  18  norm          .10000E-03    10.371       -.16499E-05** at limit **
  19  Prefactor     .10000E-03    69.908       -.19077E-05** at limit **
  20  norm          .10000E-03    15.381        .27736E-08** at limit **
  21  Prefactor     24.784        68.056        .43375E-05   -.30213E-04
  22  norm          .64496        13.081       -.43000E-05   -.23499E-04
  23  norm          8.4253        5.8557        .10933E-07   -.13930E-03
  24  Prefactor     .10001E-03    956.77       -.65048E-05** at limit **
  25  Prefactor     .10000E-03    351.95        .95113E-06** at limit **
  26  norm          .10000E-03    4.0767        .39635E-06** at limit **
  27  Prefactor     .10000E-03    84.550       -.86075E-06** at limit **
  28  Prefactor     37.766        53.191       -.33524E-05   -.12664E-03
  29  Prefactor     .10000E-03    223.43        .15317E-06** at limit **
  30  Prefactor     1.2871        91.972       -.61259E-05   -.41033E-05
  31  Prefactor     .10000E-03    339.61        .34802E-05** at limit **
  32  Normalizat    1.1371        .48486        .24551E-04   -.19383E-03
  33  Prefactor     1.0158        .46714       -.28131E-04   -.59896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 26.1011
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 3096.1
  Prefactor  = 30.989
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.63316
  norm       = 318.055
  Prefactor  = 0.0001
  norm       = 2.59711
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 24.7838
  norm       = 0.644961
  norm       = 8.42534
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 37.766
  Prefactor  = 0.0001
  Prefactor  = 1.28707
  Prefactor  = 0.000100003
  Normalizat = 1.13706
  Prefactor  = 1.0158
 **********
 **   18 **HESSE 
 **********

 FCN=   1800.574     FROM HESSE     STATUS=OK           681 CALLS     6109 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        794.26        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.101        28.442        .78422E-04   -1.4686    
   3  Prefactor    10000.0        1613.3        .18750E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        8708.0        .18464E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.6609        .10496E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3096.1        5507.3        .43060E-04   -.39064    
   7  Prefactor     30.989        358.20        .36882E-03   -1.4594    
   8  Prefactor     .10000E-03    1694.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.051        .13140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.6125        .98178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    157.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    15.235        .16181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    44.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.6332        1.8085        .45874E-04   -1.5383    
  15  norm          318.06        403.73        .11413E-03   -1.2122    
  16  Prefactor     .10000E-03    27.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5971        1.5871        .37594E-04   -1.5386    
  18  norm          .10000E-03    10.432        .13364E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    70.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    15.383        .16258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.784        68.047        .80478E-04   -1.4712    
  22  norm          .64496        13.228        .17783E-03   -1.5547    
  23  norm          8.4253        5.8349        .80858E-04   -1.5127    
  24  Prefactor     .10001E-03    960.17        .20873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    352.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    21.733        .15676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    84.611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     37.766        49.999        .65211E-04   -1.4478    
  29  Prefactor     .10000E-03    223.48        .20667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.2871        84.473        .38896E-03   -1.5481    
  31  Prefactor     .10000E-03    345.03        .42903E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    1.1371        .48019        .28108E-03   -.88571    
  33  Prefactor     1.0158        .46693        .32619E-03   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2755e-09
Minuit parameter uncertainties:
  1  0.000286138
  2  28.4566
  3  0.00146096
  4  0.0131366
  5  3.76337e-06
  6  9836.88
  7  212.331
  8  0.00449258
  9  2.58693e-06
  10  1.76964e-05
  11  0.000740369
  12  5.84121e-06
  13  9.58926e-05
  14  1.80852
  15  407.378
  16  9.19443e-05
  17  1.58716
  18  0.000161134
  19  0.000488748
  20  1.39466e-06
  21  68.2614
  22  5.84282
  23  5.83526
  24  0.00707132
  25  0.000223468
  26  0.000246878
  27  0.000352994
  28  50.0544
  29  0.000257843
  30  20.8841
  31  0.00187848
  32  0.482057
  33  0.468807
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  4.887e-04  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  1.016e+00  4.688e-01  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.137e+00  4.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: 3.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767971/likelihoodResults_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.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) = 1800.57440041
delta logL = -5.92218029851e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1800.5743414
delta logL = -2.14701913137e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5037       1.0000          .0000       10.000    
     3 'Normalizat'    1.1373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1800.574     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9512.9        .90712E-02** at limit **
   2  Index         2.5145        6.4823        .50000       -.14281E-05
   3  Normalizat    1.1371        .27065        .63534E-01    .35956E-05
   4  Prefactor     1.0158        .29947        .73732E-01    .40880E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.51448
  Normalizat = 1.13707
  Prefactor  = 1.01579
 **********
 **   18 **HESSE 
 **********

 FCN=   1800.574     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5145        6.2567        .50000       -.52026    
   3  Normalizat    1.1371        .37834        .28102E-03   -.88570    
   4  Prefactor     1.0158        .41893        .32624E-03   -.92205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06055e-12
Minuit parameter uncertainties:
  1  3.24235e-05
  2  4.47039
  3  0.379254
  4  0.420284
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767971': 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) = 1800.5743412
delta logL = -1.07177129394e-08

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  3.242e-05  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.514e+00  4.470e+00  0.000e+00  1.000e+01 (-1.000e+00)
393        Scale:  7.469e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  1.016e+00  4.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
768        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
769        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
766   Normalization:  1.137e+00  3.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 153.911 55.889

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/767971/cmap_HighResolution_603504001_603763201_4FGL_J1015.6+5553_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-02', job_status='DONE', photon_flux_upper_limit='3.00e-07', time_completed='2021-09-01 15:50:20.590677', job_id='767971', GAL2='1.02', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630536620.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='-1.07e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1405' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:50:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 767971: <4FGL_J1015.6+5553_daily_bin1405> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1405> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep  1 15:35:40 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 15:36:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 15:36:20 2021
Terminated at Wed Sep  1 15:50:22 2021
Results reported at Wed Sep  1 15:50:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1405 153.911 55.8893 603504001 603763201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1015.6+5553 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   601.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             239.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            882 sec.

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

