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


Performing analysis on: 4FGL_J2329.3-4955_daily_bin1765
RA = 352.329, Dec = -49.9324
tmin = 696816001, tmax = 697075201
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='649827', job_status='RUN', time_executed='2023-02-03 01:53:19.957300', time_epoch_executed='1675417999.96' WHERE source_name='4FGL J2329.3-4955' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/649827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/649827/ft1_4FGL_J2329.3-4955_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/649827/ft1_4FGL_J2329.3-4955_daily_bin1765.fits outfile=/scratch/kocevski/649827/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1765.fits ra=352.329 dec=-49.9324 rad=12.0 tmin=696816001.0 tmax=697075201.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.80
user 3.50
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.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/649827/ft1_filteredMKT_4FGL_J2329.3-4955_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.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.54
user 0.38
sys 0.15

Number of photons that the gtmktime cut: 413

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/649827/ltcube_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.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/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits
.....................!
real 14.89
user 14.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/649827/ltcube_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits outfile=/scratch/kocevski/649827/expmap_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.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/649827/ltcube_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits
.....................!
real 193.44
user 186.06
sys 5.23

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 J2329.3-4955 @ 352.329 -49.9324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits outfile=/scratch/kocevski/649827/cmap_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.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=352.329 yref=-49.9324 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.58
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits outfile=/scratch/kocevski/649827/cmap_HighResolution_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.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=352.329 yref=-49.9324 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/649827/Model_4FGL_J2329.3-4955_daily_bin1765.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/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits.....................!
real 36.34
user 34.89
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits', '/scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits', expMap='/scratch/kocevski/649827/expmap_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits', expCube='/scratch/kocevski/649827/ltcube_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/649827/Model_4FGL_J2329.3-4955_daily_bin1765.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2329.3-4955'

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.291e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/649827/ft1_filtered_4FGL_J2329.3-4955_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/649827/ft2_4FGL_J2329.3-4955_daily_bin1765.fits
Exposure map: /scratch/kocevski/649827/expmap_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits
Exposure cube: /scratch/kocevski/649827/ltcube_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/649827/Model_4FGL_J2329.3-4955_daily_bin1765.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) = 4518.16059319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33883       1.0000          .0000       .10000E+07
     2 'Prefactor '    27.830       1.0000          .0000       .10000E+07
     3 'Prefactor '    .19945E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .52793E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    12.970       1.0000          .0000       .10000E+07
     6 'Prefactor '    .81192E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .25480       1.0000          .0000       .10000E+07
     8 'norm      '    .65341E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .46562E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    7.2877       1.0000          .0000       .10000E+07
    11 'Prefactor '    .80835E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    1.4505       1.0000          .0000       .10000E+07
    13 'Prefactor '    95.697       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.3992       1.0000          .0000       .10000E+07
    15 'norm      '    .67047E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .48267E-03   1.0000          .0000       .10000E+07
    17 'norm      '    5.8492       1.0000          .0000       .10000E+07
    18 'Prefactor '    .42962E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    11.259       1.0000          .0000       .10000E+07
    20 'norm      '    .13818E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .65202E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .74819       1.0000          .0000       .10000E+07
    23 'norm      '    .28149E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .92000E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .65993E-05   1.0000          .0000       .10000E+07
    26 'Prefactor '    23.955       1.0000          .0000       .10000E+07
    27 'norm      '    .18143E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    3.1097       1.0000          .0000       .10000E+07
    29 'Prefactor '    .11549E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    .93310       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0610       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4518.147     FROM MIGRAD    STATUS=CONVERGED    196 CALLS     2924 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40512E-06    2.2212       -.23990E-07** at limit **
   2  Prefactor     27.857        2.3288       -.13091E-07   -.21014E-01
   3  Prefactor     .91371E-07    26.792       -.90439E-06** at limit **
   4  Prefactor     .18749E-05    5.4433       -.44928E-07** at limit **
   5  Prefactor     12.982        1.1578       -.83688E-08   -.15142E-02
   6  Prefactor     .74385E-08    7.2231       -.35728E-06** at limit **
   7  norm          .68421E-04    187.64       -.32454E-06** at limit **
   8  norm          .21649E-08    2.2481        .81633E-07** at limit **
   9  Prefactor     .12212E-08    2.5292       -.36489E-07** at limit **
  10  Prefactor     7.2955        6.4918       -.24627E-07    .13715E-03
  11  Prefactor     .33501E-05    100.22        .92844E-06** at limit **
  12  Prefactor     1.4745        6.3681       -.66020E-06   -.66948E-03
  13  Prefactor     96.254        27.489        .15275E-06   -.19933    
  14  Prefactor     7.3965        1.0636        .11879E-07    .58862E-02
  15  norm          .88818E-09    4.5259       -.14307E-06** at limit **
  16  norm          .83267E-09    4.7181        .51132E-06** at limit **
  17  norm          5.8037        5.6637        .57313E-07   -.18931E-03
  18  Prefactor     .55511E-10    .78058       -.40312E-07** at limit **
  19  Prefactor     11.926        22.069       -.39910E-06    .52541E-02
  20  norm           .0000        2.2075       -.31809E-06** at limit **
  21  Prefactor     .99920E-09    5.4869       -.37438E-06** at limit **
  22  norm          .74802        .92749        .55758E-09   -.32744E-03
  23  norm          .55511E-10    2.0564       -.12584E-06** at limit **
  24  Prefactor     .52475E-06    7.9644        .44462E-06** at limit **
  25  Prefactor      .0000        1.3120        .20301E-06** at limit **
  26  Prefactor     23.996        14.305       -.20045E-06   -.57406E-01
  27  norm          .54962E-06    8.9669        .16487E-06** at limit **
  28  Prefactor     3.0926        5.2300        .36204E-06    .93717E-03
  29  Prefactor      .0000        2.3236       -.22007E-06** at limit **
  30  Normalizat    .93246        .24592       -.59168E-05   -.54960E-04
  31  Prefactor     1.0612        .26096        .45578E-05   -.35527E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.0512e-07
  Prefactor  = 27.8569
  Prefactor  = 9.13714e-08
  Prefactor  = 1.87489e-06
  Prefactor  = 12.9816
  Prefactor  = 7.43849e-09
  norm       = 6.84208e-05
  norm       = 2.16493e-09
  Prefactor  = 1.22125e-09
  Prefactor  = 7.29549
  Prefactor  = 3.3501e-06
  Prefactor  = 1.47451
  Prefactor  = 96.2545
  Prefactor  = 7.39647
  norm       = 8.88178e-10
  norm       = 8.32667e-10
  norm       = 5.80366
  Prefactor  = 5.55112e-11
  Prefactor  = 11.9259
  norm       = 0
  Prefactor  = 9.99201e-10
  norm       = 0.748017
  norm       = 5.55112e-11
  Prefactor  = 5.24747e-07
  Prefactor  = 0
  Prefactor  = 23.9955
  norm       = 5.49616e-07
  Prefactor  = 3.09256
  Prefactor  = 0
  Normalizat = 0.932463
  Prefactor  = 1.06125
 **********
 **   18 **HESSE 
 **********

 FCN=   4518.147     FROM HESSE     STATUS=OK           674 CALLS     3598 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40512E-06    52.371        .96946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     27.857        26.430        .18959E-03   -1.5602    
   3  Prefactor     .91371E-07    26.958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18749E-05    9.7838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.982        11.055        .27788E-03   -1.5636    
   6  Prefactor     .74385E-08    7.2258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .68421E-04    262.09        .10872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .21649E-08    2.5063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .12212E-08    2.5439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.2955        6.5237        .37131E-03   -1.5654    
  11  Prefactor     .33501E-05    103.06        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4745        6.3741        .89421E-03   -1.5684    
  13  Prefactor     96.254        57.389        .10223E-03   -1.5512    
  14  Prefactor     7.3965        11.729        .36848E-03   -1.5654    
  15  norm          .88818E-09    4.5272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .83267E-09    4.7069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8037        5.8464        .41501E-03   -1.5660    
  18  Prefactor     .55511E-10    2.5207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.926        39.677        .29832E-03   -1.5639    
  20  norm           .0000        2.2081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .99920E-09    5.4975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .74802        .94688        .56880E-03   -1.5691    
  23  norm          .55511E-10    2.5191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .52475E-06    8.8975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        1.3141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     23.996        21.586        .20436E-03   -1.5610    
  27  norm          .54962E-06    10.292        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.0926        5.2629        .57476E-03   -1.5673    
  29  Prefactor      .0000        2.3181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .93246        .21127        .45323E-01   -.95329    
  31  Prefactor     1.0612        .21921        .39306E-01   -.90715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02331e-06
