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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1698
RA = 351.896, Dec = 9.6543
tmin = 679449601, tmax = 679708801
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='925811', job_status='RUN', time_executed='2022-07-17 00:37:28.679443', time_epoch_executed='1658043448.68' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925811/ft1_4FGL_J2327.5+0939_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925811/ft1_4FGL_J2327.5+0939_daily_bin1698.fits outfile=/scratch/kocevski/925811/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1698.fits ra=351.896 dec=9.6543 rad=12.0 tmin=679449601.0 tmax=679708801.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.43
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.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/925811/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1698.fits evtable="EVENTS" outfile="/scratch/kocevski/925811/ft1_filtered_4FGL_J2327.5+0939_daily_bin1698.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.15

Number of photons that the gtmktime cut: 758

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925811/ft1_filtered_4FGL_J2327.5+0939_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925811/ltcube_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.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/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits
.....................!
real 11.83
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925811/ft1_filtered_4FGL_J2327.5+0939_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925811/ltcube_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.fits outfile=/scratch/kocevski/925811/expmap_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.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/925811/ltcube_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.fits
.....................!
real 190.97
user 186.19
sys 4.47

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/925811/ft1_filtered_4FGL_J2327.5+0939_daily_bin1698.fits scfile=/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits outfile=/scratch/kocevski/925811/cmap_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925811/ft1_filtered_4FGL_J2327.5+0939_daily_bin1698.fits scfile=/scratch/kocevski/925811/ft2_4FGL_J2327.5+0939_daily_bin1698.fits outfile=/scratch/kocevski/925811/cmap_HighResolution_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9377       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0986       1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.638       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.4078       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .56343E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9320       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.600       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.441       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7442       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.186       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5786       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96055       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95097       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=   8308.115     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2349 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9342        29.593       -.12036E-05   -.54120E-04
   2  Prefactor     .10000E-03    4.8313        .33277E-08** at limit **
   3  Prefactor     1.0987        .19922       -.22883E-08    .10462E-03
   4  Prefactor     34.614        36.748       -.67470E-05   -.56446E-03
   5  Prefactor     .10000E-03    2.2701        .19963E-07** at limit **
   6  Prefactor     8.4066        13.800        .29737E-06    .18573E-04
   7  Prefactor     .10000E-03    27.129       -.26288E-06** at limit **
   8  Prefactor     .10000E-03    3.8903       -.33281E-07** at limit **
   9  Prefactor     4.9310        7.0180        .36458E-05   -.11541E-02
  10  Prefactor     15.646        16.205       -.82365E-06   -.15960E-03
  11  Prefactor     .10000E-03    14.801        .34556E-07** at limit **
  12  norm          13.440        9.1017       -.72006E-06   -.31244E-04
  13  Prefactor     5.7438        5.4302       -.39033E-07   -.23118E-04
  14  Prefactor     .10000E-03    5.8001       -.18610E-06** at limit **
  15  Prefactor     .10000E-03    7.3293       -.11948E-06** at limit **
  16  norm          .10000E-03    5.8967        .25816E-06** at limit **
  17  norm          .10000E-03    6.5991       -.10955E-07** at limit **
  18  Prefactor     17.178        27.037       -.18785E-05   -.13981E-03
  19  Prefactor     .10000E-03    7.3708        .74911E-07** at limit **
  20  Prefactor     4.5784        4.3664       -.50017E-07    .50846E-04
  21  Normalizat    .96063        .18648        .15524E-05   -.60957E-04
  22  Prefactor     .95098        .11200       -.35180E-06    .93448E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.93419
  Prefactor  = 0.0001
  Prefactor  = 1.09868
  Prefactor  = 34.6141
  Prefactor  = 0.0001
  Prefactor  = 8.40656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.93098
  Prefactor  = 15.6463
  Prefactor  = 0.0001
  norm       = 13.4401
  Prefactor  = 5.74379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.1776
  Prefactor  = 0.0001
  Prefactor  = 4.57838
  Normalizat = 0.960632
  Prefactor  = 0.950978
 **********
 **   18 **HESSE 
 **********

 FCN=   8308.115     FROM HESSE     STATUS=OK           344 CALLS     2693 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9342        29.702        .13407E-03   -1.5110    
   2  Prefactor     .10000E-03    4.8328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0987        .19951        .16409E-04   -1.5498    
   4  Prefactor     34.614        39.880        .68090E-04   -1.4531    
   5  Prefactor     .10000E-03    2.2794        .13409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.4066        13.795        .13825E-03   -1.5128    
   7  Prefactor     .10000E-03    27.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.2105        .33628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9310        7.6951        .90552E-03   -1.5264    
  10  Prefactor     15.646        15.828        .10140E-03   -1.4917    
  11  Prefactor     .10000E-03    14.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.440        9.1158        .10926E-03   -1.4975    
  13  Prefactor     5.7438        5.4214        .16759E-03   -1.5229    
  14  Prefactor     .10000E-03    5.8521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.3415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.9726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    6.6054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.178        27.251        .96612E-04   -1.4879    
  19  Prefactor     .10000E-03    7.3877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5784        4.3711        .18057E-03   -1.5280    
  21  Normalizat    .96063        .21561        .31842E-03   -.94361    
  22  Prefactor     .95098        .13023        .20043E-03   -.94382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23343e-09
