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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1402
RA = 153.911, Dec = 55.8893
tmin = 602726401, tmax = 602985601
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='767967', job_status='RUN', time_executed='2021-09-01 15:39:23.810951', time_epoch_executed='1630535963.81' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1402'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767967

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767967/ft1_4FGL_J1015.6+5553_daily_bin1402.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767967/ft1_4FGL_J1015.6+5553_daily_bin1402.fits outfile=/scratch/kocevski/767967/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1402.fits ra=153.911 dec=55.8893 rad=12.0 tmin=602726401.0 tmax=602985601.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.07
user 2.87
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.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/767967/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1402.fits evtable="EVENTS" outfile="/scratch/kocevski/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.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/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits" evtable="EVENTS" scfile=/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits sctable="SC_DATA" outfile=/scratch/kocevski/767967/ltcube_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.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/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits
.....................!
real 14.97
user 14.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits evtable="EVENTS" scfile=/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits sctable="SC_DATA" expcube=/scratch/kocevski/767967/ltcube_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits outfile=/scratch/kocevski/767967/expmap_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.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/767967/ltcube_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits
.....................!
real 189.89
user 185.19
sys 4.09

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/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits scfile=/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits outfile=/scratch/kocevski/767967/cmap_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits scfile=/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits outfile=/scratch/kocevski/767967/cmap_HighResolution_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.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.55
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits', '/scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits', expMap='/scratch/kocevski/767967/expmap_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits', expCube='/scratch/kocevski/767967/ltcube_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/767967/Model_4FGL_J1015.6+5553_daily_bin1402.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/767967/ft1_filtered_4FGL_J1015.6+5553_daily_bin1402.fits
Spacecraft file(s): /scratch/kocevski/767967/ft2_4FGL_J1015.6+5553_daily_bin1402.fits
Exposure map: /scratch/kocevski/767967/expmap_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits
Exposure cube: /scratch/kocevski/767967/ltcube_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/767967/Model_4FGL_J1015.6+5553_daily_bin1402.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) = 623.478254336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .77019E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .97260       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10000.       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2239       1.0000         .10000E-03   10000.    
    18 'norm      '    10000.       1.0000         .10000E-03   10000.    
    19 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    10000.       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .20460       1.0000         .10000E-03   10000.    
    26 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    564.91       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .47268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   623.4569     FROM MIGRAD    STATUS=CONVERGED    855 CALLS     5409 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.895        .83745E-05** at limit **
   2  Prefactor     .10011E-03    1271.4       -.36042E-04** at limit **
   3  Prefactor     .10000E-03    67.227        .66214E-06** at limit **
   4  Prefactor     .10000E-03    326.91        .27269E-05** at limit **
   5  norm          .97329        1.7393       -.29046E-05    .52921E-03
   6  Prefactor     .10000E-03    82.502       -.14656E-05** at limit **
   7  Prefactor     .10000E-03    28.569       -.45777E-06** at limit **
   8  Prefactor     .10000E-03    897.57        .13131E-04** at limit **
   9  Prefactor     .10000E-03    16.522        .29003E-06** at limit **
  10  Prefactor     .10000E-03    6.2213       -.26584E-07** at limit **
  11  Prefactor     .10000E-03    262.49        .11700E-05** at limit **
  12  norm          .10000E-03    26.479       -.12102E-06** at limit **
  13  Prefactor     .10000E-03    68.491       -.50135E-07** at limit **
  14  norm          .10000E-03    3.5630        .97883E-07** at limit **
  15  norm         10000.0        9121.3       -.14769E-04** at limit **
  16  Prefactor    10000.0        1748.6       -.16811E-04** at limit **
  17  norm          1.2243        1.5510       -.13970E-05   -.49378E-03
  18  norm         10000.0        6700.7       -.12996E-04** at limit **
  19  Prefactor    10000.0        8541.6       -.24358E-04** at limit **
  20  norm          .10000E-03    25.500        .21986E-06** at limit **
  21  Prefactor     .10000E-03    227.80       -.10627E-05** at limit **
  22  norm          .10000E-03    23.446        .10404E-05** at limit **
  23  norm         10000.0        201.94        .26931E-05** at limit **
  24  Prefactor    10000.0        6105.4       -.15317E-05** at limit **
  25  Prefactor     .10017E-03    6259.1        .97350E-04** at limit **
  26  norm          .10000E-03    300.60        .19258E-05** at limit **
  27  Prefactor     .10000E-03    1002.1        .13217E-04** at limit **
  28  Prefactor     .10000E-03    1280.7        .15344E-04** at limit **
  29  Prefactor     564.99        1306.0        .58677E-05   -.51432E-06
  30  Prefactor     .10000E-03    17.947       -.16474E-06** at limit **
  31  Prefactor     .10000E-03    47.464        .12542E-05** at limit **
  32  Normalizat    .10000E-01    .54547E-01    .17199E-04** at limit **
  33  Prefactor     .47278        .21778        .50457E-05   -.18540E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.973294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10000
  Prefactor  = 10000
  norm       = 1.22427
  norm       = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100172
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100004
  Prefactor  = 564.987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.472783
 **********
 **   18 **HESSE 
 **********

 FCN=   623.4569     FROM HESSE     STATUS=OK           675 CALLS     6084 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.898        .16521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10011E-03    93.275        .33444E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    67.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    326.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .97329        1.7798        .41278E-04   -1.5511    
   6  Prefactor     .10000E-03    82.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.586        .13045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    898.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.545        .99216E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.2251        .60857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    262.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    26.481        .12558E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    68.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.5632        .46048E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        9121.5        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor    10000.0        1749.8        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2243        1.5793        .30889E-04   -1.5487    
  18  norm         10000.0        6701.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor    10000.0        8542.3        .18174E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    25.501        .12324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    227.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    23.454        .11818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm         10000.0        202.07        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor    10000.0        6104.6        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10017E-03    6261.7        .19997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    300.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1003.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    1281.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     564.99        1306.2        .86630E-04   -1.0908    
  30  Prefactor     .10000E-03    17.947        .10337E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    47.473        .16820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .55206E-01    .18088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .47278        .22617        .21327E-03   -1.1324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47705e-10
