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 75 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7463
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.7+0801_daily_bin1698
RA = 351.19, Dec = 8.0282
tmin = 679449601, tmax = 679708801
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='925799', job_status='RUN', time_executed='2022-07-17 00:36:55.755467', time_epoch_executed='1658043415.76' WHERE source_name='4FGL J2324.7+0801' and cadence='daily' and bin_id='1698'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/925799

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/925799/ft1_4FGL_J2324.7+0801_daily_bin1698.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/925799/ft1_4FGL_J2324.7+0801_daily_bin1698.fits outfile=/scratch/kocevski/925799/ft1_filteredMKT_4FGL_J2324.7+0801_daily_bin1698.fits ra=351.19 dec=8.0282 rad=12.0 tmin=679449601.0 tmax=679708801.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.44
user 3.23
sys 0.19

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

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

Number of photons that the gtmktime cut: 746

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits" evtable="EVENTS" scfile=/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits sctable="SC_DATA" outfile=/scratch/kocevski/925799/ltcube_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.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/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits
.....................!
real 11.81
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits sctable="SC_DATA" expcube=/scratch/kocevski/925799/ltcube_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits outfile=/scratch/kocevski/925799/expmap_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.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/925799/ltcube_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits
.....................!
real 190.66
user 185.43
sys 4.92

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/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits scfile=/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits outfile=/scratch/kocevski/925799/cmap_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits scfile=/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits outfile=/scratch/kocevski/925799/cmap_HighResolution_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits evtable="EVENTS" scfile=/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/925799/Model_4FGL_J2324.7+0801_daily_bin1698.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/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits.....................!
real 83.56
user 82.23
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits', '/scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits', expMap='/scratch/kocevski/925799/expmap_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits', expCube='/scratch/kocevski/925799/ltcube_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/925799/Model_4FGL_J2324.7+0801_daily_bin1698.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  1.000e-04  1.000e+04 ( 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/925799/ft1_filtered_4FGL_J2324.7+0801_daily_bin1698.fits
Spacecraft file(s): /scratch/kocevski/925799/ft2_4FGL_J2324.7+0801_daily_bin1698.fits
Exposure map: /scratch/kocevski/925799/expmap_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits
Exposure cube: /scratch/kocevski/925799/ltcube_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/925799/Model_4FGL_J2324.7+0801_daily_bin1698.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) = 8223.18071142

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0603       1.0000         .10000E-03   10000.    
     3 'norm      '    5.7022       1.0000         .10000E-03   10000.    
     4 'Prefactor '    32.225       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6310       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7759       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.791       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    13.077       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5839       1.0000         .10000E-03   10000.    
    15 'Prefactor '    61.467       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.511       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.5750       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0029       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .94857       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.

 FCN=   8223.179     FROM MIGRAD    STATUS=CONVERGED    544 CALLS     2870 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7541        .12966E-06** at limit **
   2  Prefactor     1.0603        .19971       -.22110E-08    .18163E-03
   3  norm          5.7006        12.065        .78382E-07   -.25732E-04
   4  Prefactor     32.215        38.294       -.54277E-05   -.35721E-03
   5  Prefactor     .10000E-03    2.2426       -.25928E-07** at limit **
   6  Prefactor     7.6329        13.724        .59498E-06    .28679E-04
   7  Prefactor     .10000E-03    22.823       -.63973E-06** at limit **
   8  Prefactor     .10000E-03    7.0550       -.21416E-05** at limit **
   9  norm          .10000E-03    .18516        .21507E-07** at limit **
  10  Prefactor     4.7757        6.3357        .28112E-05   -.15147E-02
  11  Prefactor     14.794        15.675        .77876E-06    .24397E-03
  12  Prefactor     .10000E-03    14.855        .69112E-06** at limit **
  13  norm          13.078        8.9543       -.49082E-06   -.10119E-04
  14  Prefactor     5.5844        5.3222        .35470E-07    .18712E-04
  15  Prefactor     61.477        105.10        .47843E-05    .78839E-04
  16  Prefactor     .10000E-03    6.8385        .11120E-05** at limit **
  17  Prefactor     .10000E-03    7.1383       -.29461E-06** at limit **
  18  norm          .10000E-03    5.7212       -.10930E-05** at limit **
  19  norm          .10000E-03    6.5322        .19943E-05** at limit **
  20  Prefactor     .10000E-03    1.6521       -.26247E-07** at limit **
  21  Prefactor     18.515        27.808        .25209E-05    .19449E-03
  22  Prefactor     .10000E-03    7.0867        .73326E-07** at limit **
  23  Prefactor     5.5753        5.3381       -.16179E-07    .38937E-04
  24  Normalizat    1.0027        .18492        .23008E-06    .53097E-04
  25  Prefactor     .94862        .11276       -.12220E-06    .10832E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.0603
  norm       = 5.7006
  Prefactor  = 32.2151
  Prefactor  = 0.0001
  Prefactor  = 7.63292
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 4.77573
  Prefactor  = 14.7936
  Prefactor  = 0.0001
  norm       = 13.0781
  Prefactor  = 5.58442
  Prefactor  = 61.4772
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 18.5154
  Prefactor  = 0.0001
  Prefactor  = 5.57531
  Normalizat = 1.00272
  Prefactor  = 0.948619
 **********
 **   18 **HESSE 
 **********

 FCN=   8223.179     FROM HESSE     STATUS=OK           421 CALLS     3291 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.0603        .19966        .16952E-04   -1.5502    
   3  norm          5.7006        12.064        .16821E-03   -1.5230    
   4  Prefactor     32.215        39.642        .70586E-04   -1.4572    
   5  Prefactor     .10000E-03    2.2518        .13260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.6329        13.721        .14517E-03   -1.5155    
   7  Prefactor     .10000E-03    22.999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.4331        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .18755        .38091E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.7757        7.6360        .92051E-03   -1.5271    
  11  Prefactor     14.794        15.744        .10414E-03   -1.4939    
  12  Prefactor     .10000E-03    14.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.078        9.0150        .11077E-03   -1.4985    
  14  Prefactor     5.5844        5.3130        .17001E-03   -1.5235    
  15  Prefactor     61.477        105.60        .51179E-04   -1.4138    
  16  Prefactor     .10000E-03    6.9172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.1520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.8227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    6.6301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.6686        .11380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.515        28.094        .93091E-04   -1.4847    
  22  Prefactor     .10000E-03    7.1019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.5753        5.3422        .17015E-03   -1.5236    
  24  Normalizat    1.0027        .21573        .31050E-03   -.92939    
  25  Prefactor     .94862        .13171        .20158E-03   -.94462    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0763e-09
