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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1727
RA = 347.931, Dec = 26.0831
tmin = 686966401, tmax = 687225601
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='215432', job_status='RUN', time_executed='2022-10-12 00:41:02.112435', time_epoch_executed='1665560462.11' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1727'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215432/ft1_4FGL_J2311.7+2604_daily_bin1727.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215432/ft1_4FGL_J2311.7+2604_daily_bin1727.fits outfile=/scratch/kocevski/215432/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1727.fits ra=347.931 dec=26.0831 rad=12.0 tmin=686966401.0 tmax=687225601.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.90
user 2.68
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.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/215432/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1727.fits evtable="EVENTS" outfile="/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 236

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits" evtable="EVENTS" scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits sctable="SC_DATA" outfile=/scratch/kocevski/215432/ltcube_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.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/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits
.....................!
real 12.47
user 12.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits sctable="SC_DATA" expcube=/scratch/kocevski/215432/ltcube_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits outfile=/scratch/kocevski/215432/expmap_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.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/215432/ltcube_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits
.....................!
real 190.89
user 185.47
sys 4.98

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.7+2604 @ 347.931 26.0831

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits outfile=/scratch/kocevski/215432/cmap_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.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.931 yref=26.0831 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits outfile=/scratch/kocevski/215432/cmap_HighResolution_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.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.931 yref=26.0831 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits evtable="EVENTS" scfile=/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/215432/Model_4FGL_J2311.7+2604_daily_bin1727.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/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits......................!
real 41.01
user 39.60
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits', '/scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits', expMap='/scratch/kocevski/215432/expmap_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits', expCube='/scratch/kocevski/215432/ltcube_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/215432/Model_4FGL_J2311.7+2604_daily_bin1727.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2311.7+2604'

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.423e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/215432/ft1_filtered_4FGL_J2311.7+2604_daily_bin1727.fits
Spacecraft file(s): /scratch/kocevski/215432/ft2_4FGL_J2311.7+2604_daily_bin1727.fits
Exposure map: /scratch/kocevski/215432/expmap_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits
Exposure cube: /scratch/kocevski/215432/ltcube_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/215432/Model_4FGL_J2311.7+2604_daily_bin1727.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2620.50665433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2620.39353166

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3126       1.0000          .0000       .10000E+07
     2 'norm      '    .10171E-05   1.0000          .0000       .10000E+07
     3 'norm      '    3.2364       1.0000          .0000       .10000E+07
     4 'Prefactor '    .15119       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14238E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0211       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .15788E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .43084E-02   1.0000          .0000       .10000E+07
     9 'norm      '    10.307       1.0000          .0000       .10000E+07
    10 'Prefactor '    154.75       1.0000          .0000       .10000E+07
    11 'Prefactor '    64.561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .61986E-01   1.0000          .0000       .10000E+07
    13 'norm      '    .15885E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    52.585       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.1252       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.2658       1.0000          .0000       .10000E+07
    17 'Normalizat'    .12313       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.2544       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2620.377     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     1481 TOTAL
                     EDM=   .34E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9180        29.779        .39615E-06    .16132E-03
   2  norm           .0000        .67532        .17706E-07** at limit **
   3  norm          3.2644        3.7463       -.58443E-08   -.66453E-04
   4  Prefactor      .0000        120.83       -.26326E-07** at limit **
   5  Prefactor     .27756E-09    112.23       -.10383E-05** at limit **
   6  Prefactor     5.0270        .75531        .60680E-07    .10747E-03
   7  Prefactor      .0000        64.786        .12526E-07** at limit **
   8  Prefactor      .0000        11.438       -.15550E-07** at limit **
   9  norm          10.327        5.4619        .17579E-07    .19532E-03
  10  Prefactor     158.48        105.42        .18838E-07   -.57471E-04
  11  Prefactor     74.413        115.15       -.50976E-07   -.62786E-04
  12  Prefactor      .0000        15.835       -.80714E-07** at limit **
  13  norm           .0000        11.179       -.10246E-06** at limit **
  14  Prefactor     53.672        69.127       -.26638E-07   -.52691E-04
  15  Prefactor     4.5954        233.64       -.99979E-07    .69587E-05
  16  Prefactor     35.005        549.52       -.94101E-07   -.12041E-04
  17  Normalizat    .10795        .95643       -.11226E-04    .22703E-05
  18  Prefactor     1.2527        .29340        .91145E-06    .96643E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.918
  norm       = 0
  norm       = 3.26442
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 5.02701
  Prefactor  = 0
  Prefactor  = 0
  norm       = 10.3274
  Prefactor  = 158.484
  Prefactor  = 74.413
  Prefactor  = 0
  norm       = 0
  Prefactor  = 53.6717
  Prefactor  = 4.59541
  Prefactor  = 35.0052
  Normalizat = 0.107948
  Prefactor  = 1.25274
 **********
 **   18 **HESSE 
 **********

 FCN=   2620.377     FROM HESSE     STATUS=NOT POSDEF   282 CALLS     1763 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9180        264.83        .43581E-03   -1.5659    
   2  norm           .0000        .60465        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.2644        3.8549        .56279E-03   -1.5672    
   4  Prefactor      .0000        104.51        .12718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .27756E-09    98.871        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0270        1.1470        .37210E-02   -1.5260    
   7  Prefactor      .0000        56.062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        9.8892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.327        8.2078        .31185E-03   -1.5644    
  10  Prefactor     158.48        181.09        .80394E-04   -1.5456    
  11  Prefactor     74.413        108.21        .12446E-03   -1.5535    
  12  Prefactor      .0000        13.779        .15091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        9.7359        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     53.672        104.84        .13791E-03   -1.5561    
  15  Prefactor     4.5954        409.97        .11040E-02   -1.5665    
  16  Prefactor     35.005        662.58        .34846E-03   -1.5590    
  17  Normalizat    .10795        9.8834        .29128       -1.3724    
  18  Prefactor     1.2527        1.3963        .33456E-01   -.84723    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.46153e-08
