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


Performing analysis on: 4FGL_J1015.6+5553_monthly_bin82
RA = 153.911, Dec = 55.8893
tmin = 449539201, tmax = 452131201
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='33601', job_status='RUN', time_executed='2021-10-21 13:13:23.638179', time_epoch_executed='1634847203.64' WHERE source_name='4FGL J1015.6+5553' and cadence='monthly' and bin_id='82'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/33601

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

Retrieving the FT1 file...

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

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

Retrieving 457 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/33601/ft1_4FGL_J1015.6+5553_monthly_bin82.fits


Retrieving the FT1 file...

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

Retrieving 457 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/33601/ft1_4FGL_J1015.6+5553_monthly_bin82.fits outfile=/scratch/kocevski/33601/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin82.fits ra=153.911 dec=55.8893 rad=12.0 tmin=449539201.0 tmax=452131201.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 33.38
user 32.58
sys 0.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.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/33601/ft1_filteredMKT_4FGL_J1015.6+5553_monthly_bin82.fits evtable="EVENTS" outfile="/scratch/kocevski/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.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 1.32
user 0.66
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits" evtable="EVENTS" scfile=/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits sctable="SC_DATA" outfile=/scratch/kocevski/33601/ltcube_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.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/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits
.....................!
real 120.82
user 119.75
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits evtable="EVENTS" scfile=/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits sctable="SC_DATA" expcube=/scratch/kocevski/33601/ltcube_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits outfile=/scratch/kocevski/33601/expmap_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.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/33601/ltcube_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits
.....................!
real 192.36
user 186.27
sys 5.60

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/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits scfile=/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits outfile=/scratch/kocevski/33601/cmap_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.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.58
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits scfile=/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits outfile=/scratch/kocevski/33601/cmap_HighResolution_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.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.79
user 0.61
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits', '/scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits', expMap='/scratch/kocevski/33601/expmap_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits', expCube='/scratch/kocevski/33601/ltcube_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/33601/Model_4FGL_J1015.6+5553_monthly_bin82.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/33601/ft1_filtered_4FGL_J1015.6+5553_monthly_bin82.fits
Spacecraft file(s): /scratch/kocevski/33601/ft2_4FGL_J1015.6+5553_monthly_bin82.fits
Exposure map: /scratch/kocevski/33601/expmap_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits
Exposure cube: /scratch/kocevski/33601/ltcube_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/33601/Model_4FGL_J1015.6+5553_monthly_bin82.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 65947.7415442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1609       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .29838E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.0710       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .30235E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.699       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9536       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0430       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .37485       1.0000         .10000E-03   10000.    
    12 'norm      '    .44449       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.3822       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6259       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7333       1.0000         .10000E-03   10000.    
    17 'norm      '    .60421       1.0000         .10000E-03   10000.    
    18 'norm      '    7.6018       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5333       1.0000         .10000E-03   10000.    
    20 'norm      '    1.7802       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.0997       1.0000         .10000E-03   10000.    
    22 'norm      '    4.7549       1.0000         .10000E-03   10000.    
    23 'norm      '    .92740       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.0857       1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.087       1.0000         .10000E-03   10000.    
    26 'norm      '    1.0301       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.4526       1.0000         .10000E-03   10000.    
    28 'Prefactor '    18.817       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.4563       1.0000         .10000E-03   10000.    
    31 'Prefactor '    11.473       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .94297       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0363       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=   65947.44     FROM MIGRAD    STATUS=CONVERGED    871 CALLS     3992 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1610        3.4691         .0000        .21880E-03
   2  Prefactor     .10012E-03    .57157         .0000    ** at limit **
   3  Prefactor     6.0712        5.3085         .0000        .41843E-03
   4  Prefactor     .10000E-03    5.9636         .0000    ** at limit **
   5  norm          .30303E-01    .80770E-01     .0000        .22298E-01
   6  Prefactor     11.699        2.9390         .0000       -.45998E-02
   7  Prefactor     3.9535        1.0340         .0000       -.72090E-03
   8  Prefactor     .10000E-03    2.7348         .0000    ** at limit **
   9  Prefactor     .10000E-03    .70548         .0000    ** at limit **
  10  Prefactor     6.0454        2.3938         .0000        .48215E-01
  11  Prefactor     .37455        .72944         .0000        .68620E-02
  12  norm          .44485        1.2605         .0000        .16670E-01
  13  Prefactor     .10000E-03    10.979         .0000    ** at limit **
  14  norm          1.3822        .17003         .0000        .28789E-03
  15  norm          3.6254        2.8780         .0000        .36710E-01
  16  Prefactor     1.7364        1.5125         .0000        .75858E-02
  17  norm          .60423        .17425         .0000        .63008E-02
  18  norm          7.6016        1.0219         .0000       -.12256E-03
  19  Prefactor     7.5333        6.6547         .0000        .23588E-03
  20  norm          1.7802        1.8451         .0000       -.82068E-03
  21  Prefactor     6.1001        6.0483         .0000        .69018E-03
  22  norm          4.7549        .94395         .0000        .12401E-02
  23  norm          .92742        .32399         .0000        .12297E-02
  24  Prefactor     9.0856        17.026         .0000        .20985E-03
  25  Prefactor     15.087        14.591         .0000        .23828E-03
  26  norm          1.0301        .41137         .0000       -.92096E-03
  27  Prefactor     3.4512        9.5726         .0000        .72146E-03
  28  Prefactor     18.817        6.1823         .0000        .25646E-02
  29  Prefactor     .10000E-03    5.9873         .0000    ** at limit **
  30  Prefactor     3.4564        1.7216         .0000        .99609E-01
  31  Prefactor     11.474        7.1143         .0000        .30759E-03
  32  Normalizat    .94296        .50925E-01     .0000       -.21373E-03
  33  Prefactor     1.0362        .56532E-01     .0000       -.18227E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.16104
  Prefactor  = 0.000100116
  Prefactor  = 6.07122
  Prefactor  = 0.0001
  norm       = 0.030303
  Prefactor  = 11.6985
  Prefactor  = 3.95349
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.0454
  Prefactor  = 0.374547
  norm       = 0.444854
  Prefactor  = 0.000100001
  norm       = 1.38221
  norm       = 3.62537
  Prefactor  = 1.73642
  norm       = 0.604227
  norm       = 7.6016
  Prefactor  = 7.53331
  norm       = 1.7802
  Prefactor  = 6.10006
  norm       = 4.75487
  norm       = 0.927421
  Prefactor  = 9.0856
  Prefactor  = 15.087
  norm       = 1.03009
  Prefactor  = 3.45121
  Prefactor  = 18.8166
  Prefactor  = 0.000100002
  Prefactor  = 3.45643
  Prefactor  = 11.4736
  Normalizat = 0.942962
  Prefactor  = 1.03624
 **********
 **   18 **HESSE 
 **********

 FCN=   65947.44     FROM HESSE     STATUS=OK           729 CALLS     4721 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1610        3.4689        .13242E-03   -1.5103    
   2  Prefactor     .10012E-03    .59621        .63588E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.0712        5.3055        .16295E-03   -1.5215    
   4  Prefactor     .10000E-03    5.9688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .30303E-01    .18775        .11007E-02   -1.5673    
   6  Prefactor     11.699        2.9273        .11712E-03   -1.5024    
   7  Prefactor     3.9535        1.0267        .20287E-04   -1.5310    
   8  Prefactor     .10000E-03    2.7816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.0136        .38764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.0454        2.2101        .81666E-03   -1.5216    
  11  Prefactor     .37455        1.4170        .27079E-02   -1.5586    
  12  norm          .44485        1.2312        .44168E-03   -1.5575    
  13  Prefactor     .10000E-03    11.377        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.3822        .16964        .35434E-04   -1.5473    
  15  norm          3.6254        2.8702        .10609E-02   -1.5327    
  16  Prefactor     1.7364        1.4736        .26712E-03   -1.5444    
  17  norm          .60423        .16922        .54801E-03   -1.5553    
  18  norm          7.6016        1.0215        .14545E-04   -1.5156    
  19  Prefactor     7.5333        6.6551        .14612E-03   -1.5159    
  20  norm          1.7802        1.8490        .31368E-03   -1.5441    
  21  Prefactor     6.1001        6.0789        .16256E-03   -1.5214    
  22  norm          4.7549        .94729        .83565E-04   -1.5272    
  23  norm          .92742        .32733        .83817E-04   -1.5515    
  24  Prefactor     9.0856        17.029        .13297E-03   -1.5105    
  25  Prefactor     15.087        14.587        .10312E-03   -1.4931    
  26  norm          1.0301        .41350        .99569E-04   -1.5505    
  27  Prefactor     3.4512        9.5613        .21766E-03   -1.5336    
  28  Prefactor     18.817        6.1702        .46166E-03   -1.4840    
  29  Prefactor     .10000E-03    5.9968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     3.4564        1.7166        .10877E-02   -1.5336    
  31  Prefactor     11.474        7.1067        .11827E-03   -1.5030    
  32  Normalizat    .94296        .59032E-01    .23575E-03   -.94967    
  33  Prefactor     1.0362        .65638E-01    .26857E-03   -.91531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67961e-08
