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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1758
RA = 351.737, Dec = -41.5089
tmin = 695001601, tmax = 695260801
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='386309', job_status='RUN', time_executed='2023-01-13 01:58:26.558231', time_epoch_executed='1673603906.56' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386309

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386309/ft1_4FGL_J2326.9-4130_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386309/ft1_4FGL_J2326.9-4130_daily_bin1758.fits outfile=/scratch/kocevski/386309/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1758.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=695001601.0 tmax=695260801.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 2.77
user 2.54
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.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/386309/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 516

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/386309/ltcube_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.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/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits
.....................!
real 17.73
user 17.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/386309/ltcube_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits outfile=/scratch/kocevski/386309/expmap_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.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/386309/ltcube_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits
.....................!
real 192.54
user 187.13
sys 4.46

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 183 point sources and 0 extended sources

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits outfile=/scratch/kocevski/386309/cmap_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits outfile=/scratch/kocevski/386309/cmap_HighResolution_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.737 yref=-41.5089 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386309/Model_4FGL_J2326.9-4130_daily_bin1758.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/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits.....................!
real 41.94
user 40.58
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits', '/scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits', expMap='/scratch/kocevski/386309/expmap_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits', expCube='/scratch/kocevski/386309/ltcube_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386309/Model_4FGL_J2326.9-4130_daily_bin1758.xml', optimizer='MINUIT')

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

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


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/386309/ft1_filtered_4FGL_J2326.9-4130_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/386309/ft2_4FGL_J2326.9-4130_daily_bin1758.fits
Exposure map: /scratch/kocevski/386309/expmap_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits
Exposure cube: /scratch/kocevski/386309/ltcube_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386309/Model_4FGL_J2326.9-4130_daily_bin1758.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) = 5702.53233676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17180E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    11.680       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7573       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.1578       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.8680       1.0000          .0000       .10000E+07
     6 'Prefactor '    14.167       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22427E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.295       1.0000          .0000       .10000E+07
     9 'Prefactor '    .53679E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    19.116       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23998E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .16672E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6586       1.0000          .0000       .10000E+07
    14 'norm      '    .67224E-07   1.0000          .0000       .10000E+07
    15 'norm      '    .10693E-05   1.0000          .0000       .10000E+07
    16 'norm      '    3.5501       1.0000          .0000       .10000E+07
    17 'norm      '    .11425E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    .79771E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    60.861       1.0000          .0000       .10000E+07
    20 'Prefactor '    33.604       1.0000          .0000       .10000E+07
    21 'norm      '    3.3118       1.0000          .0000       .10000E+07
    22 'Prefactor '    9.8610       1.0000          .0000       .10000E+07
    23 'norm      '    .21760E-07   1.0000          .0000       .10000E+07
    24 'norm      '    1.3809       1.0000          .0000       .10000E+07
    25 'Prefactor '    .20212E-06   1.0000          .0000       .10000E+07
    26 'Prefactor '    15.467       1.0000          .0000       .10000E+07
    27 'Prefactor '    .62364E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    5.4233       1.0000          .0000       .10000E+07
    29 'Prefactor '    72.016       1.0000          .0000       .10000E+07
    30 'Normalizat'    .78729       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2889       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5702.286     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     2991 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16098E-08    35.239       -.46000E-06** at limit **
   2  Prefactor     11.649        1.0557       -.14944E-07    .12531E-02
   3  Prefactor     5.1588        5.4263       -.72862E-06   -.16309E-02
   4  Prefactor     8.2691        7.1265        .12413E-06    .19862E-02
   5  Prefactor     5.8948        5.0041       -.71956E-07    .39857E-04
   6  Prefactor     14.104        14.253        .21333E-05   -.19209E-01
   7  Prefactor     .85210E-07    9.3093       -.11872E-05** at limit **
   8  Prefactor     16.613        10.811        .10471E-05    .42134E-01
   9  Prefactor     .82345E-06    17.960        .47613E-06** at limit **
  10  Prefactor     19.142        2.1486       -.14855E-06   -.77955E-02
  11  Prefactor      .0000        4.3829        .54653E-06** at limit **
  12  Prefactor     .20549E-05    11.242       -.48914E-07** at limit **
  13  Prefactor     4.7519        8.8473        .85472E-07   -.27569E-02
  14  norm          .55511E-10    4.4477        .56920E-06** at limit **
  15  norm          .22204E-09    2.1686        .36218E-06** at limit **
  16  norm          3.5481        3.5095       -.39992E-06    .53055E-03
  17  norm          .77210E-06    22.554        .20669E-05** at limit **
  18  Prefactor     .44107E-05    8.9166       -.14795E-05** at limit **
  19  Prefactor     61.227        4.4034       -.82707E-08    .90513E-02
  20  Prefactor     34.421        34.751       -.28506E-05    .66752E-01
  21  norm          3.3063        3.5264        .50124E-06    .28147E-03
  22  Prefactor     10.077        12.511        .24157E-05    .69932E-01
  23  norm           .0000        1.0089       -.60228E-06** at limit **
  24  norm          1.3810        1.8994       -.91649E-07   -.86142E-03
  25  Prefactor      .0000        1.4096        .86501E-07** at limit **
  26  Prefactor     15.517        2.9075        .30249E-06    .36982E-02
  27  Prefactor     .15543E-08    5.2519        .96899E-06** at limit **
  28  Prefactor     5.4286        3.6532       -.37974E-07   -.10734E-02
  29  Prefactor     75.856        61.438        .23327E-05   -.19253E-01
  30  Normalizat    .78347        .23086        .36192E-05    .65208E-04
  31  Prefactor     1.2906        .25346        .34174E-05    .96611E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60982e-09
  Prefactor  = 11.6487
  Prefactor  = 5.15885
  Prefactor  = 8.26914
  Prefactor  = 5.89478
  Prefactor  = 14.1042
  Prefactor  = 8.52096e-08
  Prefactor  = 16.6126
  Prefactor  = 8.23452e-07
  Prefactor  = 19.142
  Prefactor  = 0
  Prefactor  = 2.05491e-06
  Prefactor  = 4.7519
  norm       = 5.55112e-11
  norm       = 2.22045e-10
  norm       = 3.54809
  norm       = 7.72105e-07
  Prefactor  = 4.41069e-06
  Prefactor  = 61.2267
  Prefactor  = 34.4209
  norm       = 3.30635
  Prefactor  = 10.0768
  norm       = 0
  norm       = 1.38098
  Prefactor  = 0
  Prefactor  = 15.5169
  Prefactor  = 1.55431e-09
  Prefactor  = 5.42864
  Prefactor  = 75.8555
  Normalizat = 0.783475
  Prefactor  = 1.29064
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.286     FROM HESSE     STATUS=OK           690 CALLS     3681 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16098E-08    36.499        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.649        12.399        .29288E-03   -1.5640    
   3  Prefactor     5.1588        63.865        .46106E-03   -1.5663    
   4  Prefactor     8.2691        7.1476        .35078E-03   -1.5650    
   5  Prefactor     5.8948        5.0655        .41433E-03   -1.5659    
   6  Prefactor     14.104        47.380        .26585E-03   -1.5633    
   7  Prefactor     .85210E-07    9.3954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     16.613        29.942        .24056E-03   -1.5626    
   9  Prefactor     .82345E-06    19.141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.142        19.878        .22880E-03   -1.5620    
  11  Prefactor      .0000        4.3788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .20549E-05    13.782        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7519        8.8882        .46604E-03   -1.5664    
  14  norm          .55511E-10    4.4464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .22204E-09    2.1681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5481        3.5158        .53620E-03   -1.5670    
  17  norm          .77210E-06    23.645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .44107E-05    14.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     61.227        40.564        .12819E-03   -1.5551    
  20  Prefactor     34.421        46.372        .17253E-03   -1.5591    
  21  norm          3.3063        3.8096        .55603E-03   -1.5672    
  22  Prefactor     10.077        13.669        .31886E-03   -1.5644    
  23  norm           .0000        .98990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.3810        1.9330        .92583E-03   -1.5684    
  25  Prefactor      .0000        1.4064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     15.517        18.568        .25440E-03   -1.5629    
  27  Prefactor     .15543E-08    5.2200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     5.4286        3.6784        .43126E-03   -1.5661    
  29  Prefactor     75.856        61.753        .11784E-03   -1.5534    
  30  Normalizat    .78347        .19823        .43444E-01   -1.0068    
  31  Prefactor     1.2906        .20994        .55866E-01   -.83586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14883e-06
