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


Performing analysis on: 4FGL_J2311.0+3425_daily_bin1709
RA = 347.768, Dec = 34.4223
tmin = 682300801, tmax = 682560001
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='253754', job_status='RUN', time_executed='2022-09-17 00:22:46.905416', time_epoch_executed='1663399366.91' WHERE source_name='4FGL J2311.0+3425' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/253754

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/253754/ft1_4FGL_J2311.0+3425_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/253754/ft1_4FGL_J2311.0+3425_daily_bin1709.fits outfile=/scratch/kocevski/253754/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1709.fits ra=347.768 dec=34.4223 rad=12.0 tmin=682300801.0 tmax=682560001.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.77
user 3.54
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.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/253754/ft1_filteredMKT_4FGL_J2311.0+3425_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/253754/ft1_filtered_4FGL_J2311.0+3425_daily_bin1709.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 971

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/253754/ft1_filtered_4FGL_J2311.0+3425_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/253754/ltcube_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.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/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits
.....................!
real 14.62
user 14.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/253754/ft1_filtered_4FGL_J2311.0+3425_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/253754/ltcube_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.fits outfile=/scratch/kocevski/253754/expmap_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.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/253754/ltcube_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.fits
.....................!
real 192.94
user 187.40
sys 5.05

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/253754/ft1_filtered_4FGL_J2311.0+3425_daily_bin1709.fits scfile=/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits outfile=/scratch/kocevski/253754/cmap_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/253754/ft1_filtered_4FGL_J2311.0+3425_daily_bin1709.fits scfile=/scratch/kocevski/253754/ft2_4FGL_J2311.0+3425_daily_bin1709.fits outfile=/scratch/kocevski/253754/cmap_HighResolution_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.811       1.0000          .0000       .10000E+07
     2 'norm      '    .59733       1.0000          .0000       .10000E+07
     3 'norm      '    .17153E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10718E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.0411       1.0000          .0000       .10000E+07
     6 'Prefactor '    .53291E-08   1.0000          .0000       .10000E+07
     7 'norm      '    .46096E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    65.764       1.0000          .0000       .10000E+07
     9 'Prefactor '    18.736       1.0000          .0000       .10000E+07
    10 'Prefactor '    208.60       1.0000          .0000       .10000E+07
    11 'norm      '    3.8334       1.0000          .0000       .10000E+07
    12 'norm      '    .25313E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .30109E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .20539E-08   1.0000          .0000       .10000E+07
    15 'Prefactor '    28.490       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20696       1.0000          .0000       .10000E+07
    17 'Prefactor '    .79492E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1743       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92476       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=   9944.186     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      986 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.067        19.751       -.21685E-06    .17245E-01
   2  norm          .59796        .86611        .65501E-08    .13069E-02
   3  norm           .0000        1.3282        .25906E-07** at limit **
   4  Prefactor     .55511E-10    8.0546        .36989E-07** at limit **
   5  Prefactor     3.0413        3.1150        .50745E-07    .47792E-02
   6  Prefactor     .17208E-08    5.1945        .19803E-06** at limit **
   7  norm          .55511E-10    5.7634       -.68569E-07** at limit **
   8  Prefactor     63.792        30.770       -.24011E-06   -.45398E-01
   9  Prefactor     18.851        1.9731       -.18596E-07   -.10279    
  10  Prefactor     211.01        52.943        .93003E-07   -.30647E-01
  11  norm          3.8279        3.1358       -.15816E-07   -.18652E-02
  12  norm          .16653E-09    4.7723       -.10016E-06** at limit **
  13  Prefactor      .0000        3.6756       -.12379E-07** at limit **
  14  norm          .55511E-10    1.1972       -.57279E-07** at limit **
  15  Prefactor     28.680        5.2656        .29277E-07   -.21863    
  16  Prefactor     .16986E-07    53.166       -.26979E-06** at limit **
  17  Prefactor      .0000        2.4825        .17703E-07** at limit **
  18  Normalizat    1.1746        .23135        .12601E-05   -.96400E-04
  19  Prefactor     .92445        .98102E-01   -.70515E-06   -.30203E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 15.0674
  norm       = 0.597965
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 3.04132
  Prefactor  = 1.72085e-09
  norm       = 5.55112e-11
  Prefactor  = 63.7923
  Prefactor  = 18.8506
  Prefactor  = 211.011
  norm       = 3.82793
  norm       = 1.66533e-10
  Prefactor  = 0
  norm       = 5.55112e-11
  Prefactor  = 28.6805
  Prefactor  = 1.69864e-08
  Prefactor  = 0
  Normalizat = 1.17461
  Prefactor  = 0.924451
 **********
 **   18 **HESSE 
 **********

 FCN=   9944.186     FROM HESSE     STATUS=OK           310 CALLS     1296 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.067        19.771        .25999E-03   -1.5630    
   2  norm          .59796        .87991        .69467E-03   -1.5692    
   3  norm           .0000        1.3262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    8.0492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.0413        3.1109        .58157E-03   -1.5673    
   6  Prefactor     .17208E-08    5.2671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .55511E-10    .50075        .24302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     63.792        31.093        .12332E-03   -1.5548    
   9  Prefactor     18.851        10.716        .23111E-03   -1.5621    
  10  Prefactor     211.01        53.067        .69246E-04   -1.5417    
  11  norm          3.8279        3.1379        .51523E-03   -1.5669    
  12  norm          .16653E-09    4.7840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.6674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .55511E-10    1.1926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.680        29.258        .18738E-03   -1.5601    
  16  Prefactor     .16986E-07    53.071        .11653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.4842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1746        .20505        .80870E-01   -.87391    
  19  Prefactor     .92445        .84666E-01    .45320E-01   -.95292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57146e-06
