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


Performing analysis on: 4FGL_J1015.6+5553_monthly_bin117
RA = 153.911, Dec = 55.8893
tmin = 540259201, tmax = 542851201
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='34994', job_status='RUN', time_executed='2021-10-21 13:38:14.283320', time_epoch_executed='1634848694.28' WHERE source_name='4FGL J1015.6+5553' and cadence='monthly' and bin_id='117'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/34994

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/34994/ft1_4FGL_J1015.6+5553_monthly_bin117.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/34994/ft1_4FGL_J1015.6+5553_monthly_bin117.fits outfile=/scratch/kocevski/34994/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin117.fits ra=153.911 dec=55.8893 rad=12.0 tmin=540259201.0 tmax=542851201.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 35.77
user 34.15
sys 1.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.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/34994/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin117.fits evtable="EVENTS" outfile="/scratch/kocevski/34994/ft1_filtered_4FGL_J1015.6+5553_monthly_bin117.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.87
user 0.65
sys 0.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/34994/ft1_filtered_4FGL_J1015.6+5553_monthly_bin117.fits" evtable="EVENTS" scfile=/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits sctable="SC_DATA" outfile=/scratch/kocevski/34994/ltcube_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.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/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits
.....................!
real 117.10
user 116.03
sys 0.83

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/34994/ft1_filtered_4FGL_J1015.6+5553_monthly_bin117.fits evtable="EVENTS" scfile=/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits sctable="SC_DATA" expcube=/scratch/kocevski/34994/ltcube_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.fits outfile=/scratch/kocevski/34994/expmap_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.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/34994/ltcube_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.fits
.....................!
real 190.78
user 185.46
sys 4.87

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/34994/ft1_filtered_4FGL_J1015.6+5553_monthly_bin117.fits scfile=/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits outfile=/scratch/kocevski/34994/cmap_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.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.78
user 0.60
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/34994/ft1_filtered_4FGL_J1015.6+5553_monthly_bin117.fits scfile=/scratch/kocevski/34994/ft2_4FGL_J1015.6+5553_monthly_bin117.fits outfile=/scratch/kocevski/34994/cmap_HighResolution_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.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.78
user 0.62
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1293       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .22476E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3438       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1458       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1874       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.6354       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4547       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2023       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.7378       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2039       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.749       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3314       1.0000         .10000E-03   10000.    
    15 'norm      '    6.5637       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.8174       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5902       1.0000         .10000E-03   10000.    
    18 'norm      '    5.0857       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.4686       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1071       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.742       1.0000         .10000E-03   10000.    
    22 'norm      '    2.4453       1.0000         .10000E-03   10000.    
    23 'norm      '    1.5059       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9349       1.0000         .10000E-03   10000.    
    25 'Prefactor '    25.699       1.0000         .10000E-03   10000.    
    26 'norm      '    2.9736       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.0298       1.0000         .10000E-03   10000.    
    29 'Prefactor '    18.437       1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.3798       1.0000         .10000E-03   10000.    
    31 'Prefactor '    11.607       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .96791       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0047       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=   68531.38     FROM MIGRAD    STATUS=CONVERGED     81 CALLS     3187 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1293        1.0600        .13718E-09    .98614E-04
   2  Prefactor     .10000E-03    .91513       -.64898E-06** at limit **
   3  Prefactor     .10000E-03    26.290       -.30277E-05** at limit **
   4  Prefactor     .10000E-03    10.071       -.10272E-05** at limit **
   5  norm          1.3437        .24085       -.64530E-07   -.36625E-02
   6  Prefactor     7.1460        2.0963       -.21999E-06    .43930E-02
   7  Prefactor     2.1874        1.0857        .38778E-07    .62018E-03
   8  Prefactor     6.6355        1.0612       -.45474E-07    .70694E-03
   9  Prefactor     2.4547        2.3469        .25932E-06    .25563E-03
  10  Prefactor     5.2025        1.8791       -.15277E-06    .36946E-02
  11  Prefactor     4.7377        1.1682        .12484E-07   -.20235E-02
  12  norm          2.2040        1.5897       -.92898E-07   -.10947E-02
  13  Prefactor     21.748        1.0039       -.32307E-08   -.47209E-04
  14  norm          1.3315        .16229        .68568E-08    .22439E-02
  15  norm          6.5639        2.1828       -.18115E-06    .15170E-02
  16  Prefactor     2.8175        1.2802       -.64998E-07    .65203E-04
  17  norm          2.5902        .25782       -.14499E-07   -.74464E-03
  18  norm          5.0858        .83737       -.10119E-06   -.17634E-02
  19  Prefactor     4.4689        1.0084        .96260E-08   -.42921E-04
  20  norm          1.1074        1.8303        .79868E-07    .45559E-03
  21  Prefactor     12.742        1.0023       -.10198E-07    .84042E-03
  22  norm          2.4453        .60265       -.92731E-08    .20665E-03
  23  norm          1.5059        .38147       -.13624E-07   -.10211E-03
  24  Prefactor     3.9330        1.0144       -.19952E-07    .12690E-03
  25  Prefactor     25.699        1.0002       -.25167E-09    .46734E-04
  26  norm          2.9735        .64015       -.66044E-07   -.92316E-03
  27  Prefactor     .10000E-03    5.6968       -.12859E-06** at limit **
  28  Prefactor     2.0308        1.0594       -.69885E-07    .49045E-03
  29  Prefactor     18.437        1.0004        .43226E-10    .69899E-04
  30  Prefactor     6.3799        1.8146       -.26066E-07   -.32592E-02
  31  Prefactor     11.607        1.0046        .56436E-08   -.45965E-03
  32  Normalizat    .96790        .58236E-01    .62773E-06    .99567E-03
  33  Prefactor     1.0047        .66881E-01   -.15275E-06    .60535E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.12928
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.34369
  Prefactor  = 7.14604
  Prefactor  = 2.18745
  Prefactor  = 6.63547
  Prefactor  = 2.45467
  Prefactor  = 5.20254
  Prefactor  = 4.7377
  norm       = 2.20404
  Prefactor  = 21.7484
  norm       = 1.33146
  norm       = 6.56389
  Prefactor  = 2.81751
  norm       = 2.59015
  norm       = 5.08575
  Prefactor  = 4.4689
  norm       = 1.1074
  Prefactor  = 12.7425
  norm       = 2.44531
  norm       = 1.50595
  Prefactor  = 3.93304
  Prefactor  = 25.6988
  norm       = 2.97353
  Prefactor  = 0.0001
  Prefactor  = 2.03084
  Prefactor  = 18.4367
  Prefactor  = 6.3799
  Prefactor  = 11.6073
  Normalizat = 0.967903
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   68531.38     FROM HESSE     STATUS=OK           797 CALLS     3984 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1293        1.9740        .70639E-02   -1.5416    
   2  Prefactor     .10000E-03    .41142        .66665E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .95165        .14247       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.114        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3437        .24720        .94473E-02   -1.5476    
   6  Prefactor     7.1460        2.5781        .37515E-02   -1.5173    
   7  Prefactor     2.1874        1.1552        .69575E-02   -1.5412    
   8  Prefactor     6.6355        4.8902        .38946E-02   -1.5193    
   9  Prefactor     2.4547        3.0453        .65267E-02   -1.5395    
  10  Prefactor     5.2025        2.4740        .44061E-02   -1.5252    
  11  Prefactor     4.7377        2.0844        .46215E-02   -1.5273    
  12  norm          2.2040        1.6851        .69281E-02   -1.5411    
  13  Prefactor     21.748        9.0405        .21472E-02   -1.4775    
  14  norm          1.3315        .16363        .80416E-02   -1.5477    
  15  norm          6.5639        3.2498        .39160E-02   -1.5196    
  16  Prefactor     2.8175        1.3233        .60580E-02   -1.5372    
  17  norm          2.5902        .25880        .63385E-02   -1.5386    
  18  norm          5.0858        .84160        .44572E-02   -1.5257    
  19  Prefactor     4.4689        5.5765        .47620E-02   -1.5285    
  20  norm          1.1074        1.8156        .10402       -1.5498    
  21  Prefactor     12.742        5.3522        .28054E-02   -1.4994    
  22  norm          2.4453        .69774        .65404E-02   -1.5395    
  23  norm          1.5059        .38031        .87183E-02   -1.5463    
  24  Prefactor     3.9330        11.608        .50841E-02   -1.5311    
  25  Prefactor     25.699        20.098        .19755E-02   -1.4694    
  26  norm          2.9735        .65830        .58864E-02   -1.5363    
  27  Prefactor     .10000E-03    5.6762        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.0308        5.2691        .72593E-02   -1.5423    
  29  Prefactor     18.437        13.101        .23320E-02   -1.4849    
  30  Prefactor     6.3799        2.1077        .39727E-02   -1.5203    
  31  Prefactor     11.607        7.1995        .29396E-02   -1.5026    
  32  Normalizat    .96790        .52201E-01    .45764E-01   -.94114    
  33  Prefactor     1.0047        .58070E-01    .64059E-01   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77064e-07
