aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 53 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 = 17370
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1103.0+1157_weekly_bin726
RA = 165.772, Dec = 11.9654
tmin = 678067201, tmax = 678672001
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='704239', job_status='RUN', time_executed='2022-07-05 04:22:49.691601', time_epoch_executed='1657020169.69' WHERE source_name='4FGL J1103.0+1157' and cadence='weekly' and bin_id='726'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/704239

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/704239/ft1_4FGL_J1103.0+1157_weekly_bin726.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/704239/ft2_4FGL_J1103.0+1157_weekly_bin726.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/704239/ft1_4FGL_J1103.0+1157_weekly_bin726.fits outfile=/scratch/kocevski/704239/ft1_filteredMKT_4FGL_J1103.0+1157_weekly_bin726.fits ra=165.772 dec=11.9654 rad=12.0 tmin=678067201.0 tmax=678672001.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 8.77
user 8.43
sys 0.31

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

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

Number of photons that the gtmktime cut: 1257

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/704239/ft1_filtered_4FGL_J1103.0+1157_weekly_bin726.fits evtable="EVENTS" scfile=/scratch/kocevski/704239/ft2_4FGL_J1103.0+1157_weekly_bin726.fits sctable="SC_DATA" expcube=/scratch/kocevski/704239/ltcube_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.fits outfile=/scratch/kocevski/704239/expmap_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.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/704239/ltcube_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.fits
.....................!
real 191.31
user 186.58
sys 4.31

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/704239/ft1_filtered_4FGL_J1103.0+1157_weekly_bin726.fits scfile=/scratch/kocevski/704239/ft2_4FGL_J1103.0+1157_weekly_bin726.fits outfile=/scratch/kocevski/704239/cmap_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.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.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/704239/ft1_filtered_4FGL_J1103.0+1157_weekly_bin726.fits scfile=/scratch/kocevski/704239/ft2_4FGL_J1103.0+1157_weekly_bin726.fits outfile=/scratch/kocevski/704239/cmap_HighResolution_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.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.60
user 0.43
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.326       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.8198       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.463       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0091       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8796       1.0000         .10000E-03   10000.    
     7 'norm      '    .91082       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.999       1.0000         .10000E-03   10000.    
    10 'norm      '    1.8999       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47196E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14634E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    1.0999       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .14415E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    18.456       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0475       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .97303       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=   14286.20     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1653 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.354        9.0698        .11026E-05    .93721E-04
   2  Prefactor     4.8217        1.4525        .11586E-06   -.22923E-02
   3  Prefactor     12.479        5.5685       -.23729E-06   -.58164E-04
   4  Prefactor     .10000E-03    2.0217       -.89195E-07** at limit **
   5  Prefactor     8.9855        7.0032       -.84417E-06   -.91447E-04
   6  Prefactor     7.8602        6.1683        .22787E-06    .80028E-05
   7  norm          .91105        .29682       -.18700E-08   -.57236E-04
   8  Prefactor     .10000E-03    .95359       -.31123E-07** at limit **
   9  Prefactor     12.091        10.362       -.72489E-06   -.45019E-04
  10  norm          1.8997        .90688       -.22461E-07   -.10449E-03
  11  Prefactor     .10000E-03    9.9064        .16795E-06** at limit **
  12  Prefactor     .10000E-03    2.1964       -.55686E-07** at limit **
  13  norm          1.1162        4.1418       -.12813E-06   -.34072E-03
  14  Prefactor     .10000E-03    2.6180        .51816E-07** at limit **
  15  Prefactor     18.504        21.859        .28000E-06    .62228E-05
  16  Normalizat    1.0472        .12325        .64314E-07   -.35112E-07
  17  Prefactor     .97308        .10934       -.36057E-07    .20770E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.354
  Prefactor  = 4.82165
  Prefactor  = 12.4792
  Prefactor  = 0.0001
  Prefactor  = 8.98554
  Prefactor  = 7.86017
  norm       = 0.91105
  Prefactor  = 0.0001
  Prefactor  = 12.0905
  norm       = 1.89974
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.11621
  Prefactor  = 0.0001
  Prefactor  = 18.5036
  Normalizat = 1.04723
  Prefactor  = 0.973083
 **********
 **   18 **HESSE 
 **********

 FCN=   14286.20     FROM HESSE     STATUS=OK           233 CALLS     1886 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.354        9.0961        .91109E-04   -1.4828    
   2  Prefactor     4.8217        2.1486        .55596E-03   -1.5269    
   3  Prefactor     12.479        5.5928        .11347E-03   -1.5001    
   4  Prefactor     .10000E-03    2.0581        .16587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9855        7.0195        .13353E-03   -1.5108    
   6  Prefactor     7.8602        6.1624        .14284E-03   -1.5147    
   7  norm          .91105        .29482        .35859E-04   -1.5517    
   8  Prefactor     .10000E-03    .95585        .11393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.091        10.356        .11565E-03   -1.5012    
  10  norm          1.8997        .90302        .74590E-04   -1.5432    
  11  Prefactor     .10000E-03    10.064        .21186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.145        .33898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.1162        5.3255        .45329E-03   -1.5497    
  14  Prefactor     .10000E-03    15.334        .36942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     18.504        21.868        .93230E-04   -1.4847    
  16  Normalizat    1.0472        .14653        .25738E-03   -.91464    
  17  Prefactor     .97308        .12951        .24604E-03   -.93632    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.18021e-10
