/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 2 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7450
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin876
RA = 165.772, Dec = 11.9654
tmin = 466387201, tmax = 466646401
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='441350', job_status='RUN', time_executed='2021-09-03 04:01:55.133484', time_epoch_executed='1630666915.13' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='876'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441350

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441350/ft1_4FGL_J1103.0+1157_daily_bin876.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441350/ft1_4FGL_J1103.0+1157_daily_bin876.fits outfile=/scratch/kocevski/441350/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin876.fits ra=165.772 dec=11.9654 rad=12.0 tmin=466387201.0 tmax=466646401.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.61
user 3.41
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.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/441350/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin876.fits evtable="EVENTS" outfile="/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits" evtable="EVENTS" scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits sctable="SC_DATA" outfile=/scratch/kocevski/441350/ltcube_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.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/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits
.....................!
real 11.74
user 11.40
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits sctable="SC_DATA" expcube=/scratch/kocevski/441350/ltcube_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits outfile=/scratch/kocevski/441350/expmap_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.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/441350/ltcube_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits
.....................!
real 191.11
user 186.26
sys 4.52

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

Setting source of interest to:
4FGL J1103.0+1157 @ 165.772 11.9654

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits outfile=/scratch/kocevski/441350/cmap_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.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=165.772 yref=11.9654 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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits outfile=/scratch/kocevski/441350/cmap_HighResolution_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.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=165.772 yref=11.9654 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/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/441350/Model_4FGL_J1103.0+1157_daily_bin876.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/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits.....................!
real 53.26
user 51.91
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits', '/scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits', expMap='/scratch/kocevski/441350/expmap_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits', expCube='/scratch/kocevski/441350/ltcube_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/441350/Model_4FGL_J1103.0+1157_daily_bin876.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1103.0+1157'

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/441350/ft1_filtered_4FGL_J1103.0+1157_daily_bin876.fits
Spacecraft file(s): /scratch/kocevski/441350/ft2_4FGL_J1103.0+1157_daily_bin876.fits
Exposure map: /scratch/kocevski/441350/expmap_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits
Exposure cube: /scratch/kocevski/441350/ltcube_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/441350/Model_4FGL_J1103.0+1157_daily_bin876.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) = 5247.71664059

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4714       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.6377       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.6229       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.937       1.0000         .10000E-03   10000.    
     7 'norm      '    .60335       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2473       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.305       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4974       1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.654       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10057E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.8620       1.0000         .10000E-03   10000.    
    15 'Prefactor '    78.498       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0354       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5247.667     FROM MIGRAD    STATUS=CONVERGED    329 CALLS     1384 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1845        .37018E-07** at limit **
   2  Prefactor     1.4725        3.5392       -.12085E-05   -.79888E-03
   3  Prefactor     5.6364        6.5029        .69721E-06   -.35233E-03
   4  Prefactor     .10000E-03    7.5098       -.69480E-07** at limit **
   5  Prefactor     1.6530        27.521       -.44872E-05   -.38086E-03
   6  Prefactor     13.942        13.907        .17883E-05    .65714E-04
   7  norm          .60338        .55837       -.19211E-06   -.20457E-03
   8  Prefactor     4.2478        9.2138        .17864E-05   -.37357E-03
   9  Prefactor     12.194        26.539       -.14880E-05   -.51071E-03
  10  norm          1.4973        1.1025       -.10289E-06   -.65224E-03
  11  Prefactor     19.654        17.981       -.48229E-06    .16829E-04
  12  Prefactor     .10000E-03    3.0043        .28726E-07** at limit **
  13  norm          .10000E-03    3.9961        .59282E-07** at limit **
  14  Prefactor     9.8589        13.001       -.30268E-05    .19080E-03
  15  Prefactor     78.483        48.817       -.10635E-04    .46160E-03
  16  Normalizat    1.0356        .20104        .37157E-05    .44300E-05
  17  Prefactor     1.0133        .17917       -.68325E-06    .16697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.47246
  Prefactor  = 5.6364
  Prefactor  = 0.0001
  Prefactor  = 1.65299
  Prefactor  = 13.9421
  norm       = 0.603377
  Prefactor  = 4.24783
  Prefactor  = 12.1942
  norm       = 1.49726
  Prefactor  = 19.6536
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.85893
  Prefactor  = 78.4829
  Normalizat = 1.0356
  Prefactor  = 1.01333
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.667     FROM HESSE     STATUS=OK           229 CALLS     1613 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2375        .16103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.4725        3.6082        .20263E-03   -1.5465    
   3  Prefactor     5.6364        6.4815        .16919E-03   -1.5233    
   4  Prefactor     .10000E-03    7.6283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6530        22.648        .33216E-03   -1.5451    
   6  Prefactor     13.942        14.092        .10729E-03   -1.4961    
   7  norm          .60338        .55566        .44019E-03   -1.5553    
   8  Prefactor     4.2478        9.3787        .19551E-03   -1.5296    
   9  Prefactor     12.194        24.711        .57097E-03   -1.5009    
  10  norm          1.4973        1.1053        .17503E-03   -1.5463    
  11  Prefactor     19.654        17.990        .90344E-04   -1.4821    
  12  Prefactor     .10000E-03    3.0140        .12259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    4.0080        .14142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.8589        13.024        .12760E-03   -1.5080    
  15  Prefactor     78.483        47.751        .45326E-04   -1.3934    
  16  Normalizat    1.0356        .22843        .25247E-03   -.91847    
  17  Prefactor     1.0133        .20289        .24332E-03   -.92286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03653e-09
