aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 27 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is 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 = 7657
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2327.5+0939_daily_bin1670
RA = 351.896, Dec = 9.6543
tmin = 672192001, tmax = 672451201
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='876025', job_status='RUN', time_executed='2022-04-24 00:50:36.121923', time_epoch_executed='1650786636.12' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876025

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876025/ft1_4FGL_J2327.5+0939_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876025/ft2_4FGL_J2327.5+0939_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876025/ft1_4FGL_J2327.5+0939_daily_bin1670.fits outfile=/scratch/kocevski/876025/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin1670.fits ra=351.896 dec=9.6543 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.11
user 4.86
sys 0.22

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

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

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

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

Number of photons that the gtmktime cut: 621

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876025/ft1_filtered_4FGL_J2327.5+0939_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/876025/ft2_4FGL_J2327.5+0939_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/876025/ltcube_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.fits outfile=/scratch/kocevski/876025/expmap_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.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/876025/ltcube_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.fits
.....................!
real 191.57
user 185.75
sys 5.49

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/876025/ft1_filtered_4FGL_J2327.5+0939_daily_bin1670.fits scfile=/scratch/kocevski/876025/ft2_4FGL_J2327.5+0939_daily_bin1670.fits outfile=/scratch/kocevski/876025/cmap_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.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.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876025/ft1_filtered_4FGL_J2327.5+0939_daily_bin1670.fits scfile=/scratch/kocevski/876025/ft2_4FGL_J2327.5+0939_daily_bin1670.fits outfile=/scratch/kocevski/876025/cmap_HighResolution_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.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.64
user 0.40
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38277       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11518E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.177       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10319E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10402E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.203       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.5945       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23944       1.0000         .10000E-03   10000.    
    16 'norm      '    3.8585       1.0000         .10000E-03   10000.    
    17 'norm      '    44.828       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.0479       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59966       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1936       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=   7040.904     FROM MIGRAD    STATUS=CONVERGED    826 CALLS     2749 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.539        .18142E-02** at limit **
   2  Prefactor     .10000E-03    10.160        .18142E-02** at limit **
   3  Prefactor     .38276        .14988        .19542E-04    .17609E-02
   4  Prefactor     .10000E-03    20.139        .18142E-02** at limit **
   5  Prefactor     .10001E-03    20.729        .35499E-02** at limit **
   6  Prefactor     .10000E-03    7.9189        .18142E-02** at limit **
   7  Prefactor     17.172        21.507        .96637E-04    .27411E-04
   8  Prefactor     .10000E-03    7.3382        .18142E-02** at limit **
   9  Prefactor     .10000E-03    14.851        .18142E-02** at limit **
  10  Prefactor     .10000E-03    13.856        .18142E-02** at limit **
  11  Prefactor     .10000E-03    77.719        .18142E-02** at limit **
  12  norm          .10000E-03    4.9417        .18142E-02** at limit **
  13  Prefactor     10.207        8.2052        .62721E-03    .24905E-03
  14  Prefactor     8.6057        19.514        .13673E-03    .35419E-04
  15  Prefactor     .21899        26.114        .10336        .16989E-03
  16  norm          3.8581        9.2143        .20544E-03   -.93523E-05
  17  norm          44.803        36.534        .59881E-04    .75904E-04
  18  Prefactor     .10000E-03    21.569        .18142E-02** at limit **
  19  Prefactor     3.0550        36.501        .23240E-03    .25683E-04
  20  Prefactor     .10000E-03    2.0117        .11608E-02** at limit **
  21  Normalizat    .59956        .23973        .38333E-03    .32615E-03
  22  Prefactor     1.1938        .14599        .17868E-03    .87507E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.382755
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 17.1718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 10.2069
  Prefactor  = 8.60565
  Prefactor  = 0.218989
  norm       = 3.85806
  norm       = 44.8031
  Prefactor  = 0.0001
  Prefactor  = 3.05502
  Prefactor  = 0.0001
  Normalizat = 0.599555
  Prefactor  = 1.19378
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.904     FROM HESSE     STATUS=OK           330 CALLS     3079 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.539        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .38276        .14986        .78169E-06   -1.5584    
   4  Prefactor     .10000E-03    20.141        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    20.965        .70998E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9210        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.172        21.506        .38655E-05   -1.4879    
   8  Prefactor     .10000E-03    7.3446        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.861        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.860        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    77.729        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.9427        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.207        8.2011        .25088E-04   -1.5069    
  14  Prefactor     8.6057        19.506        .54694E-05   -1.5121    
  15  Prefactor     .21899        24.157        .10887       -1.5614    
  16  norm          3.8581        9.2141        .82175E-05   -1.5315    
  17  norm          44.803        36.521        .11976E-04   -1.4368    
  18  Prefactor     .10000E-03    21.571        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0550        36.471        .92959E-05   -1.5358    
  20  Prefactor     .10000E-03    2.0118        .23215E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .59956        .23979        .15333E-04   -1.0800    
  22  Prefactor     1.1938        .14605        .35735E-04   -.86523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.07878e-10
