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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1676
RA = 351.896, Dec = 9.6543
tmin = 673747201, tmax = 674006401
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='68812', job_status='RUN', time_executed='2022-05-12 01:32:59.378475', time_epoch_executed='1652344379.38' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/68812

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/68812/ft1_4FGL_J2327.5+0939_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/68812/ft2_4FGL_J2327.5+0939_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/68812/ft1_4FGL_J2327.5+0939_daily_bin1676.fits outfile=/scratch/kocevski/68812/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1676.fits ra=351.896 dec=9.6543 rad=12.0 tmin=673747201.0 tmax=674006401.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.95
user 3.64
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/68812/ft2_4FGL_J2327.5+0939_daily_bin1676.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/68812/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/68812/ft1_filtered_4FGL_J2327.5+0939_daily_bin1676.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 1.01
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 646

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/68812/ft1_filtered_4FGL_J2327.5+0939_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/68812/ft2_4FGL_J2327.5+0939_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/68812/ltcube_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.fits outfile=/scratch/kocevski/68812/expmap_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.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/68812/ltcube_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.fits
.....................!
real 191.56
user 186.91
sys 4.21

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/68812/ft1_filtered_4FGL_J2327.5+0939_daily_bin1676.fits scfile=/scratch/kocevski/68812/ft2_4FGL_J2327.5+0939_daily_bin1676.fits outfile=/scratch/kocevski/68812/cmap_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.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.57
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/68812/ft1_filtered_4FGL_J2327.5+0939_daily_bin1676.fits scfile=/scratch/kocevski/68812/ft2_4FGL_J2327.5+0939_daily_bin1676.fits outfile=/scratch/kocevski/68812/cmap_HighResolution_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.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.59
user 0.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89029       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.896       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.972       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.227       1.0000         .10000E-03   10000.    
    12 'norm      '    76.248       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.638       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.999       1.0000         .10000E-03   10000.    
    16 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11466E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    26.574       1.0000         .10000E-03   10000.    
    19 'Prefactor '    65.969       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .66911       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0254       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=   6940.772     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2333 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4863        .48801E-08** at limit **
   2  Prefactor     .10000E-03    3.8256       -.12661E-06** at limit **
   3  Prefactor     .89028        .18347        .45524E-08   -.22140E-03
   4  Prefactor     .10000E-03    12.590       -.75418E-05** at limit **
   5  Prefactor     .10000E-03    1.8078       -.11636E-07** at limit **
   6  Prefactor     .10000E-03    4.7504       -.29107E-07** at limit **
   7  Prefactor     16.896        15.164        .20098E-06   -.12274E-04
   8  Prefactor     12.970        7.0017        .28224E-06   -.57262E-04
   9  Prefactor     .10000E-03    15.740        .10897E-04** at limit **
  10  Prefactor     .10000E-03    17.683       -.11399E-05** at limit **
  11  Prefactor     41.227        35.541        .40985E-06    .11238E-06
  12  norm          76.263        15.235       -.66912E-06   -.85685E-03
  13  Prefactor     .10000E-03    11.227        .45562E-05** at limit **
  14  Prefactor     31.630        15.575        .21856E-05    .13337E-03
  15  Prefactor     17.939        27.252       -.46751E-05   -.10540E-03
  16  norm          .10000E-03    30.782        .10848E-05** at limit **
  17  norm          .10000E-03    18.339       -.76553E-05** at limit **
  18  Prefactor     26.558        28.829       -.64947E-06   -.10592E-04
  19  Prefactor     65.969        30.369        .36697E-05   -.31232E-04
  20  Prefactor     .10000E-03    2.0404        .97954E-07** at limit **
  21  Normalizat    .66950        .21808       -.20229E-05   -.11482E-03
  22  Prefactor     1.0252        .13066        .54778E-06   -.24254E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.890282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.8957
  Prefactor  = 12.9702
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.227
  norm       = 76.2626
  Prefactor  = 0.0001
  Prefactor  = 31.63
  Prefactor  = 17.9391
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 26.5579
  Prefactor  = 65.9685
  Prefactor  = 0.0001
  Normalizat = 0.669501
  Prefactor  = 1.02518
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.772     FROM HESSE     STATUS=OK           336 CALLS     2669 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.8268        .15914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .89028        .18339        .15542E-04   -1.5519    
   4  Prefactor     .10000E-03    12.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8137        .10938E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.7698        .17732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.896        15.164        .97436E-04   -1.4886    
   8  Prefactor     12.970        7.0000        .11122E-03   -1.4988    
   9  Prefactor     .10000E-03    15.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.227        35.538        .62430E-04   -1.4423    
  12  norm          76.263        15.286        .45985E-04   -1.3959    
  13  Prefactor     .10000E-03    11.584        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.630        15.629        .71236E-04   -1.4583    
  15  Prefactor     17.939        27.258        .94406E-04   -1.4861    
  16  norm          .10000E-03    31.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    18.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     26.558        28.829        .77712E-04   -1.4677    
  19  Prefactor     65.969        30.332        .49413E-04   -1.4082    
  20  Prefactor     .10000E-03    2.0433        .11621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .66950        .24271        .38377E-03   -1.0511    
  22  Prefactor     1.0252        .14663        .19882E-03   -.91895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58024e-10
