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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1707
RA = 347.768, Dec = 34.4223
tmin = 681782401, tmax = 682041601
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='551568', job_status='RUN', time_executed='2022-08-13 00:35:58.632433', time_epoch_executed='1660376158.63' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551568

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551568/ft1_4FGL_J2311.0+3425_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551568/ft1_4FGL_J2311.0+3425_daily_bin1707.fits outfile=/scratch/kocevski/551568/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1707.fits ra=347.768 dec=34.4223 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.45
user 5.20
sys 0.24

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

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

Number of photons that the gtmktime cut: 972

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551568/ft1_filtered_4FGL_J2311.0+3425_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/551568/ltcube_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.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/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits
.....................!
real 11.78
user 11.46
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551568/ft1_filtered_4FGL_J2311.0+3425_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/551568/ltcube_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.fits outfile=/scratch/kocevski/551568/expmap_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.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/551568/ltcube_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.fits
.....................!
real 191.10
user 185.62
sys 5.12

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/551568/ft1_filtered_4FGL_J2311.0+3425_daily_bin1707.fits scfile=/scratch/kocevski/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits outfile=/scratch/kocevski/551568/cmap_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551568/ft1_filtered_4FGL_J2311.0+3425_daily_bin1707.fits scfile=/scratch/kocevski/551568/ft2_4FGL_J2311.0+3425_daily_bin1707.fits outfile=/scratch/kocevski/551568/cmap_HighResolution_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.0576       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .54207E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .18638E-02   1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3141       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8816       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.655       1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.351       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0193       1.0000         .10000E-03   10000.    
    14 'Prefactor '    147.52       1.0000         .10000E-03   10000.    
    15 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10415E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .41850E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.945       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .88207       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0082       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=   10206.82     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2405 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8605       -.18681E-06** at limit **
   2  norm          3.0578        1.3219        .82319E-08    .30195E-04
   3  Prefactor     .10000E-03    28.676        .14276E-05** at limit **
   4  Prefactor     .10000E-03    16.186        .76879E-05** at limit **
   5  Prefactor     .10003E-03    35.639        .98989E-05** at limit **
   6  norm          .10000E-03    1.1177        .69740E-07** at limit **
   7  Prefactor     .10000E-03    9.9658        .10745E-06** at limit **
   8  Prefactor     6.3133        5.4825       -.42086E-07    .15433E-03
   9  Prefactor     7.8840        10.656       -.28027E-06    .27419E-05
  10  Prefactor     23.655        19.657        .31725E-06    .70042E-04
  11  norm          .10000E-03    .43103        .18726E-07** at limit **
  12  Prefactor     51.287        33.063        .21887E-05    .21057E-03
  13  Prefactor     2.0194        4.5710       -.26648E-05   -.11391E-03
  14  Prefactor     147.53        47.076       -.73798E-06    .40520E-04
  15  norm          .10000E-03    2.0648       -.28933E-06** at limit **
  16  norm          .10000E-03    3.1941       -.74436E-07** at limit **
  17  Prefactor     .10000E-03    8.2364       -.49934E-06** at limit **
  18  norm          .10000E-03    .40029       -.15028E-07** at limit **
  19  Prefactor     .10000E-03    5.6050        .10327E-05** at limit **
  20  Prefactor     79.938        38.159        .24295E-06    .47065E-04
  21  Prefactor     .10000E-03    33.609       -.21092E-05** at limit **
  22  Prefactor     .10000E-03    2.8817       -.30420E-06** at limit **
  23  Normalizat    .88218        .20816       -.60013E-06    .36561E-03
  24  Prefactor     1.0082        .88329E-01    .92863E-06    .61107E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.05781
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.31329
  Prefactor  = 7.88403
  Prefactor  = 23.6555
  norm       = 0.0001
  Prefactor  = 51.2866
  Prefactor  = 2.01944
  Prefactor  = 147.527
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 79.9378
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.882185
  Prefactor  = 1.00815
 **********
 **   18 **HESSE 
 **********

 FCN=   10206.82     FROM HESSE     STATUS=OK           399 CALLS     2804 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.0578        1.2786        .71060E-04   -1.5358    
   3  Prefactor     .10000E-03    28.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.336        .34240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    99.175        .70321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.1251        .10411E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3133        5.4437        .15974E-03   -1.5205    
   9  Prefactor     7.8840        10.656        .14283E-03   -1.5146    
  10  Prefactor     23.655        19.662        .82358E-04   -1.4735    
  11  norm          .10000E-03    .73316        .12793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.287        33.284        .55966E-04   -1.4274    
  13  Prefactor     2.0194        4.6207        .29124E-03   -1.5424    
  14  Prefactor     147.53        47.162        .33179E-04   -1.3273    
  15  norm          .10000E-03    2.0946        .14177E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.2015        .17634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.3394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .40119        .62417E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    27.156        .45503E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     79.938        38.206        .44918E-04   -1.3917    
  21  Prefactor     .10000E-03    33.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.9013        .16749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .88218        .23028        .39623E-03   -.97089    
  24  Prefactor     1.0082        .97940E-01    .16362E-03   -.92458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2143e-09
