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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1699
RA = 347.768, Dec = 34.4223
tmin = 679708801, tmax = 679968001
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='1448', job_status='RUN', time_executed='2022-07-20 00:36:25.162517', time_epoch_executed='1658302585.16' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/1448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/1448/ft1_4FGL_J2311.0+3425_daily_bin1699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/1448/ft1_4FGL_J2311.0+3425_daily_bin1699.fits outfile=/scratch/kocevski/1448/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1699.fits ra=347.768 dec=34.4223 rad=12.0 tmin=679708801.0 tmax=679968001.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.80
user 3.59
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.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/1448/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1699.fits evtable="EVENTS" outfile="/scratch/kocevski/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.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.16

Number of photons that the gtmktime cut: 1000

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits" evtable="EVENTS" scfile=/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits sctable="SC_DATA" outfile=/scratch/kocevski/1448/ltcube_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.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/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits
.....................!
real 12.11
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits evtable="EVENTS" scfile=/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits sctable="SC_DATA" expcube=/scratch/kocevski/1448/ltcube_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits outfile=/scratch/kocevski/1448/expmap_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.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/1448/ltcube_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits
.....................!
real 190.51
user 184.94
sys 5.19

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/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits scfile=/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits outfile=/scratch/kocevski/1448/cmap_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits scfile=/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits outfile=/scratch/kocevski/1448/cmap_HighResolution_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.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.55
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits', '/scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits', expMap='/scratch/kocevski/1448/expmap_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits', expCube='/scratch/kocevski/1448/ltcube_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/1448/Model_4FGL_J2311.0+3425_daily_bin1699.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/1448/ft1_filtered_4FGL_J2311.0+3425_daily_bin1699.fits
Spacecraft file(s): /scratch/kocevski/1448/ft2_4FGL_J2311.0+3425_daily_bin1699.fits
Exposure map: /scratch/kocevski/1448/expmap_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits
Exposure cube: /scratch/kocevski/1448/ltcube_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/1448/Model_4FGL_J2311.0+3425_daily_bin1699.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) = 10808.3716998

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .96368       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4012       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8278       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.625       1.0000         .10000E-03   10000.    
     6 'norm      '    4.5699       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4100       1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.539       1.0000         .10000E-03   10000.    
    11 'norm      '    2.4851       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .85126E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .11760E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    15.397       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3725       1.0000         .10000E-03   10000.    
    18 'norm      '    .10794E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.581       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.965       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1906       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94003       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=   10808.35     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2763 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    9.5046       -.41107E-06** at limit **
   2  norm          .96390        1.2537        .21779E-06    .30056E-03
   3  Prefactor     2.4127        302.20        .11346E-05    .12240E-04
   4  Prefactor     1.8303        5.3594        .63570E-06    .72894E-05
   5  Prefactor     26.621        18.512       -.29688E-06    .53906E-04
   6  norm          4.5699        4.1837       -.71880E-07   -.61904E-04
   7  Prefactor     .10000E-03    6.5340        .43524E-07** at limit **
   8  Prefactor     .10000E-03    4.1323        .68992E-07** at limit **
   9  Prefactor     2.4097        5.0677        .31611E-05   -.95691E-04
  10  Prefactor     33.540        21.994        .15894E-06   -.11330E-03
  11  norm          2.4851        1.2985        .13693E-07   -.25434E-03
  12  Prefactor     .10040E-03    17.022        .19333E-05** at limit **
  13  Prefactor     .10000E-03    3.5497        .31609E-07** at limit **
  14  Prefactor     .10000E-03    37.335        .30690E-06** at limit **
  15  norm          .10000E-03    2.4980        .56726E-06** at limit **
  16  norm          15.399        10.927        .47071E-07    .10564E-04
  17  Prefactor     3.3686        21.325       -.11513E-05   -.16544E-03
  18  norm          .10000E-03    1.3056        .18270E-07** at limit **
  19  Prefactor     .10000E-03    4.9582       -.45020E-07** at limit **
  20  Prefactor     29.533        36.248        .41771E-06   -.18447E-03
  21  Prefactor     .10000E-03    23.251       -.48840E-06** at limit **
  22  Prefactor     12.966        7.7366        .14593E-06   -.46550E-03
  23  Normalizat    1.1912        .20125        .68294E-06   -.26378E-03
  24  Prefactor     .93976        .82583E-01   -.72855E-06   -.67646E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.963896
  Prefactor  = 2.41274
  Prefactor  = 1.83027
  Prefactor  = 26.6212
  norm       = 4.56987
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.40973
  Prefactor  = 33.5404
  norm       = 2.48512
  Prefactor  = 0.000100397
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 15.3993
  Prefactor  = 3.36857
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.5326
  Prefactor  = 0.0001
  Prefactor  = 12.9661
  Normalizat = 1.19122
  Prefactor  = 0.939764
 **********
 **   18 **HESSE 
 **********

 FCN=   10808.35     FROM HESSE     STATUS=OK           409 CALLS     3172 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    9.5398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .96390        1.2259        .12095E-03   -1.5512    
   3  Prefactor     2.4127        303.79        .26424E-03   -1.5397    
   4  Prefactor     1.8303        5.2055        .30874E-03   -1.5437    
   5  Prefactor     26.621        18.413        .77637E-04   -1.4676    
   6  norm          4.5699        4.0743        .16139E-03   -1.5280    
   7  Prefactor     .10000E-03    6.5422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.2151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4097        5.0679        .13186E-02   -1.5397    
  10  Prefactor     33.540        22.017        .69193E-04   -1.4549    
  11  norm          2.4851        1.2926        .81953E-04   -1.5393    
  12  Prefactor     .10040E-03    17.997        .11532       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.5622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    37.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.7974        .29334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          15.399        10.905        .10207E-03   -1.4923    
  17  Prefactor     3.3686        18.393        .22034E-03   -1.5341    
  18  norm          .10000E-03    3.0151        .22919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.9609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.533        36.698        .73665E-04   -1.4621    
  21  Prefactor     .10000E-03    23.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.966        7.7740        .11124E-03   -1.4988    
  23  Normalizat    1.1912        .23479        .35851E-03   -.86874    
  24  Prefactor     .93976        .96703E-01    .17194E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.79549e-10
