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


Performing analysis on: 4FGL_J2321.5-1619_daily_bin1748
RA = 350.385, Dec = -16.3176
tmin = 692409601, tmax = 692668801
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='899397', job_status='RUN', time_executed='2022-12-14 01:28:26.651301', time_epoch_executed='1671010106.65' WHERE source_name='4FGL J2321.5-1619' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899397

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899397/ft1_4FGL_J2321.5-1619_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899397/ft1_4FGL_J2321.5-1619_daily_bin1748.fits outfile=/scratch/kocevski/899397/ft1_filteredMKT_4FGL_J2321.5-1619_daily_bin1748.fits ra=350.385 dec=-16.3176 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 410

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/899397/ltcube_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.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/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits
.....................!
real 12.06
user 11.73
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/899397/ltcube_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits outfile=/scratch/kocevski/899397/expmap_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.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/899397/ltcube_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits
.....................!
real 188.56
user 184.12
sys 4.13

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/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits scfile=/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits outfile=/scratch/kocevski/899397/cmap_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits scfile=/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits outfile=/scratch/kocevski/899397/cmap_HighResolution_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899397/Model_4FGL_J2321.5-1619_daily_bin1748.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/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits.....................!
real 43.59
user 42.37
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits', '/scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits', expMap='/scratch/kocevski/899397/expmap_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits', expCube='/scratch/kocevski/899397/ltcube_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899397/Model_4FGL_J2321.5-1619_daily_bin1748.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/899397/ft1_filtered_4FGL_J2321.5-1619_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/899397/ft2_4FGL_J2321.5-1619_daily_bin1748.fits
Exposure map: /scratch/kocevski/899397/expmap_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits
Exposure cube: /scratch/kocevski/899397/ltcube_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899397/Model_4FGL_J2321.5-1619_daily_bin1748.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) = 4699.88810942

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21659E-02   1.0000          .0000       .10000E+07
     2 'norm      '    2.0921       1.0000          .0000       .10000E+07
     3 'Prefactor '    29.214       1.0000          .0000       .10000E+07
     4 'norm      '    .14255E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .27236E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .31974E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    32.651       1.0000          .0000       .10000E+07
     8 'Prefactor '    .31476E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39130E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .28377E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .87989E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .47947E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .30012       1.0000          .0000       .10000E+07
    14 'norm      '    .46020       1.0000          .0000       .10000E+07
    15 'norm      '    15.160       1.0000          .0000       .10000E+07
    16 'Prefactor '    .40123E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0807       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98024       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=   4699.838     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1400 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11213E-07    10.547        .36247E-05** at limit **
   2  norm          2.0925        1.3960        .31493E-07   -.67114E-03
   3  Prefactor     29.187        11.553        .16036E-05   -.17776E-01
   4  norm          .11102E-08    3.1920       -.21607E-06** at limit **
   5  Prefactor     .43743E-07    74.146        .93180E-06** at limit **
   6  Prefactor     .27756E-09    4.6412        .50047E-06** at limit **
   7  Prefactor     32.531        1.6197       -.13185E-06    .43504E-03
   8  Prefactor     .34417E-08    18.377        .16402E-05** at limit **
   9  Prefactor     .76050E-08    10.933       -.26873E-05** at limit **
  10  Prefactor     .27756E-09    4.0020        .36490E-06** at limit **
  11  norm           .0000        3.1655        .12679E-06** at limit **
  12  norm          .55511E-10    2.5610       -.31131E-06** at limit **
  13  Prefactor     .47184E-08    61.380       -.80800E-05** at limit **
  14  norm          .45963        .50571        .15722E-08   -.57217E-03
  15  norm          15.210        6.9934        .90108E-07    .10228E-02
  16  Prefactor      .0000        3.0418       -.14946E-06** at limit **
  17  Normalizat    1.0816        .26013       -.10419E-04   -.45849E-03
  18  Prefactor     .97992        .23099        .57857E-05   -.41176E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.12133e-08
  norm       = 2.09254
  Prefactor  = 29.1875
  norm       = 1.11022e-09
  Prefactor  = 4.37428e-08
  Prefactor  = 2.77556e-10
  Prefactor  = 32.5305
  Prefactor  = 3.44169e-09
  Prefactor  = 7.60503e-09
  Prefactor  = 2.77556e-10
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 4.71845e-09
  norm       = 0.459631
  norm       = 15.2102
  Prefactor  = 0
  Normalizat = 1.08159
  Prefactor  = 0.979921
 **********
 **   18 **HESSE 
 **********

 FCN=   4699.838     FROM HESSE     STATUS=OK           282 CALLS     1682 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11213E-07    12.399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.0925        1.4112        .71341E-03   -1.5679    
   3  Prefactor     29.187        22.714        .18505E-03   -1.5600    
   4  norm          .11102E-08    1.8475        .23373E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .43743E-07    74.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    4.6559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.531        21.663        .17503E-03   -1.5594    
   8  Prefactor     .34417E-08    19.394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .76050E-08    13.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .27756E-09    4.0060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        3.1625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .55511E-10    2.5564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .47184E-08    59.666        .10211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .45963        .51256        .82819E-03   -1.5694    
  15  norm          15.210        7.0865        .25697E-03   -1.5630    
  16  Prefactor      .0000        3.0415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0816        .22195        .60697E-01   -.90345    
  18  Prefactor     .97992        .19501        .46020E-01   -.93402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40237e-09
