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


Performing analysis on: 4FGL_J1103.0+1157_daily_bin83
RA = 165.772, Dec = 11.9654
tmin = 260841601, tmax = 261100801
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='436764', job_status='RUN', time_executed='2021-09-03 03:50:06.951501', time_epoch_executed='1630666206.95' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436764

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436764/ft1_4FGL_J1103.0+1157_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436764/ft1_4FGL_J1103.0+1157_daily_bin83.fits outfile=/scratch/kocevski/436764/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin83.fits ra=165.772 dec=11.9654 rad=12.0 tmin=260841601.0 tmax=261100801.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 1.58
user 1.41
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.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/436764/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin83.fits evtable="EVENTS" outfile="/scratch/kocevski/436764/ft1_filtered_4FGL_J1103.0+1157_daily_bin83.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436764/ft1_filtered_4FGL_J1103.0+1157_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/436764/ltcube_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.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/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits
.....................!
real 12.29
user 11.94
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436764/ft1_filtered_4FGL_J1103.0+1157_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/436764/ltcube_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.fits outfile=/scratch/kocevski/436764/expmap_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.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/436764/ltcube_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.fits
.....................!
real 190.16
user 184.96
sys 4.84

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/436764/ft1_filtered_4FGL_J1103.0+1157_daily_bin83.fits scfile=/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits outfile=/scratch/kocevski/436764/cmap_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436764/ft1_filtered_4FGL_J1103.0+1157_daily_bin83.fits scfile=/scratch/kocevski/436764/ft2_4FGL_J1103.0+1157_daily_bin83.fits outfile=/scratch/kocevski/436764/cmap_HighResolution_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.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.55
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10987E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3885       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.8788       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.1216       1.0000         .10000E-03   10000.    
     7 'norm      '    1.2322       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .57695       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9938       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8500       1.0000         .10000E-03   10000.    
    13 'norm      '    5.6670       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.9084       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .79719       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.1718       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=   8105.234     FROM MIGRAD    STATUS=CONVERGED    328 CALLS     1376 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5521        .90712E-02** at limit **
   2  Prefactor     .10000E-03    .98496        .56581E-01** at limit **
   3  Prefactor     .10000E-03    4.0657        .90712E-02** at limit **
   4  Prefactor     4.3875        4.9387        .48064E-02   -.61842E-03
   5  Prefactor     5.8807        6.9976        .41407E-02    .10307E-02
   6  Prefactor     5.1195        7.2798        .44413E-02   -.82453E-03
   7  norm          1.2323        .48703        .84888E-02   -.67517E-04
   8  Prefactor     .10000E-03    2.5604        .90712E-02** at limit **
   9  Prefactor     .10000E-03    5.7482        .90712E-02** at limit **
  10  norm          .57715        .72585        .17004E-01    .57465E-03
  11  Prefactor     5.9940        13.111        .41002E-02    .33331E-03
  12  Prefactor     8.8504        5.1685        .33684E-02   -.55593E-03
  13  norm          5.6669        6.9387        .42185E-02    .38322E-02
  14  Prefactor     .10000E-03    6.9610        .90712E-02** at limit **
  15  Prefactor     9.9086        15.348        .31825E-02    .42847E-03
  16  Normalizat    .79724        .15200        .43574E-01   -.19967E-05
  17  Prefactor     1.1717        .14466        .35335E-01    .13430E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.38753
  Prefactor  = 5.88073
  Prefactor  = 5.11949
  norm       = 1.23226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.577155
  Prefactor  = 5.99404
  Prefactor  = 8.85038
  norm       = 5.66691
  Prefactor  = 0.0001
  Prefactor  = 9.9086
  Normalizat = 0.797244
  Prefactor  = 1.1717
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.234     FROM HESSE     STATUS=OK           237 CALLS     1613 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.5586        .14044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.0707        .31150E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.1684        .35421E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3875        4.9219        .19225E-03   -1.5289    
   5  Prefactor     5.8807        6.9711        .16563E-03   -1.5223    
   6  Prefactor     5.1195        7.2425        .17765E-03   -1.5255    
   7  norm          1.2323        .48101        .37920E-04   -1.5486    
   8  Prefactor     .10000E-03    2.5676        .14054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .57715        .63258        .82325E-03   -1.5556    
  11  Prefactor     5.9940        13.093        .16401E-03   -1.5218    
  12  Prefactor     8.8504        5.1692        .67367E-03   -1.5113    
  13  norm          5.6669        6.9263        .84370E-03   -1.5232    
  14  Prefactor     .10000E-03    7.2062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.9086        15.342        .12730E-03   -1.5078    
  16  Normalizat    .79724        .17259        .26555E-03   -1.0017    
  17  Prefactor     1.1717        .16539        .21816E-03   -.87207    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19286e-09