Minuit parameter uncertainties:
  1  0.000482617
  2  12.3988
  3  36.3032
  4  7.14762
  5  5.06548
  6  47.3815
  7  0.00178979
  8  29.9424
  9  0.00794029
  10  19.8781
  11  1.67518e-06
  12  0.0106434
  13  8.88822
  14  2.77101e-05
  15  4.25185e-05
  16  3.51581
  17  0.00854543
  18  0.0157448
  19  40.5647
  20  46.3722
  21  3.80963
  22  13.6689
  23  3.1481e-06
  24  1.93302
  25  1.14015e-05
  26  18.5684
  27  0.000179548
  28  3.67842
  29  61.7535
  30  0.198409
  31  0.210073
Done.

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

Extracting fit parameters...

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

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

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.835e-01  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 8.02e-08 +/- 5.31e-08
Energy Flux (Fixed Index): 1.82e-05 +/- 1.21e-05

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) = 5702.28112791
delta logL = 0.00492779495289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5702.27283335
delta logL = 0.0132223550027

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5702.273     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     68.549        824.64        .12079E-03    .16247E-02
   2  Index         2.6575        3.6735        .18066        .77792E-04
   3  Normalizat    .79057        .78930E-01    .43480E-01   -.21270E-04
   4  Prefactor     1.2843        .75228E-01    .55976E-01   -.17175E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 68.5492
  Index      = 2.65746
  Normalizat = 0.790568
  Prefactor  = 1.28431
 **********
 **   18 **HESSE 
 **********

 FCN=   5702.273     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     68.549        63.692        .48315E-05   -1.5542    
   2  Index         2.6575        .76247        .61670E-02   -.48760    
   3  Normalizat    .79057        .22676        .26968E-03   -1.0042    
   4  Prefactor     1.2843        .25482        .24751E-03   -.83775    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23727e-09
