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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin1089
RA = 165.772, Dec = 11.9654
tmin = 521596801, tmax = 521856001
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='441671', job_status='RUN', time_executed='2021-09-03 04:04:52.555860', time_epoch_executed='1630667092.56' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='1089'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/441671

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/441671/ft1_4FGL_J1103.0+1157_daily_bin1089.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/441671/ft1_4FGL_J1103.0+1157_daily_bin1089.fits outfile=/scratch/kocevski/441671/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin1089.fits ra=165.772 dec=11.9654 rad=12.0 tmin=521596801.0 tmax=521856001.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 4.41
user 4.14
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/441671/ft1_filtered_4FGL_J1103.0+1157_daily_bin1089.fits" evtable="EVENTS" scfile=/scratch/kocevski/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits sctable="SC_DATA" outfile=/scratch/kocevski/441671/ltcube_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.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/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits
.....................!
real 17.08
user 16.64
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/441671/ft1_filtered_4FGL_J1103.0+1157_daily_bin1089.fits evtable="EVENTS" scfile=/scratch/kocevski/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits sctable="SC_DATA" expcube=/scratch/kocevski/441671/ltcube_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.fits outfile=/scratch/kocevski/441671/expmap_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.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/441671/ltcube_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.fits
.....................!
real 194.50
user 188.43
sys 5.42

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/441671/ft1_filtered_4FGL_J1103.0+1157_daily_bin1089.fits scfile=/scratch/kocevski/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits outfile=/scratch/kocevski/441671/cmap_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.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.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/441671/ft1_filtered_4FGL_J1103.0+1157_daily_bin1089.fits scfile=/scratch/kocevski/441671/ft2_4FGL_J1103.0+1157_daily_bin1089.fits outfile=/scratch/kocevski/441671/cmap_HighResolution_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.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.58
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3621       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.2995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5154       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.147       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .30452       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.4478       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12905E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .30335E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.4193       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.852       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0086       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0650       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=   4659.614     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1383 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3611        13.374       -.10382E-05   -.37711E-03
   2  Prefactor     .10000E-03    2.3362       -.72780E-07** at limit **
   3  Prefactor     7.2984        6.6392        .89483E-06   -.13581E-02
   4  Prefactor     4.5161        8.2911       -.63956E-06   -.57101E-03
   5  Prefactor     13.147        11.574       -.56980E-06   -.86205E-03
   6  Prefactor     .10000E-03    7.7746        .73795E-06** at limit **
   7  norm          .30452        .35210        .31067E-07    .24492E-03
   8  Prefactor     .10000E-03    3.0796       -.58541E-07** at limit **
   9  Prefactor     .10000E-03    6.3631       -.96913E-07** at limit **
  10  norm          4.4478        1.9689       -.72132E-07   -.79359E-03
  11  Prefactor     .10001E-03    42.499       -.25463E-05** at limit **
  12  Prefactor     .10001E-03    20.274        .12030E-04** at limit **
  13  norm          8.4171        12.181        .81663E-06   -.54571E-03
  14  Prefactor     16.847        13.245        .11762E-05    .33827E-03
  15  Prefactor     .10001E-03    12.236       -.27819E-05** at limit **
  16  Normalizat    1.0087        .22589       -.39625E-06   -.84860E-03
  17  Prefactor     1.0650        .19924       -.97556E-06   -.90349E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.36115
  Prefactor  = 0.0001
  Prefactor  = 7.29836
  Prefactor  = 4.51613
  Prefactor  = 13.1468
  Prefactor  = 0.000100001
  norm       = 0.304519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.44778
  Prefactor  = 0.000100009
  Prefactor  = 0.00010001
  norm       = 8.41712
  Prefactor  = 16.8467
  Prefactor  = 0.000100011
  Normalizat = 1.00868
  Prefactor  = 1.06496
 **********
 **   18 **HESSE 
 **********

 FCN=   4659.614     FROM HESSE     STATUS=OK           223 CALLS     1606 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3611        13.408        .22070E-03   -1.5341    
   2  Prefactor     .10000E-03    2.4033        .20354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.2984        9.0312        .74228E-03   -1.5168    
   4  Prefactor     4.5161        8.3503        .18946E-03   -1.5283    
   5  Prefactor     13.147        11.611        .11047E-03   -1.4983    
   6  Prefactor     .10000E-03    7.8445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .30452        .33808        .42247E-03   -1.5598    
   8  Prefactor     .10000E-03    3.0862        .11696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3705        .16812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4478        1.9803        .60321E-04   -1.5286    
  11  Prefactor     .10001E-03    44.243        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    21.349        .32950E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.4171        13.293        .69079E-03   -1.5128    
  14  Prefactor     16.847        13.163        .97564E-04   -1.4887    
  15  Prefactor     .10001E-03    12.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0087        .26811        .26173E-03   -.92740    
  17  Prefactor     1.0650        .23307        .23965E-03   -.90594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67339e-09
