/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 8 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 = 7469
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin346
RA = 165.772, Dec = 11.9654
tmin = 329011201, tmax = 329270401
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='438325', job_status='RUN', time_executed='2021-09-03 03:52:30.378961', time_epoch_executed='1630666350.38' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='346'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/438325

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/438325/ft1_4FGL_J1103.0+1157_daily_bin346.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/438325/ft1_4FGL_J1103.0+1157_daily_bin346.fits outfile=/scratch/kocevski/438325/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin346.fits ra=165.772 dec=11.9654 rad=12.0 tmin=329011201.0 tmax=329270401.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.52
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/438325/ft1_filtered_4FGL_J1103.0+1157_daily_bin346.fits" evtable="EVENTS" scfile=/scratch/kocevski/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits sctable="SC_DATA" outfile=/scratch/kocevski/438325/ltcube_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.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/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits
.....................!
real 11.83
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/438325/ft1_filtered_4FGL_J1103.0+1157_daily_bin346.fits evtable="EVENTS" scfile=/scratch/kocevski/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits sctable="SC_DATA" expcube=/scratch/kocevski/438325/ltcube_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.fits outfile=/scratch/kocevski/438325/expmap_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.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/438325/ltcube_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.fits
.....................!
real 191.26
user 186.50
sys 4.45

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/438325/ft1_filtered_4FGL_J1103.0+1157_daily_bin346.fits scfile=/scratch/kocevski/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits outfile=/scratch/kocevski/438325/cmap_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/438325/ft1_filtered_4FGL_J1103.0+1157_daily_bin346.fits scfile=/scratch/kocevski/438325/ft2_4FGL_J1103.0+1157_daily_bin346.fits outfile=/scratch/kocevski/438325/cmap_HighResolution_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9867       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.899       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.595       1.0000         .10000E-03   10000.    
     7 'norm      '    2.2544       1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.430       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .53745       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.003       1.0000         .10000E-03   10000.    
    13 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1803       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.353       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1236       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0063       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=   5749.344     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1568 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.163        .16225E-04** at limit **
   2  Prefactor     1.9867        4.9430       -.81743E-06   -.76226E-03
   3  Prefactor     .10000E-03    2.5261        .26480E-05** at limit **
   4  Prefactor     28.898        13.726       -.58631E-06    .11984E-03
   5  Prefactor     .10000E-03    2.5347       -.25534E-05** at limit **
   6  Prefactor     13.593        9.4684       -.11016E-06   -.56524E-04
   7  norm          2.2543        1.1622       -.22119E-06    .93617E-04
   8  Prefactor     40.432        19.429        .14150E-05    .35052E-04
   9  Prefactor     .10000E-03    3.0100       -.63766E-07** at limit **
  10  norm          .53734        1.1508       -.35047E-06   -.14352E-02
  11  Prefactor     .10000E-03    15.563       -.13315E-04** at limit **
  12  Prefactor     15.004        9.2929        .16329E-06    .14194E-05
  13  norm          .10000E-03    10.437       -.60477E-05** at limit **
  14  Prefactor     3.1791        10.454       -.17837E-05   -.16916E-03
  15  Prefactor     19.351        37.904       -.49831E-05    .24096E-04
  16  Normalizat    1.1235        .20608        .93626E-06   -.34396E-04
  17  Prefactor     1.0063        .18708       -.13592E-07    .60451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.98673
  Prefactor  = 0.0001
  Prefactor  = 28.8983
  Prefactor  = 0.0001
  Prefactor  = 13.5933
  norm       = 2.25425
  Prefactor  = 40.432
  Prefactor  = 0.0001
  norm       = 0.537338
  Prefactor  = 0.0001
  Prefactor  = 15.0043
  norm       = 0.0001
  Prefactor  = 3.17913
  Prefactor  = 19.3505
  Normalizat = 1.12353
  Prefactor  = 1.0063
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.344     FROM HESSE     STATUS=OK           229 CALLS     1797 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.9867        4.9218        .23722E-03   -1.5426    
   3  Prefactor     .10000E-03    2.5339        .11761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     28.898        13.574        .74527E-04   -1.4632    
   5  Prefactor     .10000E-03    2.5402        .11788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.593        9.4693        .10863E-03   -1.4970    
   7  norm          2.2543        1.1788        .45369E-04   -1.5408    
   8  Prefactor     40.432        19.757        .63040E-04   -1.4435    
   9  Prefactor     .10000E-03    3.0108        .12848E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .53734        .99301        .11298E-02   -1.5561    
  11  Prefactor     .10000E-03    15.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.004        9.2783        .10340E-03   -1.4933    
  13  norm          .10000E-03    10.636        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1791        10.457        .22724E-03   -1.5351    
  15  Prefactor     19.351        37.925        .91044E-04   -1.4828    
  16  Normalizat    1.1235        .23964        .26790E-03   -.89000    
  17  Prefactor     1.0063        .21905        .26346E-03   -.92520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24592e-09