Minuit parameter uncertainties:
  1  2.96526e-06
  2  3.60869
  3  6.48226
  4  1.53582e-05
  5  12.2424
  6  14.0953
  7  0.555664
  8  9.3819
  9  24.7313
  10  1.10531
  11  17.9951
  12  8.25999e-06
  13  1.52207e-05
  14  13.0276
  15  47.7741
  16  0.228642
  17  0.203045
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.497e+00  1.105e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.297e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.013e+00  2.030e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.036e+00  2.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.19
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.00e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.32e-05 +/- 9.76e-06

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) = 5247.43950531
delta logL = 0.227863012556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5247.41209361
delta logL = 0.255274719523

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2157       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7207       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0560       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0027       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5247.412     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2154        .94891        .10243E-01   -.34308E-04
   2  alpha         1.7205        .51958        .41646       -.28224E-04
   3  Normalizat    1.0560        .18528        .40171E-01    .87249E-05
   4  Prefactor     1.0027        .17706        .44744E-01    .71417E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21538
  alpha      = 1.72046
  Normalizat = 1.05601
  Prefactor  = 1.00274
 **********
 **   18 **HESSE 
 **********

 FCN=   5247.412     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2154        1.1632        .60640E-04   -1.5487    
   2  alpha         1.7205        .74974        .15544E-01   -.31710    
   3  Normalizat    1.0560        .20940        .25034E-03   -.91177    
   4  Prefactor     1.0027        .19974        .24445E-03   -.92638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31955e-09
Minuit parameter uncertainties:
  1  1.16324
  2  0.762785
  3  0.209568
  4  0.199892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441350': 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) = 5247.41209357
delta logL = 0.255274760369

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.215e+00  1.163e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  1.720e+00  7.628e-01  0.000e+00  5.000e+00 ( 1.000e+00)
269         beta:  9.765e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
270           Eb:  4.926e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
581    Prefactor:  1.003e+00  1.999e-01  0.000e+00  1.000e+01 ( 1.000e+00)
582        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
583        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
580   Normalization:  1.056e+00  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.70
Ra Dec: 165.772 11.965
Photon Index (Free Index): 1.72 +/- 0.76
Photon Flux (Free Index): 2.27e-08 +/- 2.61e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.83e-05

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/441350/cmap_HighResolution_466387201_466646401_4FGL_J1103.0+1157_daily_bin876.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.00e-08', energy_flux2='1.77e-05', photon_flux_error='2.95e-08', dlogl='2.55e-01', energy_flux='1.32e-05', photon_flux2='2.27e-08', job_status='DONE', time_completed='2021-09-03 04:09:53.923350', photon_index_error2='0.76', photon_index2='1.72', ts='4.19', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.83e-05', EG='1.04', time_epoch_completed='1630667393.92', return_code='0', job_id='441350', GAL2='1.00', EG2='1.06', return_code2='0', energy_flux_error='9.76e-06', photon_flux_error2='2.61e-08', ts2='4.70', photon_index='2.30' WHERE bin_id='876' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:09:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 441350: <4FGL_J1103.0+1157_daily_bin876> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin876> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 04:01:22 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 04:01:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 04:01:44 2021
Terminated at Fri Sep  3 04:09:54 2021
Results reported at Fri Sep  3 04:09:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin876 165.772 11.9654 466387201 466646401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1103.0+1157 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   476.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             339.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            512 sec.

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

