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


Performing analysis on: 4FGL_J2311.0+0205_daily_bin1745
RA = 347.766, Dec = 2.0995
tmin = 691632001, tmax = 691891201
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='658776', job_status='RUN', time_executed='2022-12-05 01:30:41.759575', time_epoch_executed='1670232641.76' WHERE source_name='4FGL J2311.0+0205' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658776/ft1_4FGL_J2311.0+0205_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658776/ft1_4FGL_J2311.0+0205_daily_bin1745.fits outfile=/scratch/kocevski/658776/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1745.fits ra=347.766 dec=2.0995 rad=12.0 tmin=691632001.0 tmax=691891201.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.37
user 2.18
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.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/658776/ft1_filteredMKT_4FGL_J2311.0+0205_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.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.34
sys 0.14

Number of photons that the gtmktime cut: 684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658776/ltcube_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.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/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits
.....................!
real 12.51
user 12.13
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658776/ltcube_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits outfile=/scratch/kocevski/658776/expmap_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.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/658776/ltcube_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits
.....................!
real 189.74
user 185.00
sys 4.43

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
Added 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2311.0+0205 @ 347.766 2.0995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits outfile=/scratch/kocevski/658776/cmap_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.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.766 yref=2.0995 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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits outfile=/scratch/kocevski/658776/cmap_HighResolution_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.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.766 yref=2.0995 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.62
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658776/Model_4FGL_J2311.0+0205_daily_bin1745.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 GAL_V02
Working on...
/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits.....................!
real 71.14
user 69.78
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits', '/scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits', expMap='/scratch/kocevski/658776/expmap_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits', expCube='/scratch/kocevski/658776/ltcube_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658776/Model_4FGL_J2311.0+0205_daily_bin1745.xml', optimizer='MINUIT')

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

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  6.504e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/658776/ft1_filtered_4FGL_J2311.0+0205_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/658776/ft2_4FGL_J2311.0+0205_daily_bin1745.fits
Exposure map: /scratch/kocevski/658776/expmap_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits
Exposure cube: /scratch/kocevski/658776/ltcube_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658776/Model_4FGL_J2311.0+0205_daily_bin1745.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) = 7486.92464883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18731E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .12644       1.0000          .0000       .10000E+07
     3 'Prefactor '    23.550       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51403E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26090E-08   1.0000          .0000       .10000E+07
     7 'norm      '    .78963       1.0000          .0000       .10000E+07
     8 'norm      '    1.5648       1.0000          .0000       .10000E+07
     9 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
    10 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .27478E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    11.654       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10641E-06   1.0000          .0000       .10000E+07
    14 'norm      '    8.7512       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40012       1.0000          .0000       .10000E+07
    16 'Prefactor '    14.092       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.9584       1.0000          .0000       .10000E+07
    18 'Normalizat'    .75251       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0659       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7486.884     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1638 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10011E-03    9.7432       -.32818E-05** at limit **
   2  norm          .18709E-01    33.209       -.49512E-06** at limit **
   3  Prefactor     23.540        1.2822       -.74354E-08    .20582E-01
   4  Prefactor     .56011E-07    10.490       -.41397E-06** at limit **
   5  Prefactor     .72276E-06    8.9541       -.26329E-06** at limit **
   6  Prefactor      .0000        3.2184        .11021E-06** at limit **
   7  norm          .78962        .66883        .24140E-07    .16825E-02
   8  norm          1.5645        4.3008       -.20064E-06   -.64088E-03
   9  Prefactor      .0000        1.8612        .26919E-07** at limit **
  10  Prefactor     .17764E-07    5.1791       -.28111E-06** at limit **
  11  norm          .27756E-09    1.7281        .25485E-06** at limit **
  12  Prefactor     11.651        6.5552        .74477E-07   -.70977E-02
  13  Prefactor     .54534E-06    12.666       -.37373E-06** at limit **
  14  norm          8.7511        1.2362        .78313E-08   -.31878E-02
  15  Prefactor     .39842        6.1405        .11354E-06    .54646E-03
  16  Prefactor     14.080        1.3354       -.10001E-07    .15586E-01
  17  Prefactor     9.9506        1.0505        .46605E-09    .15201E-02
  18  Normalizat    .75267        .19965       -.13556E-05    .12043E-03
  19  Prefactor     1.0660        .13112        .34689E-05    .23393E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100107
  norm       = 0.018709
  Prefactor  = 23.54
  Prefactor  = 5.60108e-08
  Prefactor  = 7.22755e-07
  Prefactor  = 0
  norm       = 0.789623
  norm       = 1.56447
  Prefactor  = 0
  Prefactor  = 1.77636e-08
  norm       = 2.77556e-10
  Prefactor  = 11.6514
  Prefactor  = 5.45342e-07
  norm       = 8.75108
  Prefactor  = 0.398425
  Prefactor  = 14.0798
  Prefactor  = 9.9506
  Normalizat = 0.752672
  Prefactor  = 1.06598
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.884     FROM HESSE     STATUS=OK           320 CALLS     1958 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10011E-03    9.3492        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .18709E-01    4.3117        .97189E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.540        35.067        .20611E-03   -1.5611    
   4  Prefactor     .56011E-07    10.553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .72276E-06    12.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        3.2352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .78962        .67454        .53711E-03   -1.5690    
   8  norm          1.5645        4.3455        .84998E-03   -1.5683    
   9  Prefactor      .0000        1.8677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .17764E-07    13.589        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .27756E-09    1.7330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.651        6.5654        .29320E-03   -1.5640    
  13  Prefactor     .54534E-06    14.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.7511        13.495        .33859E-03   -1.5649    
  15  Prefactor     .39842        2.0652        .62187E-02   -1.5695    
  16  Prefactor     14.080        29.723        .26656E-03   -1.5633    
  17  Prefactor     9.9506        19.806        .31729E-03   -1.5645    
  18  Normalizat    .75267        .18512        .73179E-01   -1.0185    
  19  Prefactor     1.0660        .11574        .39055E-01   -.90561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66849e-07
