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


Performing analysis on: 4FGL_J1015.6+5553_monthly_bin97
RA = 153.911, Dec = 55.8893
tmin = 488419201, tmax = 491011201
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='34965', job_status='RUN', time_executed='2021-10-21 13:14:57.770426', time_epoch_executed='1634847297.77' WHERE source_name='4FGL J1015.6+5553' and cadence='monthly' and bin_id='97'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/34965

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/34965/ft1_4FGL_J1015.6+5553_monthly_bin97.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/34965/ft1_4FGL_J1015.6+5553_monthly_bin97.fits outfile=/scratch/kocevski/34965/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin97.fits ra=153.911 dec=55.8893 rad=12.0 tmin=488419201.0 tmax=491011201.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 42.96
user 42.00
sys 0.80

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/34965/ft1_filtered_4FGL_J1015.6+5553_monthly_bin97.fits" evtable="EVENTS" scfile=/scratch/kocevski/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits sctable="SC_DATA" outfile=/scratch/kocevski/34965/ltcube_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.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/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits
.....................!
real 115.47
user 114.78
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/34965/ft1_filtered_4FGL_J1015.6+5553_monthly_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits sctable="SC_DATA" expcube=/scratch/kocevski/34965/ltcube_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.fits outfile=/scratch/kocevski/34965/expmap_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.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/34965/ltcube_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.fits
.....................!
real 192.70
user 187.91
sys 4.37

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/34965/ft1_filtered_4FGL_J1015.6+5553_monthly_bin97.fits scfile=/scratch/kocevski/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits outfile=/scratch/kocevski/34965/cmap_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.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.77
user 0.60
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/34965/ft1_filtered_4FGL_J1015.6+5553_monthly_bin97.fits scfile=/scratch/kocevski/34965/ft2_4FGL_J1015.6+5553_monthly_bin97.fits outfile=/scratch/kocevski/34965/cmap_HighResolution_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.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.61
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1487       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29992       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.3832       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7665       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9599       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9656       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2948       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7500       1.0000         .10000E-03   10000.    
    12 'norm      '    .14006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .25505E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.6915       1.0000         .10000E-03   10000.    
    15 'norm      '    35.226       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .91235       1.0000         .10000E-03   10000.    
    17 'norm      '    1.8698       1.0000         .10000E-03   10000.    
    18 'norm      '    3.8985       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    7.2208       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3957       1.0000         .10000E-03   10000.    
    22 'norm      '    10.367       1.0000         .10000E-03   10000.    
    23 'norm      '    2.4299       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.6509       1.0000         .10000E-03   10000.    
    27 'Prefactor '    12.983       1.0000         .10000E-03   10000.    
    28 'Prefactor '    7.2678       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .57921       1.0000         .10000E-03   10000.    
    31 'Prefactor '    17.496       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0071       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0655       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=   66466.67     FROM MIGRAD    STATUS=CONVERGED    883 CALLS     3972 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1486        4.6649       -.44944E-07   -.85378E-04
   2  Prefactor     .29535        .95512        .12291E-05   -.33729E-02
   3  Prefactor     4.3833        4.0226       -.54186E-07   -.18399E-05
   4  Prefactor     .10000E-03    13.475       -.57338E-05** at limit **
   5  norm          1.7665        .31223       -.30300E-07   -.56213E-02
   6  Prefactor     2.9599        1.8765       -.49071E-07   -.70849E-03
   7  Prefactor     2.7349        1.0347        .30067E-07   -.72094E-05
   8  Prefactor     .10000E-03    2.0341       -.13741E-06** at limit **
   9  Prefactor     1.9656        1.4516       -.42644E-07   -.96582E-03
  10  Prefactor     2.2954        2.6613       -.22570E-06   -.48955E-03
  11  Prefactor     3.7502        2.0400       -.14326E-06   -.22136E-03
  12  norm          .10001E-03    .40775        .25909E-06** at limit **
  13  Prefactor     .10000E-03    2.2339        .71561E-07** at limit **
  14  norm          1.6915        .18619        .25862E-08   -.22770E-03
  15  norm          35.226        4.9824       -.20664E-07   -.28302E-04
  16  Prefactor     .91253        1.4291        .63125E-07   -.80828E-04
  17  norm          1.8698        .23962       -.26177E-08   -.78969E-03
  18  norm          3.8985        .78309       -.30547E-08   -.17548E-04
  19  Prefactor     .10000E-03    3.7856       -.18717E-05** at limit **
  20  norm          7.2207        4.0793       -.58864E-07   -.39413E-04
  21  Prefactor     3.3961        8.7435       -.46156E-07   -.16063E-04
  22  norm          10.367        1.4463        .49124E-08   -.49378E-05
  23  norm          2.4300        .48367        .94587E-09    .10400E-03
  24  Prefactor     .10000E-03    5.6626        .10034E-05** at limit **
  25  Prefactor     .10000E-03    6.7577       -.54714E-05** at limit **
  26  norm          1.6509        .53077        .97156E-08    .22190E-03
  27  Prefactor     12.981        13.585       -.13872E-05   -.11221E-03
  28  Prefactor     7.2676        5.5365       -.10637E-07    .45330E-05
  29  Prefactor     .10000E-03    10.073        .82513E-05** at limit **
  30  Prefactor     .58024        1.3287        .10337E-07   -.15547E-03
  31  Prefactor     17.495        6.8418       -.11609E-07   -.10483E-05
  32  Normalizat    1.0070        .55506E-01    .10215E-06   -.78796E-03
  33  Prefactor     1.0656        .61786E-01   -.66742E-07   -.70191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.1486
  Prefactor  = 0.295348
  Prefactor  = 4.38329
  Prefactor  = 0.000100001
  norm       = 1.76653
  Prefactor  = 2.95985
  Prefactor  = 2.73493
  Prefactor  = 0.0001
  Prefactor  = 1.96561
  Prefactor  = 2.29541
  Prefactor  = 3.75022
  norm       = 0.000100014
  Prefactor  = 0.000100002
  norm       = 1.69152
  norm       = 35.226
  Prefactor  = 0.91253
  norm       = 1.8698
  norm       = 3.8985
  Prefactor  = 0.0001
  norm       = 7.22066
  Prefactor  = 3.39607
  norm       = 10.3673
  norm       = 2.42995
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.65094
  Prefactor  = 12.9811
  Prefactor  = 7.26758
  Prefactor  = 0.000100002
  Prefactor  = 0.580239
  Prefactor  = 17.4955
  Normalizat = 1.00702
  Prefactor  = 1.0656
 **********
 **   18 **HESSE 
 **********

 FCN=   66466.67     FROM HESSE     STATUS=OK           723 CALLS     4695 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1486        4.6652        .14045E-03   -1.5137    
   2  Prefactor     .29535        2.8602        .38904E-02   -1.5599    
   3  Prefactor     4.3833        4.0179        .19237E-03   -1.5289    
   4  Prefactor     .10000E-03    13.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7665        .30607        .55356E-04   -1.5442    
   6  Prefactor     2.9599        2.0418        .11802E-02   -1.5364    
   7  Prefactor     2.7349        1.0273        .14987E-03   -1.5377    
   8  Prefactor     .10000E-03    2.0758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9656        3.0268        .14791E-02   -1.5428    
  10  Prefactor     2.2954        2.8671        .27094E-03   -1.5405    
  11  Prefactor     3.7502        2.0032        .20850E-03   -1.5321    
  12  norm          .10001E-03    .46811        .67656E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.645        .71805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.6915        .18576        .35404E-04   -1.5448    
  15  norm          35.226        4.9737        .67521E-04   -1.4520    
  16  Prefactor     .91253        1.4081        .35281E-03   -1.5517    
  17  norm          1.8698        .23950        .43214E-04   -1.5434    
  18  norm          3.8985        .78267        .99008E-04   -1.5313    
  19  Prefactor     .10000E-03    3.8213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          7.2207        4.0784        .14927E-03   -1.5170    
  21  Prefactor     3.3961        8.2868        .21955E-03   -1.5339    
  22  norm          10.367        1.3697        .12444E-04   -1.5064    
  23  norm          2.4300        .48337        .77471E-04   -1.5396    
  24  Prefactor     .10000E-03    5.6759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.8139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.6509        .52835        .10181E-03   -1.5451    
  27  Prefactor     12.981        13.613        .11117E-03   -1.4987    
  28  Prefactor     7.2676        5.5162        .14878E-03   -1.5169    
  29  Prefactor     .10000E-03    10.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .58024        1.3072        .42972E-03   -1.5556    
  31  Prefactor     17.495        6.8204        .95752E-04   -1.4871    
  32  Normalizat    1.0070        .63823E-01    .24767E-03   -.92796    
  33  Prefactor     1.0656        .72163E-01    .28959E-03   -.90574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08684e-09
