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


Performing analysis on: 4FGL_J2323.8+4210_daily_bin1734
RA = 350.975, Dec = 42.1826
tmin = 688780801, tmax = 689040001
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='776552', job_status='RUN', time_executed='2022-11-02 00:37:27.662260', time_epoch_executed='1667374647.66' WHERE source_name='4FGL J2323.8+4210' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776552/ft1_4FGL_J2323.8+4210_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776552/ft1_4FGL_J2323.8+4210_daily_bin1734.fits outfile=/scratch/kocevski/776552/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1734.fits ra=350.975 dec=42.1826 rad=12.0 tmin=688780801.0 tmax=689040001.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.61
user 3.38
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.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/776552/ft1_filteredMKT_4FGL_J2323.8+4210_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.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.16

Number of photons that the gtmktime cut: 1082

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776552/ltcube_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.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/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits
.....................!
real 12.98
user 12.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776552/ltcube_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits outfile=/scratch/kocevski/776552/expmap_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.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/776552/ltcube_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits
.....................!
real 191.08
user 186.60
sys 4.03

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
Extended source FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 164 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2323.8+4210 @ 350.975 42.1826

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits outfile=/scratch/kocevski/776552/cmap_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.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=350.975 yref=42.1826 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits outfile=/scratch/kocevski/776552/cmap_HighResolution_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.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=350.975 yref=42.1826 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776552/Model_4FGL_J2323.8+4210_daily_bin1734.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits.....................!
real 135.40
user 133.95
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits', '/scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits', expMap='/scratch/kocevski/776552/expmap_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits', expCube='/scratch/kocevski/776552/ltcube_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776552/Model_4FGL_J2323.8+4210_daily_bin1734.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2323.8+4210'

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  5.154e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  1.778e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/776552/ft1_filtered_4FGL_J2323.8+4210_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776552/ft2_4FGL_J2323.8+4210_daily_bin1734.fits
Exposure map: /scratch/kocevski/776552/expmap_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776552/ltcube_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776552/Model_4FGL_J2323.8+4210_daily_bin1734.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) = 11263.9870193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21654E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .92703E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    8.9684       1.0000          .0000       .10000E+07
     4 'norm      '    .78826E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0762       1.0000          .0000       .10000E+07
     6 'Prefactor '    .60882E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .93128       1.0000          .0000       .10000E+07
     8 'Prefactor '    11.875       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.3887       1.0000          .0000       .10000E+07
    10 'Prefactor '    .49153E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .17892       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.3094       1.0000          .0000       .10000E+07
    13 'norm      '    .39641E-05   1.0000          .0000       .10000E+07
    14 'norm      '    15.619       1.0000          .0000       .10000E+07
    15 'Prefactor '    10.085       1.0000          .0000       .10000E+07
    16 'norm      '    .62006E-07   1.0000          .0000       .10000E+07
    17 'norm      '    4.0389       1.0000          .0000       .10000E+07
    18 'Prefactor '    .53829E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56747E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11352E-03   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.3909       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90332       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11263.95     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1403 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46296E-07    3.5770       -.10388E-06** at limit **
   2  norm          .87264E-07    13.277       -.11280E-06** at limit **
   3  Prefactor     8.8973        7.8172        .10160E-06    .55424E-02
   4  norm           .0000        .54508       -.69525E-08** at limit **
   5  Prefactor     1.0795        2.5932        .18556E-07    .45786E-03
   6  Prefactor     .13323E-07    23.219        .16653E-06** at limit **
   7  norm          .92492        2.6496        .36683E-07   -.12484E-01
   8  Prefactor     11.913        2.3749        .64849E-09   -.14790E-02
   9  Prefactor     4.3954        5.2018        .52132E-07    .57502E-02
  10  Prefactor     .23904E-05    16.313       -.24720E-06** at limit **
  11  norm          .18077        2.9225       -.51565E-08** at limit **
  12  Prefactor     8.1988        1.7833       -.33171E-08   -.72242E-02
  13  norm           .0000        1.7048        .23707E-07** at limit **
  14  norm          15.628        9.2632        .54415E-08    .40229E-01
  15  Prefactor     9.9372        9.8058       -.15928E-07    .62449E-01
  16  norm          .55511E-10    .66706        .77191E-07** at limit **
  17  norm          4.0553        4.0931       -.18159E-07   -.80454E-03
  18  Prefactor     .26867E-06    5.0503       -.10992E-06** at limit **
  19  Prefactor     .25117E-05    14.961       -.22752E-06** at limit **
  20  Prefactor     .34212E-06    8.1865       -.81719E-07** at limit **
  21  Normalizat    1.3921        .23566       -.54640E-06   -.77942E-04
  22  Prefactor     .90313        .78483E-01   -.21797E-06   -.20832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.62963e-08
  norm       = 8.72635e-08
  Prefactor  = 8.89732
  norm       = 0
  Prefactor  = 1.07945
  Prefactor  = 1.33227e-08
  norm       = 0.924919
  Prefactor  = 11.9126
  Prefactor  = 4.39536
  Prefactor  = 2.39042e-06
  norm       = 0.180768
  Prefactor  = 8.1988
  norm       = 0
  norm       = 15.6275
  Prefactor  = 9.93715
  norm       = 5.55112e-11
  norm       = 4.05535
  Prefactor  = 2.68674e-07
  Prefactor  = 2.51171e-06
  Prefactor  = 3.42115e-07
  Normalizat = 1.3921
  Prefactor  = 0.903126
 **********
 **   18 **HESSE 
 **********

 FCN=   11263.95     FROM HESSE     STATUS=OK           394 CALLS     1797 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46296E-07    11.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .87264E-07    14.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8973        7.8620        .33444E-03   -1.5648    
   4  norm           .0000        .54555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0795        2.6263        .11648E-02   -1.5687    
   6  Prefactor     .13323E-07    22.721        .15131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .92492        2.6721        .43621E-03   -1.5689    
   8  Prefactor     11.913        14.319        .29045E-03   -1.5639    
   9  Prefactor     4.3954        5.2486        .48051E-03   -1.5666    
  10  Prefactor     .23904E-05    31.308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18077        .68576        .46803E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.1988        12.170        .34754E-03   -1.5651    
  13  norm           .0000        1.7075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.628        9.5745        .25317E-03   -1.5629    
  15  Prefactor     9.9372        12.415        .31528E-03   -1.5645    
  16  norm          .55511E-10    .67030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.0553        4.0899        .50151E-03   -1.5668    
  18  Prefactor     .26867E-06    11.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .25117E-05    30.241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .34212E-06    11.695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3921        .21076        .85218E-01   -.80857    
  22  Prefactor     .90313        .68116E-01    .45047E-01   -.96032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.50953e-07
