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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1202
RA = 153.911, Dec = 55.8893
tmin = 550886401, tmax = 551145601
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='766274', job_status='RUN', time_executed='2021-09-01 15:34:21.840618', time_epoch_executed='1630535661.84' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/766274

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/766274/ft1_4FGL_J1015.6+5553_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/766274/ft1_4FGL_J1015.6+5553_daily_bin1202.fits outfile=/scratch/kocevski/766274/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1202.fits ra=153.911 dec=55.8893 rad=12.0 tmin=550886401.0 tmax=551145601.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.14
user 2.96
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.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/766274/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/766274/ft1_filtered_4FGL_J1015.6+5553_daily_bin1202.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.44
user 0.31
sys 0.12

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/766274/ft1_filtered_4FGL_J1015.6+5553_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/766274/ltcube_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.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/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits
.....................!
real 11.62
user 11.28
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/766274/ft1_filtered_4FGL_J1015.6+5553_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/766274/ltcube_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.fits outfile=/scratch/kocevski/766274/expmap_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.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/766274/ltcube_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.fits
.....................!
real 155.89
user 152.27
sys 3.12

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/766274/ft1_filtered_4FGL_J1015.6+5553_daily_bin1202.fits scfile=/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits outfile=/scratch/kocevski/766274/cmap_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.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.49
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/766274/ft1_filtered_4FGL_J1015.6+5553_daily_bin1202.fits scfile=/scratch/kocevski/766274/ft2_4FGL_J1015.6+5553_daily_bin1202.fits outfile=/scratch/kocevski/766274/cmap_HighResolution_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.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.49
user 0.34
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    45.716       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.5326       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.5353       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.258       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10486E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7768       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0521       1.0000         .10000E-03   10000.    
    18 'norm      '    5.4202       1.0000         .10000E-03   10000.    
    19 'Prefactor '    101.59       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.322       1.0000         .10000E-03   10000.    
    22 'norm      '    4.0449       1.0000         .10000E-03   10000.    
    23 'norm      '    5.9015       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.1111       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    62.859       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    10.135       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .84193       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .72048       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=   1717.338     FROM MIGRAD    STATUS=CONVERGED    866 CALLS     4511 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.613        .12991E-04** at limit **
   2  Prefactor     45.716        27.605        .10517E-06   -.24892E-04
   3  Prefactor     .10000E-03    66.436       -.10866E-04** at limit **
   4  Prefactor     .10000E-03    112.07        .77819E-04** at limit **
   5  norm          2.5326        1.9294        .12893E-06   -.15715E-03
   6  Prefactor     .10000E-03    9.0624       -.11252E-05** at limit **
   7  Prefactor     9.5358        8.2723       -.14960E-06   -.14801E-03
   8  Prefactor     .10000E-03    15.964       -.65154E-06** at limit **
   9  Prefactor     .10000E-03    17.199       -.32119E-05** at limit **
  10  Prefactor     10.261        17.156       -.25536E-05   -.83651E-03
  11  Prefactor     .10000E-03    8.8691        .11216E-05** at limit **
  12  norm          .10000E-03    40.392        .10657E-05** at limit **
  13  Prefactor     .10000E-03    89.196        .64423E-04** at limit **
  14  norm          .10000E-03    .32943       -.42203E-07** at limit **
  15  norm          .10000E-03    67.174       -.28162E-05** at limit **
  16  Prefactor     2.7789        8.0259       -.18410E-05   -.18243E-03
  17  norm          2.0517        1.6356       -.30124E-07   -.14122E-03
  18  norm          5.4203        4.5434        .68898E-06    .26044E-04
  19  Prefactor     101.60        94.973        .78795E-05   -.34745E-04
  20  norm          .10000E-03    15.772        .28502E-05** at limit **
  21  Prefactor     16.336        38.594        .65492E-05   -.22695E-04
  22  norm          4.0452        4.0322       -.46997E-06   -.44839E-04
  23  norm          5.9016        4.7366       -.86682E-06   -.31275E-04
  24  Prefactor     .10000E-03    59.655       -.36749E-04** at limit **
  25  Prefactor     .10000E-03    190.33       -.13921E-03** at limit **
  26  norm          1.1087        4.1555       -.16578E-05   -.27101E-03
  27  Prefactor     .10000E-03    66.802       -.98419E-05** at limit **
  28  Prefactor     62.873        47.566        .88164E-05    .61746E-04
  29  Prefactor     .10000E-03    67.303       -.80797E-05** at limit **
  30  Prefactor     .10000E-03    6.7887        .36614E-06** at limit **
  31  Prefactor     10.116        45.896       -.22516E-04   -.70397E-05
  32  Normalizat    .84117        .30905       -.20312E-05   -.29318E-04
  33  Prefactor     .72127        .32865        .14227E-05   -.77939E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 45.7161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.53256
  Prefactor  = 0.0001
  Prefactor  = 9.53583
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2606
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.77895
  norm       = 2.05166
  norm       = 5.42029
  Prefactor  = 101.596
  norm       = 0.0001
  Prefactor  = 16.3356
  norm       = 4.0452
  norm       = 5.90161
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.1087
  Prefactor  = 0.0001
  Prefactor  = 62.8728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1159
  Normalizat = 0.841168
  Prefactor  = 0.721271
 **********
 **   18 **HESSE 
 **********

 FCN=   1717.338     FROM HESSE     STATUS=OK           687 CALLS     5198 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     45.716        27.579        .59299E-04   -1.4355    
   3  Prefactor     .10000E-03    66.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    111.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.5326        1.9243        .45895E-04   -1.5390    
   6  Prefactor     .10000E-03    9.0713        .12185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.5358        8.2977        .10484E-03   -1.5090    
   8  Prefactor     .10000E-03    15.971        .16175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.197        .16779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.261        17.225        .62553E-03   -1.5067    
  11  Prefactor     .10000E-03    8.9249        .12042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    40.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    89.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    .33146        .23201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    68.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.7789        8.0322        .18943E-03   -1.5375    
  17  norm          2.0517        1.6388        .44125E-04   -1.5421    
  18  norm          5.4203        4.5422        .78495E-04   -1.5242    
  19  Prefactor     101.60        95.525        .39890E-04   -1.3689    
  20  norm          .10000E-03    15.774        .16078E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.336        38.688        .99135E-04   -1.4899    
  22  norm          4.0452        4.0224        .76464E-04   -1.5306    
  23  norm          5.9016        4.7292        .75205E-04   -1.5222    
  24  Prefactor     .10000E-03    59.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    189.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.1087        4.0857        .15308E-03   -1.5497    
  27  Prefactor     .10000E-03    66.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     62.873        47.390        .50613E-04   -1.4120    
  29  Prefactor     .10000E-03    67.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    6.8170        .10540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     10.116        46.302        .12587E-03   -1.5072    
  32  Normalizat    .84117        .36487        .23452E-03   -.98559    
  33  Prefactor     .72127        .38542        .28846E-03   -1.0270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39364e-09
