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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1763
RA = 351.737, Dec = -41.5089
tmin = 696297601, tmax = 696556801
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='297881', job_status='RUN', time_executed='2023-01-28 01:52:02.361483', time_epoch_executed='1674899522.36' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297881/ft1_4FGL_J2326.9-4130_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297881/ft1_4FGL_J2326.9-4130_daily_bin1763.fits outfile=/scratch/kocevski/297881/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1763.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=696297601.0 tmax=696556801.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.58
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.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/297881/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.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.35
sys 0.15

Number of photons that the gtmktime cut: 379

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/297881/ltcube_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.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/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits
.....................!
real 14.04
user 13.65
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/297881/ltcube_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits outfile=/scratch/kocevski/297881/expmap_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.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/297881/ltcube_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits
.....................!
real 193.03
user 187.01
sys 5.63

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/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits outfile=/scratch/kocevski/297881/cmap_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits outfile=/scratch/kocevski/297881/cmap_HighResolution_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.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/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/297881/Model_4FGL_J2326.9-4130_daily_bin1763.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/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits......................!
real 36.18
user 34.77
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits', '/scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits', expMap='/scratch/kocevski/297881/expmap_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits', expCube='/scratch/kocevski/297881/ltcube_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297881/Model_4FGL_J2326.9-4130_daily_bin1763.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/297881/ft1_filtered_4FGL_J2326.9-4130_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/297881/ft2_4FGL_J2326.9-4130_daily_bin1763.fits
Exposure map: /scratch/kocevski/297881/expmap_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits
Exposure cube: /scratch/kocevski/297881/ltcube_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297881/Model_4FGL_J2326.9-4130_daily_bin1763.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) = 4257.44661304

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44686E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    26.313       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34846       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.256       1.0000          .0000       .10000E+07
     5 'Prefactor '    .21824E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .98384E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.5285       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.7411       1.0000          .0000       .10000E+07
     9 'Prefactor '    .94506       1.0000          .0000       .10000E+07
    10 'Prefactor '    .94078E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16146E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27304       1.0000          .0000       .10000E+07
    13 'Prefactor '    19.136       1.0000          .0000       .10000E+07
    14 'norm      '    .11257E-02   1.0000          .0000       .10000E+07
    15 'norm      '    10.750       1.0000          .0000       .10000E+07
    16 'norm      '    .69700E-05   1.0000          .0000       .10000E+07
    17 'norm      '    17.777       1.0000          .0000       .10000E+07
    18 'Prefactor '    .42233E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    14.066       1.0000          .0000       .10000E+07
    20 'Prefactor '    27.151       1.0000          .0000       .10000E+07
    21 'norm      '    .68151E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .75385E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .96459E-03   1.0000          .0000       .10000E+07
    24 'norm      '    6.9531       1.0000          .0000       .10000E+07
    25 'Prefactor '    .81932       1.0000          .0000       .10000E+07
    26 'Prefactor '    .33863E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    8.7730       1.0000          .0000       .10000E+07
    28 'Prefactor '    .14036E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .36913E-02   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.1983       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .79074       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=   4257.442     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     3156 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82906E-06    15.750        .21584E-05** at limit **
   2  Prefactor     26.337        1.6467       -.12480E-06    .21477E-02
   3  Prefactor     .32652E-06    7.4333        .20894E-05** at limit **
   4  Prefactor     13.264        8.8147       -.15693E-06    .10944E-02
   5  Prefactor     .55511E-10    6.9519       -.13673E-06** at limit **
   6  Prefactor     .10403E-06    12.979        .23284E-05** at limit **
   7  Prefactor     4.5859        6.3050        .31289E-08    .19977E-03
   8  Prefactor     7.7560        1.9034       -.21376E-06    .47681E-02
   9  Prefactor     .89826        3.4743        .33088E-06    .21211E-01
  10  Prefactor     .22204E-09    57.263       -.95958E-06** at limit **
  11  Prefactor      .0000        2.7920        .38205E-06** at limit **
  12  Prefactor     .35194E-07    3.7383        .98701E-06** at limit **
  13  Prefactor     19.062        4.6316       -.45571E-06    .10958E-01
  14  norm          .55511E-10    7.4452       -.19253E-06** at limit **
  15  norm          10.812        8.0815       -.47759E-06   -.12260E-02
  16  norm          .27256E-07    9.7270        .24090E-05** at limit **
  17  norm          17.819        5.3307        .18535E-06   -.14719E-01
  18  Prefactor      .0000        2.6757        .57169E-06** at limit **
  19  Prefactor     14.434        41.019       -.15040E-05    .95241E-02
  20  Prefactor     26.708        77.906       -.10067E-04    .68432E-02
  21  norm          .34972E-07    10.197       -.37360E-05** at limit **
  22  Prefactor     .74296E-06    14.296       -.23189E-05** at limit **
  23  norm           .0000        8.7943       -.29933E-06** at limit **
  24  norm          6.9433        5.4643        .84761E-08   -.31230E-03
  25  Prefactor     .83079        6.1421        .21280E-06    .57057E-03
  26  Prefactor     .19315E-05    16.830        .28144E-05** at limit **
  27  Prefactor     8.7793        9.1304       -.17828E-06   -.44312E-03
  28  Prefactor      .0000        3.1884        .17761E-06** at limit **
  29  Prefactor     .69406E-06    25.900       -.23384E-05** at limit **
  30  Normalizat    1.1984        .27737        .26499E-04    .66019E-04
  31  Prefactor     .79063        .28392       -.16199E-04    .36379E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.29059e-07
  Prefactor  = 26.3368
  Prefactor  = 3.26517e-07
  Prefactor  = 13.2638
  Prefactor  = 5.55112e-11
  Prefactor  = 1.04028e-07
  Prefactor  = 4.58594
  Prefactor  = 7.75601
  Prefactor  = 0.898258
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 3.51941e-08
  Prefactor  = 19.0621
  norm       = 5.55112e-11
  norm       = 10.8125
  norm       = 2.7256e-08
  norm       = 17.8195
  Prefactor  = 0
  Prefactor  = 14.4339
  Prefactor  = 26.708
  norm       = 3.4972e-08
  Prefactor  = 7.42961e-07
  norm       = 0
  norm       = 6.94326
  Prefactor  = 0.830788
  Prefactor  = 1.93151e-06
  Prefactor  = 8.77934
  Prefactor  = 0
  Prefactor  = 6.94056e-07
  Normalizat = 1.19837
  Prefactor  = 0.790633
 **********
 **   18 **HESSE 
 **********

 FCN=   4257.442     FROM HESSE     STATUS=OK           694 CALLS     3850 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82906E-06    20.995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.337        26.031        .19498E-03   -1.5605    
   3  Prefactor     .32652E-06    110.71        .95719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.264        8.8252        .27485E-03   -1.5635    
   5  Prefactor     .55511E-10    6.8075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10403E-06    14.175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.5859        6.3239        .47285E-03   -1.5665    
   8  Prefactor     7.7560        16.209        .36017E-03   -1.5652    
   9  Prefactor     .89826        58.423        .42693E-03   -1.5689    
  10  Prefactor     .22204E-09    18.164        .10030E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        2.7959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .35194E-07    91.377        .10598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.062        17.839        .22868E-03   -1.5621    
  14  norm          .55511E-10    7.4826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.812        8.3485        .30533E-03   -1.5642    
  16  norm          .27256E-07    9.7875        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          17.819        15.305        .23727E-03   -1.5624    
  18  Prefactor      .0000        2.6751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.434        42.217        .26681E-03   -1.5632    
  20  Prefactor     26.708        80.002        .19195E-03   -1.5605    
  21  norm          .34972E-07    10.852        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .74296E-06    17.954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        2.0216        .25252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          6.9433        5.4824        .38023E-03   -1.5655    
  25  Prefactor     .83079        6.8296        .51506E-03   -1.5690    
  26  Prefactor     .19315E-05    27.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.7793        9.1436        .33817E-03   -1.5649    
  28  Prefactor      .0000        3.1792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .69406E-06    30.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.1984        .22694        .50925E-01   -.86653    
  31  Prefactor     .79063        .23009        .65838E-01   -1.0007    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42914e-07