Minuit parameter uncertainties:
  1  79.1811
  2  3.58515e-07
  3  3.85486
  4  3.25883e-06
  5  0.00032155
  6  1.147
  7  1.96683e-05
  8  6.73746e-07
  9  8.2078
  10  181.096
  11  108.21
  12  2.20112e-06
  13  9.38676e-06
  14  104.845
  15  86.8154
  16  304.629
  17  3.07577
  18  1.44146
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2620.37738206

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.585e+02  1.811e+02  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.429e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.253e+00  1.441e+00  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.079e-01  3.076e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.89
Ra Dec: 347.931 26.083
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.07e-07 +/- 3.51e-07
Energy Flux (Fixed Index): 9.71e-05 +/- 1.11e-04

TS (Fixed Index): 3.89
Ra Dec: 347.931 26.083
Photon Flux Upper Limit: 6.89e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215432/likelihoodResults_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.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) = 2620.37301546
delta logL = 0.00436659941033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2620.36836003
delta logL = 0.00902203217038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    146.46       1.0000          .0000       .10000E+07
     2 'Index     '    2.5046       1.0000          .0000       10.000    
     3 'Normalizat'    .91546E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2594       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   2620.368     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      266 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     146.53        136.89        .16527E-04   -.57334E-03
   2  Index         2.5047        .60983        .40438E-02   -.34740E-04
   3  Normalizat    .89676E-01    1.3334        .11468E-01   -.30781E-04
   4  Prefactor     1.2602        .33094        .19286E-03   -.13144E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 146.525
  Index      = 2.50468
  Normalizat = 0.0896761
  Prefactor  = 1.26017
 **********
 **   18 **HESSE 
 **********

 FCN=   2620.368     FROM HESSE     STATUS=OK            27 CALLS      293 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     146.53        130.52        .66109E-06   -1.5466    
   2  Index         2.5047        .57561        .16175E-03   -.52252    
   3  Normalizat    .89676E-01    1.0299        .45870E-03   -1.3919    
   4  Prefactor     1.2602        .29016        .38572E-04   -.84499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23128e-10
Minuit parameter uncertainties:
  1  130.518
  2  0.577319
  3  0.585773
  4  0.290536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215432': 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) = 2620.36835465
delta logL = 0.00902740669335

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.465e+02  1.305e+02  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  2.505e+00  5.773e-01  0.000e+00  1.000e+01 (-1.000e+00)
370        Scale:  1.013e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.260e+00  2.905e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  8.968e-02  5.858e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.82
Ra Dec: 347.931 26.083
Photon Index (Free Index): 2.50 +/- 0.58
Photon Flux (Free Index): 3.22e-07 +/- 2.24e-07
Energy Flux (Free Index): 9.29e-05 +/- 6.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/215432/cmap_HighResolution_686966401_687225601_4FGL_J2311.7+2604_daily_bin1727.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.33e-02', comment='SUCCESS', photon_flux='3.07e-07', energy_flux2='9.29e-05', photon_flux_error='3.51e-07', dlogl='9.03e-03', energy_flux='9.71e-05', photon_flux2='3.22e-07', job_status='DONE', time_completed='2022-10-12 00:48:00.893278', photon_index_error2='0.58', photon_index2='2.50', ts='3.89', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='6.89e-07', energy_flux_error2='6.50e-05', EG='0.11', time_epoch_completed='1665560880.89', return_code='102', job_id='215432', GAL2='1.26', EG2='0.09', return_code2='0', energy_flux_error='1.11e-04', photon_flux_error2='2.24e-07', ts2='3.82', photon_index='2.43' WHERE bin_id='1727' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Oct 12 00:48:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 215432: <4FGL_J2311.7+2604_daily_bin1727> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1727> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Oct 12 00:40:13 2022
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Oct 12 00:40:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Oct 12 00:40:14 2022
Terminated at Wed Oct 12 00:48:01 2022
Results reported at Wed Oct 12 00:48:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1727 347.931 26.0831 686966401 687225601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2311.7+2604 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   421.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   467 sec.
    Turnaround time :                            468 sec.

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

