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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin791
RA = 165.772, Dec = 11.9654
tmin = 444355201, tmax = 444614401
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='440089', job_status='RUN', time_executed='2021-09-03 04:00:47.045651', time_epoch_executed='1630666847.05' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='791'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/440089

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/440089/ft1_4FGL_J1103.0+1157_daily_bin791.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/440089/ft1_4FGL_J1103.0+1157_daily_bin791.fits outfile=/scratch/kocevski/440089/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin791.fits ra=165.772 dec=11.9654 rad=12.0 tmin=444355201.0 tmax=444614401.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 6.56
user 6.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits" evtable="EVENTS" scfile=/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits sctable="SC_DATA" outfile=/scratch/kocevski/440089/ltcube_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.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/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits
.....................!
real 11.72
user 11.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits evtable="EVENTS" scfile=/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits sctable="SC_DATA" expcube=/scratch/kocevski/440089/ltcube_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits outfile=/scratch/kocevski/440089/expmap_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.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/440089/ltcube_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits
.....................!
real 191.12
user 186.60
sys 3.94

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/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits scfile=/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits outfile=/scratch/kocevski/440089/cmap_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits scfile=/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits outfile=/scratch/kocevski/440089/cmap_HighResolution_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.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.90
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits evtable="EVENTS" scfile=/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/440089/Model_4FGL_J1103.0+1157_daily_bin791.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/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits....................!
real 50.82
user 49.34
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits', '/scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits', expMap='/scratch/kocevski/440089/expmap_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits', expCube='/scratch/kocevski/440089/ltcube_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/440089/Model_4FGL_J1103.0+1157_daily_bin791.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/440089/ft1_filtered_4FGL_J1103.0+1157_daily_bin791.fits
Spacecraft file(s): /scratch/kocevski/440089/ft2_4FGL_J1103.0+1157_daily_bin791.fits
Exposure map: /scratch/kocevski/440089/expmap_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits
Exposure cube: /scratch/kocevski/440089/ltcube_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/440089/Model_4FGL_J1103.0+1157_daily_bin791.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) = 4747.44577794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7605       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1279       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8250       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1362       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.058       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.7461       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6007       1.0000         .10000E-03   10000.    
    10 'norm      '    9.0625       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.6834       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.6687       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.5020       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .58299       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=   4747.430     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1373 TOTAL
                     EDM=   .70E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7578        17.073        .33396E-06    .58391E-05
   2  Prefactor     7.1280        4.5368       -.10577E-06   -.31966E-04
   3  Prefactor     2.8237        13.367        .33447E-06    .15480E-04
   4  Prefactor     4.1361        5.7438        .14326E-06    .50476E-05
   5  Prefactor     18.061        14.054       -.63021E-06    .34424E-05
   6  Prefactor     .10000E-03    7.3772        .29916E-06** at limit **
   7  norm          2.7463        .83923       -.85321E-08   -.11916E-04
   8  Prefactor     .10000E-03    12.876        .13296E-06** at limit **
   9  Prefactor     1.5853        49.211       -.85580E-06   -.19811E-04
  10  norm          9.0627        2.7028       -.52762E-07    .31569E-04
  11  Prefactor     .10000E-03    7.6435       -.40461E-06** at limit **
  12  Prefactor     .10000E-03    2.5609       -.63388E-07** at limit **
  13  norm          .10000E-03    12.029       -.13547E-06** at limit **
  14  Prefactor     5.6832        8.4861        .15527E-05    .79493E-04
  15  Prefactor     9.6483        42.390       -.48093E-05   -.38597E-04
  16  Normalizat    1.5019        .25856        .22023E-05   -.11820E-03
  17  Prefactor     .58311        .21257       -.32510E-05    .28177E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.75778
  Prefactor  = 7.12801
  Prefactor  = 2.82365
  Prefactor  = 4.13613
  Prefactor  = 18.0606
  Prefactor  = 0.0001
  norm       = 2.74632
  Prefactor  = 0.0001
  Prefactor  = 1.58533
  norm       = 9.06266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.68323
  Prefactor  = 9.64832
  Normalizat = 1.50194
  Prefactor  = 0.583106
 **********
 **   18 **HESSE 
 **********

 FCN=   4747.430     FROM HESSE     STATUS=OK           227 CALLS     1600 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7578        17.195        .24498E-03   -1.5376    
   2  Prefactor     7.1280        4.5382        .11118E-03   -1.5174    
   3  Prefactor     2.8237        13.514        .24197E-03   -1.5372    
   4  Prefactor     4.1361        5.7329        .18751E-03   -1.5301    
   5  Prefactor     18.061        13.966        .94251E-04   -1.4858    
   6  Prefactor     .10000E-03    7.4095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7463        .83689        .33460E-04   -1.5377    
   8  Prefactor     .10000E-03    13.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5853        50.798        .33508E-03   -1.5456    
  10  norm          9.0627        2.6990        .57670E-04   -1.5106    
  11  Prefactor     .10000E-03    7.6660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.5637        .10770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    12.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6832        8.6805        .84247E-03   -1.5231    
  15  Prefactor     9.6483        43.423        .12888E-03   -1.5087    
  16  Normalizat    1.5019        .28706        .24157E-03   -.77724    
  17  Prefactor     .58311        .23174        .32211E-03   -1.0830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76294e-10
