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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1750
RA = 347.768, Dec = 34.4223
tmin = 692928001, tmax = 693187201
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='28466', job_status='RUN', time_executed='2022-12-20 01:57:13.601864', time_epoch_executed='1671530233.6' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28466

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28466/ft1_4FGL_J2311.0+3425_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28466/ft1_4FGL_J2311.0+3425_daily_bin1750.fits outfile=/scratch/kocevski/28466/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1750.fits ra=347.768 dec=34.4223 rad=12.0 tmin=692928001.0 tmax=693187201.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 2.81
user 2.61
sys 0.18

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

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

Number of photons that the gtmktime cut: 977

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/28466/ltcube_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.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/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits
.....................!
real 9.54
user 9.24
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/28466/ltcube_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits outfile=/scratch/kocevski/28466/expmap_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.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/28466/ltcube_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits
.....................!
real 148.46
user 144.14
sys 4.09

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/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits scfile=/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits outfile=/scratch/kocevski/28466/cmap_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.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.45
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits scfile=/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits outfile=/scratch/kocevski/28466/cmap_HighResolution_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.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.46
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28466/Model_4FGL_J2311.0+3425_daily_bin1750.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/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits.....................!
real 84.30
user 83.16
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits', '/scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits', expMap='/scratch/kocevski/28466/expmap_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits', expCube='/scratch/kocevski/28466/ltcube_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28466/Model_4FGL_J2311.0+3425_daily_bin1750.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  0.000e+00  1.000e+06 ( 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 -5.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/28466/ft1_filtered_4FGL_J2311.0+3425_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/28466/ft2_4FGL_J2311.0+3425_daily_bin1750.fits
Exposure map: /scratch/kocevski/28466/expmap_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits
Exposure cube: /scratch/kocevski/28466/ltcube_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28466/Model_4FGL_J2311.0+3425_daily_bin1750.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) = 10358.4117275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.454       1.0000          .0000       .10000E+07
     2 'norm      '    .76117       1.0000          .0000       .10000E+07
     3 'norm      '    .14907E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20739E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.5847       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.721       1.0000          .0000       .10000E+07
     7 'norm      '    1.4801       1.0000          .0000       .10000E+07
     8 'Prefactor '    14.809       1.0000          .0000       .10000E+07
     9 'Prefactor '    .14893E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    76.509       1.0000          .0000       .10000E+07
    11 'norm      '    .22770E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .35320E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10544E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .96608E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .74704E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24009E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .24221E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2474       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98055       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10358.34     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1435 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.786        9.8685       -.38836E-06   -.52175E-01
   2  norm          .76376        .80571       -.87641E-07    .22501E-02
   3  norm          .34417E-08    7.7575        .13553E-06** at limit **
   4  Prefactor     .55511E-10    5.8186       -.14507E-06** at limit **
   5  Prefactor     3.5882        3.6280       -.46302E-06    .29017E-02
   6  Prefactor     11.719        1.0272       -.69603E-08   -.25203E-03
   7  norm          1.4830        1.2453       -.73186E-07    .20674E-02
   8  Prefactor     16.363        25.562       -.78737E-06    .33124E-01
   9  Prefactor     .22204E-09    4.3404       -.54510E-07** at limit **
  10  Prefactor     77.153        5.5145       -.12481E-06   -.76186E-01
  11  norm          .41039E-06    2.1295       -.33985E-07** at limit **
  12  norm          .55511E-10    2.2653       -.37555E-07** at limit **
  13  Prefactor     .11824E-07    11.110       -.31138E-06** at limit **
  14  norm           .0000        1.8795       -.51582E-06** at limit **
  15  Prefactor     .29643E-07    14.351        .35673E-06** at limit **
  16  Prefactor     .81546E-07    53.252        .28324E-05** at limit **
  17  Prefactor     .18874E-08    6.1565        .36705E-07** at limit **
  18  Normalizat    1.2439        .23502        .14602E-05    .16903E-03
  19  Prefactor     .98100        .99062E-01   -.31698E-05    .33780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7856
  norm       = 0.763756
  norm       = 3.44169e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 3.58815
  Prefactor  = 11.7185
  norm       = 1.48297
  Prefactor  = 16.3633
  Prefactor  = 2.22045e-10
  Prefactor  = 77.1534
  norm       = 4.10394e-07
  norm       = 5.55112e-11
  Prefactor  = 1.18239e-08
  norm       = 0
  Prefactor  = 2.9643e-08
  Prefactor  = 8.15459e-08
  Prefactor  = 1.88738e-09
  Normalizat = 1.24391
  Prefactor  = 0.981004
 **********
 **   18 **HESSE 
 **********

 FCN=   10358.34     FROM HESSE     STATUS=OK           314 CALLS     1749 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.786        22.602        .29576E-03   -1.5639    
   2  norm          .76376        .80871        .55875E-03   -1.5690    
   3  norm          .34417E-08    1.4089        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    5.8333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.5882        3.6522        .53349E-03   -1.5670    
   6  Prefactor     11.719        11.712        .29236E-03   -1.5639    
   7  norm          1.4830        1.2556        .88193E-03   -1.5684    
   8  Prefactor     16.363        30.029        .26001E-03   -1.5627    
   9  Prefactor     .22204E-09    4.3538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     77.153        41.270        .11433E-03   -1.5532    
  11  norm          .41039E-06    2.3362        .58823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.2681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11824E-07    11.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.8575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .29643E-07    15.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .81546E-07    53.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .18874E-08    6.1822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2439        .20176        .80422E-01   -.85257    
  19  Prefactor     .98100        .84710E-01    .46023E-01   -.93365    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61174e-07
