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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin1767
RA = 351.17, Dec = 31.2573
tmin = 697334401, tmax = 697593601
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='91549', job_status='RUN', time_executed='2023-02-09 02:04:08.897061', time_epoch_executed='1675937048.9' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='1767'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/91549

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/91549/ft1_4FGL_J2324.6+3115_daily_bin1767.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/91549/ft1_4FGL_J2324.6+3115_daily_bin1767.fits outfile=/scratch/kocevski/91549/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1767.fits ra=351.17 dec=31.2573 rad=12.0 tmin=697334401.0 tmax=697593601.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.69
user 3.40
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.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/91549/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin1767.fits evtable="EVENTS" outfile="/scratch/kocevski/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.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.53
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 850

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits" evtable="EVENTS" scfile=/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits sctable="SC_DATA" outfile=/scratch/kocevski/91549/ltcube_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.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/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits
.....................!
real 15.76
user 15.18
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits evtable="EVENTS" scfile=/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits sctable="SC_DATA" expcube=/scratch/kocevski/91549/ltcube_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits outfile=/scratch/kocevski/91549/expmap_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.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/91549/ltcube_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits
.....................!
real 193.87
user 187.04
sys 5.46

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/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits scfile=/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits outfile=/scratch/kocevski/91549/cmap_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits scfile=/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits outfile=/scratch/kocevski/91549/cmap_HighResolution_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.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.56
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits', '/scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits', expMap='/scratch/kocevski/91549/expmap_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits', expCube='/scratch/kocevski/91549/ltcube_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/91549/Model_4FGL_J2324.6+3115_daily_bin1767.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/91549/ft1_filtered_4FGL_J2324.6+3115_daily_bin1767.fits
Spacecraft file(s): /scratch/kocevski/91549/ft2_4FGL_J2324.6+3115_daily_bin1767.fits
Exposure map: /scratch/kocevski/91549/expmap_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits
Exposure cube: /scratch/kocevski/91549/ltcube_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/91549/Model_4FGL_J2324.6+3115_daily_bin1767.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) = 9025.93465024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0191       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.4422       1.0000          .0000       .10000E+07
     3 'norm      '    4.5824       1.0000          .0000       .10000E+07
     4 'Prefactor '    .18810E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11977E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .50282E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .42188E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16426E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .32733       1.0000          .0000       .10000E+07
    10 'Prefactor '    25.696       1.0000          .0000       .10000E+07
    11 'norm      '    .48489E-06   1.0000          .0000       .10000E+07
    12 'norm      '    6.3586       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.751       1.0000          .0000       .10000E+07
    14 'norm      '    1.4682       1.0000          .0000       .10000E+07
    15 'Prefactor '    .40703       1.0000          .0000       .10000E+07
    16 'Prefactor '    .88928E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.5672       1.0000          .0000       .10000E+07
    18 'Normalizat'    .91084       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0997       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=   9025.912     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1406 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .84261        7.4371        .36105E-05   -.25744E-01
   2  Prefactor     7.4272        6.8916       -.16280E-05   -.23447E-01
   3  norm          4.5797        1.4737        .76937E-07    .54979E-02
   4  Prefactor     .33307E-09    4.8529       -.38423E-06** at limit **
   5  Prefactor      .0000        1.6705       -.33125E-06** at limit **
   6  Prefactor     .21094E-08    9.1142       -.84467E-06** at limit **
   7  norm           .0000        .54792        .23201E-07** at limit **
   8  Prefactor     .14988E-08    6.0971       -.39471E-06** at limit **
   9  Prefactor     .27628        .54570        .18773E-06   -.15858E-02
  10  Prefactor     25.640        1.0818        .39688E-07   -.58091E-02
  11  norm          .55511E-10    1.0520       -.34933E-06** at limit **
  12  norm          6.3423        6.9120        .20592E-05    .33230E-01
  13  Prefactor     12.751        1.2151       -.75707E-07    .25314E-01
  14  norm          1.4681        1.6815       -.11438E-06    .35954E-03
  15  Prefactor     .25646E-07    85.966        .56512E-05** at limit **
  16  Prefactor     .15432E-07    37.249        .16033E-05** at limit **
  17  Prefactor     3.4603        6.2258       -.25098E-06    .31064E-01
  18  Normalizat    .91206        .22813        .10507E-04    .16842E-03
  19  Prefactor     1.0997        .11529       -.30805E-06    .26965E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.842615
  Prefactor  = 7.42718
  norm       = 4.57971
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 2.10942e-09
  norm       = 0
  Prefactor  = 1.4988e-09
  Prefactor  = 0.276278
  Prefactor  = 25.6398
  norm       = 5.55112e-11
  norm       = 6.3423
  Prefactor  = 12.7513
  norm       = 1.4681
  Prefactor  = 2.56462e-08
  Prefactor  = 1.54321e-08
  Prefactor  = 3.46033
  Normalizat = 0.912058
  Prefactor  = 1.09972
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.912     FROM HESSE     STATUS=OK           310 CALLS     1716 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .84261        8.2120        .12829E-01   -1.5690    
   2  Prefactor     7.4272        6.9529        .36740E-03   -1.5653    
   3  norm          4.5797        1.4758        .46999E-03   -1.5665    
   4  Prefactor     .33307E-09    4.8573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.6697        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21094E-08    9.1350        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .54188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14988E-08    6.1118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27628        3.5821        .98441E-02   -1.5697    
  10  Prefactor     25.640        25.509        .19731E-03   -1.5607    
  11  norm          .55511E-10    1.0529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.3423        7.0869        .39781E-03   -1.5658    
  13  Prefactor     12.751        13.770        .28026E-03   -1.5637    
  14  norm          1.4681        1.7064        .88682E-03   -1.5684    
  15  Prefactor     .25646E-07    85.211        .88677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15432E-07    37.221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.4603        7.9037        .53486E-03   -1.5671    
  18  Normalizat    .91206        .20345        .82801E-01   -.96038    
  19  Prefactor     1.0997        .10041        .37597E-01   -.89476    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.68949e-08