Minuit parameter uncertainties:
  1  9.0456e-05
  2  1.22597
  3  54.4298
  4  5.20681
  5  18.4166
  6  4.07456
  7  3.34554e-06
  8  5.73503e-06
  9  5.06883
  10  22.0221
  11  1.29266
  12  0.00534941
  13  3.33493e-06
  14  6.84782e-05
  15  4.84352e-05
  16  10.9062
  17  15.7498
  18  8.28389e-06
  19  7.84017e-06
  20  36.7256
  21  0.000165401
  22  7.77458
  23  0.234997
  24  0.0967204
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.485e+00  1.293e+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:  9.398e-01  9.672e-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.191e+00  2.350e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.72
Ra Dec: 347.768 34.422
Photon Index (Fixed Index): 2.24 +/- 0.00
Photon Flux (Fixed Index): 6.87e-08 +/- 3.57e-08
Energy Flux (Fixed Index): 2.44e-05 +/- 1.27e-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) = 10807.8746749
delta logL = 0.480317411979

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10807.8402865
delta logL = 0.514705820675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4976       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8142       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2138       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93324       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=   10807.84     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4949        1.3704        .64652E-02    .44896E-03
   2  alpha         1.8144        .35413        .35870       -.56596E-04
   3  Normalizat    1.2138        .18656        .80334E-01    .11273E-04
   4  Prefactor     .93323        .80859E-01    .45427E-01   -.65034E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.49493
  alpha      = 1.8144
  Normalizat = 1.21383
  Prefactor  = 0.933228
 **********
 **   18 **HESSE 
 **********

 FCN=   10807.84     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4949        1.3267        .81348E-04   -1.5392    
   2  alpha         1.8144        .39136        .13914E-01   -.27780    
   3  Normalizat    1.2138        .21669        .35562E-03   -.86176    
   4  Prefactor     .93323        .93934E-01    .17243E-03   -.94989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63863e-12
Minuit parameter uncertainties:
  1  1.32672
  2  0.393107
  3  0.21685
  4  0.0939505
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/1448': 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) = 10807.8402836
delta logL = 0.514708684299

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  2.495e+00  1.327e+00  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  1.814e+00  3.931e-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:  9.332e-01  9.395e-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.214e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.75
Ra Dec: 347.768 34.422
Photon Index (Free Index): 1.81 +/- 0.39
Photon Flux (Free Index): 5.19e-08 +/- 3.20e-08
Energy Flux (Free Index): 3.45e-05 +/- 2.21e-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/1448/cmap_HighResolution_679708801_679968001_4FGL_J2311.0+3425_daily_bin1699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.87e-08', energy_flux2='3.45e-05', photon_flux_error='3.57e-08', dlogl='5.15e-01', energy_flux='2.44e-05', photon_flux2='5.19e-08', job_status='DONE', time_completed='2022-07-20 00:50:11.791553', photon_index_error2='0.39', photon_index2='1.81', ts='6.72', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='2.21e-05', EG='1.19', time_epoch_completed='1658303411.79', return_code='0', job_id='1448', GAL2='0.93', EG2='1.21', return_code2='0', energy_flux_error='1.27e-05', photon_flux_error2='3.20e-08', ts2='7.75', photon_index='2.24' WHERE bin_id='1699' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jul 20 00:50:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 1448: <4FGL_J2311.0+3425_daily_bin1699> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1699> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Jul 20 00:35:46 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 20 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 20 00:35:47 2022
Terminated at Wed Jul 20 00:50:12 2022
Results reported at Wed Jul 20 00:50:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1699 347.768 34.4223 679708801 679968001 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 :                                   825.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            866 sec.

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