Minuit parameter uncertainties:
  1  1.89106e-05
  2  0.00630709
  3  5.0873e-06
  4  0.000398202
  5  1.77993
  6  0.000130823
  7  4.42152e-05
  8  0.00324236
  9  8.02329e-06
  10  4.16931e-07
  11  3.21365e-05
  12  1.85591e-05
  13  9.97827e-06
  14  3.96037e-07
  15  0.0160811
  16  0.00621976
  17  1.57936
  18  0.00786903
  19  0.0210906
  20  1.47438e-05
  21  9.37124e-05
  22  5.0295e-05
  23  0.00030332
  24  0.00955498
  25  0.30395
  26  0.000258693
  27  0.00370668
  28  0.00482165
  29  1388.35
  30  7.6384e-06
  31  5.85423e-05
  32  1.90295e-07
  33  0.226599
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e+04  2.109e-02  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:  4.728e-01  2.266e-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.000e-02  1.903e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.72
Ra Dec: 153.911 55.889
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 1.08e-05 +/- 2.29e-11
Energy Flux (Fixed Index): 2.99e-03 +/- 6.31e-09
calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 3.72
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.80e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767967/likelihoodResults_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.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) = 618.103652534
delta logL = 5.35324857249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 618.10256728
delta logL = 5.35433382648

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    3.9730       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=   618.1026     FROM MIGRAD    STATUS=CONVERGED     13 CALLS       53 TOTAL
                     EDM=   .46E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       3.9731        .21878        .20601E-01    .15216E-04
                               ERR DEF=  .500    
Final values: 
  Index      = 3.97308
 **********
 **   18 **HESSE 
 **********

 FCN=   618.1026     FROM HESSE     STATUS=OK             7 CALLS       60 TOTAL
                     EDM=   .72E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       3.9731        .21939        .10863E-03   -.20686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15797e-16
Minuit parameter uncertainties:
  1  0.219462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767967': 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) = 618.102567264
delta logL = 5.35433384204

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
392        Index:  3.973e+00  2.195e-01  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:  4.729e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 14.43
Ra Dec: 153.911 55.889
Photon Index (Free Index): 3.97 +/- 0.22
Photon Flux (Free Index): 9.95e-05 +/- 3.64e-05
Energy Flux (Free Index): 1.50e-02 +/- 4.93e-03

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/767967/cmap_HighResolution_602726401_602985601_4FGL_J1015.6+5553_daily_bin1402.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.80e+04', comment='SUCCESS', photon_flux='1.08e-05', energy_flux2='1.50e-02', photon_flux_error='2.29e-11', dlogl='5.35e+00', energy_flux='2.99e-03', photon_flux2='9.95e-05', job_status='DONE', time_completed='2021-09-01 15:46:41.799938', photon_index_error2='0.22', photon_index2='3.97', ts='3.72', fit_tolerance='1e-08', GAL='0.47', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='4.93e-03', EG='0.01', time_epoch_completed='1630536401.8', return_code='0', job_id='767967', GAL2='0.47', EG2='0.01', return_code2='0', energy_flux_error='6.31e-09', photon_flux_error2='3.64e-05', ts2='14.43', photon_index='2.55' WHERE bin_id='1402' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:46:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 767967: <4FGL_J1015.6+5553_daily_bin1402> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1402> 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) <bullet0043>, 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:46:42 2021
Results reported at Wed Sep  1 15:46:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1402 153.911 55.8893 602726401 602985601 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 :                                   435.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             245.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   622 sec.
    Turnaround time :                            662 sec.

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