Minuit parameter uncertainties:
  1  0.00200101
  2  0.56804
  3  35.0672
  4  0.00153745
  5  0.00604595
  6  1.69225e-06
  7  0.674541
  8  4.34547
  9  2.57488e-06
  10  0.000982297
  11  4.2441e-05
  12  6.56545
  13  0.00568615
  14  13.4951
  15  1.8142
  16  29.7237
  17  19.8058
  18  0.185271
  19  0.115766
Done.

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

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  5.601e-08  1.537e-03  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.186e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.066e+00  1.158e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.527e-01  1.853e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 347.766 2.099
Photon Flux Upper Limit: 5.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658776/likelihoodResults_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.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) = 7486.93077101
delta logL = -0.0466234113719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7486.85131052
delta logL = 0.0328370853049

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0115       1.0000          .0000       .10000E+07
     2 'Index     '    1.2505       1.0000          .0000       10.000    
     3 'Normalizat'    .75347       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0643       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5340E+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=   7486.851     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      269 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0133        9.5972        .29185E-04   -.15971E-04
   2  Index         1.2506        1.1735        .20342E-01   -.22052E-03
   3  Normalizat    .75349        .19603        .32371E-03   -.86395E-05
   4  Prefactor     1.0643        .13176        .18435E-03    .20955E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.01327
  Index      = 1.25063
  Normalizat = 0.753491
  Prefactor  = 1.06428
 **********
 **   18 **HESSE 
 **********

 FCN=   7486.851     FROM HESSE     STATUS=OK            25 CALLS      294 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0133        10.252        .11674E-05   -1.5680    
   2  Index         1.2506        1.2127        .40685E-02   -.84787    
   3  Normalizat    .75349        .19616        .12948E-04   -1.0182    
   4  Prefactor     1.0643        .13185        .36870E-04   -.90617    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27726e-11
Minuit parameter uncertainties:
  1  9.08628
  2  1.2416
  3  0.196345
  4  0.131892
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658776': 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) = 7486.85131049
delta logL = 0.0328371135838

Extracting fit parameters...

4FGL J2311.0+0205
   Spectrum: PowerLaw
368    Prefactor:  2.013e+00  9.086e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  1.251e+00  1.242e+00  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.185e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
531    Prefactor:  1.064e+00  1.319e-01  0.000e+00  1.000e+01 ( 1.000e+00)
532        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
533        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
530   Normalization:  7.535e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 347.766 2.099

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/658776/cmap_HighResolution_691632001_691891201_4FGL_J2311.0+0205_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.39e-03', job_status='DONE', photon_flux_upper_limit='5.77e-08', time_completed='2022-12-05 01:40:25.968072', job_id='658776', GAL2='1.06', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1670233225.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.28e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='1745' AND source_name='4FGL J2311.0+0205' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:40:26 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 658776: <4FGL_J2311.0+0205_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2311.0+0205_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:23 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:23 2022
Terminated at Mon Dec  5 01:40:27 2022
Results reported at Mon Dec  5 01:40:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.0+0205_daily_bin1745 347.766 2.0995 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.0+0205 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   586.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   603 sec.
    Turnaround time :                            604 sec.

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