Minuit parameter uncertainties:
  1  19.7712
  2  0.87991
  3  9.69416e-06
  4  4.72394e-05
  5  3.11093
  6  0.000190185
  7  8.38969e-06
  8  31.0934
  9  10.7162
  10  53.0671
  11  3.13786
  12  5.73141e-05
  13  1.47875e-05
  14  1.81228e-05
  15  29.2586
  16  0.00189927
  17  1.4972e-05
  18  0.205188
  19  0.0846782
Done.

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

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  5.551e-11  8.390e-06  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.245e-01  8.468e-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.175e+00  2.052e-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.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/253754/likelihoodResults_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.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): 102
logL (Free Index) = 9944.22154874
delta logL = -0.0357605864319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9944.18579378
delta logL = -5.61705564905e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22927E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    2.9133       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1751       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92433       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9944.186     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      235 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        .30167        .29836E-02** at limit **
   2  alpha         2.7440        1.0119        .24913E-03     .0000    
   3  Normalizat    1.1746        1.1154        .13405E-04    .32351E-03
   4  Prefactor     .92445        1.2681       -.40336E-05    .10504E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.74403
  Normalizat = 1.1746
  Prefactor  = 0.924453
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9944.186     FROM HESSE     STATUS=FAILED         9 CALLS      244 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        .30167        .29836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4984        1.2246        .24913E-03    .97768E-01
   3  Normalizat    1.1746        1.1154        .13405E-04   -.87391    
   4  Prefactor     .92445        1.2681       -.40336E-05   -.95292    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.6916e-10
Minuit parameter uncertainties:
  1  5.69082e-06
  2  1.04214
  3  1.13918
  4  1.31255
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/253754': 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): 101
logL (Free Index) = 9944.18578816
delta logL = -1.81898940355e-10

Extracting fit parameters...

4FGL J2311.0+3425
   Spectrum: LogParabola
372         norm:  0.000e+00  5.691e-06  0.000e+00  1.000e+06 ( 1.000e-11)
373        alpha:  2.744e+00  1.042e+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:  9.245e-01  1.313e+00  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.175e+00  1.139e+00  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/253754/cmap_HighResolution_682300801_682560001_4FGL_J2311.0+3425_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-05', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2022-09-17 00:33:38.272463', job_id='253754', GAL2='0.92', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1663400018.27', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-1.82e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.24' WHERE bin_id='1709' AND source_name='4FGL J2311.0+3425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 17 00:33:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0008>
Subject: Job 253754: <4FGL_J2311.0+3425_daily_bin1709> in cluster <slac> Done

Job <4FGL_J2311.0+3425_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 17 00:20:30 2022
Job was executed on host(s) <bullet0008>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 00:21:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 00:21:34 2022
Terminated at Sat Sep 17 00:33:39 2022
Results reported at Sat Sep 17 00:33:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+3425_daily_bin1709 347.768 34.4223 682300801 682560001 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 :                                   653.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             353.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            789 sec.

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

