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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1765
RA = 351.17, Dec = 31.2573
tmin = 696816001, tmax = 697075201
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='649804', job_status='RUN', time_executed='2023-02-03 01:53:23.425410', time_epoch_executed='1675418003.43' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649804

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649804/ft1_4FGL_J2324.6+3115_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649804/ft1_4FGL_J2324.6+3115_daily_bin1765.fits outfile=/scratch/kocevski/649804/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1765.fits ra=351.17 dec=31.2573 rad=12.0 tmin=696816001.0 tmax=697075201.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.68
user 3.45
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.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/649804/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.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.50
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 850

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649804/ltcube_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.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/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits
.....................!
real 14.18
user 13.71
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649804/ltcube_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits outfile=/scratch/kocevski/649804/expmap_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.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/649804/ltcube_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits
.....................!
real 191.88
user 186.05
sys 5.45

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 166 point sources and 0 extended sources

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits outfile=/scratch/kocevski/649804/cmap_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.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.17 yref=31.2573 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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits outfile=/scratch/kocevski/649804/cmap_HighResolution_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.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.17 yref=31.2573 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649804/Model_4FGL_J2324.6+3115_daily_bin1765.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/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits.....................!
real 97.39
user 95.78
sys 1.40

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits', '/scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits', expMap='/scratch/kocevski/649804/expmap_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits', expCube='/scratch/kocevski/649804/ltcube_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649804/Model_4FGL_J2324.6+3115_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/649804/ft1_filtered_4FGL_J2324.6+3115_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649804/ft2_4FGL_J2324.6+3115_daily_bin1765.fits
Exposure map: /scratch/kocevski/649804/expmap_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649804/ltcube_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649804/Model_4FGL_J2324.6+3115_daily_bin1765.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) = 9027.77228547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71047E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .16079       1.0000          .0000       .10000E+07
     3 'norm      '    2.9774       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20229E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .28939E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .24142E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .48503       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0150       1.0000          .0000       .10000E+07
     9 'Prefactor '    7.4678       1.0000          .0000       .10000E+07
    10 'Prefactor '    .57732E-08   1.0000          .0000       .10000E+07
    11 'norm      '    .11896E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .67477E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.419       1.0000          .0000       .10000E+07
    14 'norm      '    .12281E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5526       1.0000          .0000       .10000E+07
    16 'Prefactor '    .19916E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .33024E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .69750       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2023       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9027.702     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     1343 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16098E-08    3.1733       -.11045E-06** at limit **
   2  Prefactor     .76995E-01    1.2846       -.35461E-07** at limit **
   3  norm          2.9768        1.1435        .19332E-07   -.12550E-02
   4  Prefactor     .12768E-08    7.1848       -.17669E-06** at limit **
   5  Prefactor     .10403E-06    22.131        .19972E-06** at limit **
   6  Prefactor     .69389E-08    3.0975       -.12865E-06** at limit **
   7  norm          .48552        .77468       -.32340E-08   -.37746E-03
   8  Prefactor     .87311        1.7485       -.71297E-08    .12715E-01
   9  Prefactor     7.4858        9.4065       -.60881E-08   -.21645E-02
  10  Prefactor     .38858E-09    11.114       -.86426E-07** at limit **
  11  norm          .55511E-10    5.2576        .19995E-06** at limit **
  12  norm          .50515E-08    9.8207        .43907E-06** at limit **
  13  Prefactor     18.946        3.9653       -.14799E-07   -.64225E-01
  14  norm           .0000        .83691       -.13537E-06** at limit **
  15  Prefactor     2.5044        4.7499        .67435E-08    .75768E-02
  16  Prefactor     .54401E-08    15.715        .49899E-06** at limit **
  17  Prefactor      .0000        1.7343        .34291E-06** at limit **
  18  Normalizat    .69937        .21219       -.46491E-05   -.46632E-05
  19  Prefactor     1.2021        .11255        .17629E-05   -.39326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.60982e-09
  Prefactor  = 0.076995
  norm       = 2.97684
  Prefactor  = 1.27676e-09
  Prefactor  = 1.04028e-07
  Prefactor  = 6.93889e-09
  norm       = 0.485524
  Prefactor  = 0.873105
  Prefactor  = 7.48578
  Prefactor  = 3.88578e-10
  norm       = 5.55112e-11
  norm       = 5.05151e-09
  Prefactor  = 18.9462
  norm       = 0
  Prefactor  = 2.50441
  Prefactor  = 5.44009e-09
  Prefactor  = 0
  Normalizat = 0.699372
  Prefactor  = 1.20206
 **********
 **   18 **HESSE 
 **********

 FCN=   9027.702     FROM HESSE     STATUS=OK           320 CALLS     1663 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16098E-08    6.2334        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .76995E-01    2.6316        .89748E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9768        1.1476        .58814E-03   -1.5673    
   4  Prefactor     .12768E-08    7.2544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10403E-06    3.0629        .61783E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .69389E-08    6.2008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .48552        .89732        .23868E-02   -1.5694    
   8  Prefactor     .87311        7.7790        .12972E-01   -1.5689    
   9  Prefactor     7.4858        9.4586        .36676E-03   -1.5653    
  10  Prefactor     .38858E-09    11.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    5.2351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .50515E-08    24.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.946        15.688        .22700E-03   -1.5621    
  14  norm           .0000        .83676        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5044        77.962        .63880E-03   -1.5676    
  16  Prefactor     .54401E-08    23.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.7352        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .69937        .20250        .89250E-01   -1.0392    
  19  Prefactor     1.2021        .10155        .34576E-01   -.86268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.72576e-08