Minuit parameter uncertainties:
  1  13.4201
  2  5.95256e-06
  3  9.03286
  4  8.35244
  5  11.613
  6  0.000163135
  7  0.338078
  8  6.68953e-06
  9  1.83327e-05
  10  1.98033
  11  0.00124274
  12  0.000943914
  13  13.2972
  14  13.1649
  15  0.000758923
  16  0.268467
  17  0.233295
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  4.448e+00  1.980e+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.065e+00  2.333e-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.009e+00  2.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.28
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.19e-07 +/- 5.28e-08
Energy Flux (Fixed Index): 3.93e-05 +/- 1.75e-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) = 4659.47199797
delta logL = 0.141625944476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4659.46544039
delta logL = 0.148183531559

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2475       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5903       1.0000          .0000       5.0000    
     3 'Normalizat'    .97155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0890       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=   4659.465     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      198 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2473        32.951        .48877E-02    .82218E-04
   2  alpha         2.5900        3.4223        .28490        .23795E-04
   3  Normalizat    .97189        .19330        .45809E-01   -.77469E-05
   4  Prefactor     1.0888        .14761        .38019E-01   -.95662E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.24725
  alpha      = 2.58999
  Normalizat = 0.971892
  Prefactor  = 1.0888
 **********
 **   18 **HESSE 
 **********

 FCN=   4659.465     FROM HESSE     STATUS=OK            31 CALLS      229 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2473        1.9605        .55924E-04   -1.5296    
   2  alpha         2.5900        .54705        .11548E-01    .36004E-01
   3  Normalizat    .97189        .25451        .26591E-03   -.93978    
   4  Prefactor     1.0888        .23276        .23735E-03   -.89825    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5515e-12
Minuit parameter uncertainties:
  1  1.96057
  2  0.551515
  3  0.254828
  4  0.232982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/441671': 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) = 4659.46543937
delta logL = 0.148184551053

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  4.247e+00  1.961e+00  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.590e+00  5.515e-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.089e+00  2.330e-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:  9.719e-01  2.548e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.65
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.59 +/- 0.55
Photon Flux (Free Index): 1.46e-07 +/- 7.82e-08
Energy Flux (Free Index): 3.76e-05 +/- 1.61e-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/441671/cmap_HighResolution_521596801_521856001_4FGL_J1103.0+1157_daily_bin1089.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.19e-07', energy_flux2='3.76e-05', photon_flux_error='5.28e-08', dlogl='1.48e-01', energy_flux='3.93e-05', photon_flux2='1.46e-07', job_status='DONE', time_completed='2021-09-03 04:12:54.354759', photon_index_error2='0.55', photon_index2='2.59', ts='13.28', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.61e-05', EG='1.01', time_epoch_completed='1630667574.35', return_code='0', job_id='441671', GAL2='1.09', EG2='0.97', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='7.82e-08', ts2='13.65', photon_index='2.30' WHERE bin_id='1089' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:12:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 441671: <4FGL_J1103.0+1157_daily_bin1089> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1089> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 04:01:43 2021
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 04:04:40 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:04:40 2021
Terminated at Fri Sep  3 04:12:55 2021
Results reported at Fri Sep  3 04:12:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin1089 165.772 11.9654 521596801 521856001 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 :                                   474.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   494 sec.
    Turnaround time :                            672 sec.

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

