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


Performing analysis on: 4FGL_J2311.7+2604_daily_bin1750
RA = 347.931, Dec = 26.0831
tmin = 692928001, tmax = 693187201
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='28467', job_status='RUN', time_executed='2022-12-20 01:56:10.126509', time_epoch_executed='1671530170.13' WHERE source_name='4FGL J2311.7+2604' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28467

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28467/ft1_4FGL_J2311.7+2604_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28467/ft1_4FGL_J2311.7+2604_daily_bin1750.fits outfile=/scratch/kocevski/28467/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1750.fits ra=347.931 dec=26.0831 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.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/28467/ft1_filteredMKT_4FGL_J2311.7+2604_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.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.32
sys 0.16

Number of photons that the gtmktime cut: 929

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/28467/ltcube_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.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/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits
.....................!
real 11.57
user 11.22
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/28467/ltcube_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits outfile=/scratch/kocevski/28467/expmap_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.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/28467/ltcube_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits
.....................!
real 190.61
user 185.17
sys 5.10

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/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits outfile=/scratch/kocevski/28467/cmap_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits outfile=/scratch/kocevski/28467/cmap_HighResolution_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/28467/Model_4FGL_J2311.7+2604_daily_bin1750.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/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits.....................!
real 103.91
user 102.55
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits', '/scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits', expMap='/scratch/kocevski/28467/expmap_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits', expCube='/scratch/kocevski/28467/ltcube_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/28467/Model_4FGL_J2311.7+2604_daily_bin1750.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/28467/ft1_filtered_4FGL_J2311.7+2604_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/28467/ft2_4FGL_J2311.7+2604_daily_bin1750.fits
Exposure map: /scratch/kocevski/28467/expmap_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits
Exposure cube: /scratch/kocevski/28467/ltcube_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/28467/Model_4FGL_J2311.7+2604_daily_bin1750.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) = 9692.03958509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2782       1.0000          .0000       .10000E+07
     2 'norm      '    .65470       1.0000          .0000       .10000E+07
     3 'norm      '    2.4080       1.0000          .0000       .10000E+07
     4 'Prefactor '    25.796       1.0000          .0000       .10000E+07
     5 'Prefactor '    .40123E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.8018       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.152       1.0000          .0000       .10000E+07
     8 'Prefactor '    .57385E-03   1.0000          .0000       .10000E+07
     9 'norm      '    1.3249       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.740       1.0000          .0000       .10000E+07
    11 'Prefactor '    70.373       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.5737       1.0000          .0000       .10000E+07
    13 'norm      '    .33885E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .46592E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .75902E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .24310E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0898       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1250       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=   9692.038     FROM MIGRAD    STATUS=CONVERGED     82 CALLS     1320 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2968        1.5240       -.26141E-08   -.19312E-01
   2  norm          .65442        .73998        .23828E-07   -.78589E-03
   3  norm          2.4071        1.5887       -.50328E-07   -.19128E-02
   4  Prefactor     25.778        2.0987       -.19753E-07    .16293E-01
   5  Prefactor     .41078E-07    4.8285        .18037E-06** at limit **
   6  Prefactor     2.8020        .30992        .18859E-06    .15946E-02
   7  Prefactor     12.155        1.0036        .29193E-08    .17447E-03
   8  Prefactor     .12768E-08    4.2658        .72599E-07** at limit **
   9  norm          1.3226        1.1994       -.25399E-07   -.15313E-02
  10  Prefactor     11.860        7.5327        .12333E-06   -.63208E-01
  11  Prefactor     70.273        9.8732       -.65402E-07    .26388    
  12  Prefactor     8.2925        7.7130       -.40999E-06   -.10076E-02
  13  norm          .66613E-09    6.1544       -.69566E-07** at limit **
  14  Prefactor     .42877E-06    9.8502       -.79427E-07** at limit **
  15  Prefactor     .34855E-06    8.3632        .90349E-07** at limit **
  16  Prefactor     .16351E-05    9.7595        .40557E-06** at limit **
  17  Normalizat    1.0907        .25620       -.97669E-05   -.17634E-03
  18  Prefactor     1.1250        .13717        .18681E-05   -.24553E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.29677
  norm       = 0.654419
  norm       = 2.4071
  Prefactor  = 25.7783
  Prefactor  = 4.10783e-08
  Prefactor  = 2.80204
  Prefactor  = 12.1546
  Prefactor  = 1.27676e-09
  norm       = 1.32259
  Prefactor  = 11.8596
  Prefactor  = 70.2731
  Prefactor  = 8.29248
  norm       = 6.66134e-10
  Prefactor  = 4.28768e-07
  Prefactor  = 3.48555e-07
  Prefactor  = 1.63508e-06
  Normalizat = 1.09071
  Prefactor  = 1.12505
 **********
 **   18 **HESSE 
 **********

 FCN=   9692.038     FROM HESSE     STATUS=OK           282 CALLS     1602 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2968        12.112        .34820E-03   -1.5650    
   2  norm          .65442        .75133        .64465E-03   -1.5692    
   3  norm          2.4071        1.5938        .65948E-03   -1.5677    
   4  Prefactor     25.778        26.143        .19693E-03   -1.5606    
   5  Prefactor     .41078E-07    12.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8020        .31097        .39856E-02   -1.5373    
   7  Prefactor     12.155        12.206        .28711E-03   -1.5638    
   8  Prefactor     .12768E-08    4.2709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.3226        1.2149        .95474E-03   -1.5685    
  10  Prefactor     11.860        29.495        .29212E-03   -1.5639    
  11  Prefactor     70.273        40.722        .11921E-03   -1.5540    
  12  Prefactor     8.2925        7.7595        .34211E-03   -1.5650    
  13  norm          .66613E-09    6.0440        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .42877E-06    10.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .34855E-06    12.847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16351E-05    10.953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0907        .22587        .85721E-01   -.90051    
  18  Prefactor     1.1250        .11804        .36705E-01   -.88670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55794e-06
