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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1694
RA = 351.737, Dec = -41.5089
tmin = 678412801, tmax = 678672001
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='698716', job_status='RUN', time_executed='2022-07-05 04:02:20.855938', time_epoch_executed='1657018940.86' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/698716

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/698716/ft1_4FGL_J2326.9-4130_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/698716/ft1_4FGL_J2326.9-4130_daily_bin1694.fits outfile=/scratch/kocevski/698716/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1694.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=678412801.0 tmax=678672001.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.71
user 3.47
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.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/698716/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 381

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/698716/ltcube_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.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/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits
.....................!
real 13.97
user 13.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/698716/ltcube_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits outfile=/scratch/kocevski/698716/expmap_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.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/698716/ltcube_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits
.....................!
real 195.70
user 185.15
sys 5.41

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

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits outfile=/scratch/kocevski/698716/cmap_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.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.737 yref=-41.5089 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/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits outfile=/scratch/kocevski/698716/cmap_HighResolution_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.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.737 yref=-41.5089 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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/698716/Model_4FGL_J2326.9-4130_daily_bin1694.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/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits.....................!
real 36.17
user 34.75
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits', '/scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits', expMap='/scratch/kocevski/698716/expmap_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits', expCube='/scratch/kocevski/698716/ltcube_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/698716/Model_4FGL_J2326.9-4130_daily_bin1694.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/698716/ft1_filtered_4FGL_J2326.9-4130_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/698716/ft2_4FGL_J2326.9-4130_daily_bin1694.fits
Exposure map: /scratch/kocevski/698716/expmap_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits
Exposure cube: /scratch/kocevski/698716/ltcube_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/698716/Model_4FGL_J2326.9-4130_daily_bin1694.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) = 4276.12455702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.812       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.5733       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.579       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.239       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .30595E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    61.128       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8105       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10350E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    57.321       1.0000         .10000E-03   10000.    
    22 'Prefactor '    61.643       1.0000         .10000E-03   10000.    
    23 'norm      '    .47009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.8007       1.0000         .10000E-03   10000.    
    26 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.6872       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .32649E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    35.545       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0403       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .80720       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4276.086     FROM MIGRAD    STATUS=CONVERGED    916 CALLS     4642 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.816        56.114        .14749E-06    .75469E-06
   2  Prefactor     .10000E-03    44.045       -.15219E-05** at limit **
   3  Prefactor     .10000E-03    24.900       -.15956E-06** at limit **
   4  Prefactor     .10000E-03    50.286        .71925E-07** at limit **
   5  Prefactor     6.5740        6.0874        .58035E-06    .33739E-03
   6  Prefactor     .10000E-03    3.2403       -.78345E-06** at limit **
   7  Prefactor     .10000E-03    105.98       -.26205E-05** at limit **
   8  Prefactor     .10000E-03    5.1674       -.65919E-06** at limit **
   9  Prefactor     38.578        26.717       -.31699E-07    .33503E-04
  10  Prefactor     20.238        18.478       -.57212E-07    .14983E-04
  11  Prefactor     .10021E-03    23.886        .35257E-05** at limit **
  12  Prefactor     .10000E-03    3.4698       -.36699E-06** at limit **
  13  Prefactor     .10000E-03    22.759       -.29560E-06** at limit **
  14  Prefactor     61.121        54.331        .50718E-07    .18504E-04
  15  Prefactor     .10000E-03    7.8739       -.24671E-06** at limit **
  16  norm          .10000E-03    11.706       -.43603E-06** at limit **
  17  norm          1.8096        6.4914       -.18262E-05   -.16211E-03
  18  norm          .10000E-03    2.2778        .77584E-08** at limit **
  19  norm          .10000E-03    8.6050        .82270E-06** at limit **
  20  Prefactor     .10000E-03    6.9159       -.48570E-06** at limit **
  21  Prefactor     57.228        43.235       -.56757E-06   -.22675E-03
  22  Prefactor     61.565        66.145        .10674E-05    .14759E-03
  23  norm          .10001E-03    5.5684       -.22382E-05** at limit **
  24  Prefactor     .10000E-03    7.4660       -.27895E-06** at limit **
  25  norm          1.8009        1.6608        .28826E-06    .39061E-03
  26  norm          .10000E-03    1.8835       -.85712E-07** at limit **
  27  Prefactor     .10000E-03    2.7574        .54072E-06** at limit **
  28  Prefactor     1.7012        110.35       -.34496E-05   -.39582E-04
  29  Prefactor     .10000E-03    8.6580        .65689E-06** at limit **
  30  Prefactor     .10002E-03    14.499        .57860E-05** at limit **
  31  Prefactor     35.530        84.755        .79524E-07    .13204E-05
  32  Normalizat    1.0402        .24462       -.28580E-05    .35227E-03
  33  Prefactor     .80726        .24814        .56014E-05    .93063E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.8156
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.57398
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 38.5778
  Prefactor  = 20.238
  Prefactor  = 0.000100211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.1213
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.80965
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.2279
  Prefactor  = 61.5654
  norm       = 0.000100014
  Prefactor  = 0.0001
  norm       = 1.80086
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.70119
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 35.5302
  Normalizat = 1.04017
  Prefactor  = 0.807261
 **********
 **   18 **HESSE 
 **********

 FCN=   4276.086     FROM HESSE     STATUS=OK           689 CALLS     5331 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.816        56.146        .55190E-04   -1.4253    
   2  Prefactor     .10000E-03    44.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    50.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.5740        6.0811        .15044E-03   -1.5195    
   6  Prefactor     .10000E-03    3.3621        .23078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    107.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.2690        .14544E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.578        26.714        .64530E-04   -1.4465    
  10  Prefactor     20.238        18.480        .89031E-04   -1.4808    
  11  Prefactor     .10021E-03    23.439        .79745E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.4880        .11908E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     61.121        54.314        .51320E-04   -1.4143    
  15  Prefactor     .10000E-03    7.8942        .17925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    11.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8096        6.5348        .28147E-03   -1.5439    
  18  norm          .10000E-03    2.2812        .96386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.6875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.0846        .33550E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     57.228        44.157        .52987E-04   -1.4194    
  22  Prefactor     61.565        66.320        .51107E-04   -1.4137    
  23  norm          .10001E-03    11.379        .22220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.4999        .17450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.8009        1.6453        .67887E-04   -1.5440    
  26  norm          .10000E-03    1.8979        .87647E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.8005        .21080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.7012        108.64        .32416E-03   -1.5447    
  29  Prefactor     .10000E-03    8.7250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10002E-03    18.828        .20333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     35.530        84.836        .67218E-04   -1.4515    
  32  Normalizat    1.0402        .25889        .21864E-03   -.91697    
  33  Prefactor     .80726        .25790        .26532E-03   -.99461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.6055e-09
