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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1751
RA = 351.896, Dec = 9.6543
tmin = 693187201, tmax = 693446401
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='90107', job_status='RUN', time_executed='2022-12-23 01:31:02.971375', time_epoch_executed='1671787862.97' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90107

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90107/ft1_4FGL_J2327.5+0939_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90107/ft1_4FGL_J2327.5+0939_daily_bin1751.fits outfile=/scratch/kocevski/90107/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1751.fits ra=351.896 dec=9.6543 rad=12.0 tmin=693187201.0 tmax=693446401.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.68
user 3.40
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.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/90107/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 757

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/90107/ltcube_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.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/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits
.....................!
real 12.17
user 11.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/90107/ltcube_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits outfile=/scratch/kocevski/90107/expmap_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.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/90107/ltcube_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits
.....................!
real 193.15
user 187.45
sys 4.93

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/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits scfile=/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits outfile=/scratch/kocevski/90107/cmap_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits scfile=/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits outfile=/scratch/kocevski/90107/cmap_HighResolution_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.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.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits', '/scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits', expMap='/scratch/kocevski/90107/expmap_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits', expCube='/scratch/kocevski/90107/ltcube_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90107/Model_4FGL_J2327.5+0939_daily_bin1751.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/90107/ft1_filtered_4FGL_J2327.5+0939_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/90107/ft2_4FGL_J2327.5+0939_daily_bin1751.fits
Exposure map: /scratch/kocevski/90107/expmap_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits
Exposure cube: /scratch/kocevski/90107/ltcube_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90107/Model_4FGL_J2327.5+0939_daily_bin1751.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) = 8346.74988887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.940       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.0236       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.063       1.0000          .0000       .10000E+07
     4 'Prefactor '    15.295       1.0000          .0000       .10000E+07
     5 'Prefactor '    25.389       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.2179       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59525E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.7142       1.0000          .0000       .10000E+07
     9 'Prefactor '    .18241E-06   1.0000          .0000       .10000E+07
    10 'norm      '    31.181       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.055       1.0000          .0000       .10000E+07
    12 'Prefactor '    15.644       1.0000          .0000       .10000E+07
    13 'norm      '    12.391       1.0000          .0000       .10000E+07
    14 'norm      '    65.626       1.0000          .0000       .10000E+07
    15 'Prefactor '    .61062E-09   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.0426       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13134E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1055       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92231       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=   8346.736     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     1597 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.937        1.0074       -.34152E-07    .13800E-01
   2  Prefactor     2.0238        .27641        .82733E-06    .92562E-03
   3  Prefactor     21.040        1.2533       -.25177E-06    .11631    
   4  Prefactor     15.295        9.0240       -.86631E-06   -.74734E-02
   5  Prefactor     25.392        1.0078        .89321E-08   -.11483E-01
   6  Prefactor     2.2162        5.6338        .35486E-05   -.10643E-02
   7  Prefactor     .64504E-07    11.222        .78127E-05** at limit **
   8  Prefactor     2.7224        1.2853        .86020E-06    .88768E-02
   9  Prefactor     .42188E-08    19.540       -.83006E-05** at limit **
  10  norm          31.192        3.8237       -.67532E-06    .99440E-01
  11  Prefactor     10.055        2.6913        .78058E-06   -.86219E-01
  12  Prefactor     15.620        1.3415       -.79802E-07   -.30450E-01
  13  norm          12.391        1.1754        .25780E-06   -.12028E-01
  14  norm          65.619        1.0059        .17298E-07   -.23044E-01
  15  Prefactor     .66391E-07    8.7829       -.59034E-05** at limit **
  16  Prefactor     5.0470        1.0217       -.14927E-07   -.16756E-02
  17  Prefactor      .0000        3.2694       -.18071E-05** at limit **
  18  Normalizat    1.1049        .23530       -.32481E-04    .13343E-03
  19  Prefactor     .92262        .14450        .12254E-04    .21550E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9373
  Prefactor  = 2.02376
  Prefactor  = 21.0401
  Prefactor  = 15.2949
  Prefactor  = 25.3918
  Prefactor  = 2.21622
  Prefactor  = 6.4504e-08
  Prefactor  = 2.72238
  Prefactor  = 4.21885e-09
  norm       = 31.1916
  Prefactor  = 10.0554
  Prefactor  = 15.6199
  norm       = 12.3907
  norm       = 65.619
  Prefactor  = 6.63913e-08
  Prefactor  = 5.04695
  Prefactor  = 0
  Normalizat = 1.10488
  Prefactor  = 0.922624
 **********
 **   18 **HESSE 
 **********

 FCN=   8346.736     FROM HESSE     STATUS=OK           314 CALLS     1911 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.937        33.004        .22402E-03   -1.5619    
   2  Prefactor     2.0238        .27921        .38126E-02   -1.5423    
   3  Prefactor     21.040        51.222        .21795E-03   -1.5616    
   4  Prefactor     15.295        9.3233        .25583E-03   -1.5630    
   5  Prefactor     25.392        21.800        .19850E-03   -1.5607    
   6  Prefactor     2.2162        5.9105        .69027E-03   -1.5678    
   7  Prefactor     .64504E-07    11.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.7224        21.755        .61795E-03   -1.5675    
   9  Prefactor     .42188E-08    19.665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          31.192        16.291        .17911E-03   -1.5596    
  11  Prefactor     10.055        11.060        .31576E-03   -1.5645    
  12  Prefactor     15.620        27.911        .25296E-03   -1.5629    
  13  norm          12.391        19.199        .28432E-03   -1.5638    
  14  norm          65.619        31.959        .12345E-03   -1.5546    
  15  Prefactor     .66391E-07    9.0609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.0470        16.559        .44755E-03   -1.5663    
  17  Prefactor      .0000        3.2788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1049        .21527        .77807E-01   -.89595    
  19  Prefactor     .92262        .12634        .45289E-01   -.95355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50836e-06