Minuit parameter uncertainties:
  1  13.7781
  2  4.53845
  3  12.3589
  4  5.73367
  5  13.9684
  6  2.45334e-05
  7  0.83689
  8  9.79586e-06
  9  17.9639
  10  2.69903
  11  1.74884e-05
  12  2.94653e-06
  13  2.14666e-05
  14  8.68237
  15  40.9865
  16  0.287368
  17  0.232121
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  9.063e+00  2.699e+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:  5.831e-01  2.321e-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.502e+00  2.874e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 37.76
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 2.42e-07 +/- 7.20e-08
Energy Flux (Fixed Index): 8.00e-05 +/- 2.38e-05

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) = 4745.04141417
delta logL = 2.38860275144

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4744.96097423
delta logL = 2.46904269723

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9716       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6441       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6045       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .52551       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=   4744.961     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      211 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.9716        2.6233        .35503E-02   -.12455E-02
   2  alpha         1.6441        .23945        .15068       -.34407E-04
   3  Normalizat    1.6045        .22767        .53258E-01   -.95024E-06
   4  Prefactor     .52549        .19784        .76312E-01    .25672E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.97155
  alpha      = 1.64413
  Normalizat = 1.60452
  Prefactor  = 0.525493
 **********
 **   18 **HESSE 
 **********

 FCN=   4744.961     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.9716        2.9984        .58475E-04   -1.5143    
   2  alpha         1.6441        .28048        .65075E-02   -.34942    
   3  Normalizat    1.6045        .26342        .23545E-03   -.74882    
   4  Prefactor     .52549        .22677        .33795E-03   -1.1082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9081e-10
Minuit parameter uncertainties:
  1  2.99843
  2  0.281153
  3  0.263647
  4  0.227163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/440089': 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) = 4744.96097422
delta logL = 2.46904270342

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  7.972e+00  2.998e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  1.644e+00  2.812e-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:  5.255e-01  2.272e-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.605e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 42.36
Ra Dec: 165.772 11.965
Photon Index (Free Index): 1.64 +/- 0.28
Photon Flux (Free Index): 1.45e-07 +/- 6.20e-08
Energy Flux (Free Index): 1.32e-04 +/- 5.82e-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/440089/cmap_HighResolution_444355201_444614401_4FGL_J1103.0+1157_daily_bin791.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-07', energy_flux2='1.32e-04', photon_flux_error='7.20e-08', dlogl='2.47e+00', energy_flux='8.00e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-09-03 04:08:48.719818', photon_index_error2='0.28', photon_index2='1.64', ts='37.76', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='5.82e-05', EG='1.50', time_epoch_completed='1630667328.72', return_code='0', job_id='440089', GAL2='0.53', EG2='1.60', return_code2='0', energy_flux_error='2.38e-05', photon_flux_error2='6.20e-08', ts2='42.36', photon_index='2.30' WHERE bin_id='791' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:08:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 440089: <4FGL_J1103.0+1157_daily_bin791> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin791> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep  3 03:56:41 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 04:00:29 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:00:29 2021
Terminated at Fri Sep  3 04:08:49 2021
Results reported at Fri Sep  3 04:08:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin791 165.772 11.9654 444355201 444614401 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.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             364.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   499 sec.
    Turnaround time :                            728 sec.

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

