/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 137 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 = 7479
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin69
RA = 165.772, Dec = 11.9654
tmin = 257212801, tmax = 257472001
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='436742', job_status='RUN', time_executed='2021-09-03 03:49:09.675220', time_epoch_executed='1630666149.68' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='69'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436742/ft1_4FGL_J1103.0+1157_daily_bin69.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436742/ft2_4FGL_J1103.0+1157_daily_bin69.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436742/ft1_4FGL_J1103.0+1157_daily_bin69.fits outfile=/scratch/kocevski/436742/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin69.fits ra=165.772 dec=11.9654 rad=12.0 tmin=257212801.0 tmax=257472001.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 2.33
user 2.10
sys 0.17

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436742/ft1_filtered_4FGL_J1103.0+1157_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/436742/ft2_4FGL_J1103.0+1157_daily_bin69.fits sctable="SC_DATA" expcube=/scratch/kocevski/436742/ltcube_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.fits outfile=/scratch/kocevski/436742/expmap_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.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/436742/ltcube_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.fits
.....................!
real 190.44
user 185.49
sys 4.53

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/436742/ft1_filtered_4FGL_J1103.0+1157_daily_bin69.fits scfile=/scratch/kocevski/436742/ft2_4FGL_J1103.0+1157_daily_bin69.fits outfile=/scratch/kocevski/436742/cmap_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.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.56
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436742/ft1_filtered_4FGL_J1103.0+1157_daily_bin69.fits scfile=/scratch/kocevski/436742/ft2_4FGL_J1103.0+1157_daily_bin69.fits outfile=/scratch/kocevski/436742/cmap_HighResolution_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.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/436742/ft1_filtered_4FGL_J1103.0+1157_daily_bin69.fits evtable="EVENTS" scfile=/scratch/kocevski/436742/ft2_4FGL_J1103.0+1157_daily_bin69.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/436742/Model_4FGL_J1103.0+1157_daily_bin69.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/436742/ft1_filtered_4FGL_J1103.0+1157_daily_bin69.fits.....................!
real 75.83
user 74.40
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .66164       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4495       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.5714       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.2704       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1684       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.2136       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.8625       1.0000         .10000E-03   10000.    
    13 'norm      '    .22122E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.1471       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .93964       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=   8049.791     FROM MIGRAD    STATUS=CONVERGED    323 CALLS     1355 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66202        5.0545        .70429E-06   -.30384E-04
   2  Prefactor     .10000E-03    1.4483       -.30985E-07** at limit **
   3  Prefactor     2.4497        5.1289        .80565E-07    .50621E-04
   4  Prefactor     5.5710        5.8829       -.24595E-06   -.12615E-04
   5  Prefactor     .10000E-03    1.5746       -.12693E-07** at limit **
   6  Prefactor     .10000E-03    2.2147       -.13676E-07** at limit **
   7  norm          3.2704        .80266       -.28233E-06    .10349E-03
   8  Prefactor     2.1689        7.7148        .68498E-05   -.14004E-03
   9  Prefactor     .10000E-03    2.9826       -.42719E-07** at limit **
  10  norm          1.2144        1.2500        .30168E-06    .18902E-02
  11  Prefactor     .10000E-03    10.528        .34729E-07** at limit **
  12  Prefactor     3.8625        5.0067        .13668E-05   -.97210E-04
  13  norm          .10001E-03    15.440        .14974E-05** at limit **
  14  Prefactor     .10000E-03    2.7889        .81779E-08** at limit **
  15  Prefactor     .10000E-03    18.552        .87720E-06** at limit **
  16  Normalizat    1.1471        .15300       -.17642E-06    .74496E-03
  17  Prefactor     .93968        .14127        .38961E-06    .69692E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.662023
  Prefactor  = 0.0001
  Prefactor  = 2.44968
  Prefactor  = 5.57099
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.27037
  Prefactor  = 2.16888
  Prefactor  = 0.0001
  norm       = 1.21441
  Prefactor  = 0.0001
  Prefactor  = 3.86252
  norm       = 0.00010001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.14707
  Prefactor  = 0.939685
 **********
 **   18 **HESSE 
 **********

 FCN=   8049.791     FROM HESSE     STATUS=OK           219 CALLS     1574 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66202        4.9873        .39225E-03   -1.5545    
   2  Prefactor     .10000E-03    1.4880        .21063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4497        5.1098        .26137E-03   -1.5395    
   4  Prefactor     5.5710        5.8728        .17020E-03   -1.5236    
   5  Prefactor     .10000E-03    1.5783        .10994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2180        .13039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.2704        .80647        .33534E-04   -1.5346    
   8  Prefactor     2.1689        7.7795        .13983E-02   -1.5413    
   9  Prefactor     .10000E-03    2.9882        .15133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2144        1.2390        .95422E-04   -1.5488    
  11  Prefactor     .10000E-03    10.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.8625        5.0091        .10266E-02   -1.5315    
  13  norm          .10001E-03    16.154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.8013        .14632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.1471        .17854        .23953E-03   -.88255    
  17  Prefactor     .93968        .16525        .24865E-03   -.94768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4606e-09
