aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 21 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 = 74112
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1015.6+5553_monthly_bin169
RA = 153.911, Dec = 55.8893
tmin = 675043201, tmax = 677635201
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='164348', job_status='RUN', time_executed='2022-06-23 02:04:16.994595', time_epoch_executed='1655975056.99' WHERE source_name='4FGL J1015.6+5553' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/164348

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/164348/ft1_4FGL_J1015.6+5553_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/164348/ft1_4FGL_J1015.6+5553_monthly_bin169.fits outfile=/scratch/kocevski/164348/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin169.fits ra=153.911 dec=55.8893 rad=12.0 tmin=675043201.0 tmax=677635201.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 27.88
user 27.14
sys 0.65

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

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

Number of photons that the gtmktime cut: 8140

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/164348/ft1_filtered_4FGL_J1015.6+5553_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/164348/ltcube_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.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/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits
.....................!
real 147.76
user 147.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/164348/ft1_filtered_4FGL_J1015.6+5553_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/164348/ltcube_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.fits outfile=/scratch/kocevski/164348/expmap_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.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/164348/ltcube_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.fits
.....................!
real 194.29
user 189.59
sys 4.29

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/164348/ft1_filtered_4FGL_J1015.6+5553_monthly_bin169.fits scfile=/scratch/kocevski/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits outfile=/scratch/kocevski/164348/cmap_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.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.80
user 0.65
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/164348/ft1_filtered_4FGL_J1015.6+5553_monthly_bin169.fits scfile=/scratch/kocevski/164348/ft2_4FGL_J1015.6+5553_monthly_bin169.fits outfile=/scratch/kocevski/164348/cmap_HighResolution_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.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.82
user 0.66
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9659       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .99965E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.0401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .74526       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7854       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0108       1.0000         .10000E-03   10000.    
    12 'norm      '    .83045E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.6046       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3086       1.0000         .10000E-03   10000.    
    15 'norm      '    7.1728       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.4134       1.0000         .10000E-03   10000.    
    18 'norm      '    3.2295       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .19499E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3145       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8346       1.0000         .10000E-03   10000.    
    22 'norm      '    2.8780       1.0000         .10000E-03   10000.    
    23 'norm      '    5.3556       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    21.659       1.0000         .10000E-03   10000.    
    26 'norm      '    3.0773       1.0000         .10000E-03   10000.    
    27 'Prefactor '    57.078       1.0000         .10000E-03   10000.    
    28 'Prefactor '    5.6670       1.0000         .10000E-03   10000.    
    29 'Prefactor '    4.5548       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.6158       1.0000         .10000E-03   10000.    
    31 'Prefactor '    12.922       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .93512       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0707       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.

 FCN=   86719.55     FROM MIGRAD    STATUS=CONVERGED    915 CALLS     4143 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9662        3.2184         .0000        .88153E-02
   2  Prefactor     .10014        .39603         .0000        .63300E-02
   3  Prefactor     2.0394        4.2458         .0000        .32243E-01
   4  Prefactor     .10000E-03    26.456         .0000    ** at limit **
   5  norm          .74526        .23275         .0000        .10934E-01
   6  Prefactor     4.7852        2.3662         .0000        .11904E-02
   7  Prefactor     2.5128        .93669         .0000        .46750E-02
   8  Prefactor     1.6775        4.7404         .0000        .43673E-01
   9  Prefactor     .10000E-03    .93270         .0000    ** at limit **
  10  Prefactor     .10000E-03    .41611         .0000    ** at limit **
  11  Prefactor     1.0111        1.8069         .0000        .17019E-01
  12  norm          .82701E-01    .39451         .0000        .59214E-02
  13  Prefactor     4.6039        6.3199         .0000       -.11346E-02
  14  norm          1.3087        .15740         .0000        .49027E-02
  15  norm          7.1730        2.9683         .0000        .22951E-02
  16  Prefactor     .10000E-03    .34419         .0000    ** at limit **
  17  norm          6.4134        .30844         .0000        .56545E-03
  18  norm          3.2296        .65828         .0000       -.13338E-03
  19  Prefactor     .10000E-03    2.0192         .0000    ** at limit **
  20  norm          4.3146        3.1211         .0000        .40768E-02
  21  Prefactor     2.8352        5.0745         .0000        .18208E-02
  22  norm          2.8780        .73820         .0000        .31963E-02
  23  norm          5.3556        .57880         .0000        .81028E-03
  24  Prefactor     .10000E-03    5.4464         .0000    ** at limit **
  25  Prefactor     21.659        22.953         .0000        .13814E-03
  26  norm          3.0773        .58719         .0000        .54517E-03
  27  Prefactor     57.080        14.537         .0000        .49741E-03
  28  Prefactor     5.6669        4.8178         .0000       -.40263E-02
  29  Prefactor     4.5545        13.650         .0000        .21012E-02
  30  Prefactor     3.6159        1.4376         .0000        .51565E-02
  31  Prefactor     12.922        4.9773         .0000       -.56401E-02
  32  Normalizat    .93510        .47557E-01     .0000        .97845E-03
  33  Prefactor     1.0707        .53589E-01     .0000        .69715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.96623
  Prefactor  = 0.100143
  Prefactor  = 2.03941
  Prefactor  = 0.000100003
  norm       = 0.74526
  Prefactor  = 4.78524
  Prefactor  = 2.51281
  Prefactor  = 1.67746
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.01113
  norm       = 0.082701
  Prefactor  = 4.60392
  norm       = 1.30867
  norm       = 7.17297
  Prefactor  = 0.0001
  norm       = 6.41341
  norm       = 3.22957
  Prefactor  = 0.000100001
  norm       = 4.31464
  Prefactor  = 2.83523
  norm       = 2.87802
  norm       = 5.35563
  Prefactor  = 0.0001
  Prefactor  = 21.6589
  norm       = 3.07729
  Prefactor  = 57.0799
  Prefactor  = 5.66687
  Prefactor  = 4.55445
  Prefactor  = 3.61594
  Prefactor  = 12.9216
  Normalizat = 0.935099
  Prefactor  = 1.07071
 **********
 **   18 **HESSE 
 **********

 FCN=   86719.55     FROM HESSE     STATUS=OK           743 CALLS     4886 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9662        3.2171        .18047E-03   -1.5262    
   2  Prefactor     .10014        3.6265        .35067E-02   -1.5645    
   3  Prefactor     2.0394        4.2376        .14477E-02   -1.5422    
   4  Prefactor     .10000E-03    26.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .74526        .22029        .73108E-03   -1.5535    
   6  Prefactor     4.7852        2.3265        .18392E-03   -1.5270    
   7  Prefactor     2.5128        .91673        .15904E-03   -1.5391    
   8  Prefactor     1.6775        4.5800        .16267E-02   -1.5449    
   9  Prefactor     .10000E-03    .94973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .51891        .55266E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0111        1.6968        .44277E-03   -1.5507    
  12  norm          .82701E-01    .40230        .68820E-01   -1.5650    
  13  Prefactor     4.6039        6.2974        .18758E-03   -1.5279    
  14  norm          1.3087        .15663        .38368E-04   -1.5479    
  15  norm          7.1730        2.9575        .14977E-03   -1.5172    
  16  Prefactor     .10000E-03    1.8429        .31645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.4134        .30864        .34241E-04   -1.5201    
  18  norm          3.2296        .65700        .10430E-03   -1.5349    
  19  Prefactor     .10000E-03    2.2061        .11589       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3146        3.1171        .19394E-03   -1.5293    
  21  Prefactor     2.8352        5.0078        .24153E-03   -1.5371    
  22  norm          2.8780        .72746        .93710E-04   -1.5369    
  23  norm          5.3556        .57841        .70795E-04   -1.5245    
  24  Prefactor     .10000E-03    5.4617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     21.659        22.949        .86065E-04   -1.4777    
  26  norm          3.0773        .58580        .92275E-04   -1.5357    
  27  Prefactor     57.080        14.583        .53099E-04   -1.4195    
  28  Prefactor     5.6669        4.8042        .16874E-03   -1.5232    
  29  Prefactor     4.5545        13.652        .94311E-03   -1.5281    
  30  Prefactor     3.6159        1.4340        .21051E-03   -1.5328    
  31  Prefactor     12.922        4.9738        .11143E-03   -1.4989    
  32  Normalizat    .93510        .54880E-01    .24914E-03   -.95238    
  33  Prefactor     1.0707        .62343E-01    .28597E-03   -.90408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79136e-08