Minuit parameter uncertainties:
  1  4.66544
  2  1.83802
  3  4.01811
  4  0.00022798
  5  0.306065
  6  2.04185
  7  1.02732
  8  3.498e-07
  9  3.02708
  10  2.86732
  11  2.00328
  12  0.000160602
  13  0.000290675
  14  0.185763
  15  4.97371
  16  1.40818
  17  0.239498
  18  0.782675
  19  3.86884e-05
  20  4.07851
  21  8.28957
  22  1.36974
  23  0.483373
  24  2.78673e-05
  25  0.00015905
  26  0.528355
  27  13.616
  28  5.51656
  29  0.000286169
  30  1.30725
  31  6.82072
  32  0.0638277
  33  0.0721699
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  3.869e-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.066e+00  7.217e-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:  1.007e+00  6.383e-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.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/34965/likelihoodResults_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.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) = 66466.6671864
delta logL = -0.00124770237016

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 66466.6659387
delta logL = -2.85072019324e-08

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 'Index     '    2.5487       1.0000          .0000       10.000    
     3 'Normalizat'    1.0070       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0656       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=   66466.67     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      244 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    112.36        .18142E-02** at limit **
   2  Index         2.5584        7.1697        .50000       -.26928E-05
   3  Normalizat    1.0070        .73739E-02    .24767E-03    .16892E-04
   4  Prefactor     1.0656        .88792E-02    .28959E-03    .87938E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100019
  Index      = 2.55844
  Normalizat = 1.00702
  Prefactor  = 1.0656
 **********
 **   18 **HESSE 
 **********

 FCN=   66466.67     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    465.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5584        5.5097        .50000       -.51015    
   3  Normalizat    1.0070        .17577E-01    .99069E-05   -.92796    
   4  Prefactor     1.0656        .21158E-01    .11584E-04   -.90574    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67714e-09
