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


Performing analysis on: 4FGL_J1015.6+5553_daily_bin1157
RA = 153.911, Dec = 55.8893
tmin = 539222401, tmax = 539481601
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='766187', job_status='RUN', time_executed='2021-09-01 15:32:16.804543', time_epoch_executed='1630535536.8' WHERE source_name='4FGL J1015.6+5553' and cadence='daily' and bin_id='1157'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/766187

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/766187/ft1_4FGL_J1015.6+5553_daily_bin1157.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/766187/ft1_4FGL_J1015.6+5553_daily_bin1157.fits outfile=/scratch/kocevski/766187/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1157.fits ra=153.911 dec=55.8893 rad=12.0 tmin=539222401.0 tmax=539481601.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 5.75
user 5.46
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.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/766187/ft1_filteredMKT_4FGL_J1015.6+5553_daily_bin1157.fits evtable="EVENTS" outfile="/scratch/kocevski/766187/ft1_filtered_4FGL_J1015.6+5553_daily_bin1157.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/766187/ft1_filtered_4FGL_J1015.6+5553_daily_bin1157.fits" evtable="EVENTS" scfile=/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits sctable="SC_DATA" outfile=/scratch/kocevski/766187/ltcube_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.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/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits
.....................!
real 15.84
user 14.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/766187/ft1_filtered_4FGL_J1015.6+5553_daily_bin1157.fits evtable="EVENTS" scfile=/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits sctable="SC_DATA" expcube=/scratch/kocevski/766187/ltcube_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.fits outfile=/scratch/kocevski/766187/expmap_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.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/766187/ltcube_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.fits
.....................!
real 190.79
user 186.03
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/766187/ft1_filtered_4FGL_J1015.6+5553_daily_bin1157.fits scfile=/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits outfile=/scratch/kocevski/766187/cmap_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/766187/ft1_filtered_4FGL_J1015.6+5553_daily_bin1157.fits scfile=/scratch/kocevski/766187/ft2_4FGL_J1015.6+5553_daily_bin1157.fits outfile=/scratch/kocevski/766187/cmap_HighResolution_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.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.57
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10600E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    67.349       1.0000         .10000E-03   10000.    
     5 'norm      '    .33960       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5050       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9853       1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.534       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    110.45       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .24857       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.7796       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5486       1.0000         .10000E-03   10000.    
    18 'norm      '    8.5610       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10899E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10260E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    79.648       1.0000         .10000E-03   10000.    
    22 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.2302       1.0000         .10000E-03   10000.    
    24 'Prefactor '    536.06       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    188.70       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .12410E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    25.826       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .12533E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.4426       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=   1482.044     FROM MIGRAD    STATUS=CONVERGED    916 CALLS     5832 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.026        .37665E-08** at limit **
   2  Prefactor     .10000E-03    4.3729        .22586E-08** at limit **
   3  Prefactor     .10000E-03    45.221       -.16178E-06** at limit **
   4  Prefactor     67.371        142.75       -.98960E-06   -.20153E-04
   5  norm          .33802        3.0304        .20642E-06   -.47089E-04
   6  Prefactor     1.5063        51.047        .13687E-05    .44353E-04
   7  Prefactor     3.9856        4.0380       -.20148E-07   -.47542E-04
   8  Prefactor     60.553        43.447       -.40314E-06   -.46228E-04
   9  Prefactor     .10000E-03    49.648        .33748E-06** at limit **
  10  Prefactor     110.39        54.227       -.39981E-06   -.44029E-04
  11  Prefactor     .10000E-03    4.3330        .13587E-07** at limit **
  12  norm          .33165        49.386       -.26556E-05    .25379E-03
  13  Prefactor     .10000E-03    80.481       -.81226E-08** at limit **
  14  norm          1.7793        1.4554       -.66994E-08   -.33402E-05
  15  norm          .10000E-03    16.015        .76286E-08** at limit **
  16  Prefactor     .10000E-03    12.727        .35509E-07** at limit **
  17  norm          1.5491        1.4599       -.26401E-08   -.27144E-03
  18  norm          8.5620        7.9931       -.33170E-07   -.27505E-04
  19  Prefactor     .10000E-03    147.82        .84420E-06** at limit **
  20  norm          .10000E-03    59.799       -.17581E-06** at limit **
  21  Prefactor     79.659        83.627       -.30565E-06   -.57418E-04
  22  norm          .10000E-03    7.8777       -.16858E-07** at limit **
  23  norm          2.2326        8.4078       -.11107E-07   -.27885E-04
  24  Prefactor     536.01        519.91       -.52379E-06   -.10096E-04
  25  Prefactor     .10004E-03    781.84        .36926E-05** at limit **
  26  norm          .10000E-03    8.3246        .25062E-07** at limit **
  27  Prefactor     .10000E-03    236.00       -.10395E-05** at limit **
  28  Prefactor     188.70        125.00       -.41243E-06   -.57169E-04
  29  Prefactor     .10000E-03    184.43       -.10802E-06** at limit **
  30  Prefactor     25.829        27.033       -.11667E-06   -.51990E-04
  31  Prefactor     .10000E-03    187.83       -.24285E-06** at limit **
  32  Normalizat    .10000E-01    .19351        .79659E-05** at limit **
  33  Prefactor     1.4426        .21542       -.19404E-05   -.15747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.3711
  norm       = 0.338022
  Prefactor  = 1.5063
  Prefactor  = 3.98563
  Prefactor  = 60.5526
  Prefactor  = 0.0001
  Prefactor  = 110.387
  Prefactor  = 0.0001
  norm       = 0.331648
  Prefactor  = 0.0001
  norm       = 1.77935
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.54911
  norm       = 8.56202
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 79.6586
  norm       = 0.0001
  norm       = 2.23263
  Prefactor  = 536.014
  Prefactor  = 0.000100038
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 188.696
  Prefactor  = 0.0001
  Prefactor  = 25.8286
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.44263
 **********
 **   18 **HESSE 
 **********

 FCN=   1482.044     FROM HESSE     STATUS=OK           685 CALLS     6517 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.047        .12487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.3774        .78625E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    45.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     67.371        142.68        .48907E-04   -1.4065    
   5  norm          .33802        4.2839        .99998E-03   -1.5592    
   6  Prefactor     1.5063        52.392        .17444E-02   -1.5463    
   7  Prefactor     3.9856        4.0424        .75623E-04   -1.5309    
   8  Prefactor     60.553        43.759        .51570E-04   -1.4150    
   9  Prefactor     .10000E-03    49.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     110.39        51.392        .38273E-04   -1.3603    
  11  Prefactor     .10000E-03    4.3346        .78265E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .33165        453.96        .44591E-02   -1.5593    
  13  Prefactor     .10000E-03    80.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7793        1.4578        .40626E-04   -1.5441    
  15  norm          .10000E-03    16.033        .15050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.813        .13409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5491        1.4496        .42319E-04   -1.5459    
  18  norm          8.5620        7.9938        .10227E-03   -1.5123    
  19  Prefactor     .10000E-03    147.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    59.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     79.659        83.273        .45001E-04   -1.3921    
  22  norm          .10000E-03    7.8820        .10522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.2326        8.3561        .20412E-03   -1.5409    
  24  Prefactor     536.01        520.04        .88795E-04   -1.1035    
  25  Prefactor     .10004E-03    783.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    8.3420        .10837E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    236.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     188.70        124.82        .29398E-04   -1.2952    
  29  Prefactor     .10000E-03    184.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     25.829        27.027        .78827E-04   -1.4691    
  31  Prefactor     .10000E-03    189.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .59896        .90562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     1.4426        .23139        .20742E-03   -.79159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68815e-08
