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 82 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1700
RA = 351.896, Dec = 9.6543
tmin = 679968001, tmax = 680227201
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='83491', job_status='RUN', time_executed='2022-07-23 00:37:24.622344', time_epoch_executed='1658561844.62' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1700'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83491

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83491/ft1_4FGL_J2327.5+0939_daily_bin1700.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83491/ft1_4FGL_J2327.5+0939_daily_bin1700.fits outfile=/scratch/kocevski/83491/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1700.fits ra=351.896 dec=9.6543 rad=12.0 tmin=679968001.0 tmax=680227201.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 4.57
user 4.29
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits" evtable="EVENTS" scfile=/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits sctable="SC_DATA" outfile=/scratch/kocevski/83491/ltcube_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.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/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits
.....................!
real 11.94
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits evtable="EVENTS" scfile=/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits sctable="SC_DATA" expcube=/scratch/kocevski/83491/ltcube_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits outfile=/scratch/kocevski/83491/expmap_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.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/83491/ltcube_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits
.....................!
real 190.64
user 185.32
sys 4.96

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/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits scfile=/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits outfile=/scratch/kocevski/83491/cmap_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.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 1.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits scfile=/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits outfile=/scratch/kocevski/83491/cmap_HighResolution_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.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 2.29
user 0.38
sys 0.19

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits', '/scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits', expMap='/scratch/kocevski/83491/expmap_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits', expCube='/scratch/kocevski/83491/ltcube_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83491/Model_4FGL_J2327.5+0939_daily_bin1700.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  1.000e-04  1.000e+04 ( 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  0.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/83491/ft1_filtered_4FGL_J2327.5+0939_daily_bin1700.fits
Spacecraft file(s): /scratch/kocevski/83491/ft2_4FGL_J2327.5+0939_daily_bin1700.fits
Exposure map: /scratch/kocevski/83491/expmap_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits
Exposure cube: /scratch/kocevski/83491/ltcube_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83491/Model_4FGL_J2327.5+0939_daily_bin1700.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) = 7225.04276109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79616E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.2907       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4543       1.0000         .10000E-03   10000.    
     4 'Prefactor '    54.157       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2038       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.119       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.8478       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.728       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .86291E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.3270       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.979       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11167E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10532E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .33591       1.0000         .10000E-03   10000.    
    17 'norm      '    17.085       1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.095       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.798       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.974       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .54886       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0078       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.

 FCN=   7225.031     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2399 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    139.30        .48669E-05** at limit **
   2  Prefactor     9.2925        11.106        .23694E-07    .70387E-05
   3  Prefactor     1.4545        .22663        .10780E-07    .24178E-04
   4  Prefactor     54.172        37.015        .71821E-05    .78620E-04
   5  Prefactor     .10000E-03    2.5045       -.44297E-06** at limit **
   6  Prefactor     1.1971        37.612       -.48564E-05   -.38385E-04
   7  Prefactor     23.123        18.491       -.19427E-05    .10013E-03
   8  Prefactor     1.8465        2.5404        .90060E-06   -.22883E-02
   9  Prefactor     .10000E-03    3.7268       -.17766E-06** at limit **
  10  Prefactor     18.736        20.964       -.46899E-06   -.10448E-04
  11  Prefactor     .10000E-03    273.53       -.94524E-04** at limit **
  12  norm          7.3257        8.2992        .88647E-07   -.34242E-03
  13  Prefactor     10.977        8.5679       -.13346E-06   -.82801E-05
  14  Prefactor     .10001E-03    17.044        .23304E-05** at limit **
  15  Prefactor     .10000E-03    23.645        .28329E-05** at limit **
  16  norm          .38659        6.6358        .53209E-06   -.17602E-03
  17  norm          17.100        19.639       -.69930E-05   -.32916E-04
  18  Prefactor     35.104        28.961        .22592E-05    .15382E-03
  19  Prefactor     10.795        18.554        .98175E-06    .15886E-04
  20  Prefactor     10.974        7.2704        .89488E-07   -.15619E-03
  21  Normalizat    .54898        .20693       -.63760E-06    .21902E-03
  22  Prefactor     1.0079        .11987       -.15443E-06    .39500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.29246
  Prefactor  = 1.4545
  Prefactor  = 54.1723
  Prefactor  = 0.0001
  Prefactor  = 1.19709
  Prefactor  = 23.1235
  Prefactor  = 1.8465
  Prefactor  = 0.0001
  Prefactor  = 18.7357
  Prefactor  = 0.000100004
  norm       = 7.32572
  Prefactor  = 10.9771
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  norm       = 0.386586
  norm       = 17.0996
  Prefactor  = 35.1039
  Prefactor  = 10.7948
  Prefactor  = 10.9741
  Normalizat = 0.548977
  Prefactor  = 1.00785
 **********
 **   18 **HESSE 
 **********

 FCN=   7225.031     FROM HESSE     STATUS=OK           346 CALLS     2745 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    143.46        .36971E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2925        11.110        .13148E-03   -1.5098    
   3  Prefactor     1.4545        .22670        .15284E-04   -1.5467    
   4  Prefactor     54.172        36.984        .54504E-04   -1.4235    
   5  Prefactor     .10000E-03    2.5157        .13133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1971        38.201        .41327E-03   -1.5489    
   7  Prefactor     23.123        18.482        .83307E-04   -1.4746    
   8  Prefactor     1.8465        7.2316        .15338E-02   -1.5436    
   9  Prefactor     .10000E-03    3.7367        .16019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.736        23.599        .92551E-04   -1.4842    
  11  Prefactor     .10000E-03    271.34        .20856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.3257        8.2969        .74088E-03   -1.5167    
  13  Prefactor     10.977        8.5358        .12091E-03   -1.5045    
  14  Prefactor     .10001E-03    17.453        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    23.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .38659        45.454        .42259E-02   -1.5584    
  17  norm          17.100        19.553        .96898E-04   -1.4881    
  18  Prefactor     35.104        29.048        .67647E-04   -1.4522    
  19  Prefactor     10.795        18.539        .12192E-03   -1.5051    
  20  Prefactor     10.974        7.2794        .60470E-03   -1.5045    
  21  Normalizat    .54898        .22746        .38409E-03   -1.1020    
  22  Prefactor     1.0079        .13448        .18448E-03   -.92468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60733e-08
