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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1768
RA = 351.883, Dec = -32.9869
tmin = 697593601, tmax = 697852801
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='284794', job_status='RUN', time_executed='2023-02-12 01:50:50.804342', time_epoch_executed='1676195450.8' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/284794

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/284794/ft1_4FGL_J2327.5-3259_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/284794/ft1_4FGL_J2327.5-3259_daily_bin1768.fits outfile=/scratch/kocevski/284794/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1768.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=697593601.0 tmax=697852801.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.69
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.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/284794/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.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.15

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/284794/ltcube_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.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/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits
.....................!
real 16.75
user 16.31
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/284794/ltcube_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits outfile=/scratch/kocevski/284794/expmap_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.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/284794/ltcube_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits
.....................!
real 194.87
user 187.86
sys 5.32

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

Setting source of interest to:
4FGL J2327.5-3259 @ 351.883 -32.9869

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits outfile=/scratch/kocevski/284794/cmap_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.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.883 yref=-32.9869 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.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits outfile=/scratch/kocevski/284794/cmap_HighResolution_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.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.883 yref=-32.9869 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/284794/Model_4FGL_J2327.5-3259_daily_bin1768.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/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits.....................!
real 45.08
user 43.74
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits', '/scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits', expMap='/scratch/kocevski/284794/expmap_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits', expCube='/scratch/kocevski/284794/ltcube_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/284794/Model_4FGL_J2327.5-3259_daily_bin1768.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5-3259'

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.111e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/284794/ft1_filtered_4FGL_J2327.5-3259_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/284794/ft2_4FGL_J2327.5-3259_daily_bin1768.fits
Exposure map: /scratch/kocevski/284794/expmap_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits
Exposure cube: /scratch/kocevski/284794/ltcube_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/284794/Model_4FGL_J2327.5-3259_daily_bin1768.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) = 5737.63525877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27657E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .27519E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17997E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.013       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6046       1.0000          .0000       .10000E+07
     6 'Prefactor '    .39596E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .15188E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.7376       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.8975       1.0000          .0000       .10000E+07
    10 'norm      '    3.9683       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33510       1.0000          .0000       .10000E+07
    12 'norm      '    8.8933       1.0000          .0000       .10000E+07
    13 'norm      '    17.378       1.0000          .0000       .10000E+07
    14 'Prefactor '    25.070       1.0000          .0000       .10000E+07
    15 'Prefactor '    41.736       1.0000          .0000       .10000E+07
    16 'norm      '    .15100E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .50293E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .15127E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12385E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .65162E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    21.061       1.0000          .0000       .10000E+07
    22 'Normalizat'    .98560       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5737.569     FROM MIGRAD    STATUS=CONVERGED    169 CALLS     1521 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12758E-05    24.364        .31152E-06** at limit **
   2  Prefactor      .0000        1.0783        .27619E-06** at limit **
   3  Prefactor     .11010E-05    23.319        .11570E-05** at limit **
   4  Prefactor     22.256        12.858       -.12282E-06   -.40583E-01
   5  Prefactor     2.4579        14.221       -.56368E-06   -.10530E-02
   6  Prefactor     .55511E-09    14.390        .51363E-06** at limit **
   7  norm          .31086E-08    10.539        .85715E-06** at limit **
   8  Prefactor     2.7448        7.5677        .10018E-06   -.59023E-02
   9  Prefactor     1.8216        20.292       -.57888E-06    .28604E-02
  10  norm          3.9743        1.3838        .24332E-07    .43642E-02
  11  Prefactor     .32608        1.2643       -.20498E-07   -.24381E-02
  12  norm          8.9275        5.7208       -.17279E-06    .16732E-02
  13  norm          17.208        9.4714       -.14641E-06    .69850E-03
  14  Prefactor     25.629        22.812        .26919E-06   -.72262E-01
  15  Prefactor     40.932        19.160       -.13744E-06   -.83005E-01
  16  norm           .0000        8.8979        .22553E-06** at limit **
  17  norm           .0000        1.6411        .16468E-06** at limit **
  18  norm           .0000        4.1140       -.33180E-06** at limit **
  19  Prefactor     .37886E-06    153.57       -.76140E-05** at limit **
  20  Prefactor     .11102E-09    3.2169        .44839E-06** at limit **
  21  Prefactor     21.762        13.794        .17980E-06   -.12153E-03
  22  Normalizat    .98612        .20167       -.38097E-05    .31629E-04
  23  Prefactor     .86804        .22204       -.13738E-05    .19900E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.27576e-06
  Prefactor  = 0
  Prefactor  = 1.10095e-06
  Prefactor  = 22.2558
  Prefactor  = 2.45789
  Prefactor  = 5.55112e-10
  norm       = 3.10862e-09
  Prefactor  = 2.7448
  Prefactor  = 1.82163
  norm       = 3.97428
  Prefactor  = 0.326076
  norm       = 8.92747
  norm       = 17.2079
  Prefactor  = 25.6293
  Prefactor  = 40.9325
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 3.78864e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 21.7621
  Normalizat = 0.986116
  Prefactor  = 0.868044
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.569     FROM HESSE     STATUS=OK           416 CALLS     1937 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12758E-05    26.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.0784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11010E-05    25.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     22.256        36.320        .20851E-03   -1.5614    
   5  Prefactor     2.4579        14.968        .63185E-03   -1.5677    
   6  Prefactor     .55511E-09    14.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .31086E-08    10.483        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7448        265.20        .61511E-03   -1.5675    
   9  Prefactor     1.8216        158.76        .75484E-03   -1.5681    
  10  norm          3.9743        1.4559        .50609E-03   -1.5668    
  11  Prefactor     .32608        10.729        .97427E-02   -1.5697    
  12  norm          8.9275        5.8955        .33586E-03   -1.5648    
  13  norm          17.208        9.5218        .23999E-03   -1.5625    
  14  Prefactor     25.629        31.359        .19976E-03   -1.5607    
  15  Prefactor     40.932        36.092        .15481E-03   -1.5580    
  16  norm           .0000        9.0058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        1.6292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        4.0290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .37886E-06    153.96        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    3.2258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.762        32.858        .21796E-03   -1.5615    
  22  Normalizat    .98612        .18145        .45986E-01   -.93497    
  23  Prefactor     .86804        .19248        .44597E-01   -.97267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.75578e-07