Minuit parameter uncertainties:
  1  1.48056e-06
  2  7.6291e-07
  3  1.41891e-05
  4  143.409
  5  2.40657
  6  17.7834
  7  4.04263
  8  43.7827
  9  0.000209442
  10  51.4128
  11  1.90739e-06
  12  24.7265
  13  4.13934e-05
  14  1.45783
  15  9.00466e-06
  16  1.6479e-05
  17  1.44959
  18  7.99477
  19  0.00100002
  20  0.000143166
  21  83.3948
  22  2.32749e-05
  23  8.3605
  24  524.776
  25  0.0111265
  26  1.19506e-06
  27  0.00180042
  28  124.994
  29  0.000163596
  30  27.0402
  31  0.000213998
  32  6.64692e-06
  33  0.231558
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  1.000e-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:  1.443e+00  2.316e-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  6.647e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/766187/likelihoodResults_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.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) = 1482.04392348
delta logL = -3.53449515842e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1482.0438883
delta logL = -1.64239509104e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5113       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4426       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=   1482.044     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      258 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9949.5        .90712E-02** at limit **
   2  Index         2.5310        5.8428        .50000       -.12660E-05
   3  Normalizat    .10000E-01    .11518        .26535    ** at limit **
   4  Prefactor     1.4426        .17745        .46932E-01   -.19521E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.53097
  Normalizat = 0.01
  Prefactor  = 1.44263
 **********
 **   18 **HESSE 
 **********

 FCN=   1482.044     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    153.28        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5310        6.2655        .50000       -.51646    
   3  Normalizat    .10000E-01    .48299        .90553E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4426        .19365        .20742E-03   -.79159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.07145e-12
Minuit parameter uncertainties:
  1  0.000786353
  2  4.58675
  3  7.43512e-07
  4  0.193746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/766187': 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) = 1482.04388814
delta logL = -4.68025973532e-09

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  1.443e+00  1.937e-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  7.435e-07  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/766187/cmap_HighResolution_539222401_539481601_4FGL_J1015.6+5553_daily_bin1157.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-02', job_status='DONE', photon_flux_upper_limit='4.17e-07', time_completed='2021-09-01 15:42:18.630618', job_id='766187', GAL2='1.44', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630536138.63', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.44', dlogl='-4.68e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='1157' AND source_name='4FGL J1015.6+5553' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 15:42:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 766187: <4FGL_J1015.6+5553_daily_bin1157> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_daily_bin1157 153.911 55.8893 539222401 539481601 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 :                                   595.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            714 sec.

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

