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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1735
RA = 351.896, Dec = 9.6543
tmin = 689040001, tmax = 689299201
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='866741', job_status='RUN', time_executed='2022-11-05 00:36:31.769614', time_epoch_executed='1667633791.77' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866741

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866741/ft1_4FGL_J2327.5+0939_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866741/ft1_4FGL_J2327.5+0939_daily_bin1735.fits outfile=/scratch/kocevski/866741/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1735.fits ra=351.896 dec=9.6543 rad=12.0 tmin=689040001.0 tmax=689299201.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.70
user 3.47
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.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/866741/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.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.33
sys 0.16

Number of photons that the gtmktime cut: 745

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866741/ltcube_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.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/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits
.....................!
real 13.02
user 12.64
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866741/ltcube_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits outfile=/scratch/kocevski/866741/expmap_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.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/866741/ltcube_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits
.....................!
real 191.83
user 185.60
sys 5.92

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

Setting source of interest to:
4FGL J2327.5+0939 @ 351.896 9.6543

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits outfile=/scratch/kocevski/866741/cmap_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.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=351.896 yref=9.6543 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits outfile=/scratch/kocevski/866741/cmap_HighResolution_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.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=351.896 yref=9.6543 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.55
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866741/Model_4FGL_J2327.5+0939_daily_bin1735.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/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits.....................!
real 89.14
user 87.75
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits', '/scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits', expMap='/scratch/kocevski/866741/expmap_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits', expCube='/scratch/kocevski/866741/ltcube_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866741/Model_4FGL_J2327.5+0939_daily_bin1735.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5+0939'

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  8.298e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/866741/ft1_filtered_4FGL_J2327.5+0939_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866741/ft2_4FGL_J2327.5+0939_daily_bin1735.fits
Exposure map: /scratch/kocevski/866741/expmap_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866741/ltcube_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866741/Model_4FGL_J2327.5+0939_daily_bin1735.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) = 8169.32600923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.482       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.8251       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1825       1.0000          .0000       .10000E+07
     4 'Prefactor '    .84342E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23068E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .80480E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.4518       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.143       1.0000          .0000       .10000E+07
     9 'Prefactor '    .51446E-01   1.0000          .0000       .10000E+07
    10 'norm      '    28.293       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17708E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    24.861       1.0000          .0000       .10000E+07
    13 'norm      '    25.009       1.0000          .0000       .10000E+07
    14 'norm      '    18.393       1.0000          .0000       .10000E+07
    15 'Prefactor '    25.734       1.0000          .0000       .10000E+07
    16 'Prefactor '    41.361       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.5086       1.0000          .0000       .10000E+07
    18 'Normalizat'    .62775       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .97642       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8169.251     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     1433 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.995        21.129        .18518E-06    .12984    
   2  Prefactor     2.8227        .29504       -.11882E-06   -.27152E-03
   3  Prefactor     7.1922        2.0546       -.15370E-06   -.27941E-02
   4  Prefactor     .12512E-06    7.2877        .78675E-07** at limit **
   5  Prefactor     .45020E-07    5.9279       -.11271E-05** at limit **
   6  Prefactor     .66613E-09    3.0954       -.49884E-06** at limit **
   7  Prefactor     4.1877        10.603       -.12839E-05   -.33779E-01
   8  Prefactor     11.521        19.007        .14301E-05   -.60206E-01
   9  Prefactor     .74719E-04    31.935       -.13663E-06** at limit **
  10  norm          28.116        10.303        .21270E-06    .12830    
  11  Prefactor     .33307E-09    5.3828       -.14030E-05** at limit **
  12  Prefactor     25.941        19.286        .24039E-06   -.96407E-01
  13  norm          25.081        6.1028        .30013E-06    .21279E-01
  14  norm          18.482        2.5579       -.49547E-07    .17380E-01
  15  Prefactor     25.672        5.2568       -.21540E-07   -.73571E-01
  16  Prefactor     40.214        16.716       -.30556E-06    .70287E-01
  17  Prefactor     5.5021        5.5130       -.28869E-06   -.68051E-03
  18  Normalizat    .62879        .21322        .17465E-04    .18779E-04
  19  Prefactor     .97623        .13327       -.74110E-05   -.76821E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.9946
  Prefactor  = 2.82266
  Prefactor  = 7.1922
  Prefactor  = 1.25122e-07
  Prefactor  = 4.50195e-08
  Prefactor  = 6.66134e-10
  Prefactor  = 4.18771
  Prefactor  = 11.521
  Prefactor  = 7.47191e-05
  norm       = 28.1156
  Prefactor  = 3.33067e-10
  Prefactor  = 25.9413
  norm       = 25.0815
  norm       = 18.482
  Prefactor  = 25.6717
  Prefactor  = 40.2144
  Prefactor  = 5.50214
  Normalizat = 0.628786
  Prefactor  = 0.976228
 **********
 **   18 **HESSE 
 **********

 FCN=   8169.251     FROM HESSE     STATUS=OK           318 CALLS     1751 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.995        31.129        .18741E-03   -1.5598    
   2  Prefactor     2.8227        .29626        .34398E-02   -1.5372    
   3  Prefactor     7.1922        16.282        .37404E-03   -1.5654    
   4  Prefactor     .12512E-06    7.3543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .45020E-07    5.9621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66613E-09    3.0920        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.1877        11.661        .47701E-03   -1.5667    
   8  Prefactor     11.521        20.582        .29987E-03   -1.5640    
   9  Prefactor     .74719E-04    40.625        .18905E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          28.116        11.964        .18803E-03   -1.5602    
  11  Prefactor     .33307E-09    5.3778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     25.941        31.074        .20060E-03   -1.5606    
  13  norm          25.081        15.459        .20001E-03   -1.5608    
  14  norm          18.482        20.392        .23326E-03   -1.5622    
  15  Prefactor     25.672        28.673        .19717E-03   -1.5607    
  16  Prefactor     40.214        29.685        .15551E-03   -1.5581    
  17  Prefactor     5.5021        5.5197        .42785E-03   -1.5661    
  18  Normalizat    .62879        .20153        .88312E-01   -1.0678    
  19  Prefactor     .97623        .11800        .45972E-01   -.93526    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60347e-06
