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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1700
RA = 347.768, Dec = 34.4223
tmin = 679968001, tmax = 680227201
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='83460', job_status='RUN', time_executed='2022-07-23 00:37:11.946139', time_epoch_executed='1658561831.95' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83460

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83460/ft1_4FGL_J2311.0+3425_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83460/ft1_4FGL_J2311.0+3425_daily_bin1700.fits outfile=/scratch/kocevski/83460/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1700.fits ra=347.768 dec=34.4223 rad=12.0 tmin=679968001.0 tmax=680227201.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.56
user 4.31
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.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/83460/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1700.fits evtable="EVENTS" outfile="/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 990

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83460/ltcube_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.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/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits
.....................!
real 12.29
user 11.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83460/ltcube_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits outfile=/scratch/kocevski/83460/expmap_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.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/83460/ltcube_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits
.....................!
real 190.94
user 185.94
sys 4.61

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Added 157 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2311.0+3425 @ 347.768 34.4223

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits outfile=/scratch/kocevski/83460/cmap_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.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=347.768 yref=34.4223 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.65
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits outfile=/scratch/kocevski/83460/cmap_HighResolution_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.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=347.768 yref=34.4223 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.77
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/83460/Model_4FGL_J2311.0+3425_daily_bin1700.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 FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits.....................!
real 120.76
user 116.57
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits', '/scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits', expMap='/scratch/kocevski/83460/expmap_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits', expCube='/scratch/kocevski/83460/ltcube_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83460/Model_4FGL_J2311.0+3425_daily_bin1700.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.0+3425'

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.866e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/83460/ft1_filtered_4FGL_J2311.0+3425_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83460/ft2_4FGL_J2311.0+3425_daily_bin1700.fits
Exposure map: /scratch/kocevski/83460/expmap_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83460/ltcube_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83460/Model_4FGL_J2311.0+3425_daily_bin1700.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) = 10843.9389004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4056       1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.336       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.601       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.7884       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.359       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8250       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6035       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.172       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.406       1.0000         .10000E-03   10000.    
    15 'norm      '    .10080E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    13.568       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.3660       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.231       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.805       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.5436       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2105       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88740       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10843.93     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2676 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.776        .24656E-04** at limit **
   2  norm          2.4055        1.1537       -.13478E-06   -.82640E-04
   3  Prefactor     49.332        57.820       -.47328E-05    .69295E-05
   4  Prefactor     .10000E-03    1.9507       -.55384E-07** at limit **
   5  Prefactor     .10000E-03    6.1407       -.35911E-07** at limit **
   6  norm          .10000E-03    1.8844       -.23040E-06** at limit **
   7  Prefactor     11.601        11.136       -.31370E-06    .25865E-04
   8  Prefactor     3.7886        4.0300        .17928E-06   -.26827E-03
   9  Prefactor     12.358        9.4859        .58569E-06    .21681E-03
  10  Prefactor     .10000E-03    21.203       -.78826E-05** at limit **
  11  norm          1.8249        1.1653       -.13471E-06   -.92297E-04
  12  Prefactor     1.5736        72.031       -.88727E-04    .14581E-05
  13  Prefactor     23.171        12.763       -.14171E-05    .53815E-04
  14  Prefactor     43.399        30.057       -.55641E-05    .35343E-03
  15  norm          .10000E-03    2.4003        .47290E-08** at limit **
  16  norm          13.569        10.102       -.34538E-06   -.24460E-04
  17  Prefactor     4.3663        15.291        .18919E-05    .52777E-04
  18  norm          .10000E-03    .62965       -.10685E-07** at limit **
  19  Prefactor     12.230        11.603       -.44163E-06    .30063E-04
  20  Prefactor     .10000E-03    32.308       -.14838E-04** at limit **
  21  Prefactor     34.810        34.911        .55446E-05   -.92212E-04
  22  Prefactor     7.5438        7.7391       -.19825E-05   -.50678E-03
  23  Normalizat    1.2108        .20019        .52882E-05    .34033E-03
  24  Prefactor     .88731        .80815E-01    .42472E-06    .98402E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  norm       = 2.40552
  Prefactor  = 49.3323
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.6012
  Prefactor  = 3.78859
  Prefactor  = 12.3577
  Prefactor  = 0.0001
  norm       = 1.82489
  Prefactor  = 1.57357
  Prefactor  = 23.171
  Prefactor  = 43.3986
  norm       = 0.0001
  norm       = 13.5694
  Prefactor  = 4.36631
  norm       = 0.0001
  Prefactor  = 12.2302
  Prefactor  = 0.0001
  Prefactor  = 34.8098
  Prefactor  = 7.5438
  Normalizat = 1.21076
  Prefactor  = 0.887309
 **********
 **   18 **HESSE 
 **********

 FCN=   10843.93     FROM HESSE     STATUS=OK           397 CALLS     3073 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    27.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4055        1.1512        .74570E-04   -1.5398    
   3  Prefactor     49.332        57.895        .57092E-04   -1.4302    
   4  Prefactor     .10000E-03    1.9672        .14199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.1449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.9698        .27884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.601        11.139        .11762E-03   -1.5027    
   8  Prefactor     3.7886        4.0229        .20740E-03   -1.5319    
   9  Prefactor     12.358        9.4878        .11395E-03   -1.5005    
  10  Prefactor     .10000E-03    21.328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8249        1.1618        .86200E-04   -1.5438    
  12  Prefactor     1.5736        74.091        .33471E-03   -1.5457    
  13  Prefactor     23.171        12.777        .83212E-04   -1.4745    
  14  Prefactor     43.399        29.835        .60850E-04   -1.4389    
  15  norm          .10000E-03    2.4122        .15719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          13.569        10.112        .10874E-03   -1.4971    
  17  Prefactor     4.3663        15.283        .19276E-03   -1.5290    
  18  norm          .10000E-03    .63219        .80650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.230        11.606        .11454E-03   -1.5008    
  20  Prefactor     .10000E-03    32.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     34.810        34.883        .33963E-03   -1.4527    
  22  Prefactor     7.5438        7.7501        .14601E-03   -1.5159    
  23  Normalizat    1.2108        .23211        .36140E-03   -.86271    
  24  Prefactor     .88731        .94242E-01    .17454E-03   -.96586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.00872e-10