Minuit parameter uncertainties:
  1  22.6024
  2  0.808714
  3  0.000139331
  4  2.67207e-05
  5  3.65225
  6  11.7116
  7  1.25555
  8  30.0295
  9  6.11934e-05
  10  41.2699
  11  0.00195828
  12  1.70877e-05
  13  0.000731497
  14  1.27587e-05
  15  0.00135263
  16  0.00418328
  17  0.000215129
  18  0.201887
  19  0.0847212
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.483e+00  1.256e+00  0.000e+00  1.000e+06 ( 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 -5.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:  9.810e-01  8.472e-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.244e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.62
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.23e-05

TS (Fixed Index): 2.62
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28466/likelihoodResults_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.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) = 10356.4292808
delta logL = 1.91100307971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10356.4080397
delta logL = 1.93224417408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74163       1.0000          .0000       .10000E+07
     2 'alpha     '    3.9709       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1069       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0176       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=   10356.41     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      250 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74078        4.5320        .57391E-03    .13288E-01
   2  alpha         3.9718        4.4648        .39972        .68747E-04
   3  Normalizat    1.1069        .71773E-01    .84455E-01    .35823E-04
   4  Prefactor     1.0176        .30904E-01    .42385E-01    .11726E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.740783
  alpha      = 3.97176
  Normalizat = 1.10686
  Prefactor  = 1.01765
 **********
 **   18 **HESSE 
 **********

 FCN=   10356.41     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      283 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74078        7.4990        .38301E-05   -1.5691    
   2  alpha         3.9718        4.4000        .18125E-01    .62945    
   3  Normalizat    1.1069        .26499        .37394E-03   -.89532    
   4  Prefactor     1.0176        .11416        .16901E-03   -.92144    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.66441e-10
Minuit parameter uncertainties:
  1  4.71386
  2  5.19968
  3  0.265307
  4  0.114192
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28466': 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): 102
logL (Free Index) = 10356.4080394
delta logL = 1.93224455671

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  7.408e-01  4.714e+00  0.000e+00  1.000e+06 ( 1.000e-11)
373        alpha:  3.972e+00  5.200e+00  0.000e+00  5.000e+00 ( 1.000e+00)
374         beta:  9.511e-02  0.000e+00 -5.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:  1.018e+00  1.142e-01  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.107e+00  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.94
Ra Dec: 347.768 34.422
Photon Index (Free Index): 3.97 +/- 5.20
Photon Flux (Free Index): 1.38e-07 +/- 7.47e-08
Energy Flux (Free Index): 2.13e-05 +/- 1.72e-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/28466/cmap_HighResolution_692928001_693187201_4FGL_J2311.0+3425_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='2.13e-05', photon_flux_error='3.47e-08', dlogl='1.93e+00', energy_flux='1.46e-05', photon_flux2='1.38e-07', job_status='DONE', time_completed='2022-12-20 02:06:13.070279', photon_index_error2='5.20', photon_index2='3.97', ts='2.62', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='1.72e-05', EG='1.24', time_epoch_completed='1671530773.07', return_code='0', job_id='28466', GAL2='1.02', EG2='1.11', return_code2='102', energy_flux_error='1.23e-05', photon_flux_error2='7.47e-08', ts2='6.94', photon_index='2.24' WHERE bin_id='1750' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:06:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0247>
Subject: Job 28466: <4FGL_J2311.0+3425_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:55:21 2022
Job was executed on host(s) <bullet0247>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:55:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:55:23 2022
Terminated at Tue Dec 20 02:06:13 2022
Results reported at Tue Dec 20 02:06:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1750 347.768 34.4223 692928001 693187201 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 :                                   540.37 sec.
    Max Memory :                                 639 MB
    Average Memory :                             299.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   650 sec.
    Turnaround time :                            652 sec.

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

