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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1761
RA = 350.385, Dec = -16.3176
tmin = 695779201, tmax = 696038401
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='936496', job_status='RUN', time_executed='2023-01-22 01:47:05.177008', time_epoch_executed='1674380825.18' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936496

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936496/ft1_4FGL_J2321.5-1619_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936496/ft1_4FGL_J2321.5-1619_daily_bin1761.fits outfile=/scratch/kocevski/936496/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1761.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.17
user 4.80
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.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/936496/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 379

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936496/ltcube_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.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/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits
.....................!
real 15.71
user 15.19
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936496/ltcube_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits outfile=/scratch/kocevski/936496/expmap_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.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/936496/ltcube_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits
.....................!
real 196.32
user 191.37
sys 4.29

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/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits outfile=/scratch/kocevski/936496/cmap_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits outfile=/scratch/kocevski/936496/cmap_HighResolution_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/936496/Model_4FGL_J2321.5-1619_daily_bin1761.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/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits......................!
real 41.19
user 39.24
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits', '/scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits', expMap='/scratch/kocevski/936496/expmap_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits', expCube='/scratch/kocevski/936496/ltcube_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/936496/Model_4FGL_J2321.5-1619_daily_bin1761.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  0.000e+00  1.000e+06 ( 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/936496/ft1_filtered_4FGL_J2321.5-1619_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/936496/ft2_4FGL_J2321.5-1619_daily_bin1761.fits
Exposure map: /scratch/kocevski/936496/expmap_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits
Exposure cube: /scratch/kocevski/936496/ltcube_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/936496/Model_4FGL_J2321.5-1619_daily_bin1761.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) = 4390.3901086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8662       1.0000          .0000       .10000E+07
     2 'norm      '    .46295       1.0000          .0000       .10000E+07
     3 'Prefactor '    20.481       1.0000          .0000       .10000E+07
     4 'norm      '    1.0726       1.0000          .0000       .10000E+07
     5 'Prefactor '    31.582       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27367E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .18858E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .16129E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .49144E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .39481E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .33973E-07   1.0000          .0000       .10000E+07
    12 'norm      '    1.1747       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.8315       1.0000          .0000       .10000E+07
    14 'norm      '     .0000       1.0000          .0000       .10000E+07
    15 'norm      '    .15846E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.5309       1.0000          .0000       .10000E+07
    17 'Normalizat'    .81755       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4390.336     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1302 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7603        5.3198       -.29987E-06    .54752E-02
   2  norm          .45987        .85757       -.17354E-06    .58073E-05
   3  Prefactor     22.264        29.294        .50580E-06    .73332E-03
   4  norm          .95000        2.2820       -.43885E-06    .40320E-03
   5  Prefactor     31.953        4.3775       -.22025E-06    .76746E-01
   6  Prefactor      .0000        5.6856        .71832E-06** at limit **
   7  Prefactor     .46851E-07    29.691        .32503E-05** at limit **
   8  Prefactor     .55511E-09    67.012        .26300E-05** at limit **
   9  Prefactor     .49960E-09    21.140        .40463E-06** at limit **
  10  Prefactor      .0000        5.0433       -.19452E-07** at limit **
  11  norm           .0000        2.7009       -.99188E-06** at limit **
  12  norm          1.1859        3.4435       -.79289E-06    .24237E-03
  13  Prefactor     5.8996        3.0246        .22641E-06    .29749E-01
  14  norm           .0000        .30065       -.15207E-06** at limit **
  15  norm          .11102E-09    45.761       -.14827E-05** at limit **
  16  Prefactor     2.5378        7.3952       -.13133E-05    .34708E-03
  17  Normalizat    .81597        .25030        .19394E-04    .46106E-05
  18  Prefactor     1.1748        .23117       -.61533E-05    .14355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.76027
  norm       = 0.459871
  Prefactor  = 22.2645
  norm       = 0.950002
  Prefactor  = 31.953
  Prefactor  = 0
  Prefactor  = 4.68514e-08
  Prefactor  = 5.55112e-10
  Prefactor  = 4.996e-10
  Prefactor  = 0
  norm       = 0
  norm       = 1.18587
  Prefactor  = 5.89958
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 2.53777
  Normalizat = 0.815971
  Prefactor  = 1.17479
 **********
 **   18 **HESSE 
 **********

 FCN=   4390.336     FROM HESSE     STATUS=OK           290 CALLS     1592 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7603        38.228        .38265E-03   -1.5656    
   2  norm          .45987        .95354        .18832E-02   -1.5694    
   3  Prefactor     22.264        31.505        .22103E-03   -1.5614    
   4  norm          .95000        2.6952        .11703E-02   -1.5688    
   5  Prefactor     31.953        44.160        .17797E-03   -1.5595    
   6  Prefactor      .0000        5.6893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46851E-07    30.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-09    66.409        .17306E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .49960E-09    21.181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        5.0419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.7045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1859        3.4732        .10567E-02   -1.5686    
  13  Prefactor     5.8996        16.622        .41565E-03   -1.5659    
  14  norm           .0000        .29677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11102E-09    2.4972        .78346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.5378        7.4102        .64178E-03   -1.5676    
  17  Normalizat    .81597        .21908        .63306E-01   -.99479    
  18  Prefactor     1.1748        .19765        .35268E-01   -.87111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08303e-07