Minuit parameter uncertainties:
  1  9.09678
  2  2.14868
  3  5.59305
  4  1.32859e-06
  5  7.0201
  6  6.16287
  7  0.294821
  8  1.72246e-07
  9  10.3576
  10  0.903025
  11  9.58844e-07
  12  0.000142656
  13  4.8767
  14  3.66391e-06
  15  21.877
  16  0.146584
  17  0.129554
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.900e+00  9.030e-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:  9.731e-01  1.296e-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.047e+00  1.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.18
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.07e-08 +/- 2.41e-08
Energy Flux (Fixed Index): 1.68e-05 +/- 7.97e-06

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) = 14286.1925124
delta logL = 0.0112256725897

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14286.1921564
delta logL = 0.0115816983289

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8872       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2231       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97062       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=   14286.19     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8872        21.780        .75736E-02   -.75881E-03
   2  alpha         2.2231        3.2783        .41475        .13523E-04
   3  Normalizat    1.0514        .96805E-01    .58104E-01    .61017E-04
   4  Prefactor     .97062        .11036        .45899E-01    .60455E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.8872
  alpha      = 2.22313
  Normalizat = 1.05138
  Prefactor  = 0.970625
 **********
 **   18 **HESSE 
 **********

 FCN=   14286.19     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8872        .91224        .75557E-04   -1.5433    
   2  alpha         2.2231        .48383        .17894E-01   -.11097    
   3  Normalizat    1.0514        .14158        .25694E-03   -.91328    
   4  Prefactor     .97062        .12937        .24632E-03   -.93715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04103e-10
Minuit parameter uncertainties:
  1  0.912247
  2  0.486945
  3  0.141628
  4  0.129409
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/704239': 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) = 14286.1921564
delta logL = 0.0115816984635

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.887e+00  9.122e-01  1.000e-04  1.000e+04 ( 1.000e-11)
268        alpha:  2.223e+00  4.869e-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.706e-01  1.294e-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.051e+00  1.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.17
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.22 +/- 0.49
Photon Flux (Free Index): 4.75e-08 +/- 3.06e-08
Energy Flux (Free Index): 1.70e-05 +/- 8.44e-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/704239/cmap_HighResolution_678067201_678672001_4FGL_J1103.0+1157_weekly_bin726.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.07e-08', energy_flux2='1.70e-05', photon_flux_error='2.41e-08', dlogl='1.16e-02', energy_flux='1.68e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2022-07-05 04:36:57.706170', photon_index_error2='0.49', photon_index2='2.22', ts='10.18', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='8.44e-06', EG='1.05', time_epoch_completed='1657021017.71', return_code='0', job_id='704239', GAL2='0.97', EG2='1.05', return_code2='0', energy_flux_error='7.97e-06', photon_flux_error2='3.06e-08', ts2='10.17', photon_index='2.30' WHERE bin_id='726' AND source_name='4FGL J1103.0+1157' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:36:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 704239: <4FGL_J1103.0+1157_weekly_bin726> in cluster <slac> Done

Job <4FGL_J1103.0+1157_weekly_bin726> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Jul  5 04:20:35 2022
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 04:21:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 04:21:46 2022
Terminated at Tue Jul  5 04:36:58 2022
Results reported at Tue Jul  5 04:36:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_weekly_bin726 165.772 11.9654 678067201 678672001 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 :                                   848.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             323.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            983 sec.

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