Minuit parameter uncertainties:
  1  9.07056e-06
  2  0.199659
  3  12.0688
  4  39.6744
  5  2.26008e-06
  6  13.7264
  7  5.5135e-05
  8  0.000188265
  9  2.28461e-07
  10  7.63754
  11  15.748
  12  7.60131e-05
  13  9.01591
  14  5.31343
  15  105.928
  16  5.38589e-05
  17  2.73603e-05
  18  8.1935e-05
  19  0.000153543
  20  8.27593e-06
  21  28.1139
  22  1.19666e-06
  23  5.34263
  24  0.215923
  25  0.131755
Done.

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

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.776e+00  7.638e+00  1.000e-04  1.000e+04 ( 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.486e-01  1.318e-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:  1.003e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 351.190 8.028
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.39e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/925799/likelihoodResults_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.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) = 8223.17919254
delta logL = 1.05152357719e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8223.17918791
delta logL = 1.51500207721e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7999       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2231       1.0000          .0000       10.000    
     3 'Normalizat'    1.0028       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94862       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=   8223.179     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      253 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.8009        9.1429        .18363E-03   -.22275E-03
   2  Index         2.2232        .89249        .94430E-02   -.56241E-04
   3  Normalizat    1.0028        .20597        .31049E-03    .37420E-03
   4  Prefactor     .94859        .13128        .20159E-03    .67481E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.80088
  Index      = 2.22318
  Normalizat = 1.00279
  Prefactor  = 0.948592
 **********
 **   18 **HESSE 
 **********

 FCN=   8223.179     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.8009        8.6549        .73453E-05   -1.5270    
   2  Index         2.2232        .84567        .37772E-03   -.58880    
   3  Normalizat    1.0028        .20605        .12420E-04   -.92937    
   4  Prefactor     .94859        .13134        .40317E-04   -.94463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20478e-10
Minuit parameter uncertainties:
  1  8.65717
  2  0.851616
  3  0.206218
  4  0.131381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/925799': 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) = 8223.1791876
delta logL = 1.54564386321e-05

Extracting fit parameters...

4FGL J2324.7+0801
   Spectrum: PowerLaw
404    Prefactor:  4.801e+00  8.657e+00  1.000e-04  1.000e+04 ( 1.000e-13)
405        Index:  2.223e+00  8.516e-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.486e-01  1.314e-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:  1.003e+00  2.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 351.190 8.028

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/925799/cmap_HighResolution_679449601_679708801_4FGL_J2324.7+0801_daily_bin1698.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.39e-03', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2022-07-17 00:49:45.231481', job_id='925799', GAL2='0.95', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1658044185.23', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='1.55e-05', ts2='0.55', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1698' AND source_name='4FGL J2324.7+0801' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jul 17 00:49:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0177>
Subject: Job 925799: <4FGL_J2324.7+0801_daily_bin1698> in cluster <slac> Done

Job <4FGL_J2324.7+0801_daily_bin1698> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Jul 17 00:35:31 2022
Job was executed on host(s) <bullet0177>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 17 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 17 00:35:33 2022
Terminated at Sun Jul 17 00:49:45 2022
Results reported at Sun Jul 17 00:49:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.7+0801_daily_bin1698 351.19 8.0282 679449601 679708801 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 :                                   771.29 sec.
    Max Memory :                                 799 MB
    Average Memory :                             341.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

