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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1740
RA = 351.896, Dec = 9.6543
tmin = 690336001, tmax = 690595201
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='836090', job_status='RUN', time_executed='2022-11-20 00:50:18.548592', time_epoch_executed='1668934218.55' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/836090

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/836090/ft1_4FGL_J2327.5+0939_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/836090/ft2_4FGL_J2327.5+0939_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/836090/ft1_4FGL_J2327.5+0939_daily_bin1740.fits outfile=/scratch/kocevski/836090/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1740.fits ra=351.896 dec=9.6543 rad=12.0 tmin=690336001.0 tmax=690595201.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.03
user 2.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 987

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/836090/ft1_filtered_4FGL_J2327.5+0939_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/836090/ft2_4FGL_J2327.5+0939_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/836090/ltcube_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.fits outfile=/scratch/kocevski/836090/expmap_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.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/836090/ltcube_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.fits
.....................!
real 192.69
user 187.11
sys 4.61

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/836090/ft1_filtered_4FGL_J2327.5+0939_daily_bin1740.fits scfile=/scratch/kocevski/836090/ft2_4FGL_J2327.5+0939_daily_bin1740.fits outfile=/scratch/kocevski/836090/cmap_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/836090/ft1_filtered_4FGL_J2327.5+0939_daily_bin1740.fits scfile=/scratch/kocevski/836090/ft2_4FGL_J2327.5+0939_daily_bin1740.fits outfile=/scratch/kocevski/836090/cmap_HighResolution_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.297       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.1358       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10823E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2901       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2568       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0182       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.0408       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15056E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10554E-03   1.0000          .0000       .10000E+07
    10 'norm      '    14.866       1.0000          .0000       .10000E+07
    11 'Prefactor '    .62891E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .54392E-04   1.0000          .0000       .10000E+07
    13 'norm      '    .82581E-03   1.0000          .0000       .10000E+07
    14 'norm      '    22.086       1.0000          .0000       .10000E+07
    15 'Prefactor '    42.128       1.0000          .0000       .10000E+07
    16 'Prefactor '    .17663E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .55864E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2964       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .80412       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=   10510.31     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1196 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.911        1.7044       -.13678E-07   -.25923E-02
   2  Prefactor     2.1362        .22492       -.28346E-07    .16703E-03
   3  Prefactor     .49405E-08    28.384        .10491E-07** at limit **
   4  Prefactor     1.2861        3.9908       -.42022E-07   -.20494E-05
   5  Prefactor     9.2313        12.634       -.66719E-07    .26300E-04
   6  Prefactor     2.9778        5.4295       -.80175E-07    .31192E-04
   7  Prefactor     2.9937        5.7862        .93698E-07   -.58784E-04
   8  Prefactor      .0000        6.0059        .50033E-07** at limit **
   9  Prefactor     .16098E-08    21.157       -.36754E-06** at limit **
  10  norm          14.888        7.5056        .56601E-07   -.31943E-03
  11  Prefactor      .0000        1.9125       -.32910E-07** at limit **
  12  Prefactor     .18874E-08    56.876        .13916E-05** at limit **
  13  norm           .0000        13.592       -.84977E-07** at limit **
  14  norm          22.105        1.3532        .12730E-09    .79196E-02
  15  Prefactor     41.699        4.2421        .30806E-07   -.29162E-01
  16  Prefactor     .27756E-09    17.538       -.21888E-06** at limit **
  17  Prefactor      .0000        3.2175        .12551E-07** at limit **
  18  Normalizat    1.2970        .19523       -.10114E-05   -.95831E-05
  19  Prefactor     .80409        .11872        .85104E-06   -.14511E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.9115
  Prefactor  = 2.13616
  Prefactor  = 4.94049e-09
  Prefactor  = 1.2861
  Prefactor  = 9.23128
  Prefactor  = 2.97783
  Prefactor  = 2.99366
  Prefactor  = 0
  Prefactor  = 1.60982e-09
  norm       = 14.8884
  Prefactor  = 0
  Prefactor  = 1.88738e-09
  norm       = 0
  norm       = 22.1047
  Prefactor  = 41.6987
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Normalizat = 1.29702
  Prefactor  = 0.804086
 **********
 **   18 **HESSE 
 **********

 FCN=   10510.31     FROM HESSE     STATUS=OK           306 CALLS     1502 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.911        20.303        .23387E-03   -1.5623    
   2  Prefactor     2.1362        .22614        .34262E-02   -1.5416    
   3  Prefactor     .49405E-08    28.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2861        4.0442        .97471E-03   -1.5685    
   5  Prefactor     9.2313        12.643        .32916E-03   -1.5647    
   6  Prefactor     2.9778        5.4488        .58391E-03   -1.5673    
   7  Prefactor     2.9937        5.8123        .58161E-03   -1.5673    
   8  Prefactor      .0000        6.0188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .16098E-08    21.350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          14.888        7.5178        .25951E-03   -1.5631    
  11  Prefactor      .0000        1.9146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18874E-08    56.520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        13.526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.105        17.218        .21284E-03   -1.5614    
  15  Prefactor     41.699        30.166        .15408E-03   -1.5579    
  16  Prefactor     .27756E-09    17.588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        3.2031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2970        .17002        .67255E-01   -.83655    
  19  Prefactor     .80409        .10224        .43771E-01   -.99578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16405e-07
