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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin75
RA = 153.911, Dec = 55.8893
tmin = 258768001, tmax = 259027201
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='758590', job_status='RUN', time_executed='2021-09-01 15:08:58.622830', time_epoch_executed='1630534138.62' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/758590

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/758590/ft1_4FGL_J1015.6+5553_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/758590/ft1_4FGL_J1015.6+5553_daily_bin75.fits outfile=/scratch/kocevski/758590/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin75.fits ra=153.911 dec=55.8893 rad=12.0 tmin=258768001.0 tmax=259027201.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.17
user 0.96
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/758590/ft1_filtered_4FGL_J1015.6+5553_daily_bin75.fits" evtable="EVENTS" scfile=/scratch/kocevski/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits sctable="SC_DATA" outfile=/scratch/kocevski/758590/ltcube_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.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/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits
.....................!
real 12.73
user 12.39
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/758590/ft1_filtered_4FGL_J1015.6+5553_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/758590/ltcube_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.fits outfile=/scratch/kocevski/758590/expmap_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.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/758590/ltcube_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.fits
.....................!
real 192.65
user 186.70
sys 4.94

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/758590/ft1_filtered_4FGL_J1015.6+5553_daily_bin75.fits scfile=/scratch/kocevski/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits outfile=/scratch/kocevski/758590/cmap_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/758590/ft1_filtered_4FGL_J1015.6+5553_daily_bin75.fits scfile=/scratch/kocevski/758590/ft2_4FGL_J1015.6+5553_daily_bin75.fits outfile=/scratch/kocevski/758590/cmap_HighResolution_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.3056       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .38171E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.005       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1129       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    17.851       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10536E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3742       1.0000         .10000E-03   10000.    
    15 'norm      '    .10584E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.4271       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1452       1.0000         .10000E-03   10000.    
    18 'norm      '    5.2760       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12806E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    42.501       1.0000         .10000E-03   10000.    
    22 'norm      '    .10127E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.5346       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    10.119       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10332E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10162E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.2034       1.0000         .10000E-03   10000.    
    31 'Prefactor '    30.666       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .94909       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .84113       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=   2872.236     FROM MIGRAD    STATUS=CONVERGED    894 CALLS     4579 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.434        .73753E-07** at limit **
   2  Prefactor     .10000E-03    12.508        .40192E-06** at limit **
   3  Prefactor     32.449        41.654        .11791E-05    .77381E-04
   4  Prefactor     .10000E-03    87.840       -.56229E-06** at limit **
   5  norm          2.3052        1.4924       -.10764E-06    .93934E-04
   6  Prefactor     .10047E-03    19.188       -.44344E-05** at limit **
   7  Prefactor     .10000E-03    2.1680       -.21077E-06** at limit **
   8  Prefactor     10.059        31.577        .62640E-05    .16330E-03
   9  Prefactor     .10000E-03    14.805       -.26189E-08** at limit **
  10  Prefactor     1.1135        31.967        .58524E-05    .54583E-04
  11  Prefactor     .10000E-03    6.1073       -.82373E-06** at limit **
  12  norm          17.852        15.756       -.15722E-05    .16248E-03
  13  Prefactor     .10000E-03    116.30       -.31734E-05** at limit **
  14  norm          1.3742        .77465       -.11059E-07    .20685E-03
  15  norm          .10000E-03    29.229       -.74754E-06** at limit **
  16  Prefactor     9.4245        11.630       -.11774E-06    .16607E-03
  17  norm          1.1447        1.1940       -.94070E-07    .13073E-03
  18  norm          5.2764        4.6638        .29574E-07    .30895E-04
  19  Prefactor     .10000E-03    201.15        .18357E-05** at limit **
  20  norm          .10000E-03    11.799       -.19284E-06** at limit **
  21  Prefactor     42.498        32.093       -.86580E-07    .60607E-05
  22  norm          .10000E-03    3.3563       -.40109E-07** at limit **
  23  norm          4.5351        3.2559        .48301E-07   -.16841E-04
  24  Prefactor     .10000E-03    35.278        .15658E-06** at limit **
  25  Prefactor     .10000E-03    77.249        .10916E-05** at limit **
  26  norm          10.120        4.6017       -.83015E-08   -.18182E-04
  27  Prefactor     .10000E-03    24.842        .48533E-06** at limit **
  28  Prefactor     .10000E-03    28.418        .26024E-06** at limit **
  29  Prefactor     .10000E-03    78.510        .84881E-06** at limit **
  30  Prefactor     4.2064        11.104        .98559E-06   -.13394E-04
  31  Prefactor     30.636        56.793        .24812E-06    .19274E-04
  32  Normalizat    .94888        .26678       -.21862E-05    .30110E-03
  33  Prefactor     .84154        .27927        .22099E-05    .88509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.4491
  Prefactor  = 0.0001
  norm       = 2.30518
  Prefactor  = 0.000100468
  Prefactor  = 0.0001
  Prefactor  = 10.0591
  Prefactor  = 0.0001
  Prefactor  = 1.11354
  Prefactor  = 0.0001
  norm       = 17.8522
  Prefactor  = 0.0001
  norm       = 1.37425
  norm       = 0.0001
  Prefactor  = 9.42449
  norm       = 1.14475
  norm       = 5.27644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 42.4983
  norm       = 0.0001
  norm       = 4.53507
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1198
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.20644
  Prefactor  = 30.6357
  Normalizat = 0.948877
  Prefactor  = 0.841544
 **********
 **   18 **HESSE 
 **********

 FCN=   2872.236     FROM HESSE     STATUS=OK           691 CALLS     5270 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.437        .16908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.449        41.789        .70328E-04   -1.4568    
   4  Prefactor     .10000E-03    87.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.3052        1.4975        .49009E-04   -1.5404    
   6  Prefactor     .10047E-03    198.81        .37912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1855        .77116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.059        31.642        .12668E-03   -1.5074    
   9  Prefactor     .10000E-03    14.850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.1135        32.779        .22355E-02   -1.5497    
  11  Prefactor     .10000E-03    6.1763        .12978E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          17.852        15.472        .94796E-04   -1.4863    
  13  Prefactor     .10000E-03    116.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3742        .77601        .34280E-04   -1.5474    
  15  norm          .10000E-03    29.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.4245        11.756        .13052E-03   -1.5094    
  17  norm          1.1447        1.1733        .56170E-04   -1.5494    
  18  norm          5.2764        4.6649        .10403E-03   -1.5249    
  19  Prefactor     .10000E-03    203.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    11.802        .17984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     42.498        32.109        .61492E-04   -1.4403    
  22  norm          .10000E-03    3.3806        .95188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.5351        3.2536        .78908E-04   -1.5282    
  24  Prefactor     .10000E-03    35.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    77.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          10.120        4.6056        .74892E-04   -1.5072    
  27  Prefactor     .10000E-03    24.851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    28.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    78.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     4.2064        11.051        .98280E-03   -1.5298    
  31  Prefactor     30.636        57.017        .72353E-04   -1.4600    
  32  Normalizat    .94888        .31265        .23862E-03   -.94763    
  33  Prefactor     .84154        .32406        .28719E-03   -.98215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71122e-09