Minuit parameter uncertainties:
  1  1.97409
  2  1.16957e-05
  3  7.02606e-05
  4  0.000107837
  5  0.247201
  6  2.57818
  7  1.1552
  8  4.89053
  9  3.04545
  10  2.47409
  11  2.08443
  12  1.68518
  13  9.0411
  14  0.163632
  15  3.24986
  16  1.32329
  17  0.258797
  18  0.841604
  19  5.57711
  20  1.81566
  21  5.35236
  22  0.697742
  23  0.380308
  24  11.6143
  25  20.1035
  26  0.658305
  27  2.67019e-06
  28  5.27034
  29  13.1031
  30  2.10773
  31  7.20002
  32  0.0522032
  33  0.0580734
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  4.469e+00  5.577e+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

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  1.005e+00  5.807e-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:  9.679e-01  5.220e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 153.911 55.889
Photon Flux Upper Limit: 1.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/34994/likelihoodResults_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.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) = 68531.3130616
delta logL = 0.0691891529859

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 68531.3018881
delta logL = 0.080362571447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3914       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2655       1.0000          .0000       10.000    
     3 'Normalizat'    .96923       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0035       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   68531.30     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      269 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3795        6.3569        .86535E-03   -.23963E-04
   2  Index         2.2663        .65702        .14946E-01   -.66696E-05
   3  Normalizat    .96921        .55252E-01    .24375E-03   -.17015E-03
   4  Prefactor     1.0035        .65357E-01    .28345E-03   -.89843E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.37951
  Index      = 2.26627
  Normalizat = 0.969215
  Prefactor  = 1.00354
 **********
 **   18 **HESSE 
 **********

 FCN=   68531.30     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3795        6.2915        .34614E-04   -1.5244    
   2  Index         2.2663        .65068        .59782E-03   -.57847    
   3  Normalizat    .96921        .55292E-01    .97498E-05   -.94069    
   4  Prefactor     1.0035        .65401E-01    .11338E-04   -.92612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.86047e-12