Minuit parameter uncertainties:
  1  20.3035
  2  0.226139
  3  0.000753317
  4  4.04424
  5  12.6429
  6  5.4488
  7  5.81231
  8  3.1178e-06
  9  0.000371388
  10  7.51784
  11  8.33985e-07
  12  0.000653414
  13  2.35605e-06
  14  17.2181
  15  30.1662
  16  0.000144862
  17  6.97794e-07
  18  0.170093
  19  0.102262
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.489e+01  7.518e+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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  8.041e-01  1.023e-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.297e+00  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.36
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 8.07e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 1.01e-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) = 10509.5988802
delta logL = 0.715229725509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10509.5343274
delta logL = 0.779782527896

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10509.53     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      255 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.818        9.5301        .89886E-05   -.32884E-04
   2  alpha         2.0653        .44552        .15393E-01   -.29509E-04
   3  Normalizat    1.3307        .19371        .29426E-03    .20940E-04
   4  Prefactor     .78813        .11818        .22656E-03    .32817E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.8179
  alpha      = 2.06534
  Normalizat = 1.33075
  Prefactor  = 0.788126
 **********
 **   18 **HESSE 
 **********

 FCN=   10509.53     FROM HESSE     STATUS=OK            25 CALLS      280 TOTAL
                     EDM=   .61E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.818        9.5215        .35955E-06   -1.5619    
   2  alpha         2.0653        .44505        .30785E-02   -.17475    
   3  Normalizat    1.3307        .19384        .11770E-04   -.82653    
   4  Prefactor     .78813        .11825        .90626E-05   -1.0017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.05228e-13
Minuit parameter uncertainties:
  1  9.52155
  2  0.447506
  3  0.193942
  4  0.11829
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/836090': 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) = 10509.5343273
delta logL = 0.779782547401

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.982e+01  9.522e+00  0.000e+00  1.000e+06 ( 1.000e-12)
410        alpha:  2.065e+00  4.475e-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:  7.881e-01  1.183e-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.331e+00  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.88
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.07 +/- 0.45
Photon Flux (Free Index): 5.89e-08 +/- 3.49e-08
Energy Flux (Free Index): 2.60e-05 +/- 1.38e-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/836090/cmap_HighResolution_690336001_690595201_4FGL_J2327.5+0939_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.07e-08', energy_flux2='2.60e-05', photon_flux_error='4.07e-08', dlogl='7.80e-01', energy_flux='2.01e-05', photon_flux2='5.89e-08', job_status='DONE', time_completed='2022-11-20 01:00:43.794538', photon_index_error2='0.45', photon_index2='2.07', ts='7.36', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='1.38e-05', EG='1.30', time_epoch_completed='1668934843.79', return_code='0', job_id='836090', GAL2='0.79', EG2='1.33', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.49e-08', ts2='8.88', photon_index='2.68' WHERE bin_id='1740' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 01:00:43 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 836090: <4FGL_J2327.5+0939_daily_bin1740> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:45:47 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:50:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:50:06 2022
Terminated at Sun Nov 20 01:00:44 2022
Results reported at Sun Nov 20 01:00:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1740 351.896 9.6543 690336001 690595201 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 :                                   623.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             373.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            897 sec.

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