Minuit parameter uncertainties:
  1  56.2023
  2  0.000699953
  3  3.70459e-05
  4  0.000157486
  5  6.08171
  6  4.56846e-05
  7  0.00126466
  8  4.80356e-05
  9  26.722
  10  18.4857
  11  0.00444562
  12  2.3565e-05
  13  1.12937e-05
  14  54.3582
  15  1.82619e-06
  16  6.86674e-05
  17  6.53737
  18  1.73911e-06
  19  3.40588e-05
  20  3.92312e-05
  21  44.1821
  22  66.4002
  23  0.000796317
  24  3.9724e-05
  25  1.64532
  26  4.91496e-06
  27  2.90561e-05
  28  27.24
  29  4.69412e-05
  30  0.00112057
  31  85.1264
  32  0.259204
  33  0.258288
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  5.723e+01  4.418e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.073e-01  2.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  1.040e+00  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.41
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 7.49e-08 +/- 5.78e-08
Energy Flux (Fixed Index): 1.70e-05 +/- 1.32e-05

TS (Fixed Index): 2.41
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.89e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/698716/likelihoodResults_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.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) = 4275.7524045
delta logL = 0.33312215835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4275.69449973
delta logL = 0.391026933495

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4263       1.0000         .10000E-03   10000.    
     2 'Index     '    4.4484       1.0000          .0000       10.000    
     3 'Normalizat'    .96543       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87928       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4275.694     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      268 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2964        80.912        .39581E-02    .28515E-03
   2  Index         4.4602        3.4598        .10753        .12278E-03
   3  Normalizat    .96549        .69918E-01    .45732E-01    .26527E-04
   4  Prefactor     .87937        .74794E-01    .44740E-01    .17341E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.2964
  Index      = 4.46021
  Normalizat = 0.965493
  Prefactor  = 0.879366
 **********
 **   18 **HESSE 
 **********

 FCN=   4275.694     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      301 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2964        121.67        .99430E-04   -1.5206    
   2  Index         4.4602        7.0326        .42419E-02   -.10817    
   3  Normalizat    .96549        .21273        .22586E-03   -.94196    
   4  Prefactor     .87937        .23168        .25566E-03   -.96866    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.16283e-10
Minuit parameter uncertainties:
  1  55.4859
  2  5.28103
  3  0.21292
  4  0.231935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/698716': 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): 102
logL (Free Index) = 4275.69449286
delta logL = 0.391033800232

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.296e+00  5.549e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  4.460e+00  5.281e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.794e-01  2.319e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  9.655e-01  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 4.46 +/- 5.28
Photon Flux (Free Index): 1.15e-07 +/- 7.42e-08
Energy Flux (Free Index): 1.62e-05 +/- 1.39e-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/698716/cmap_HighResolution_678412801_678672001_4FGL_J2326.9-4130_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-02', comment='SUCCESS', photon_flux='7.49e-08', energy_flux2='1.62e-05', photon_flux_error='5.78e-08', dlogl='3.91e-01', energy_flux='1.70e-05', photon_flux2='1.15e-07', job_status='DONE', time_completed='2022-07-05 04:15:00.962175', photon_index_error2='5.28', photon_index2='4.46', ts='2.41', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='1.89e-07', energy_flux_error2='1.39e-05', EG='1.04', time_epoch_completed='1657019700.96', return_code='0', job_id='698716', GAL2='0.88', EG2='0.97', return_code2='102', energy_flux_error='1.32e-05', photon_flux_error2='7.42e-08', ts2='3.40', photon_index='2.78' WHERE bin_id='1694' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 04:15:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 698716: <4FGL_J2326.9-4130_daily_bin1694> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1694> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul  5 04:00:19 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 04:00:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 04:00:45 2022
Terminated at Tue Jul  5 04:15:01 2022
Results reported at Tue Jul  5 04:15:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1694 351.737 -41.5089 678412801 678672001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   755.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            882 sec.

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