Minuit parameter uncertainties:
  1  3.21724
  2  1.20476
  3  4.23823
  4  0.000565898
  5  0.220287
  6  2.32651
  7  0.916732
  8  4.58099
  9  3.60583e-07
  10  1.42829e-05
  11  1.69684
  12  0.364586
  13  6.29826
  14  0.156628
  15  2.95754
  16  8.48509e-06
  17  0.308636
  18  0.657
  19  7.50509e-05
  20  3.11725
  21  5.00853
  22  0.727458
  23  0.578408
  24  1.8862e-05
  25  22.9579
  26  0.585797
  27  14.5843
  28  4.80454
  29  13.6614
  30  1.43402
  31  4.97399
  32  0.0548829
  33  0.062347
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  7.505e-05  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.071e+00  6.235e-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.351e-01  5.488e-02  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.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/164348/likelihoodResults_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.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) = 86719.549298
delta logL = -7.56497756811e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 86717.2487511
delta logL = 2.30047120967

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33022       1.0000         .10000E-03   10000.    
     2 'Index     '    5.1354       1.0000          .0000       10.000    
     3 'Normalizat'    .90253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0954       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   86717.25     FROM MIGRAD    STATUS=FAILED       101 CALLS      335 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33258        3.9310        .79963E-04    .10459E-02
   2  Index         5.1312        3.4501        .93865E-02    .49014E-02
   3  Normalizat    .90262        .38141E-01    .25304E-03   -.27676E-03
   4  Prefactor     1.0954        .45912E-01    .28318E-03   -.15095E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   86717.25     FROM SIMPLEX   STATUS=UNCHANGED     80 CALLS      415 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33258        3.9310        .68690E-04    .10459E-02
   2  Index         5.1312        3.4501        .12125E-02    .49014E-02
   3  Normalizat    .90262        .38141E-01    .79792E-04   -.27676E-03
   4  Prefactor     1.0954        .45912E-01    .74643E-04   -.15095E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   86717.25     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      482 TOTAL
                     EDM=   .72E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33257        1.2772        .63971E-06   -.21529E-03
   2  Index         5.1312        2.0615        .37546E-03   -.10658E-04
   3  Normalizat    .90262        .51607E-01    .20243E-05   -.26957E-03
   4  Prefactor     1.0954        .61624E-01    .22655E-05   -.14453E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.332571
  Index      = 5.13124
  Normalizat = 0.902617
  Prefactor  = 1.09537
 **********
 **   18 **HESSE 
 **********

 FCN=   86717.25     FROM HESSE     STATUS=OK            23 CALLS      505 TOTAL
                     EDM=   .70E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33257        1.0119        .37176E-06   -1.5593    
   2  Index         5.1312        1.6501        .15018E-04    .26252E-01
   3  Normalizat    .90262        .48414E-01    .40486E-06   -.96368    
   4  Prefactor     1.0954        .57797E-01    .45309E-06   -.89615    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98382e-12
