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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1667
RA = 350.385, Dec = -16.3176
tmin = 671414401, tmax = 671673601
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='533286', job_status='RUN', time_executed='2022-04-15 03:45:34.462634', time_epoch_executed='1650019534.46' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/533286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/533286/ft1_4FGL_J2321.5-1619_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/533286/ft1_4FGL_J2321.5-1619_daily_bin1667.fits outfile=/scratch/kocevski/533286/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1667.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=671414401.0 tmax=671673601.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.55
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.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/533286/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 686

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/533286/ltcube_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.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/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits
.....................!
real 14.93
user 14.54
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/533286/ltcube_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits outfile=/scratch/kocevski/533286/expmap_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.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/533286/ltcube_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits
.....................!
real 193.19
user 186.55
sys 5.31

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

Setting source of interest to:
4FGL J2321.5-1619 @ 350.385 -16.3176

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits outfile=/scratch/kocevski/533286/cmap_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.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=350.385 yref=-16.3176 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits outfile=/scratch/kocevski/533286/cmap_HighResolution_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.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=350.385 yref=-16.3176 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/533286/Model_4FGL_J2321.5-1619_daily_bin1667.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/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits.....................!
real 57.21
user 55.85
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits', '/scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits', expMap='/scratch/kocevski/533286/expmap_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits', expCube='/scratch/kocevski/533286/ltcube_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/533286/Model_4FGL_J2321.5-1619_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2321.5-1619'

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  2.964e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/533286/ft1_filtered_4FGL_J2321.5-1619_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/533286/ft2_4FGL_J2321.5-1619_daily_bin1667.fits
Exposure map: /scratch/kocevski/533286/expmap_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits
Exposure cube: /scratch/kocevski/533286/ltcube_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/533286/Model_4FGL_J2321.5-1619_daily_bin1667.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) = 7488.06030627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.477       1.0000         .10000E-03   10000.    
     2 'norm      '    3.6364       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.090       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3822       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7751       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7518       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2760       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .39385E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5593       1.0000         .10000E-03   10000.    
    12 'norm      '    .11844E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.7254       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.5223       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.140       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.362       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14890       1.0000         .10000E-03   10000.    
    19 'norm      '    .22409       1.0000         .10000E-03   10000.    
    20 'norm      '    13.582       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .55485       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1187       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7488.036     FROM MIGRAD    STATUS=CONVERGED    562 CALLS     2631 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.480        28.948        .91342E-06   -.35543E-05
   2  norm          3.6364        .92738        .16478E-07    .92654E-05
   3  Prefactor     14.091        11.060       -.52460E-05   -.23272E-03
   4  norm          1.3823        .96648       -.72171E-06   -.16760E-02
   5  Prefactor     9.7679        19.418        .26652E-04    .38932E-04
   6  Prefactor     7.7493        6.5825       -.87478E-06   -.56827E-04
   7  Prefactor     7.2723        6.9593       -.46844E-06   -.91321E-04
   8  Prefactor     10.701        10.499       -.22280E-05   -.74453E-04
   9  Prefactor     .10000E-03    234.98        .35502E-04** at limit **
  10  Prefactor     .10000E-03    23.368        .48374E-07** at limit **
  11  Prefactor     3.5640        6.4611       -.14034E-05   -.88554E-03
  12  norm          .10000E-03    2.6234       -.46546E-07** at limit **
  13  norm          8.7259        3.1284        .12186E-06   -.22535E-02
  14  Prefactor     7.5217        25.933        .17643E-05   -.21778E-04
  15  Prefactor     .10000E-03    4.2041       -.24881E-07** at limit **
  16  Prefactor     39.133        24.460       -.46657E-05   -.19163E-04
  17  Prefactor     10.400        23.101        .13340E-04   -.26867E-04
  18  Prefactor     .10220E-03    56.804        .73921E-06** at limit **
  19  norm          .22399        .30502       -.53114E-07   -.18632E-02
  20  norm          13.581        4.1139        .40284E-07   -.38315E-04
  21  Prefactor     .10000E-03    2.1150        .75316E-08** at limit **
  22  Normalizat    .55479        .15880        .54107E-07   -.23647E-03
  23  Prefactor     1.1188        .14709       -.66567E-06   -.17256E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 34.4798
  norm       = 3.63643
  Prefactor  = 14.0906
  norm       = 1.38227
  Prefactor  = 9.76788
  Prefactor  = 7.7493
  Prefactor  = 7.27231
  Prefactor  = 10.7011
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.56402
  norm       = 0.0001
  norm       = 8.72591
  Prefactor  = 7.52165
  Prefactor  = 0.0001
  Prefactor  = 39.1333
  Prefactor  = 10.3997
  Prefactor  = 0.0001022
  norm       = 0.223989
  norm       = 13.5808
  Prefactor  = 0.0001
  Normalizat = 0.554791
  Prefactor  = 1.11882
 **********
 **   18 **HESSE 
 **********

 FCN=   7488.036     FROM HESSE     STATUS=OK           392 CALLS     3023 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.480        28.945        .68248E-04   -1.4533    
   2  norm          3.6364        .92750        .40650E-04   -1.5327    
   3  Prefactor     14.091        11.096        .10670E-03   -1.4957    
   4  norm          1.3823        .97100        .57989E-04   -1.5473    
   5  Prefactor     9.7679        19.311        .12817E-03   -1.5083    
   6  Prefactor     7.7493        6.5829        .14402E-03   -1.5151    
   7  Prefactor     7.2723        6.9574        .14870E-03   -1.5169    
   8  Prefactor     10.701        10.509        .12247E-03   -1.5054    
   9  Prefactor     .10000E-03    240.99        .39027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5640        6.3291        .21423E-03   -1.5330    
  12  norm          .10000E-03    5.7556        .26731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.7259        3.1275        .42898E-03   -1.5117    
  14  Prefactor     7.5217        25.927        .14622E-03   -1.5159    
  15  Prefactor     .10000E-03    4.2076        .17312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     39.133        24.425        .64067E-04   -1.4456    
  17  Prefactor     10.400        23.042        .12447E-03   -1.5063    
  18  Prefactor     .10220E-03    52.940        .20938       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .22399        .26169        .51519E-03   -1.5613    
  20  norm          13.581        4.0506        .88443E-04   -1.4971    
  21  Prefactor     .10000E-03    2.1251        .12288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .55479        .18175        .30296E-03   -1.0994    
  23  Prefactor     1.1188        .16939        .21013E-03   -.88867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88535e-09