Minuit parameter uncertainties:
  1  4.60265e-06
  2  0.000109606
  3  4.89082e-05
  4  4.92234
  5  6.97205
  6  7.24374
  7  0.481011
  8  1.24465e-05
  9  1.07944e-06
  10  0.632583
  11  13.0995
  12  5.16947
  13  6.92725
  14  1.69243e-05
  15  15.3485
  16  0.17271
  17  0.165466
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  5.772e-01  6.326e-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.172e+00  1.655e-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:  7.972e-01  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 1.54e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 5.09e-06 +/- 5.58e-06

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

Saving results to:
/scratch/kocevski/436764/likelihoodResults_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.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) = 8105.23218715
delta logL = 0.00148438490578

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8105.23214048
delta logL = 0.00153105592926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .58129       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3522       1.0000          .0000       5.0000    
     3 'Normalizat'    .79617       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1723       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=   8105.232     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .58164        31.348        .16937E-01    .51252E-03
   2  alpha         2.3529        3.6887        .41243       -.77332E-05
   3  Normalizat    .79618        .56481E-01    .43560E-01    .26029E-04
   4  Prefactor     1.1723        .58303E-01    .35321E-01    .34151E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.581645
  alpha      = 2.35287
  Normalizat = 0.796184
  Prefactor  = 1.17228
 **********
 **   18 **HESSE 
 **********

 FCN=   8105.232     FROM HESSE     STATUS=OK            35 CALLS      259 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .58164        .63286        .81625E-03   -1.5555    
   2  alpha         2.3529        .97095        .30529E-01   -.58886E-01
   3  Normalizat    .79618        .16917        .26572E-03   -1.0021    
   4  Prefactor     1.1723        .16492        .21811E-03   -.87189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55785e-10
Minuit parameter uncertainties:
  1  0.632865
  2  0.997284
  3  0.169283
  4  0.16499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436764': 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) = 8105.23214011
delta logL = 0.00153142611089

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  5.816e-01  6.329e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.353e+00  9.973e-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.172e+00  1.650e-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:  7.962e-01  1.693e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.35 +/- 1.00
Photon Flux (Free Index): 1.63e-08 +/- 2.26e-08
Energy Flux (Free Index): 5.08e-06 +/- 5.55e-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/436764/cmap_HighResolution_260841601_261100801_4FGL_J1103.0+1157_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.04e-05', comment='SUCCESS', photon_flux='1.54e-08', energy_flux2='5.08e-06', photon_flux_error='1.69e-08', dlogl='1.53e-03', energy_flux='5.09e-06', photon_flux2='1.63e-08', job_status='DONE', time_completed='2021-09-03 04:00:09.848897', photon_index_error2='1.00', photon_index2='2.35', ts='1.84', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='6.18e-08', energy_flux_error2='5.55e-06', EG='0.80', time_epoch_completed='1630666809.85', return_code='0', job_id='436764', GAL2='1.17', EG2='0.80', return_code2='0', energy_flux_error='5.58e-06', photon_flux_error2='2.26e-08', ts2='1.84', photon_index='2.30' WHERE bin_id='83' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 04:00:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 436764: <4FGL_J1103.0+1157_daily_bin83> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin83> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 03:46:27 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 03:46:47 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:47 2021
Terminated at Fri Sep  3 04:00:10 2021
Results reported at Fri Sep  3 04:00:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin83 165.772 11.9654 260841601 261100801 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 :                                   598.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            823 sec.

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

