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


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1773
RA = 351.19, Dec = 8.0282
tmin = 698889601, tmax = 699148801
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='807258', job_status='RUN', time_executed='2023-02-27 10:41:55.533059', time_epoch_executed='1677523315.53' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807258/ft1_4FGL_J2324.7+0801_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807258/ft1_4FGL_J2324.7+0801_daily_bin1773.fits outfile=/scratch/kocevski/807258/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1773.fits ra=351.19 dec=8.0282 rad=12.0 tmin=698889601.0 tmax=699148801.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.07
user 2.74
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.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/807258/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.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.31
sys 0.17

Number of photons that the gtmktime cut: 504

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807258/ltcube_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.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/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits
.....................!
real 13.09
user 12.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807258/ltcube_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits outfile=/scratch/kocevski/807258/expmap_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.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/807258/ltcube_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits
.....................!
real 190.54
user 185.03
sys 5.17

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

Setting source of interest to:
4FGL J2324.7+0801 @ 351.19 8.0282

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits outfile=/scratch/kocevski/807258/cmap_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.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.19 yref=8.0282 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits outfile=/scratch/kocevski/807258/cmap_HighResolution_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.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.19 yref=8.0282 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807258/Model_4FGL_J2324.7+0801_daily_bin1773.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/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits.....................!
real 69.70
user 68.35
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits', '/scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits', expMap='/scratch/kocevski/807258/expmap_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits', expCube='/scratch/kocevski/807258/ltcube_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807258/Model_4FGL_J2324.7+0801_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.7+0801'

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  3.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/807258/ft1_filtered_4FGL_J2324.7+0801_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/807258/ft2_4FGL_J2324.7+0801_daily_bin1773.fits
Exposure map: /scratch/kocevski/807258/expmap_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits
Exposure cube: /scratch/kocevski/807258/ltcube_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807258/Model_4FGL_J2324.7+0801_daily_bin1773.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) = 5892.40513748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4894       1.0000         .10000E-03   10000.    
     2 'norm      '    128.42       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.683       1.0000          .0000       .10000E+07
     4 'Prefactor '    .69624E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    40.146       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12784E-06   1.0000          .0000       .10000E+07
     7 'norm      '    2.6764       1.0000          .0000       .10000E+07
     8 'Prefactor '    21.614       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.263       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59174E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .11813E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .94120       1.0000          .0000       .10000E+07
    13 'Prefactor '    41.657       1.0000          .0000       .10000E+07
    14 'norm      '    .17431E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .17764E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.2639       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49859       1.0000          .0000       .10000E+07
    18 'Prefactor '    20.063       1.0000          .0000       .10000E+07
    19 'Prefactor '    .26619E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86924       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5891.863     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1743 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4900        .25780       -.16234E-06   -.37074E-04
   2  norm          140.56        104.30        .16575E-05    .86316E-02
   3  Prefactor     26.937        55.390       -.97939E-05    .58934E-02
   4  Prefactor      .0000        4.9564       -.58225E-06** at limit **
   5  Prefactor     39.203        30.068        .22813E-05    .84814E-01
   6  Prefactor      .0000        4.9365       -.53741E-06** at limit **
   7  norm          2.6427        2.7992       -.13032E-06    .29353E-04
   8  Prefactor     22.011        19.176        .12718E-05    .78824E-02
   9  Prefactor     26.046        18.476       -.54125E-06   -.18624E-02
  10  Prefactor     .27829E-05    95.688       -.19174E-05** at limit **
  11  norm          .20539E-08    23.862       -.24513E-05** at limit **
  12  Prefactor     .98899        22.821       -.76976E-05   -.10201E-02
  13  Prefactor     40.201        35.441       -.17938E-05   -.53787E-01
  14  norm           .0000        6.0514        .33956E-06** at limit **
  15  norm          .55511E-10    20.300        .27403E-06** at limit **
  16  Prefactor     4.2651        7.5235       -.27213E-06    .53082E-04
  17  Prefactor     .24177        73.916        .15752E-04** at limit **
  18  Prefactor     20.137        7.0537        .61585E-06   -.25646E-01
  19  Prefactor      .0000        4.1866       -.33904E-06** at limit **
  20  Normalizat    .86789        .28095        .17912E-04   -.11475E-04
  21  Prefactor     .97012        .16665        .19288E-05   -.18204E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49003
  norm       = 140.561
  Prefactor  = 26.9374
  Prefactor  = 0
  Prefactor  = 39.2032
  Prefactor  = 0
  norm       = 2.64275
  Prefactor  = 22.0114
  Prefactor  = 26.0456
  Prefactor  = 2.78294e-06
  norm       = 2.05391e-09
  Prefactor  = 0.988993
  Prefactor  = 40.2007
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 4.2651
  Prefactor  = 0.241768
  Prefactor  = 20.1368
  Prefactor  = 0
  Normalizat = 0.86789
  Prefactor  = 0.970121
 **********
 **   18 **HESSE 
 **********

 FCN=   5891.863     FROM HESSE     STATUS=OK           369 CALLS     2112 TOTAL
                     EDM=   .53E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4900        .25828        .34958E-02   -1.5464    
   2  norm          140.56        104.17        .88248E-04   -1.5471    
   3  Prefactor     26.937        62.304        .19736E-03   -1.5604    
   4  Prefactor      .0000        4.9386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.203        38.034        .15784E-03   -1.5583    
   6  Prefactor      .0000        4.9328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.6427        2.8073        .62264E-03   -1.5675    
   8  Prefactor     22.011        19.828        .21515E-03   -1.5614    
   9  Prefactor     26.046        18.572        .19517E-03   -1.5606    
  10  Prefactor     .27829E-05    102.92        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .20539E-08    23.811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .98899        25.549        .42952E-03   -1.5688    
  13  Prefactor     40.201        44.068        .15495E-03   -1.5581    
  14  norm           .0000        6.0604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    20.345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2651        7.5368        .48769E-03   -1.5667    
  17  Prefactor     .24177        41.086        .14399E-01   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.137        24.909        .22333E-03   -1.5618    
  19  Prefactor      .0000        4.1866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .86789        .25000        .83574E-01   -.97598    
  21  Prefactor     .97012        .14453        .45896E-01   -.93732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25263e-07
