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


Performing analysis on: 4FGL_J0805.4+6147_daily_bin1201
RA = 121.356, Dec = 61.7937
tmin = 550627201, tmax = 550886401
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='135441', job_status='RUN', time_executed='2021-08-29 02:18:30.515645', time_epoch_executed='1630228710.52' WHERE source_name='4FGL J0805.4+6147' and cadence='daily' and bin_id='1201'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135441

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135441/ft1_4FGL_J0805.4+6147_daily_bin1201.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135441/ft1_4FGL_J0805.4+6147_daily_bin1201.fits outfile=/scratch/kocevski/135441/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1201.fits ra=121.356 dec=61.7937 rad=12.0 tmin=550627201.0 tmax=550886401.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 3.96
user 3.68
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.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/135441/ft1_filteredMKT_4FGL_J0805.4+6147_daily_bin1201.fits evtable="EVENTS" outfile="/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.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.61
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits" evtable="EVENTS" scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits sctable="SC_DATA" outfile=/scratch/kocevski/135441/ltcube_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.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/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits
.....................!
real 12.43
user 11.37
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits sctable="SC_DATA" expcube=/scratch/kocevski/135441/ltcube_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits outfile=/scratch/kocevski/135441/expmap_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.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/135441/ltcube_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits
.....................!
real 191.63
user 186.54
sys 4.72

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 225 point sources and 0 extended sources

Setting source of interest to:
4FGL J0805.4+6147 @ 121.356 61.7937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits outfile=/scratch/kocevski/135441/cmap_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.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=121.356 yref=61.7937 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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits outfile=/scratch/kocevski/135441/cmap_HighResolution_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.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=121.356 yref=61.7937 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits evtable="EVENTS" scfile=/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/135441/Model_4FGL_J0805.4+6147_daily_bin1201.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/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits..!
real 13.74
user 12.39
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits', '/scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits', expMap='/scratch/kocevski/135441/expmap_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits', expCube='/scratch/kocevski/135441/ltcube_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/135441/Model_4FGL_J0805.4+6147_daily_bin1201.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0805.4+6147'

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/135441/ft1_filtered_4FGL_J0805.4+6147_daily_bin1201.fits
Spacecraft file(s): /scratch/kocevski/135441/ft2_4FGL_J0805.4+6147_daily_bin1201.fits
Exposure map: /scratch/kocevski/135441/expmap_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits
Exposure cube: /scratch/kocevski/135441/ltcube_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/135441/Model_4FGL_J0805.4+6147_daily_bin1201.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 32.5897323882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 30.3282667776

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3655       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5805       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.3504       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7677       1.0000         .10000E-03   10000.    
     5 'norm      '    4.7311       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2814       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.8105       1.0000         .10000E-03   10000.    
     9 'norm      '    1.0164       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2577       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2453       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.0004       1.0000         .10000E-03   10000.    
    13 'norm      '    .59789E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    60.567       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4723       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4983       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.1668       1.0000         .10000E-03   10000.    
    18 'norm      '    7.4896       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .21685       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.3113       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8697       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.6498       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.0475       1.0000         .10000E-03   10000.    
    24 'norm      '    1.2454       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.1991       1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.0514       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.8066       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    29 'Prefactor '    .19357E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30.32710     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      132 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3655        1.0115         .0000         .0000    
   2  Prefactor     4.5805        1.0061         .0000         .0000    
   3  Prefactor     2.3504        1.0246         .0000         .0000    
   4  Prefactor     5.7677        1.0038         .0000         .0000    
   5  norm          4.7311        1.0057         .0000         .0000    
   6  Prefactor     3.5212        1.0104         .0000         .0000    
   7  Prefactor     7.2814        1.0024         .0000         .0000    
   8  Prefactor     5.8105        1.0037         .0000         .0000    
   9  norm          1.0164        1.3026         .0000         .0000    
  10  Prefactor     2.2577        1.0269         .0000         .0000    
  11  norm          1.2453        1.1194         .0000         .0000    
  12  Prefactor     3.0004        1.0146         .0000         .0000    
  13  norm          .10016E-03    .21705        .42428E-03** at limit **
  14  norm          60.556        .99994       -.55309E-05    .57120E-02
  15  Prefactor     1.4723        1.0740         .0000         .0000    
  16  Prefactor     5.4983        1.0042         .0000         .0000    
  17  Prefactor     3.1668        1.0130         .0000         .0000    
  18  norm          7.4896        1.0022         .0000         .0000    
  19  Prefactor     .10015E-03    .25272       -.31981E-03** at limit **
  20  Prefactor     7.3113        1.0024         .0000         .0000    
  21  Prefactor     3.8697        1.0086         .0000         .0000    
  22  Prefactor     5.6498        1.0040         .0000         .0000    
  23  Prefactor     1.0475        1.2416         .0000         .0000    
  24  norm          1.2454        1.1194         .0000         .0000    
  25  Prefactor     3.1991        1.0128         .0000         .0000    
  26  Prefactor     1.0514        1.2363         .0000         .0000    
  27  Prefactor     2.8066        1.0168         .0000         .0000    
  28  Normalizat    .10000E-01    .25505        .10870E-03** at limit **
  29  Prefactor     .24473E-09    .25504        .61678E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36551
  Prefactor  = 4.58054
  Prefactor  = 2.35041
  Prefactor  = 5.76768
  norm       = 4.73106
  Prefactor  = 3.52117
  Prefactor  = 7.28135
  Prefactor  = 5.81047
  norm       = 1.01645
  Prefactor  = 2.25769
  norm       = 1.24535
  Prefactor  = 3.00044
  norm       = 0.000100157
  norm       = 60.5555
  Prefactor  = 1.47232
  Prefactor  = 5.49826
  Prefactor  = 3.16678
  norm       = 7.48958
  Prefactor  = 0.00010015
  Prefactor  = 7.31125
  Prefactor  = 3.86972
  Prefactor  = 5.64983
  Prefactor  = 1.04748
  norm       = 1.2454
  Prefactor  = 3.19914
  Prefactor  = 1.05136
  Prefactor  = 2.80665
  Normalizat = 0.01
  Prefactor  = 2.44729e-10
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30.32710     FROM HESSE     STATUS=FAILED         9 CALLS      141 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     549.67        546.23         .0000       -1.5341    
   2  Prefactor     4.5805        1.0061         .0000       -1.5280    
   3  Prefactor     2.3504        1.0246         .0000       -1.5401    
   4  Prefactor     5.7677        1.0038         .0000       -1.5228    
   5  norm          4.7311        1.0057         .0000       -1.5273    
   6  Prefactor     3.5212        1.0104         .0000       -1.5333    
   7  Prefactor     7.2814        1.0024         .0000       -1.5168    
   8  Prefactor     5.8105        1.0037         .0000       -1.5226    
   9  norm          1.0164        1.3026         .0000       -1.5506    
  10  Prefactor     2.2577        1.0269         .0000       -1.5407    
  11  norm          1.2453        1.1194         .0000       -1.5485    
  12  Prefactor     3.0004        1.0146         .0000       -1.5362    
  13  norm          .10016E-03    .21705        .42428E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          60.556        .99994       -.55309E-05   -1.4150    
  15  Prefactor     1.4723        1.0740         .0000       -1.5465    
  16  Prefactor     5.4983        1.0042         .0000       -1.5239    
  17  Prefactor     3.1668        1.0130         .0000       -1.5352    
  18  norm          7.4896        1.0022         .0000       -1.5161    
  19  Prefactor     .10015E-03    .25272       -.31981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3113        1.0024         .0000       -1.5167    
  21  Prefactor     3.8697        1.0086         .0000       -1.5315    
  22  Prefactor     5.6498        1.0040         .0000       -1.5233    
  23  Prefactor     1.0475        1.2416         .0000       -1.5503    
  24  norm          1.2454        1.1194         .0000       -1.5485    
  25  Prefactor     3.1991        1.0128         .0000       -1.5350    
  26  Prefactor     1.0514        1.2363         .0000       -1.5503    
  27  Prefactor     2.8066        1.0168         .0000       -1.5373    
  28  Normalizat    .10000E-01    .25505        .10870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .24473E-09    .25504        .61678E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.17095e-09