Minuit parameter uncertainties:
  1  3.46903
  2  0.000525377
  3  5.30595
  4  3.9194e-05
  5  0.150607
  6  2.92734
  7  1.02673
  8  6.01281e-05
  9  2.32281e-05
  10  2.21016
  11  1.4171
  12  1.23128
  13  0.000204533
  14  0.169643
  15  2.87026
  16  1.47358
  17  0.169222
  18  1.02151
  19  6.65573
  20  1.84911
  21  6.07954
  22  0.947291
  23  0.327328
  24  17.0382
  25  14.5905
  26  0.413503
  27  9.56555
  28  6.17039
  29  0.000203664
  30  1.71665
  31  7.10725
  32  0.0590357
  33  0.0656435
Done.

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

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  7.533e+00  6.656e+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.036e+00  6.564e-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.430e-01  5.904e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 153.911 55.889
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 8.17e-09 +/- 7.21e-09
Energy Flux (Fixed Index): 2.26e-06 +/- 1.99e-06

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

Saving results to:
/scratch/kocevski/33601/likelihoodResults_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.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) = 65947.4290769
delta logL = 0.0124733215052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 65947.4287639
delta logL = 0.0127862371883

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6317       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4082       1.0000          .0000       10.000    
     3 'Normalizat'    .94472       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0350       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=   65947.43     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      291 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6393        6.8848        .72582E-03    .15027E-03
   2  Index         2.4109        .84326        .10282E-01    .10084E-05
   3  Normalizat    .94463        .54392E-01    .23556E-03   -.25482E-04
   4  Prefactor     1.0351        .63826E-01    .26870E-03   -.12185E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.63935
  Index      = 2.41094
  Normalizat = 0.94463
  Prefactor  = 1.03506
 **********
 **   18 **HESSE 
 **********

 FCN=   65947.43     FROM HESSE     STATUS=OK            25 CALLS      316 TOTAL
                     EDM=   .58E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6393        6.8969        .14516E-03   -1.5155    
   2  Index         2.4109        .84425        .41128E-03   -.54429    
   3  Normalizat    .94463        .54436E-01    .94225E-05   -.94909    
   4  Prefactor     1.0351        .63870E-01    .10748E-04   -.91570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83317e-14