Minuit parameter uncertainties:
  1  33.0045
  2  0.279215
  3  51.2231
  4  9.32334
  5  21.7997
  6  5.91055
  7  0.00171985
  8  15.3916
  9  0.000575862
  10  16.2912
  11  11.0603
  12  27.9116
  13  19.1993
  14  31.9586
  15  0.00155146
  16  16.559
  17  7.72614e-06
  18  0.215437
  19  0.126381
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  3.119e+01  1.629e+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.226e-01  1.264e-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:  1.105e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.72
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.69e-07 +/- 8.83e-08
Energy Flux (Fixed Index): 4.21e-05 +/- 2.20e-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) = 8346.43495167
delta logL = 0.300984306465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8346.43489951
delta logL = 0.301036466055

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    38.175       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3211       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90556       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.

 FCN=   8346.435     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      263 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          38.175        301.11        .16187E-03    .14237E-02
   2  alpha         2.3209        3.5207        .33696        .35881E-04
   3  Normalizat    1.1405        .18097        .76778E-01   -.12194E-04
   4  Prefactor     .90521        .11059        .45076E-01    .30911E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 38.1754
  alpha      = 2.32091
  Normalizat = 1.14054
  Prefactor  = 0.905209
 **********
 **   18 **HESSE 
 **********

 FCN=   8346.435     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          38.175        17.405        .64746E-05   -1.5584    
   2  alpha         2.3209        .45586        .12953E-01   -.71699E-01
   3  Normalizat    1.1405        .23997        .33982E-03   -.88461    
   4  Prefactor     .90521        .14493        .22930E-03   -.95959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05645e-10
Minuit parameter uncertainties:
  1  17.4049
  2  0.458441
  3  0.240203
  4  0.144994
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90107': 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) = 8346.43489636
delta logL = 0.301039622133

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  3.818e+01  1.740e+01  0.000e+00  1.000e+06 ( 1.000e-12)
410        alpha:  2.321e+00  4.584e-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.052e-01  1.450e-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:  1.141e+00  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.29
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.32 +/- 0.46
Photon Flux (Free Index): 1.42e-07 +/- 7.32e-08
Energy Flux (Free Index): 4.71e-05 +/- 2.15e-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/90107/cmap_HighResolution_693187201_693446401_4FGL_J2327.5+0939_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.69e-07', energy_flux2='4.71e-05', photon_flux_error='8.83e-08', dlogl='3.01e-01', energy_flux='4.21e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2022-12-23 01:40:39.635858', photon_index_error2='0.46', photon_index2='2.32', ts='7.72', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='2.15e-05', EG='1.10', time_epoch_completed='1671788439.64', return_code='0', job_id='90107', GAL2='0.91', EG2='1.14', return_code2='0', energy_flux_error='2.20e-05', photon_flux_error2='7.32e-08', ts2='8.29', photon_index='2.68' WHERE bin_id='1751' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:40:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 90107: <4FGL_J2327.5+0939_daily_bin1751> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 01:30:23 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:30:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:30:24 2022
Terminated at Fri Dec 23 01:40:40 2022
Results reported at Fri Dec 23 01:40:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1751 351.896 9.6543 693187201 693446401 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 :                                   578.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             368.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   615 sec.
    Turnaround time :                            617 sec.

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