Minuit parameter uncertainties:
  1  0.258277
  2  104.175
  3  62.3057
  4  1.69391e-05
  5  38.0346
  6  1.96953e-05
  7  2.80728
  8  19.8277
  9  18.5718
  10  0.0338489
  11  0.000439679
  12  10.0534
  13  44.0681
  14  6.96077e-06
  15  6.90404e-05
  16  7.53678
  17  6.30344
  18  24.9089
  19  1.20691e-05
  20  0.250331
  21  0.144589
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  2.201e+01  1.983e+01  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.228e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.701e-01  1.446e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.679e-01  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.95
Ra Dec: 351.190 8.028
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 7.92e-08 +/- 7.13e-08
Energy Flux (Fixed Index): 3.38e-05 +/- 3.05e-05

TS (Fixed Index): 1.95
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 2.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.61e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807258/likelihoodResults_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.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) = 5891.6761834
delta logL = 0.187009209257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5891.66117746
delta logL = 0.202015146226

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.192       1.0000          .0000       .10000E+07
     2 'Index     '    2.6425       1.0000          .0000       10.000    
     3 'Normalizat'    .83799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5130E+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=   5891.661     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      283 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.183        22.752        .11021E-04   -.13410E-03
   2  Index         2.6431        .86691        .52034E-02    .49487E-04
   3  Normalizat    .83814        .27659        .37566E-03    .16836E-03
   4  Prefactor     .98182        .16705        .21167E-03   -.18079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1835
  Index      = 2.64307
  Normalizat = 0.838136
  Prefactor  = 0.981821
 **********
 **   18 **HESSE 
 **********

 FCN=   5891.661     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.183        18.470        .44084E-06   -1.5635    
   2  Index         2.6431        .70453        .20814E-03   -.49086    
   3  Normalizat    .83814        .27544        .15026E-04   -.98669    
   4  Prefactor     .98182        .16620        .42334E-04   -.93338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.63453e-10
Minuit parameter uncertainties:
  1  18.4701
  2  0.707559
  3  0.275898
  4  0.166291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807258': 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) = 5891.66117676
delta logL = 0.20201584633

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  1.318e+01  1.847e+01  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.643e+00  7.076e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  1.539e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
510    Prefactor:  9.818e-01  1.663e-01  0.000e+00  1.000e+01 ( 1.000e+00)
511        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
512        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
509   Normalization:  8.381e-01  2.759e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.36
Ra Dec: 351.190 8.028
Photon Index (Free Index): 2.64 +/- 0.71
Photon Flux (Free Index): 1.10e-07 +/- 8.98e-08
Energy Flux (Free Index): 2.78e-05 +/- 2.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/807258/cmap_HighResolution_698889601_699148801_4FGL_J2324.7+0801_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-02', comment='SUCCESS', photon_flux='7.92e-08', energy_flux2='2.78e-05', photon_flux_error='7.13e-08', dlogl='2.02e-01', energy_flux='3.38e-05', photon_flux2='1.10e-07', job_status='DONE', time_completed='2023-02-27 10:51:09.168281', photon_index_error2='0.71', photon_index2='2.64', ts='1.95', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='2.10e-07', energy_flux_error2='2.24e-05', EG='0.87', time_epoch_completed='1677523869.17', return_code='0', job_id='807258', GAL2='0.98', EG2='0.84', return_code2='0', energy_flux_error='3.05e-05', photon_flux_error2='8.98e-08', ts2='2.36', photon_index='2.23' WHERE bin_id='1773' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:51:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 807258: <4FGL_J2324.7+0801_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:20 2023
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:21 2023
Terminated at Mon Feb 27 10:51:10 2023
Results reported at Mon Feb 27 10:51:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1773 351.19 8.0282 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.7+0801 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.18 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             364.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            650 sec.

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