Minuit parameter uncertainties:
  1  0.000200604
  2  0.900261
  3  1.14765
  4  0.000194155
  5  0.0011289
  6  0.00041564
  7  0.897318
  8  5.21226
  9  9.45861
  10  0.000130221
  11  2.75124e-05
  12  0.000700952
  13  15.6879
  14  2.00512e-06
  15  27.9466
  16  0.000720369
  17  8.61134e-06
  18  0.202719
  19  0.101571
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.895e+01  1.569e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.202e+00  1.016e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  6.994e-01  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 6.09e-08 +/- 5.04e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.08e-05

TS (Fixed Index): 1.92
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.27e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649804/likelihoodResults_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.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) = 9027.55065763
delta logL = 0.151554336504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9027.55037565
delta logL = 0.151836312245

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.047       1.0000          .0000       .10000E+07
     2 'Index     '    2.4799       1.0000          .0000       10.000    
     3 'Normalizat'    .71313       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   9027.550     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      310 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.041        19.352        .81589E-05   -.10033E-03
   2  Index         2.4796        .64893        .10582E-01   -.23484E-05
   3  Normalizat    .71317        .21465        .39176E-03   -.74871E-04
   4  Prefactor     1.1955        .11250        .16286E-03    .86280E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.0407
  Index      = 2.47958
  Normalizat = 0.713174
  Prefactor  = 1.19554
 **********
 **   18 **HESSE 
 **********

 FCN=   9027.550     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.041        19.158        .32635E-06   -1.5610    
   2  Index         2.4796        .64240        .42330E-03   -.52832    
   3  Normalizat    .71317        .21476        .15670E-04   -1.0338    
   4  Prefactor     1.1955        .11252        .65145E-05   -.86469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.94372e-11
Minuit parameter uncertainties:
  1  19.158
  2  0.644795
  3  0.215016
  4  0.112542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649804': 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) = 9027.55037545
delta logL = 0.151836512714

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.404e+01  1.916e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  2.480e+00  6.448e-01  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.196e+00  1.125e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.132e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.20
Ra Dec: 351.170 31.257
Photon Index (Free Index): 2.48 +/- 0.64
Photon Flux (Free Index): 5.57e-08 +/- 4.72e-08
Energy Flux (Free Index): 1.66e-05 +/- 1.46e-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/649804/cmap_HighResolution_696816001_697075201_4FGL_J2324.6+3115_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.27e-02', comment='SUCCESS', photon_flux='6.09e-08', energy_flux2='1.66e-05', photon_flux_error='5.04e-08', dlogl='1.52e-01', energy_flux='1.30e-05', photon_flux2='5.57e-08', job_status='DONE', time_completed='2023-02-03 02:04:14.112794', photon_index_error2='0.64', photon_index2='2.48', ts='1.92', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.46e-05', EG='0.70', time_epoch_completed='1675418654.11', return_code='0', job_id='649804', GAL2='1.20', EG2='0.71', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='4.72e-08', ts2='2.20', photon_index='2.88' WHERE bin_id='1765' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:04:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 649804: <4FGL_J2324.6+3115_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:27 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:19 2023
Terminated at Fri Feb  3 02:04:15 2023
Results reported at Fri Feb  3 02:04:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1765 351.17 31.2573 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            828 sec.

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