Minuit parameter uncertainties:
  1  0.000143844
  2  4.92275
  3  2.16614e-06
  4  13.5758
  5  3.4152e-06
  6  9.47036
  7  1.17882
  8  19.7605
  9  8.12127e-07
  10  0.993037
  11  2.30015e-05
  12  9.27916
  13  7.28586e-05
  14  10.4634
  15  37.972
  16  0.239871
  17  0.219243
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  5.373e-01  9.930e-01  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.006e+00  2.192e-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.124e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.43
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 9.08e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.00e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/438325/likelihoodResults_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.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) = 5747.189289
delta logL = 2.15477780815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.14068011
delta logL = 2.20338669063

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66294E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    .36569       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0026       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=   5747.141     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      226 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .66007E-01    .87842E-01    .44076E-02   -.41411E-02
   2  alpha         .36431        .50520        .41464        .23178E-04
   3  Normalizat    1.1318        .19683        .60302E-01   -.38672E-05
   4  Prefactor     1.0025        .18531        .44781E-01    .12273E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0660072
  alpha      = 0.364308
  Normalizat = 1.13177
  Prefactor  = 1.00252
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.141     FROM HESSE     STATUS=OK            35 CALLS      261 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .66007E-01    .14007        .18365E-03   -1.5657    
   2  alpha         .36431        .63521        .21430E-01   -1.0242    
   3  Normalizat    1.1318        .23095        .26670E-03   -.88738    
   4  Prefactor     1.0025        .21755        .26371E-03   -.92646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.78491e-11
Minuit parameter uncertainties:
  1  0.140067
  2  0.663687
  3  0.231156
  4  0.217742
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/438325': 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) = 5747.14067796
delta logL = 2.20338884764

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  6.601e-02  1.401e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  3.643e-01  6.637e-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  2.177e-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.132e+00  2.312e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.83
Ra Dec: 165.772 11.965
Photon Index (Free Index): 0.36 +/- 0.66
Photon Flux (Free Index): 4.16e-09 +/- 4.30e-09
Energy Flux (Free Index): 7.54e-05 +/- 1.07e-04

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/438325/cmap_HighResolution_329011201_329270401_4FGL_J1103.0+1157_daily_bin346.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.00e-05', comment='SUCCESS', energy_flux2='7.54e-05', dlogl='2.20e+00', photon_flux2='4.16e-09', job_status='DONE', time_completed='2021-09-03 04:01:29.018386', photon_index_error2='0.66', photon_index2='0.36', ts='0.43', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.08e-08', energy_flux_error2='1.07e-04', EG='1.12', time_epoch_completed='1630666889.02', return_code='0', job_id='438325', GAL2='1.00', EG2='1.13', return_code2='0', photon_flux_error2='4.30e-09', ts2='4.83', photon_index='2.30' WHERE bin_id='346' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:01:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 438325: <4FGL_J1103.0+1157_daily_bin346> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin346> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:51:40 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:52:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 03:52:14 2021
Terminated at Fri Sep  3 04:01:29 2021
Results reported at Fri Sep  3 04:01:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin346 165.772 11.9654 329011201 329270401 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 :                                   535.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   555 sec.
    Turnaround time :                            589 sec.

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