Minuit parameter uncertainties:
  1  5.14833e-06
  2  1.89774e-06
  3  41.827
  4  0.000207079
  5  1.4975
  6  0.0193598
  7  4.49662e-06
  8  31.695
  9  9.94983e-06
  10  12.09
  11  2.17862e-05
  12  15.4756
  13  4.09946e-06
  14  0.776015
  15  5.03337e-05
  16  11.7589
  17  1.17331
  18  4.66517
  19  0.000486324
  20  1.57917e-05
  21  32.1223
  22  3.31358e-06
  23  3.25374
  24  2.39119e-05
  25  0.000223964
  26  4.60573
  27  5.82457e-05
  28  7.25814e-05
  29  0.000170414
  30  11.0567
  31  57.1188
  32  0.313249
  33  0.324796
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  8.415e-01  3.248e-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:  9.489e-01  3.132e-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: 1.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/758590/likelihoodResults_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.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) = 2872.23602018
delta logL = -2.32393349506e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2872.23599699
delta logL = -4.51800588053e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5156       1.0000          .0000       10.000    
     3 'Normalizat'    .94888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84156       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=   2872.236     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      288 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    313.21        .36285E-03** at limit **
   2  Index         2.6239        6.3079        .50000       -.58887E-05
   3  Normalizat    .94887        .26054        .23862E-03    .68846E-05
   4  Prefactor     .84155        .29807        .28719E-03   -.14409E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100015
  Index      = 2.62386
  Normalizat = 0.948872
  Prefactor  = 0.841548
 **********
 **   18 **HESSE 
 **********

 FCN=   2872.236     FROM HESSE     STATUS=OK            29 CALLS      317 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    302.51        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6239        6.3049        .50000       -.49522    
   3  Normalizat    .94887        .26075        .95447E-05   -.94764    
   4  Prefactor     .84155        .29830        .11488E-04   -.98215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34338e-11
Minuit parameter uncertainties:
  1  0.00423746
  2  4.40284
  3  0.261095
  4  0.298882
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/758590': 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) = 2872.23599684
delta logL = 9.98174982669e-08

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  4.237e-03  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.624e+00  4.403e+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:  8.415e-01  2.989e-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:  9.489e-01  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/758590/cmap_HighResolution_258768001_259027201_4FGL_J1015.6+5553_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.45e-07', time_completed='2021-09-01 15:20:45.616436', job_id='758590', GAL2='0.84', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630534845.62', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='9.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='75' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:20:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 758590: <4FGL_J1015.6+5553_daily_bin75> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin75 153.911 55.8893 258768001 259027201 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 :                                   707.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             301.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            897 sec.

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

