/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 0 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7424
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1
RA = 153.911, Dec = 55.8893
tmin = 239587201, tmax = 239846401
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='758462', job_status='RUN', time_executed='2021-09-01 15:06:28.094313', time_epoch_executed='1630533988.09' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/758462

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/758462/ft1_4FGL_J1015.6+5553_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/758462/ft1_4FGL_J1015.6+5553_daily_bin1.fits outfile=/scratch/kocevski/758462/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1.fits ra=153.911 dec=55.8893 rad=12.0 tmin=239587201.0 tmax=239846401.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.34
user 1.17
sys 0.14

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/758462/ft1_filtered_4FGL_J1015.6+5553_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/758462/ltcube_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.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/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits
.....................!
real 18.07
user 17.69
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/758462/ft1_filtered_4FGL_J1015.6+5553_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/758462/ltcube_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.fits outfile=/scratch/kocevski/758462/expmap_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.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/758462/ltcube_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.fits
.....................!
real 192.16
user 187.42
sys 4.19

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/758462/ft1_filtered_4FGL_J1015.6+5553_daily_bin1.fits scfile=/scratch/kocevski/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits outfile=/scratch/kocevski/758462/cmap_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/758462/ft1_filtered_4FGL_J1015.6+5553_daily_bin1.fits scfile=/scratch/kocevski/758462/ft2_4FGL_J1015.6+5553_daily_bin1.fits outfile=/scratch/kocevski/758462/cmap_HighResolution_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8755       1.0000         .10000E-03   10000.    
     3 'Prefactor '    54.571       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.580       1.0000         .10000E-03   10000.    
     5 'norm      '    2.6952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8115       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1864       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.3447       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38184       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.6135       1.0000         .10000E-03   10000.    
    12 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.533       1.0000         .10000E-03   10000.    
    14 'norm      '    3.1298       1.0000         .10000E-03   10000.    
    15 'norm      '    19.325       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .87896       1.0000         .10000E-03   10000.    
    18 'norm      '    11.336       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.9672       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.9141       1.0000         .10000E-03   10000.    
    22 'norm      '    3.2409       1.0000         .10000E-03   10000.    
    23 'norm      '    1.9406       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.1710       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10130E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .24167E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .66147       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .78772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7700E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4386.671     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     3877 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8443       -.47551E-06** at limit **
   2  Prefactor     5.8749        1.0231        .68222E-06    .19089E-03
   3  Prefactor     54.583        1.8434        .91619E-06   -.12008E-02
   4  Prefactor     32.596        3.1483        .33853E-05   -.56076E-02
   5  norm          2.6961        1.1078        .10524E-07   -.28824E-03
   6  Prefactor     6.8103        1.0755       -.10132E-05   -.13563E-02
   7  Prefactor     1.1871        3.7530        .15681E-06   -.51493E-04
   8  Prefactor     9.3527        1.2083       -.12158E-05    .43000E-03
   9  Prefactor     .10004E-03    2.8854       -.36511E-05** at limit **
  10  Prefactor     .37983        .68369       -.19240E-06    .10988E-04
  11  Prefactor     7.6128        1.1399        .24063E-06   -.84552E-04
  12  norm          .10000E-03    13.010       -.82207E-06** at limit **
  13  Prefactor     58.543        2.0698        .14122E-05   -.35093E-02
  14  norm          3.1298        .81578       -.22512E-07   -.53061E-03
  15  norm          19.327        1.0093        .89363E-07   -.15225E-03
  16  Prefactor     .10000E-03    2.8589        .61756E-06** at limit **
  17  norm          .87947        .80036       -.37138E-07   -.23296E-02
  18  norm          11.336        4.1749       -.29555E-05   -.84288E-03
  19  Prefactor     .10009E-03    18.516        .36602E-04** at limit **
  20  norm          1.9660        1.0433        .57032E-06   -.32463E-04
  21  Prefactor     6.9300        2.0620        .15503E-05    .21712E-03
  22  norm          3.2397        2.4594       -.26973E-06    .14844E-03
  23  norm          1.9405        1.6519       -.37396E-07    .21586E-03
  24  Prefactor     .10012E-03    14.119        .30956E-04** at limit **
  25  Prefactor     .10023E-03    15.499        .35381E-04** at limit **
  26  norm          2.1708        2.0945       -.78551E-06   -.11268E-02
  27  Prefactor     .10011E-03    9.4321       -.34777E-05** at limit **
  28  Prefactor     .10033E-03    14.903       -.38249E-04** at limit **
  29  Prefactor     .10028E-03    16.147       -.43417E-04** at limit **
  30  Prefactor     .10003E-03    2.8417        .36774E-05** at limit **
  31  Prefactor     .10010E-03    130.38       -.63573E-04** at limit **
  32  Normalizat    .66112        .19210        .25545E-05    .17941E-04
  33  Prefactor     .78823        .22545        .74397E-06   -.96125E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.87489
  Prefactor  = 54.5828
  Prefactor  = 32.5957
  norm       = 2.69614
  Prefactor  = 6.81027
  Prefactor  = 1.18714
  Prefactor  = 9.35268
  Prefactor  = 0.000100039
  Prefactor  = 0.379833
  Prefactor  = 7.61276
  norm       = 0.000100001
  Prefactor  = 58.5427
  norm       = 3.12982
  norm       = 19.3273
  Prefactor  = 0.0001
  norm       = 0.879466
  norm       = 11.3357
  Prefactor  = 0.00010009
  norm       = 1.96596
  Prefactor  = 6.92998
  norm       = 3.23971
  norm       = 1.94048
  Prefactor  = 0.000100123
  Prefactor  = 0.00010023
  norm       = 2.17075
  Prefactor  = 0.000100109
  Prefactor  = 0.000100332
  Prefactor  = 0.000100284
  Prefactor  = 0.000100032
  Prefactor  = 0.000100101
  Normalizat = 0.661123
  Prefactor  = 0.788229
 **********
 **   18 **HESSE 
 **********

 FCN=   4386.671     FROM HESSE     STATUS=OK           779 CALLS     4656 TOTAL
                     EDM=   .71E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.8421        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.8749        9.1940        .41419E-02   -1.5223    
   3  Prefactor     54.583        32.196        .13575E-02   -1.4229    
   4  Prefactor     32.596        73.657        .17550E-02   -1.4565    
   5  norm          2.6961        1.1609        .62038E-02   -1.5380    
   6  Prefactor     6.8103        6.7530        .38433E-02   -1.5186    
   7  Prefactor     1.1871        4.1995        .10471E-01   -1.5490    
   8  Prefactor     9.3527        16.775        .32775E-02   -1.5096    
   9  Prefactor     .10004E-03    5.3735        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .37983        7.6046        .91268E-01   -1.5585    
  11  Prefactor     7.6128        8.0691        .36335E-02   -1.5156    
  12  norm          .10000E-03    12.796        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     58.543        40.927        .13110E-02   -1.4176    
  14  norm          3.1298        .82238        .57290E-02   -1.5354    
  15  norm          19.327        15.116        .22778E-02   -1.4828    
  16  Prefactor     .10000E-03    2.8455        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .87947        .84838        .12085E-01   -1.5520    
  18  norm          11.336        4.2062        .29747E-02   -1.5034    
  19  Prefactor     .10009E-03    21.577        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9660        29.238        .73918E-02   -1.5428    
  21  Prefactor     6.9300        24.241        .38144E-02   -1.5181    
  22  norm          3.2397        3.2340        .56248E-02   -1.5348    
  23  norm          1.9405        1.6696        .74507E-02   -1.5429    
  24  Prefactor     .10012E-03    39.071        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10023E-03    39.528        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.1708        2.1138        .69870E-02   -1.5413    
  27  Prefactor     .10011E-03    35.891        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10033E-03    23.355        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10028E-03    32.649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10003E-03    5.2193        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10010E-03    14.326        .13227       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .66112        .18258        .41774E-01   -1.0545    
  33  Prefactor     .78823        .20082        .43557E-01   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05082e-07