Minuit parameter uncertainties:
  1  31.1288
  2  0.296264
  3  16.2818
  4  0.0019185
  5  0.00103625
  6  9.14867e-05
  7  11.6608
  8  20.5817
  9  0.11019
  10  11.9642
  11  8.22474e-05
  12  31.0739
  13  15.4594
  14  20.3921
  15  28.6734
  16  29.6853
  17  5.51974
  18  0.20177
  19  0.118026
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.812e+01  1.196e+01  0.000e+00  1.000e+06 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  9.762e-01  1.180e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.288e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.88
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 6.48e-08
Energy Flux (Fixed Index): 3.79e-05 +/- 1.61e-05

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) = 8169.24478844
delta logL = 0.00605361241378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8169.24185972
delta logL = 0.00898233181124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.036       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6213       1.0000          .0000       5.0000    
     3 'Normalizat'    .63501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+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=   8169.242     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      243 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.036        13.287        .74245E-05   -.14577E-02
   2  alpha         2.6213        .45883        .11835E-01   -.47634E-04
   3  Normalizat    .63504        .21687        .38952E-03    .22123E-04
   4  Prefactor     .97355        .13429        .20097E-03    .78811E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.0358
  alpha      = 2.62132
  Normalizat = 0.63504
  Prefactor  = 0.973553
 **********
 **   18 **HESSE 
 **********

 FCN=   8169.242     FROM HESSE     STATUS=OK            25 CALLS      268 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.036        13.000        .29698E-06   -1.5600    
   2  alpha         2.6213        .44850        .47342E-03    .48549E-01
   3  Normalizat    .63504        .21680        .15581E-04   -1.0652    
   4  Prefactor     .97355        .13426        .40195E-04   -.93616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.16467e-11
Minuit parameter uncertainties:
  1  13.0001
  2  0.45095
  3  0.217094
  4  0.13431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866741': 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) = 8169.24185971
delta logL = 0.00898234027864

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.904e+01  1.300e+01  0.000e+00  1.000e+06 ( 1.000e-12)
410        alpha:  2.621e+00  4.510e-01  0.000e+00  5.000e+00 ( 1.000e+00)
411         beta:  1.276e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  9.736e-01  1.343e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.350e-01  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.77
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.62 +/- 0.45
Photon Flux (Free Index): 1.47e-07 +/- 6.93e-08
Energy Flux (Free Index): 3.81e-05 +/- 1.49e-05

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/866741/cmap_HighResolution_689040001_689299201_4FGL_J2327.5+0939_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='3.81e-05', photon_flux_error='6.48e-08', dlogl='8.98e-03', energy_flux='3.79e-05', photon_flux2='1.47e-07', job_status='DONE', time_completed='2022-11-05 00:45:57.116952', photon_index_error2='0.45', photon_index2='2.62', ts='11.88', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='0.63', time_epoch_completed='1667634357.12', return_code='0', job_id='866741', GAL2='0.97', EG2='0.64', return_code2='0', energy_flux_error='1.61e-05', photon_flux_error2='6.93e-08', ts2='11.77', photon_index='2.68' WHERE bin_id='1735' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:45:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 866741: <4FGL_J2327.5+0939_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:31 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:32 2022
Terminated at Sat Nov  5 00:45:57 2022
Results reported at Sat Nov  5 00:45:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1735 351.896 9.6543 689040001 689299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5+0939 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   625 sec.
    Turnaround time :                            626 sec.

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