Minuit parameter uncertainties:
  1  3.63427
  2  3.40404e-06
  3  5.11074
  4  5.87345
  5  1.51894e-06
  6  1.42044e-06
  7  0.80647
  8  7.78317
  9  8.10546e-07
  10  1.239
  11  3.90334e-05
  12  5.00964
  13  0.000816438
  14  4.53405e-06
  15  0.000113617
  16  0.178635
  17  0.165343
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.214e+00  1.239e+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:  9.397e-01  1.653e-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.147e+00  1.786e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.26
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.24e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.09e-05

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

Saving results to:
/scratch/kocevski/436742/likelihoodResults_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.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) = 8047.86410414
delta logL = 1.92674871212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8047.85524767
delta logL = 1.93560517515

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79240       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8290       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0483       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99894       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=   8047.855     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      230 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79294        5.4844        .85017E-02    .12788E-02
   2  alpha         3.8290        4.4023        .36688        .36998E-04
   3  Normalizat    1.0483        .49811E-01    .40670E-01    .13825E-04
   4  Prefactor     .99890        .47846E-01    .46254E-01    .23172E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.792943
  alpha      = 3.82904
  Normalizat = 1.04835
  Prefactor  = 0.998899
 **********
 **   18 **HESSE 
 **********

 FCN=   8047.855     FROM HESSE     STATUS=OK            31 CALLS      261 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79294        .82474        .38283E-04   -1.5530    
   2  alpha         3.8290        .82223        .16276E-02    .56051    
   3  Normalizat    1.0483        .18250        .24857E-03   -.91428    
   4  Prefactor     .99890        .16862        .24189E-03   -.92766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60762e-11
Minuit parameter uncertainties:
  1  0.824756
  2  0.844441
  3  0.182609
  4  0.168708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436742': 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) = 8047.85524653
delta logL = 1.93560631464

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  7.929e-01  8.248e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  3.829e+00  8.444e-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:  9.989e-01  1.687e-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.048e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.51
Ra Dec: 165.772 11.965
Photon Index (Free Index): 3.83 +/- 0.84
Photon Flux (Free Index): 1.07e-07 +/- 5.68e-08
Energy Flux (Free Index): 1.70e-05 +/- 8.81e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/436742/cmap_HighResolution_257212801_257472001_4FGL_J1103.0+1157_daily_bin69.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-05', comment='SUCCESS', photon_flux='3.24e-08', energy_flux2='1.70e-05', photon_flux_error='3.31e-08', dlogl='1.94e+00', energy_flux='1.07e-05', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-03 03:59:18.428629', photon_index_error2='0.84', photon_index2='3.83', ts='1.26', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='9.99e-08', energy_flux_error2='8.81e-06', EG='1.15', time_epoch_completed='1630666758.43', return_code='0', job_id='436742', GAL2='1.00', EG2='1.05', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='5.68e-08', ts2='5.51', photon_index='2.30' WHERE bin_id='69' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 03:59:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0179>
Subject: Job 436742: <4FGL_J1103.0+1157_daily_bin69> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin69> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:46:25 2021
Job was executed on host(s) <bullet0179>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:46:43 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:46:43 2021
Terminated at Fri Sep  3 03:59:19 2021
Results reported at Fri Sep  3 03:59:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin69 165.772 11.9654 257212801 257472001 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 :                                   605.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             310.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            774 sec.

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