Minuit parameter uncertainties:
  1  6.29225
  2  0.653325
  3  0.0552953
  4  0.0654059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/34994': 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) = 68531.3018857
delta logL = 0.0803650063026

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
767    Prefactor:  1.004e+00  6.541e-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:  9.692e-01  5.530e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 153.911 55.889

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/34994/cmap_HighResolution_540259201_542851201_4FGL_J1015.6+5553_monthly_bin117.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.42e-03', job_status='DONE', photon_flux_upper_limit='1.82e-08', time_completed='2021-10-21 16:03:11.679442', job_id='34994', GAL2='1.00', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1634857391.68', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.04e-02', ts2='0.98', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='117' AND source_name='4FGL J1015.6+5553' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Oct 21 16:03:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0129>
Subject: Job 34994: <4FGL_J1015.6+5553_monthly_bin117> in cluster <slac> Done

Job <4FGL_J1015.6+5553_monthly_bin117> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Oct 21 13:10:16 2021
Job was executed on host(s) <bullet0129>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 21 13:38:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 21 13:38:02 2021
Terminated at Thu Oct 21 16:03:12 2021
Results reported at Thu Oct 21 16:03:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_monthly_bin117 153.911 55.8893 540259201 542851201 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 :                                   8533.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             424.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   8712 sec.
    Turnaround time :                            10376 sec.

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