Minuit parameter uncertainties:
  1  0.000315683
  2  1.15122
  3  57.961
  4  9.53812e-06
  5  4.21953e-06
  6  1.29816e-05
  7  11.1409
  8  4.0232
  9  9.48892
  10  3.22167e-05
  11  1.16181
  12  21.6229
  13  12.7781
  14  29.845
  15  5.79905e-06
  16  10.1132
  17  15.2962
  18  7.89773e-07
  19  11.6077
  20  9.01842e-05
  21  34.9035
  22  7.75113
  23  0.232304
  24  0.0942589
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.825e+00  1.162e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  2.240e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  8.873e-01  9.426e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.211e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.87
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 5.05e-08 +/- 3.21e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.14e-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) = 10843.801716
delta logL = 0.126231443364

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10843.783844
delta logL = 0.144103435518

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5836       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9041       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2270       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88438       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10843.78     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5824        1.0997        .84351E-03    .14699E-03
   2  alpha         1.9047        .44525        .42736       -.52927E-04
   3  Normalizat    1.2270        .18964        .81177E-01    .22934E-04
   4  Prefactor     .88439        .79841E-01    .44806E-01   -.17459E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.5824
  alpha      = 1.90468
  Normalizat = 1.22701
  Prefactor  = 0.884393
 **********
 **   18 **HESSE 
 **********

 FCN=   10843.78     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5824        1.2834        .33741E-04   -1.5456    
   2  alpha         1.9047        .61442        .18450E-01   -.24044    
   3  Normalizat    1.2270        .22022        .35937E-03   -.85772    
   4  Prefactor     .88439        .92602E-01    .17483E-03   -.96689    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27446e-12
Minuit parameter uncertainties:
  1  1.2834
  2  0.621173
  3  0.220384
  4  0.0926181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83460': 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) = 10843.783842
delta logL = 0.144105401734

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.582e+00  1.283e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.905e+00  6.212e-01  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
375           Eb:  5.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  8.844e-01  9.262e-02  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.227e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.14
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.90 +/- 0.62
Photon Flux (Free Index): 3.46e-08 +/- 3.62e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.44e-05

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/83460/cmap_HighResolution_679968001_680227201_4FGL_J2311.0+3425_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.05e-08', energy_flux2='1.96e-05', photon_flux_error='3.21e-08', dlogl='1.44e-01', energy_flux='1.79e-05', photon_flux2='3.46e-08', job_status='DONE', time_completed='2022-07-23 00:51:32.983698', photon_index_error2='0.62', photon_index2='1.90', ts='6.87', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='1.21', time_epoch_completed='1658562692.98', return_code='0', job_id='83460', GAL2='0.88', EG2='1.23', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='3.62e-08', ts2='7.14', photon_index='2.24' WHERE bin_id='1700' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:51:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 83460: <4FGL_J2311.0+3425_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:49 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:50 2022
Terminated at Sat Jul 23 00:51:33 2022
Results reported at Sat Jul 23 00:51:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1700 347.768 34.4223 679968001 680227201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   818.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             305.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   943 sec.
    Turnaround time :                            944 sec.

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