Minuit parameter uncertainties:
  1  1.00995e-06
  2  1.27859
  3  0.000122067
  4  2.44681e-05
  5  0.00327586
  6  6.09614e-07
  7  4.37646e-06
  8  5.44415
  9  10.6584
  10  19.6669
  11  1.44424e-05
  12  33.2957
  13  4.62148
  14  47.1743
  15  2.26565e-06
  16  1.74444e-06
  17  1.06842e-05
  18  2.78101e-07
  19  0.000292522
  20  38.2175
  21  0.000172612
  22  2.23399e-06
  23  0.230535
  24  0.0979574
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.000e-04  1.444e-05  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:  1.008e+00  9.796e-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:  8.822e-01  2.305e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.768 34.422
Photon Flux Upper Limit: 5.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/551568/likelihoodResults_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.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) = 10206.8236903
delta logL = -0.00651488382209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10206.8171172
delta logL = 5.82231677981e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17971E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6361       1.0000          .0000       5.0000    
     3 'Normalizat'    .88237       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10206.82     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      327 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    1.1087        .11998E-01** at limit **
   2  alpha         3.6739        2.5183        .19400E-01    .25199E-06
   3  Normalizat    .88217        .10423E-01    .39622E-03    .95202E-04
   4  Prefactor     1.0082        .46047E-02    .16362E-03    .45582E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100032
  alpha      = 3.67387
  Normalizat = 0.882166
  Prefactor  = 1.00816
 **********
 **   18 **HESSE 
 **********

 FCN=   10206.82     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      360 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    .75007        .13838E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.6739        3.0669        .77600E-03    .48878    
   3  Normalizat    .88217        .95291E-02    .15849E-04   -.97090    
   4  Prefactor     1.0082        .42104E-02    .65446E-05   -.92458    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.50487e-10
Minuit parameter uncertainties:
  1  0.000309992
  2  177.033
  3  0.00952909
  4  0.00421036
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551568': 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) = 10206.8171102
delta logL = 6.52338549116e-05

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  1.000e-04  3.100e-04  1.000e-04  1.000e+04 ( 1.000e-11)
373        alpha:  3.674e+00  1.770e+02  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:  1.008e+00  4.210e-03  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:  8.822e-01  9.529e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.768 34.422

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/551568/cmap_HighResolution_681782401_682041601_4FGL_J2311.0+3425_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='5.51e-08', time_completed='2022-08-13 00:50:44.998241', job_id='551568', GAL2='1.01', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1660377045.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='6.52e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1707' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:50:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 551568: <4FGL_J2311.0+3425_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1707> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 13 00:35:25 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:35:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:35:26 2022
Terminated at Sat Aug 13 00:50:45 2022
Results reported at Sat Aug 13 00:50:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1707 347.768 34.4223 681782401 682041601 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 :                                   888.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            920 sec.

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