Minuit parameter uncertainties:
  1  5.26102
  2  6.95292
  3  1.47577
  4  8.06318e-05
  5  7.77769e-07
  6  0.000278282
  7  7.04107e-06
  8  0.000192007
  9  1.98964
  10  25.5091
  11  1.26861e-05
  12  7.08688
  13  13.7701
  14  1.70645
  15  0.0029562
  16  0.00151593
  17  7.9037
  18  0.203617
  19  0.100429
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.275e+01  1.377e+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.100e+00  1.004e-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:  9.121e-01  2.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 4.42e-08
Energy Flux (Fixed Index): 8.76e-06 +/- 9.45e-06

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

Saving results to:
/scratch/kocevski/91549/likelihoodResults_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.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) = 9025.86288184
delta logL = 0.049025465456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9025.86121914
delta logL = 0.050688166797

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8794       1.0000          .0000       .10000E+07
     2 'Index     '    3.2714       1.0000          .0000       10.000    
     3 'Normalizat'    .90195       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1039       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=   9025.861     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      291 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8826        17.965        .12742E-04    .11538E-01
   2  Index         3.2713        1.5754        .11422E-01    .30257E-03
   3  Normalizat    .90199        .22857        .36842E-03    .93891E-03
   4  Prefactor     1.1038        .11502        .17062E-03    .17930E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.88263
  Index      = 3.27128
  Normalizat = 0.901992
  Prefactor  = 1.10377
 **********
 **   18 **HESSE 
 **********

 FCN=   9025.861     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8826        15.446        .50970E-06   -1.5645    
   2  Index         3.2713        1.3605        .45689E-03   -.35303    
   3  Normalizat    .90199        .22865        .73684E-04   -.96390    
   4  Prefactor     1.1038        .11493        .34125E-04   -.89346    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.88802e-09
Minuit parameter uncertainties:
  1  15.4465
  2  1.38032
  3  0.228891
  4  0.114954
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/91549': 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) = 9025.86121804
delta logL = 0.050689269925

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  9.883e+00  1.545e+01  0.000e+00  1.000e+06 ( 1.000e-12)
451        Index:  3.271e+00  1.380e+00  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.104e+00  1.150e-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:  9.020e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.27 +/- 1.38
Photon Flux (Free Index): 4.62e-08 +/- 4.80e-08
Energy Flux (Free Index): 8.24e-06 +/- 8.78e-06

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/91549/cmap_HighResolution_697334401_697593601_4FGL_J2324.6+3115_daily_bin1767.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='8.24e-06', photon_flux_error='4.42e-08', dlogl='5.07e-02', energy_flux='8.76e-06', photon_flux2='4.62e-08', job_status='DONE', time_completed='2023-02-09 02:15:15.000450', photon_index_error2='1.38', photon_index2='3.27', ts='1.10', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='8.78e-06', EG='0.91', time_epoch_completed='1675937715.0', return_code='0', job_id='91549', GAL2='1.10', EG2='0.90', return_code2='0', energy_flux_error='9.45e-06', photon_flux_error2='4.80e-08', ts2='1.22', photon_index='2.88' WHERE bin_id='1767' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb  9 02:15:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 91549: <4FGL_J2324.6+3115_daily_bin1767> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin1767> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Feb  9 02:00:32 2023
Job was executed on host(s) <bullet0281>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb  9 02:02:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb  9 02:02:25 2023
Terminated at Thu Feb  9 02:15:15 2023
Results reported at Thu Feb  9 02:15:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin1767 351.17 31.2573 697334401 697593601 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 :                                   665.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            883 sec.

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