Minuit parameter uncertainties:
  1  1.14742e-05
  2  27.5864
  3  2.47272e-05
  4  1.11679e-05
  5  1.92434
  6  3.6908e-06
  7  8.29869
  8  7.82633e-06
  9  4.4916e-05
  10  17.2333
  11  1.01712e-05
  12  7.65518e-05
  13  0.000217915
  14  2.66591e-06
  15  0.000200205
  16  8.03531
  17  1.63885
  18  4.54245
  19  95.6703
  20  3.65177e-06
  21  38.7479
  22  4.02262
  23  4.72953
  24  1.73495e-06
  25  1.3981e-05
  26  4.08674
  27  2.01488e-05
  28  47.418
  29  5.11547e-07
  30  3.78773e-05
  31  43.3397
  32  0.365937
  33  0.386856
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.016e+02  9.567e+01  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.213e-01  3.869e-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:  8.412e-01  3.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.64
Ra Dec: 153.911 55.889
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 1.10e-07 +/- 1.04e-07
Energy Flux (Fixed Index): 3.04e-05 +/- 2.86e-05

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

Saving results to:
/scratch/kocevski/766274/likelihoodResults_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.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) = 1717.02396246
delta logL = 0.314442409275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1717.01845192
delta logL = 0.319952949404

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    46.135       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2831       1.0000          .0000       10.000    
     3 'Normalizat'    .79635       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75924       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=   1717.018     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      263 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     46.230        98.457        .59030E-04    .24945E-03
   2  Index         3.2826        1.2885        .36832E-02    .89792E-04
   3  Normalizat    .79558        .33317        .24005E-03    .14654E-03
   4  Prefactor     .75952        .37190        .28189E-03   -.11668E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 46.2303
  Index      = 3.2826
  Normalizat = 0.795582
  Prefactor  = 0.759517
 **********
 **   18 **HESSE 
 **********

 FCN=   1717.018     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     46.230        82.646        .11806E-04   -1.4347    
   2  Index         3.2826        1.0836        .14733E-03   -.35062    
   3  Normalizat    .79558        .33356        .48010E-04   -1.0023    
   4  Prefactor     .75952        .37200        .56378E-04   -1.0124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17808e-09
Minuit parameter uncertainties:
  1  82.8521
  2  1.0935
  3  0.334423
  4  0.373229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/766274': 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) = 1717.01844598
delta logL = 0.319958890826

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  4.623e+01  8.285e+01  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  3.283e+00  1.093e+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:  7.595e-01  3.732e-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:  7.956e-01  3.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.37
Ra Dec: 153.911 55.889
Photon Index (Free Index): 3.28 +/- 1.09
Photon Flux (Free Index): 1.49e-07 +/- 1.20e-07
Energy Flux (Free Index): 2.65e-05 +/- 2.22e-05

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/766274/cmap_HighResolution_550886401_551145601_4FGL_J1015.6+5553_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.47e-02', comment='SUCCESS', photon_flux='1.10e-07', energy_flux2='2.65e-05', photon_flux_error='1.04e-07', dlogl='3.20e-01', energy_flux='3.04e-05', photon_flux2='1.49e-07', job_status='DONE', time_completed='2021-09-01 15:42:17.337224', photon_index_error2='1.09', photon_index2='3.28', ts='1.64', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='3.17e-07', energy_flux_error2='2.22e-05', EG='0.84', time_epoch_completed='1630536137.34', return_code='0', job_id='766274', GAL2='0.76', EG2='0.80', return_code2='0', energy_flux_error='2.86e-05', photon_flux_error2='1.20e-07', ts2='2.37', photon_index='2.55' WHERE bin_id='1202' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:42:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0135>
Subject: Job 766274: <4FGL_J1015.6+5553_daily_bin1202> in cluster <slac> Done

Job <4FGL_J1015.6+5553_daily_bin1202> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep  1 15:30:35 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 15:32:25 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:32:25 2021
Terminated at Wed Sep  1 15:42:17 2021
Results reported at Wed Sep  1 15:42:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1202 153.911 55.8893 550886401 551145601 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 :                                   472.16 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             237.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            702 sec.

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