Minuit parameter uncertainties:
  1  0.0116898
  2  2.9612e-06
  3  0.0105274
  4  36.3207
  5  12.1311
  6  0.000174432
  7  0.000359758
  8  53.9628
  9  34.0128
  10  1.45587
  11  3.74092
  12  5.89552
  13  9.52184
  14  31.3588
  15  36.092
  16  1.52881e-05
  17  6.06406e-06
  18  1.26463e-05
  19  0.0152748
  20  3.54793e-05
  21  32.8582
  22  0.181567
  23  0.192627
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.093e+01  3.609e+01  0.000e+00  1.000e+06 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.680e-01  1.926e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.861e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.20
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.28e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 8.97e-06 +/- 7.91e-06

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) = 5737.03237136
delta logL = 0.536810544734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5737.02703569
delta logL = 0.542146216592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.224       1.0000          .0000       .10000E+07
     2 'Index     '    1.7839       1.0000          .0000       10.000    
     3 'Normalizat'    1.0113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85137       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5737.027     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      200 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 16.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.215        43.433       -.59913E-06   -.10744E-02
   2  Index         1.7836        .69602       -.22569E-04    .44772E-04
   3  Normalizat    1.0111        .16752        .11160E-05    .39655E-03
   4  Prefactor     .85140        .18548       -.29819E-06    .29294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.2148
  Index      = 1.78361
  Normalizat = 1.01107
  Prefactor  = 0.851401
 **********
 **   18 **HESSE 
 **********

 FCN=   5737.027     FROM HESSE     STATUS=OK            27 CALLS      227 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.215        42.719        .63875E-05   -1.5583    
   2  Index         1.7836        .68309        .90654E-02   -.69877    
   3  Normalizat    1.0111        .19898        .22241E-03   -.92661    
   4  Prefactor     .85140        .22037        .26556E-03   -.97861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99491e-10
Minuit parameter uncertainties:
  1  42.7194
  2  0.686763
  3  0.199131
  4  0.220599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/284794': 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) = 5737.02703248
delta logL = 0.542149422289

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.921e+01  4.272e+01  0.000e+00  1.000e+06 ( 1.000e-13)
455        Index:  1.784e+00  6.868e-01  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.514e-01  2.206e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  1.011e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.29
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 1.78 +/- 0.69
Photon Flux (Free Index): 1.44e-08 +/- 1.97e-08
Energy Flux (Free Index): 1.82e-05 +/- 2.64e-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/284794/cmap_HighResolution_697593601_697852801_4FGL_J2327.5-3259_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.28e-08', energy_flux2='1.82e-05', photon_flux_error='2.89e-08', dlogl='5.42e-01', energy_flux='8.97e-06', photon_flux2='1.44e-08', job_status='DONE', time_completed='2023-02-12 01:59:43.833146', photon_index_error2='0.69', photon_index2='1.78', ts='4.20', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='2.64e-05', EG='0.99', time_epoch_completed='1676195983.83', return_code='0', job_id='284794', GAL2='0.85', EG2='1.01', return_code2='0', energy_flux_error='7.91e-06', photon_flux_error2='1.97e-08', ts2='5.29', photon_index='2.56' WHERE bin_id='1768' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:59:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 284794: <4FGL_J2327.5-3259_daily_bin1768> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1768> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Feb 12 01:45:23 2023
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:47:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:47:53 2023
Terminated at Sun Feb 12 01:59:44 2023
Results reported at Sun Feb 12 01:59:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1768 351.883 -32.9869 697593601 697852801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5-3259 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   533.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   711 sec.
    Turnaround time :                            861 sec.

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

