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 63 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7416
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1103.0+1157_daily_bin1762
RA = 165.772, Dec = 11.9654
tmin = 696038401, tmax = 696297601
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='107732', job_status='RUN', time_executed='2023-01-25 00:52:02.211807', time_epoch_executed='1674636722.21' WHERE source_name='4FGL J1103.0+1157' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107732

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107732/ft1_4FGL_J1103.0+1157_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107732/ft1_4FGL_J1103.0+1157_daily_bin1762.fits outfile=/scratch/kocevski/107732/ft1_filteredMKT_4FGL_J1103.0+1157_daily_bin1762.fits ra=165.772 dec=11.9654 rad=12.0 tmin=696038401.0 tmax=696297601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.68
user 3.42
sys 0.23

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

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

Number of photons that the gtmktime cut: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107732/ltcube_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.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/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits
.....................!
real 15.02
user 14.62
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107732/ltcube_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits outfile=/scratch/kocevski/107732/expmap_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.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/107732/ltcube_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits
.....................!
real 192.28
user 186.17
sys 5.69

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/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits scfile=/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits outfile=/scratch/kocevski/107732/cmap_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits scfile=/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits outfile=/scratch/kocevski/107732/cmap_HighResolution_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.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.56
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits', '/scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits', expMap='/scratch/kocevski/107732/expmap_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits', expCube='/scratch/kocevski/107732/ltcube_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107732/Model_4FGL_J1103.0+1157_daily_bin1762.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  0.000e+00  1.000e+06 ( 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 -5.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/107732/ft1_filtered_4FGL_J1103.0+1157_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107732/ft2_4FGL_J1103.0+1157_daily_bin1762.fits
Exposure map: /scratch/kocevski/107732/expmap_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107732/ltcube_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107732/Model_4FGL_J1103.0+1157_daily_bin1762.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) = 6469.05294459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12883E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61686       1.0000          .0000       .10000E+07
     3 'Prefactor '    16.878       1.0000          .0000       .10000E+07
     4 'Prefactor '    .53988E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2073       1.0000          .0000       .10000E+07
     6 'Prefactor '    19.384       1.0000          .0000       .10000E+07
     7 'norm      '     .0000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .62583E-02   1.0000          .0000       .10000E+07
     9 'norm      '    1.2020       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.1199       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6504       1.0000          .0000       .10000E+07
    12 'norm      '    7.5755       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13871E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .86518       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.2878       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6468.328     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      806 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    6.3007       -.51213E-06** at limit **
   2  Prefactor     .62460        2.1173       -.28469E-06   -.22591E-03
   3  Prefactor     16.829        8.5747        .19118E-05    .29697E-01
   4  Prefactor      .0000        2.2007        .37574E-06** at limit **
   5  Prefactor     9.5238        14.521       -.25513E-05    .19069E-01
   6  Prefactor     19.153        16.688        .34412E-05   -.47085E-02
   7  norm          .55511E-10    .31803       -.46071E-07** at limit **
   8  Prefactor     .12768E-08    31.051       -.20858E-05** at limit **
   9  norm          1.2040        1.1466       -.10283E-06   -.92522E-02
  10  Prefactor     6.0361        3.7826        .38504E-06    .37275E-01
  11  Prefactor     4.7555        5.9653        .11581E-06    .19234E-02
  12  norm          7.6249        3.1880        .81836E-07   -.56087E-01
  13  Prefactor     .99920E-09    4.1032        .63764E-06** at limit **
  14  Normalizat    .86432        .22002       -.10952E-04    .70620E-04
  15  Prefactor     1.2881        .20449        .34054E-05    .82995E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 0.6246
  Prefactor  = 16.8291
  Prefactor  = 0
  Prefactor  = 9.52382
  Prefactor  = 19.153
  norm       = 5.55112e-11
  Prefactor  = 1.27676e-09
  norm       = 1.20404
  Prefactor  = 6.03611
  Prefactor  = 4.75547
  norm       = 7.62493
  Prefactor  = 9.99201e-10
  Normalizat = 0.864316
  Prefactor  = 1.28809
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.328     FROM HESSE     STATUS=OK           216 CALLS     1022 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    6.3312        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .62460        2.1369        .67731E-03   -1.5692    
   3  Prefactor     16.829        8.7284        .24352E-03   -1.5626    
   4  Prefactor      .0000        2.2063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.5238        15.396        .33005E-03   -1.5646    
   6  Prefactor     19.153        17.115        .22721E-03   -1.5620    
   7  norm          .55511E-10    .30611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12768E-08    31.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2040        1.1509        .10345E-03   -1.5686    
  10  Prefactor     6.0361        14.013        .40560E-03   -1.5659    
  11  Prefactor     4.7555        5.9648        .46645E-03   -1.5664    
  12  norm          7.6249        10.790        .36412E-03   -1.5653    
  13  Prefactor     .99920E-09    4.1177        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .86432        .18641        .65224E-01   -.97726    
  15  Prefactor     1.2881        .17149        .52081E-01   -.83662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09392e-07