Minuit parameter uncertainties:
  1  6.89758
  2  0.849831
  3  0.0544389
  4  0.0638748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/33601': 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) = 65947.4287572
delta logL = 0.0127929586888

Extracting fit parameters...

4FGL J1015.6+5553
   Spectrum: PowerLaw
391    Prefactor:  7.639e+00  6.898e+00  1.000e-04  1.000e+04 ( 1.000e-13)
392        Index:  2.411e+00  8.498e-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.035e+00  6.387e-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.446e-01  5.444e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.87
Ra Dec: 153.911 55.889
Photon Index (Free Index): 2.41 +/- 0.85
Photon Flux (Free Index): 6.91e-09 +/- 1.01e-08
Energy Flux (Free Index): 2.23e-06 +/- 2.02e-06

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/33601/cmap_HighResolution_449539201_452131201_4FGL_J1015.6+5553_monthly_bin82.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.79e-03', comment='SUCCESS', photon_flux='8.17e-09', energy_flux2='2.23e-06', photon_flux_error='7.21e-09', dlogl='1.28e-02', energy_flux='2.26e-06', photon_flux2='6.91e-09', job_status='DONE', time_completed='2021-10-21 15:58:11.325304', photon_index_error2='0.85', photon_index2='2.41', ts='1.84', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='2.29e-08', energy_flux_error2='2.02e-06', EG='0.94', time_epoch_completed='1634857091.33', return_code='0', job_id='33601', GAL2='1.04', EG2='0.94', return_code2='0', energy_flux_error='1.99e-06', photon_flux_error2='1.01e-08', ts2='1.87', photon_index='2.55' WHERE bin_id='82' AND source_name='4FGL J1015.6+5553' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Oct 21 15:58:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 33601: <4FGL_J1015.6+5553_monthly_bin82> in cluster <slac> Done

Job <4FGL_J1015.6+5553_monthly_bin82> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Oct 21 13:05:29 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 21 13:10: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:10:02 2021
Terminated at Thu Oct 21 15:58:33 2021
Results reported at Thu Oct 21 15:58:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1015.6+5553_monthly_bin82 153.911 55.8893 449539201 452131201 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 :                                   9195.00 sec.
    Max Memory :                                 649 MB
    Average Memory :                             390.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   10089 sec.
    Turnaround time :                            10384 sec.

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