Minuit parameter uncertainties:
  1  32.1518
  2  0.953545
  3  31.5051
  4  2.69523
  5  44.1602
  6  6.7787e-06
  7  0.00237104
  8  0.000391553
  9  0.000204989
  10  2.20511e-06
  11  4.88162e-06
  12  3.47325
  13  16.622
  14  1.36606e-07
  15  3.22337e-05
  16  7.41024
  17  0.219313
  18  0.197773
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  4.996e-10  2.050e-04  0.000e+00  1.000e+06 ( 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.175e+00  1.978e-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:  8.160e-01  2.193e-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: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936496/likelihoodResults_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.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) = 4390.3582443
delta logL = -0.0226882272827

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4389.36087834
delta logL = 0.974677733121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25307E-05   1.0000          .0000       .10000E+07
     2 'Index     '    7.2917       1.0000          .0000       10.000    
     3 'Normalizat'    .72211       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2327       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4390.336     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      492 TOTAL
                     EDM=   .88E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.7217        .42118E-03** at limit **
   2  Index         .37293        .42948       -.52280E-05     .0000    
   3  Normalizat    .81597        1.1239        .20657E-04   -.17001E-04
   4  Prefactor     1.1748        1.0708        .99628E-05    .24065E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.372929
  Normalizat = 0.815971
  Prefactor  = 1.17479
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4390.336     FROM HESSE     STATUS=FAILED         9 CALLS      501 TOTAL
                     EDM=   .88E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.7217        .42118E-03   -453.96    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8867        1.3934       -.52280E-05   -.19275E+07
   3  Normalizat    .81597        1.1239        .20657E-04   -108.96    
   4  Prefactor     1.1748        1.0708        .99628E-05   -57.420    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.84231e-13
Minuit parameter uncertainties:
  1  8.19921e-06
  2  0.43325
  3  1.1586
  4  1.09157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936496': 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): 101
logL (Free Index) = 4390.33555608
delta logL = 1.1823431123e-11

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  0.000e+00  8.199e-06  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  3.729e-01  4.332e-01  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.175e+00  1.092e+00  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:  8.160e-01  1.159e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 350.385 -16.318

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/936496/cmap_HighResolution_695779201_696038401_4FGL_J2321.5-1619_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2023-01-22 01:54:52.189788', job_id='936496', GAL2='1.17', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1674381292.19', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1761' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:54:52 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 936496: <4FGL_J2321.5-1619_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:16 2023
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:46:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:46:17 2023
Terminated at Sun Jan 22 01:54:53 2023
Results reported at Sun Jan 22 01:54:53 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1761 350.385 -16.3176 695779201 696038401 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 :                                   468.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            577 sec.

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