Minuit parameter uncertainties:
  1  1.01148
  2  1.00608
  3  1.02464
  4  1.00381
  5  1.0057
  6  1.01045
  7  1.00238
  8  1.00375
  9  1.30263
  10  1.02691
  11  1.11946
  12  1.01461
  13  0.000369441
  14  0.999942
  15  1.07399
  16  1.00419
  17  1.01304
  18  1.00224
  19  0.00038928
  20  1.00236
  21  1.0086
  22  1.00397
  23  1.24158
  24  1.11944
  25  1.01277
  26  1.23632
  27  1.01682
  28  2.84974e-05
  29  1.58688e-05
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 30.3271037445

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  1.119e+00  1.000e-04  1.000e+04 ( 1.000e-11)
307        alpha:  2.635e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
308         beta:  1.845e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  2.447e-10  1.587e-05  0.000e+00  1.000e+01 ( 1.000e+00)
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.000e-02  2.850e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -3.5527136788e-15

TS (Fixed Index): 0.00
Ra Dec: 121.356 61.794
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -2.34e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135441/likelihoodResults_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.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): 101
logL (Free Index) = 30.3271902414
delta logL = -8.64968897858e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 30.3271902414
delta logL = -8.64968897858e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.6348       1.0000          .0000       5.0000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30.32719     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.6348        1.0003        .41228         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.63483
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   30.32719     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       1.3990        1.2245        .41228        .53958E-01
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.02919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135441': 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): 101
logL (Free Index) = 30.3271902414
delta logL = -8.64968897858e-05

Extracting fit parameters...

4FGL J0805.4+6147
   Spectrum: LogParabola
306         norm:  1.245e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11) fixed
307        alpha:  2.635e+00  1.029e+00  0.000e+00  5.000e+00 ( 1.000e+00)
308         beta:  1.845e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
309           Eb:  3.489e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
722    Prefactor:  7.419e-07  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
723        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
724        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
721   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 121.356 61.794

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/135441/cmap_HighResolution_550627201_550886401_4FGL_J0805.4+6147_daily_bin1201.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-2.34e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-29 02:24:08.356617', job_id='135441', GAL2='0.00', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630229048.36', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.00', dlogl='-8.65e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.63' WHERE bin_id='1201' AND source_name='4FGL J0805.4+6147' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 02:24:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 135441: <4FGL_J0805.4+6147_daily_bin1201> in cluster <slac> Done

Job <4FGL_J0805.4+6147_daily_bin1201> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 29 02:15:38 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 02:15:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 02:15:40 2021
Terminated at Sun Aug 29 02:24:11 2021
Results reported at Sun Aug 29 02:24:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0805.4+6147_daily_bin1201 121.356 61.7937 550627201 550886401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0805.4+6147 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   334.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   508 sec.
    Turnaround time :                            513 sec.

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