Minuit parameter uncertainties:
  1  4.92658e-07
  2  5.53488e-07
  3  0.18339
  4  1.14931e-05
  5  7.43895e-07
  6  5.05347e-06
  7  15.167
  8  7.00039
  9  9.02402e-05
  10  1.05822e-05
  11  35.5567
  12  15.2867
  13  6.59124e-05
  14  15.6309
  15  27.2767
  16  2.38699e-05
  17  0.000122922
  18  28.8445
  19  30.3388
  20  1.20416e-06
  21  0.243104
  22  0.146686
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  7.626e+01  1.529e+01  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.025e+00  1.467e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.695e-01  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 71.05
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 4.14e-07 +/- 8.28e-08
Energy Flux (Fixed Index): 1.03e-04 +/- 2.06e-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) = 6939.56536662
delta logL = 1.20678502378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6939.56535099
delta logL = 1.20680065027

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    94.848       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3195       1.0000          .0000       5.0000    
     3 'Normalizat'    .74686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98958       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=   6939.565     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      237 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          95.046        32.686        .10317E-02    .23801E-05
   2  alpha         2.3190        .34413        .14421        .44295E-04
   3  Normalizat    .74667        .21018        .82599E-01    .30759E-04
   4  Prefactor     .98956        .12973        .46137E-01    .23625E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 95.0459
  alpha      = 2.31896
  Normalizat = 0.74667
  Prefactor  = 0.989559
 **********
 **   18 **HESSE 
 **********

 FCN=   6939.565     FROM HESSE     STATUS=OK            29 CALLS      266 TOTAL
                     EDM=   .10E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          95.046        20.950        .41269E-04   -1.3755    
   2  alpha         2.3190        .22561        .62402E-03   -.72480E-01
   3  Normalizat    .74667        .23732        .36577E-03   -1.0208    
   4  Prefactor     .98956        .14673        .20191E-03   -.93078    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02346e-14
Minuit parameter uncertainties:
  1  20.9515
  2  0.225914
  3  0.237653
  4  0.146785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/68812': 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) = 6939.56530535
delta logL = 1.20684628807

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  9.505e+01  2.095e+01  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.319e+00  2.259e-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.896e-01  1.468e-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:  7.467e-01  2.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 72.26
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.32 +/- 0.23
Photon Flux (Free Index): 3.53e-07 +/- 8.33e-08
Energy Flux (Free Index): 1.17e-04 +/- 2.60e-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/68812/cmap_HighResolution_673747201_674006401_4FGL_J2327.5+0939_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.14e-07', energy_flux2='1.17e-04', photon_flux_error='8.28e-08', dlogl='1.21e+00', energy_flux='1.03e-04', photon_flux2='3.53e-07', job_status='DONE', time_completed='2022-05-12 01:43:06.287291', photon_index_error2='0.23', photon_index2='2.32', ts='71.05', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.60e-05', EG='0.67', time_epoch_completed='1652344986.29', return_code='0', job_id='68812', GAL2='0.99', EG2='0.75', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='8.33e-08', ts2='72.26', photon_index='2.68' WHERE bin_id='1676' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:43:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 68812: <4FGL_J2327.5+0939_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1676> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu May 12 01:30:29 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:31:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:31:08 2022
Terminated at Thu May 12 01:43:07 2022
Results reported at Thu May 12 01:43:07 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1676 351.896 9.6543 673747201 674006401 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 :                                   606.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            758 sec.

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