Minuit parameter uncertainties:
  1  0.00142952
  2  0.00224648
  3  7.86202
  4  6.26041e-07
  5  2.62635
  6  0.00110068
  7  2.67215
  8  14.3193
  9  5.24857
  10  0.0173021
  11  0.685761
  12  12.1701
  13  4.25367e-06
  14  9.57452
  15  12.4155
  16  1.01962e-05
  17  4.08985
  18  0.00344968
  19  0.0174308
  20  0.00400047
  21  0.210889
  22  0.0681224
Done.

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

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  1.563e+01  9.575e+00  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  1.778e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.031e-01  6.812e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.392e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.60
Ra Dec: 350.975 42.183
Photon Index (Fixed Index): 1.78 +/- 0.00
Photon Flux (Fixed Index): 2.97e-08 +/- 1.82e-08
Energy Flux (Fixed Index): 3.66e-05 +/- 2.24e-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) = 11263.8345432
delta logL = 0.116222575409

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11263.8342413
delta logL = 0.116524533998

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.795       1.0000          .0000       .10000E+07
     2 'alpha     '    1.5462       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3965       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+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=   11263.83     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      270 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.797        10.111        .10070E-04    .10838E-03
   2  alpha         1.5462        .47748        .15845E-01   -.96716E-06
   3  Normalizat    1.3965        .22636        .37682E-03   -.17860E-04
   4  Prefactor     .90340        .77968E-01    .15603E-03    .49022E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.7972
  alpha      = 1.54615
  Normalizat = 1.39655
  Prefactor  = 0.903403
 **********
 **   18 **HESSE 
 **********

 FCN=   11263.83     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.797        10.154        .40280E-06   -1.5628    
   2  alpha         1.5462        .47954        .63381E-03   -.39146    
   3  Normalizat    1.3965        .22648        .15073E-04   -.80729    
   4  Prefactor     .90340        .78017E-01    .31206E-04   -.96022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.81541e-12
Minuit parameter uncertainties:
  1  10.1539
  2  0.48305
  3  0.226645
  4  0.0780263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776552': 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) = 11263.8342412
delta logL = 0.116524608091

Extracting fit parameters...

4FGL J2323.8+4210
   Spectrum: LogParabola
458         norm:  1.580e+01  1.015e+01  0.000e+00  1.000e+06 ( 1.000e-13)
459        alpha:  1.546e+00  4.831e-01  0.000e+00  5.000e+00 ( 1.000e+00)
460         beta:  6.822e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
461           Eb:  1.948e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  9.034e-01  7.803e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
546   Normalization:  1.397e+00  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.84
Ra Dec: 350.975 42.183
Photon Index (Free Index): 1.55 +/- 0.48
Photon Flux (Free Index): 2.18e-08 +/- 2.01e-08
Energy Flux (Free Index): 5.02e-05 +/- 4.70e-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/776552/cmap_HighResolution_688780801_689040001_4FGL_J2323.8+4210_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.97e-08', energy_flux2='5.02e-05', photon_flux_error='1.82e-08', dlogl='1.17e-01', energy_flux='3.66e-05', photon_flux2='2.18e-08', job_status='DONE', time_completed='2022-11-02 00:49:24.918369', photon_index_error2='0.48', photon_index2='1.55', ts='13.60', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='4.70e-05', EG='1.39', time_epoch_completed='1667375364.92', return_code='0', job_id='776552', GAL2='0.90', EG2='1.40', return_code2='0', energy_flux_error='2.24e-05', photon_flux_error2='2.01e-08', ts2='13.84', photon_index='1.78' WHERE bin_id='1734' AND source_name='4FGL J2323.8+4210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:49:24 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 776552: <4FGL_J2323.8+4210_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2323.8+4210_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:34 2022
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:35 2022
Terminated at Wed Nov  2 00:49:25 2022
Results reported at Wed Nov  2 00:49:25 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2323.8+4210_daily_bin1734 350.975 42.1826 688780801 689040001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2323.8+4210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   719.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            831 sec.

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