Minuit parameter uncertainties:
  1  1.01194
  2  1.6816
  3  0.0484159
  4  0.0577999
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/164348': 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) = 86717.2487465
delta logL = 2.3004758274

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  3.326e-01  1.012e+00  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  5.131e+00  1.682e+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.095e+00  5.780e-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.026e-01  4.842e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.91
Ra Dec: 153.911 55.889
Photon Index (Free Index): 5.13 +/- 1.68
Photon Flux (Free Index): 2.45e-08 +/- 1.22e-08
Energy Flux (Free Index): 3.23e-06 +/- 1.69e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/164348/cmap_HighResolution_675043201_677635201_4FGL_J1015.6+5553_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-03', comment='SUCCESS', energy_flux2='3.23e-06', dlogl='2.30e+00', photon_flux2='2.45e-08', job_status='DONE', time_completed='2022-06-23 05:36:24.510389', photon_index_error2='1.68', photon_index2='5.13', ts='-0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='1.65e-08', energy_flux_error2='1.69e-06', EG='0.94', time_epoch_completed='1655987784.51', return_code='0', job_id='164348', GAL2='1.10', EG2='0.90', return_code2='0', photon_flux_error2='1.22e-08', ts2='4.91', photon_index='2.55' WHERE bin_id='169' AND source_name='4FGL J1015.6+5553' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 05:36:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 164348: <4FGL_J1015.6+5553_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1015.6+5553_monthly_bin169> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 01:30:35 2022
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:03:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:03:45 2022
Terminated at Thu Jun 23 05:36:26 2022
Results reported at Thu Jun 23 05:36:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_monthly_bin169 153.911 55.8893 675043201 677635201 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 :                                   12692.00 sec.
    Max Memory :                                 630 MB
    Average Memory :                             457.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12760 sec.
    Turnaround time :                            14751 sec.

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