Minuit parameter uncertainties:
  1  29.7513
  2  3.82865e-08
  3  0.19951
  4  39.9109
  5  1.5181e-06
  6  13.8003
  7  2.4181e-06
  8  6.31705e-05
  9  7.69661
  10  15.8326
  11  6.72204e-06
  12  9.11677
  13  5.42188
  14  2.1509e-05
  15  1.57473e-05
  16  1.9018e-05
  17  2.26583e-06
  18  27.2711
  19  4.02025e-07
  20  4.3714
  21  0.215806
  22  0.130276
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.344e+01  9.117e+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:  9.510e-01  1.303e-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:  9.606e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.03
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 7.29e-08 +/- 4.94e-08
Energy Flux (Fixed Index): 1.81e-05 +/- 1.23e-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) = 8307.66497233
delta logL = 0.450525118682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8307.62973593
delta logL = 0.485761521395

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.504       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1255       1.0000          .0000       5.0000    
     3 'Normalizat'    .98668       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93850       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=   8307.630     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      241 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.489        326.68        .23932E-02    .28350E-04
   2  alpha         2.1246        2.7772        .41751       -.20857E-05
   3  Normalizat    .98663        .22789        .71128E-01    .26228E-04
   4  Prefactor     .93857        .14726        .45494E-01    .43240E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4885
  alpha      = 2.12464
  Normalizat = 0.986634
  Prefactor  = 0.938573
 **********
 **   18 **HESSE 
 **********

 FCN=   8307.630     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .46E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.489        10.604        .95730E-04   -1.4871    
   2  alpha         2.1246        .52091        .15881E-01   -.15072    
   3  Normalizat    .98663        .20691        .31468E-03   -.93480    
   4  Prefactor     .93857        .12979        .20150E-03   -.94806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55693e-12
Minuit parameter uncertainties:
  1  10.605
  2  0.524848
  3  0.207077
  4  0.129833
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925811': 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) = 8307.62973341
delta logL = 0.485764037032

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.749e+01  1.061e+01  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.125e+00  5.248e-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.386e-01  1.298e-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:  9.866e-01  2.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.01
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.12 +/- 0.52
Photon Flux (Free Index): 5.46e-08 +/- 4.02e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.44e-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/925811/cmap_HighResolution_679449601_679708801_4FGL_J2327.5+0939_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.29e-08', energy_flux2='2.23e-05', photon_flux_error='4.94e-08', dlogl='4.86e-01', energy_flux='1.81e-05', photon_flux2='5.46e-08', job_status='DONE', time_completed='2022-07-17 00:48:06.544618', photon_index_error2='0.52', photon_index2='2.12', ts='4.03', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.44e-05', EG='0.96', time_epoch_completed='1658044086.54', return_code='0', job_id='925811', GAL2='0.94', EG2='0.99', return_code2='0', energy_flux_error='1.23e-05', photon_flux_error2='4.02e-08', ts2='5.01', photon_index='2.68' WHERE bin_id='1698' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:48:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 925811: <4FGL_J2327.5+0939_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:32 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:33 2022
Terminated at Sun Jul 17 00:48:07 2022
Results reported at Sun Jul 17 00:48:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1698 351.896 9.6543 679449601 679708801 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 :                                   640.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