Minuit parameter uncertainties:
  1  0.00921232
  2  26.4303
  3  0.00313861
  4  0.00856591
  5  11.055
  6  0.000463368
  7  0.267834
  8  0.000146838
  9  0.000111492
  10  6.52374
  11  0.0371628
  12  6.13145
  13  57.3895
  14  11.7292
  15  0.000125726
  16  0.000124295
  17  5.8464
  18  1.97719e-05
  19  39.6784
  20  5.88109e-06
  21  0.000147335
  22  0.94688
  23  2.27957e-05
  24  0.0043216
  25  4.03667e-06
  26  21.586
  27  0.00475657
  28  5.26291
  29  5.23697e-06
  30  0.211457
  31  0.219394
Done.

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

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  7.480e-01  9.469e-01  0.000e+00  1.000e+06 ( 1.000e-11)
477        alpha:  2.177e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
478         beta:  1.055e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.061e+00  2.194e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  9.325e-01  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 352.329 -49.932
Photon Index (Fixed Index): 2.18 +/- 0.00
Photon Flux (Fixed Index): 2.03e-08 +/- 2.56e-08
Energy Flux (Fixed Index): 7.70e-06 +/- 9.75e-06

TS (Fixed Index): 1.15
Ra Dec: 352.329 -49.932
Photon Flux Upper Limit: 8.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/649827/likelihoodResults_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.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) = 4516.9482314
delta logL = 1.19910758194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4516.9298458
delta logL = 1.21749319011

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10784       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .83286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4516.930     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      342 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10781        2.3959        .31483E-03** at limit **
   2  alpha         5.0000        3.4609        .46347    ** at limit **
   3  Normalizat    .83285        .13169        .44038E-01   -.16040E-05
   4  Prefactor     1.1405        .13832        .53966E-01   -.34839E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.10781
  alpha      = 5
  Normalizat = 0.832846
  Prefactor  = 1.14053
 **********
 **   18 **HESSE 
 **********

 FCN=   4516.930     FROM HESSE     STATUS=OK            33 CALLS      375 TOTAL
                     EDM=   .23E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10781        .72754E-01    .14155E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        3.4805        .51589E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .83285        .24590        .25488E-03   -.98862    
   4  Prefactor     1.1405        .26272        .23861E-03   -.88181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.32895e-12