Minuit parameter uncertainties:
  1  28.9568
  2  0.927504
  3  11.0979
  4  0.971008
  5  19.3228
  6  6.58348
  7  6.95813
  8  10.5107
  9  0.000966869
  10  8.58952e-06
  11  6.33027
  12  8.75379e-06
  13  3.1276
  14  25.966
  15  6.12936e-06
  16  24.4313
  17  23.0616
  18  0.0216042
  19  0.261693
  20  4.05072
  21  6.74194e-07
  22  0.181946
  23  0.169474
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.000e-04  8.590e-06  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  1.829e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.119e+00  1.695e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  5.548e-01  1.819e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 350.385 -16.318
Photon Flux Upper Limit: 3.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/533286/likelihoodResults_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.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): 102
logL (Free Index) = 7488.03634553
delta logL = -0.000202220437131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7487.50241844
delta logL = 0.533724877329

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7487.502     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      272 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35054        6.4133        .10644E-01    .35071E-02
   2  Index         3.4591        2.0148        .80683E-01    .24221E-03
   3  Normalizat    .51252        .30487E-01    .71094E-01    .41513E-04
   4  Prefactor     1.1390        .29349E-01    .36261E-01    .40855E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.350536
  Index      = 3.45906
  Normalizat = 0.512518
  Prefactor  = 1.13904
 **********
 **   18 **HESSE 
 **********

 FCN=   7487.502     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      307 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35054        19.539        .55040E-03   -1.5590    
   2  Index         3.4591        6.6485        .47521E-02   -.31329    
   3  Normalizat    .51252        .12040        .31474E-03   -1.1184    
   4  Prefactor     1.1390        .11520        .20848E-03   -.88228    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.27463e-07
Minuit parameter uncertainties:
  1  5.23516
  2  4.76683
  3  0.120459
  4  0.115224
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/533286': 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) = 7487.50241838
delta logL = 0.533724933229

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  3.505e-01  5.235e+00  1.000e-04  1.000e+04 ( 1.000e-14)
352        Index:  3.459e+00  4.767e+00  0.000e+00  1.000e+01 (-1.000e+00)
353        Scale:  3.503e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
511    Prefactor:  1.139e+00  1.152e-01  0.000e+00  1.000e+01 ( 1.000e+00)
512        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
513        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
510   Normalization:  5.125e-01  1.205e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 350.385 -16.318
Photon Index (Free Index): 3.46 +/- 4.77
Photon Flux (Free Index): 3.14e-08 +/- 3.17e-08
Energy Flux (Free Index): 5.29e-06 +/- 8.33e-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/533286/cmap_HighResolution_671414401_671673601_4FGL_J2321.5-1619_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-03', comment='SUCCESS', energy_flux2='5.29e-06', dlogl='5.34e-01', photon_flux2='3.14e-08', job_status='DONE', time_completed='2022-04-15 03:57:11.405413', photon_index_error2='4.77', photon_index2='3.46', ts='-0.00', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='3.94e-08', energy_flux_error2='8.33e-06', EG='0.55', time_epoch_completed='1650020231.41', return_code='0', job_id='533286', GAL2='1.14', EG2='0.51', return_code2='102', photon_flux_error2='3.17e-08', ts2='1.11', photon_index='1.83' WHERE bin_id='1667' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:57:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 533286: <4FGL_J2321.5-1619_daily_bin1667> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:48 2022
Job was executed on host(s) <bullet0204>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:42:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:42:19 2022
Terminated at Fri Apr 15 03:57:12 2022
Results reported at Fri Apr 15 03:57:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1667 350.385 -16.3176 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2321.5-1619 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   697.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            984 sec.

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