Minuit parameter uncertainties:
  1  6.36962e-05
  2  9.19619
  3  32.2066
  4  73.8639
  5  1.16089
  6  6.75378
  7  4.20053
  8  16.7833
  9  0.000911572
  10  3.39916
  11  8.07024
  12  0.000165455
  13  40.9466
  14  0.822387
  15  15.1193
  16  2.78141e-05
  17  0.848387
  18  4.20632
  19  0.00279252
  20  15.1716
  21  24.2758
  22  3.23418
  23  1.66968
  24  0.0043915
  25  0.00602986
  26  2.11392
  27  0.00395377
  28  0.00557357
  29  0.00609193
  30  0.000815073
  31  0.00240654
  32  0.182746
  33  0.201008
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.001e-04  2.793e-03  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:  7.882e-01  2.010e-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:  6.611e-01  1.827e-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: 7.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/758462/likelihoodResults_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.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) = 4386.67097417
delta logL = -0.000220239555347

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4386.67075563
delta logL = -1.70258499566e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9247       1.0000          .0000       10.000    
     3 'Normalizat'    .66112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78823       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4386.671     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      277 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10943E-03    12.989        .18142E-01** at limit **
   2  Index         2.7727        7.5540        .50000        .23546E-04
   3  Normalizat    .66112        .37432E-02    .24159E-03    .50351E-05
   4  Prefactor     .78823        .44350E-02    .26192E-03   -.92368E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010943
  Index      = 2.77266
  Normalizat = 0.661122
  Prefactor  = 0.788229
 **********
 **   18 **HESSE 
 **********

 FCN=   4386.671     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      306 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10943E-03    103.65        .25637E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7727        8.4948        .50000       -.46170    
   3  Normalizat    .66112        .10590E-01    .96637E-05   -1.0545    
   4  Prefactor     .78823        .12547E-01    .10477E-04   -1.0016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.51688e-08
Minuit parameter uncertainties:
  1  0.0626367
  2  357.933
  3  0.0105902
  4  0.0125475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/758462': 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) = 4386.67075506
delta logL = -1.12992165668e-06

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.094e-04  6.264e-02  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.773e+00  3.579e+02  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:  7.882e-01  1.255e-02  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:  6.611e-01  1.059e-02  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/758462/cmap_HighResolution_239587201_239846401_4FGL_J1015.6+5553_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.71e-03', job_status='DONE', photon_flux_upper_limit='7.32e-08', time_completed='2021-09-01 15:21:21.181414', job_id='758462', GAL2='0.79', fit_tolerance='1e-08', EG2='0.66', EG='0.66', time_epoch_completed='1630534881.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='-1.13e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:21:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 758462: <4FGL_J1015.6+5553_daily_bin1> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 15:05:39 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 15:06:18 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:06:18 2021
Terminated at Wed Sep  1 15:21:21 2021
Results reported at Wed Sep  1 15:21:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1 153.911 55.8893 239587201 239846401 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 :                                   891.08 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             347.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            942 sec.

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