Minuit parameter uncertainties:
  1  0.0727538
  2  6.17644e-06
  3  0.24623
  4  0.263016
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/649827': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4516.9298444
delta logL = 1.21749458262

Extracting fit parameters...

4FGL J2329.3-4955
   Spectrum: LogParabola
476         norm:  1.078e-01  7.275e-02  0.000e+00  1.000e+06 ( 1.000e-11)
477        alpha:  5.000e+00  6.176e-06  0.000e+00  5.000e+00 ( 1.000e+00)
478         beta:  1.055e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
479           Eb:  5.219e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  1.141e+00  2.630e-01  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  8.328e-01  2.462e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.76
Ra Dec: 352.329 -49.932
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 8.49e-08 +/- 5.70e-08
Energy Flux (Free Index): 1.15e-05 +/- 7.75e-06

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/649827/cmap_HighResolution_696816001_697075201_4FGL_J2329.3-4955_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-05', comment='SUCCESS', photon_flux='2.03e-08', energy_flux2='1.15e-05', photon_flux_error='2.56e-08', dlogl='1.22e+00', energy_flux='7.70e-06', photon_flux2='8.49e-08', job_status='DONE', time_completed='2023-02-03 02:04:40.164104', photon_index_error2='0.00', photon_index2='5.00', ts='1.15', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='8.82e-08', energy_flux_error2='7.75e-06', EG='0.93', time_epoch_completed='1675418680.16', return_code='0', job_id='649827', GAL2='1.14', EG2='0.83', return_code2='0', energy_flux_error='9.75e-06', photon_flux_error2='5.70e-08', ts2='3.76', photon_index='2.18' WHERE bin_id='1765' AND source_name='4FGL J2329.3-4955' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:04:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 649827: <4FGL_J2329.3-4955_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2329.3-4955_daily_bin1765> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb  3 01:50:29 2023
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:51:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:51:28 2023
Terminated at Fri Feb  3 02:04:40 2023
Results reported at Fri Feb  3 02:04:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2329.3-4955_daily_bin1765 352.329 -49.9324 696816001 697075201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2329.3-4955 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   679.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             335.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   792 sec.
    Turnaround time :                            851 sec.

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