Minuit parameter uncertainties:
  1  4.53866e-05
  2  3.38463e-05
  3  0.149861
  4  1.92565e-05
  5  0.000782615
  6  3.53436e-05
  7  21.5157
  8  3.49137e-05
  9  1.26224e-05
  10  6.37383e-05
  11  0.00041407
  12  3.32337e-05
  13  8.202
  14  19.5203
  15  4.6009
  16  9.21748
  17  36.5396
  18  0.00014713
  19  21.127
  20  3.13446e-06
  21  0.240211
  22  0.146102
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.000e-04  3.323e-05  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.194e+00  1.461e-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.996e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.896 9.654
Photon Flux Upper Limit: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.21e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/876025/likelihoodResults_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.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) = 7040.90499189
delta logL = -0.000964585155089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7040.90402739
delta logL = -7.79873516876e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6832       1.0000          .0000       5.0000    
     3 'Normalizat'    .59953       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1938       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=   7040.904     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      230 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    44.927        .18142E-02** at limit **
   2  alpha         2.7086        3.0645        .16517       -.54645E-06
   3  Normalizat    .59956        .22322        .38333E-03    .95202E-05
   4  Prefactor     1.1938        .14388        .89338E-03    .18477E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100026
  alpha      = 2.70857
  Normalizat = 0.599556
  Prefactor  = 1.19378
 **********
 **   18 **HESSE 
 **********

 FCN=   7040.904     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    4.9492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7086        3.4480        .66067E-02    .83525E-01
   3  Normalizat    .59956        .22394        .15333E-04   -1.0800    
   4  Prefactor     1.1938        .14435        .35735E-04   -.86523    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15974e-08
Minuit parameter uncertainties:
  1  0.0007203
  2  354.898
  3  0.224283
  4  0.144394
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876025': 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) = 7040.9040273
delta logL = 6.12999428995e-09

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.000e-04  7.203e-04  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.709e+00  3.549e+02  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:  1.194e+00  1.444e-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.996e-01  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.896 9.654

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/876025/cmap_HighResolution_672192001_672451201_4FGL_J2327.5+0939_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.21e-05', job_status='DONE', photon_flux_upper_limit='8.90e-08', time_completed='2022-04-24 01:02:04.912435', job_id='876025', GAL2='1.19', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1650787324.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='6.13e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1670' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 01:02:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 876025: <4FGL_J2327.5+0939_daily_bin1670> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin1670> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Apr 24 00:45:54 2022
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:50:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:50:00 2022
Terminated at Sun Apr 24 01:02:05 2022
Results reported at Sun Apr 24 01:02:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin1670 351.896 9.6543 672192001 672451201 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 :                                   690.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            971 sec.

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