Minuit parameter uncertainties:
  1  0.0083442
  2  26.031
  3  0.0120253
  4  8.82516
  5  4.23723e-05
  6  0.00242857
  7  6.32394
  8  16.2091
  9  14.4887
  10  0.000123007
  11  6.04561e-06
  12  0.00358531
  13  17.8386
  14  4.2462e-05
  15  8.34849
  16  0.00103316
  17  15.3054
  18  5.63422e-06
  19  42.2183
  20  80.0047
  21  0.00123226
  22  0.00730449
  23  2.14533e-06
  24  5.4824
  25  4.76403
  26  0.0146336
  27  9.14363
  28  1.08183e-05
  29  0.00922291
  30  0.227125
  31  0.230373
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.443e+01  4.222e+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:  7.906e-01  2.304e-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:  1.198e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/297881/likelihoodResults_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.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) = 4257.43550686
delta logL = 0.00617429882368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4257.31200412
delta logL = 0.129677041667

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13784       1.0000          .0000       .10000E+07
     2 'Index     '    6.0926       1.0000          .0000       10.000    
     3 'Normalizat'    1.1587       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82674       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=   4257.312     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      304 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13847        3.2894        .85492E-03** at limit **
   2  Index         6.0910        3.1951        .20665        .66704E-04
   3  Normalizat    1.1589        .32156E-01    .51671E-01    .32406E-05
   4  Prefactor     .82671        .34722E-01    .64563E-01    .71161E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.138467
  Index      = 6.09104
  Normalizat = 1.15887
  Prefactor  = 0.82671
 **********
 **   18 **HESSE 
 **********

 FCN=   4257.312     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      337 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13847        18.250        .38256E-05   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0910        7.2443        .75298E-02    .21998    
   3  Normalizat    1.1589        .20280        .22845E-03   -.87883    
   4  Prefactor     .82671        .21440        .28559E-03   -.98751    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.77361e-10
Minuit parameter uncertainties:
  1  3.17931
  2  12.7573
  3  0.202938
  4  0.214614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297881': 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) = 4257.31200282
delta logL = 0.129678338247

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.385e-01  3.179e+00  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  6.091e+00  1.276e+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:  8.267e-01  2.146e-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:  1.159e+00  2.029e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
Ra Dec: 351.737 -41.509

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/297881/cmap_HighResolution_696297601_696556801_4FGL_J2326.9-4130_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2023-01-28 02:02:30.621489', job_id='297881', GAL2='0.83', fit_tolerance='1e-08', EG2='1.16', EG='1.20', time_epoch_completed='1674900150.62', return_code2='102', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='1.30e-01', ts2='0.43', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1763' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 02:02:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 297881: <4FGL_J2326.9-4130_daily_bin1763> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:50:21 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:51:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:51:17 2023
Terminated at Sat Jan 28 02:02:31 2023
Results reported at Sat Jan 28 02:02:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1763 351.737 -41.5089 696297601 696556801 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 :                                   630.51 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            730 sec.

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