Minuit parameter uncertainties:
  1  12.1121
  2  0.751329
  3  1.59378
  4  26.1432
  5  0.00145818
  6  0.310967
  7  12.2058
  8  0.000147422
  9  1.21489
  10  29.4958
  11  40.7221
  12  7.75946
  13  0.000129121
  14  0.00415599
  15  0.00423215
  16  0.00846373
  17  0.226074
  18  0.118069
Done.

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

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  1.186e+01  2.950e+01  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.125e+00  1.181e-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:  1.091e+00  2.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/28467/likelihoodResults_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.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) = 9691.83710541
delta logL = 0.201146738826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9691.81577554
delta logL = 0.222476609788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2221       1.0000          .0000       .10000E+07
     2 'Index     '    3.4526       1.0000          .0000       10.000    
     3 'Normalizat'    1.0524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1380       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9691.816     FROM MIGRAD    STATUS=FAILED        99 CALLS      307 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1978        334.47        .98034E-04   -.23622E-02
   2  Index         3.4551        6.3159        .86892E-02    .68379E-03
   3  Normalizat    1.0524        .20656        .38556E-03   -.54963E-04
   4  Prefactor     1.1380        .11560        .20115E-03   -.76505E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9691.816     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      389 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1978        334.47        .36931E-04   -.23622E-02
   2  Index         3.4551        6.3159        .11365E-02    .68379E-03
   3  Normalizat    1.0524        .20656        .21507E-03   -.54963E-04
   4  Prefactor     1.1380        .11560        .90347E-04   -.76505E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9691.816     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      420 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1978        16.069        .39214E-05   -.21860E-02
   2  Index         3.4551        1.8274        .17378E-02   -.33638E-04
   3  Normalizat    1.0524        .26194        .15422E-04   -.41576E-04
   4  Prefactor     1.1380        .13893        .40229E-04   -.59120E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.1978
  Index      = 3.45514
  Normalizat = 1.05244
  Prefactor  = 1.13802
 **********
 **   18 **HESSE 
 **********

 FCN=   9691.816     FROM HESSE     STATUS=OK            23 CALLS      443 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1978        13.710        .15686E-06   -1.5667    
   2  Index         3.4551        1.5697        .69513E-04   -.31411    
   3  Normalizat    1.0524        .26180        .30845E-05   -.91294    
   4  Prefactor     1.1380        .13875        .80458E-05   -.88260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47836e-11
Minuit parameter uncertainties:
  1  13.7106
  2  1.59972
  3  0.262124
  4  0.138795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28467': 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) = 9691.81577396
delta logL = 0.22247818576

Extracting fit parameters...

4FGL J2311.7+2604
   Spectrum: PowerLaw
368    Prefactor:  4.198e+00  1.371e+01  0.000e+00  1.000e+06 ( 1.000e-13)
369        Index:  3.455e+00  1.600e+00  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.138e+00  1.388e-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:  1.052e+00  2.621e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
Ra Dec: 347.931 26.083

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/28467/cmap_HighResolution_692928001_693187201_4FGL_J2311.7+2604_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2022-12-20 02:07:15.571176', job_id='28467', GAL2='1.14', fit_tolerance='1e-08', EG2='1.05', EG='1.09', time_epoch_completed='1671530835.57', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='2.22e-01', ts2='0.70', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1750' AND source_name='4FGL J2311.7+2604' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:07:15 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 28467: <4FGL_J2311.7+2604_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2311.7+2604_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:55:21 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:55:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:55:23 2022
Terminated at Tue Dec 20 02:07:16 2022
Results reported at Tue Dec 20 02:07:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2311.7+2604_daily_bin1750 347.931 26.0831 692928001 693187201 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 :                                   668.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            715 sec.

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