Minuit parameter uncertainties:
  1  9.30094e-05
  2  2.13689
  3  8.7284
  4  4.3915e-06
  5  15.3964
  6  17.1153
  7  9.28713e-06
  8  0.000397567
  9  1.15087
  10  14.0135
  11  5.96485
  12  10.7898
  13  0.000128928
  14  0.186552
  15  0.171569
Done.

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

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.204e+00  1.151e+00  0.000e+00  1.000e+06 ( 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 -5.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.288e+00  1.716e-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:  8.643e-01  1.866e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.24
Ra Dec: 165.772 11.965
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 3.21e-08 +/- 3.07e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.02e-05

TS (Fixed Index): 2.24
Ra Dec: 165.772 11.965
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.51e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107732/likelihoodResults_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.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) = 6468.30670945
delta logL = 0.0215404739083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6468.30550255
delta logL = 0.0227473704163

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1585       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1058       1.0000          .0000       5.0000    
     3 'Normalizat'    .87127       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2840       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=   6468.306     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1587        5.3149        .10711E-02    .28623E-02
   2  alpha         2.1063        3.5306        .41817       -.21409E-04
   3  Normalizat    .87123        .18288        .64995E-01    .19175E-04
   4  Prefactor     1.2840        .18082        .52153E-01    .22030E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.15872
  alpha      = 2.10633
  Normalizat = 0.871232
  Prefactor  = 1.28399
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.306     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1587        1.1804        .82268E-05   -1.5686    
   2  alpha         2.1063        .86166        .21887E-01   -.15813    
   3  Normalizat    .87123        .21548        .28750E-03   -.97478    
   4  Prefactor     1.2840        .20455        .23057E-03   -.83784    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.42988e-10
Minuit parameter uncertainties:
  1  1.18043
  2  0.880186
  3  0.215695
  4  0.204678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107732': 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) = 6468.3055024
delta logL = 0.0227475200209

Extracting fit parameters...

4FGL J1103.0+1157
   Spectrum: LogParabola
267         norm:  1.159e+00  1.180e+00  0.000e+00  1.000e+06 ( 1.000e-11)
268        alpha:  2.106e+00  8.802e-01  0.000e+00  5.000e+00 ( 1.000e+00)
269         beta:  9.765e-02  0.000e+00 -5.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.284e+00  2.047e-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:  8.712e-01  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.28
Ra Dec: 165.772 11.965
Photon Index (Free Index): 2.11 +/- 0.88
Photon Flux (Free Index): 2.68e-08 +/- 3.55e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.12e-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/107732/cmap_HighResolution_696038401_696297601_4FGL_J1103.0+1157_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-05', comment='SUCCESS', photon_flux='3.21e-08', energy_flux2='1.11e-05', photon_flux_error='3.07e-08', dlogl='2.27e-02', energy_flux='1.06e-05', photon_flux2='2.68e-08', job_status='DONE', time_completed='2023-01-25 01:00:28.533296', photon_index_error2='0.88', photon_index2='2.11', ts='2.24', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.12e-05', EG='0.86', time_epoch_completed='1674637228.53', return_code='0', job_id='107732', GAL2='1.28', EG2='0.87', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='3.55e-08', ts2='2.28', photon_index='2.30' WHERE bin_id='1762' AND source_name='4FGL J1103.0+1157' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:00:28 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 107732: <4FGL_J1103.0+1157_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1103.0+1157_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:15 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:50:49 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:50:49 2023
Terminated at Wed Jan 25 01:00:29 2023
Results reported at Wed Jan 25 01:00:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1103.0+1157_daily_bin1762 165.772 11.9654 696038401 696297601 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 :                                   508.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             331.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   579 sec.
    Turnaround time :                            614 sec.

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