Minuit parameter uncertainties:
  1  0.00601539
  2  1262.23
  3  0.0175776
  4  0.0211585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/34965': 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): 102
logL (Free Index) = 66466.6659387
delta logL = 5.99538907409e-09

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  1.000e-04  6.015e-03  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.558e+00  1.262e+03  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.066e+00  2.116e-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:  1.007e+00  1.758e-02  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/34965/cmap_HighResolution_488419201_491011201_4FGL_J1015.6+5553_monthly_bin97.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-03', job_status='DONE', photon_flux_upper_limit='1.38e-08', time_completed='2021-10-21 15:59:27.794571', job_id='34965', GAL2='1.07', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1634857167.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='6.00e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.55' WHERE bin_id='97' AND source_name='4FGL J1015.6+5553' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Oct 21 15:59:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 34965: <4FGL_J1015.6+5553_monthly_bin97> in cluster <slac> Done

Job <4FGL_J1015.6+5553_monthly_bin97> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Oct 21 13:10:14 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 21 13:11:33 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:11:33 2021
Terminated at Thu Oct 21 15:59:28 2021
Results reported at Thu Oct 21 15:59:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_monthly_bin97 153.911 55.8893 488419201 491011201 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 :                                   9259.00 sec.
    Max Memory :                                 628 MB
    Average Memory :                             391.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10075 sec.
    Turnaround time :                            10154 sec.

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