Minuit parameter uncertainties:
  1  63.6926
  2  0.766307
  3  0.227028
  4  0.255067
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386309': 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) = 5702.27282977
delta logL = 0.0132259334523

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.855e+01  6.369e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  2.657e+00  7.663e-01  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

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

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.906e-01  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.05
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 2.66 +/- 0.77
Photon Flux (Free Index): 7.61e-08 +/- 5.32e-08
Energy Flux (Free Index): 1.90e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/386309/cmap_HighResolution_695001601_695260801_4FGL_J2326.9-4130_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.02e-08', energy_flux2='1.90e-05', photon_flux_error='5.31e-08', dlogl='1.32e-02', energy_flux='1.82e-05', photon_flux2='7.61e-08', job_status='DONE', time_completed='2023-01-13 02:09:26.470282', photon_index_error2='0.77', photon_index2='2.66', ts='4.00', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='0.78', time_epoch_completed='1673604566.47', return_code='0', job_id='386309', GAL2='1.28', EG2='0.79', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='5.32e-08', ts2='4.05', photon_index='2.78' WHERE bin_id='1758' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 02:09:26 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 386309: <4FGL_J2326.9-4130_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1758> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jan 13 01:55:19 2023
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:56:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:56:29 2023
Terminated at Fri Jan 13 02:09:27 2023
Results reported at Fri Jan 13 02:09:27 2023

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   661.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            848 sec.

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