Minuit parameter uncertainties:
  1  0.000744959
  2  1.41116
  3  22.7136
  4  9.09005e-05
  5  0.00362337
  6  7.03441e-05
  7  21.6634
  8  0.00051797
  9  0.000643321
  10  6.72055e-05
  11  1.81293e-05
  12  2.40939e-05
  13  0.00106055
  14  0.512558
  15  7.08646
  16  1.34393e-05
  17  0.222141
  18  0.195154
Done.

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

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  7.605e-09  6.433e-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:  9.799e-01  1.952e-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:  1.082e+00  2.221e-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: 5.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899397/likelihoodResults_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.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) = 4699.87339333
delta logL = -0.0352120072293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4699.83818535
delta logL = -4.02907971875e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87566E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.3338       1.0000          .0000       10.000    
     3 'Normalizat'    1.0820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97941       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=   4699.838     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      263 TOTAL
                     EDM=   .80E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    .77480        .42118E-03** at limit **
   2  Index         .69047        6.1204        .50000       -.22737E-10
   3  Normalizat    1.0816        .10658E-02    .60697E-01    .19310E-03
   4  Prefactor     .97992        .94827E-03    .46009E-01    .17694E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 0.690468
  Normalizat = 1.08159
  Prefactor  = 0.979921
 **********
 **   18 **HESSE 
 **********

 FCN=   4699.838     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      288 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    3.8743        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .69047        9.2710        .50000       -1.0390    
   3  Normalizat    1.0816        .23794E-02    .26845E-03   -.90345    
   4  Prefactor     .97992        .21181E-02    .24834E-03   -.93402    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.00921e-12
Minuit parameter uncertainties:
  1  5.18795e-05
  2  84280.4
  3  0.00237941
  4  0.00211808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899397': 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) = 4699.83818132
delta logL = 4.19277057517e-10

Extracting fit parameters...

4FGL J2321.5-1619
   Spectrum: PowerLaw
351    Prefactor:  1.665e-10  5.188e-05  0.000e+00  1.000e+06 ( 1.000e-14)
352        Index:  6.905e-01  8.428e+04  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:  9.799e-01  2.118e-03  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:  1.082e+00  2.379e-03  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/899397/cmap_HighResolution_692409601_692668801_4FGL_J2321.5-1619_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-03', job_status='DONE', photon_flux_upper_limit='5.20e-08', time_completed='2022-12-14 01:35:54.470388', job_id='899397', GAL2='0.98', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1671010554.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='4.19e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.83' WHERE bin_id='1748' AND source_name='4FGL J2321.5-1619' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:35:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 899397: <4FGL_J2321.5-1619_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2321.5-1619_daily_bin1748> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Dec 14 01:25:22 2022
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:25:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:25:22 2022
Terminated at Wed Dec 14 01:35:54 2022
Results reported at Wed Dec 14 01:35:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2321.5-1619_daily_bin1748 350.385 -16.3176 692409601 692668801 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 :                                   450.24 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             263.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            632 sec.

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