Minuit parameter uncertainties:
  1  9.49898e-05
  2  11.1122
  3  0.226699
  4  36.9993
  5  2.58921e-06
  6  13.5336
  7  18.4868
  8  7.23505
  9  1.62068e-06
  10  23.6109
  11  0.00219772
  12  8.29821
  13  8.53678
  14  0.000789575
  15  7.31872e-06
  16  8.38918
  17  19.5601
  18  29.0599
  19  18.549
  20  7.27995
  21  0.22785
  22  0.134523
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  7.326e+00  8.298e+00  1.000e-04  1.000e+04 ( 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  0.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:  1.008e+00  1.345e-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:  5.490e-01  2.279e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 4.50e-08
Energy Flux (Fixed Index): 9.88e-06 +/- 1.12e-05

TS (Fixed Index): 1.48
Ra Dec: 351.896 9.654
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83491/likelihoodResults_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.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) = 7224.73888932
delta logL = 0.29198731636

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7224.73602901
delta logL = 0.294847628276

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5375       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8402       1.0000          .0000       5.0000    
     3 'Normalizat'    .57429       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99815       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=   7224.736     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      222 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5375        8.1926        .36519E-02   -.65061E-03
   2  alpha         1.8403        .73720        .43127        .16832E-04
   3  Normalizat    .57437        .18532        .84894E-01    .28107E-04
   4  Prefactor     .99817        .11826        .46244E-01   -.20969E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.5375
  alpha      = 1.84029
  Normalizat = 0.57437
  Prefactor  = 0.998174
 **********
 **   18 **HESSE 
 **********

 FCN=   7224.736     FROM HESSE     STATUS=OK            29 CALLS      251 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5375        9.0432        .14607E-03   -1.5159    
   2  alpha         1.8403        .96555        .24903E-01   -.26705    
   3  Normalizat    .57437        .20859        .37606E-03   -1.0908    
   4  Prefactor     .99817        .13355        .18527E-03   -.92790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.71351e-10
Minuit parameter uncertainties:
  1  9.04484
  2  0.993407
  3  0.208875
  4  0.133593
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83491': 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) = 7224.73602833
delta logL = 0.294848308972

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  7.538e+00  9.045e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  1.840e+00  9.934e-01  0.000e+00  5.000e+00 ( 1.000e+00)
411         beta:  1.276e-01  0.000e+00  0.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.982e-01  1.336e-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:  5.744e-01  2.089e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.07
Ra Dec: 351.896 9.654
Photon Index (Free Index): 1.84 +/- 0.99
Photon Flux (Free Index): 1.91e-08 +/- 3.03e-08
Energy Flux (Free Index): 1.16e-05 +/- 1.33e-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/83491/cmap_HighResolution_679968001_680227201_4FGL_J2327.5+0939_daily_bin1700.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-05', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.16e-05', photon_flux_error='4.50e-08', dlogl='2.95e-01', energy_flux='9.88e-06', photon_flux2='1.91e-08', job_status='DONE', time_completed='2022-07-23 00:49:15.469119', photon_index_error2='0.99', photon_index2='1.84', ts='1.48', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.33e-05', EG='0.55', time_epoch_completed='1658562555.47', return_code='0', job_id='83491', GAL2='1.00', EG2='0.57', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='3.03e-08', ts2='2.07', photon_index='2.68' WHERE bin_id='1700' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul 23 00:49:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 83491: <4FGL_J2327.5+0939_daily_bin1700> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1700> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:35:52 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:35:52 2022
Terminated at Sat Jul 23 00:49:16 2022
Results reported at Sat Jul 23 00:49:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1700 351.896 9.6543 679968001 680227201 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 :                                   668.00 sec.
    Max Memory :                                 1081 MB
    Average Memory :                             311.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            804 sec.

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

