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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1722
RA = 351.737, Dec = -41.5089
tmin = 685670401, tmax = 685929601
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='250538', job_status='RUN', time_executed='2022-09-27 01:14:36.956896', time_epoch_executed='1664266476.96' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/250538

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/250538/ft1_4FGL_J2326.9-4130_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/250538/ft1_4FGL_J2326.9-4130_daily_bin1722.fits outfile=/scratch/kocevski/250538/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1722.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=685670401.0 tmax=685929601.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.74
user 3.51
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.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/250538/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.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.58
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/250538/ltcube_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.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/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits
.....................!
real 15.60
user 15.23
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/250538/ltcube_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits outfile=/scratch/kocevski/250538/expmap_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.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/250538/ltcube_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits
.....................!
real 193.25
user 187.20
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/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits outfile=/scratch/kocevski/250538/cmap_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits outfile=/scratch/kocevski/250538/cmap_HighResolution_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/250538/Model_4FGL_J2326.9-4130_daily_bin1722.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/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits.....................!
real 43.38
user 42.00
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits', '/scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits', expMap='/scratch/kocevski/250538/expmap_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits', expCube='/scratch/kocevski/250538/ltcube_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/250538/Model_4FGL_J2326.9-4130_daily_bin1722.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/250538/ft1_filtered_4FGL_J2326.9-4130_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/250538/ft2_4FGL_J2326.9-4130_daily_bin1722.fits
Exposure map: /scratch/kocevski/250538/expmap_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits
Exposure cube: /scratch/kocevski/250538/ltcube_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/250538/Model_4FGL_J2326.9-4130_daily_bin1722.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5759.32222073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    49.504       1.0000          .0000       .10000E+07
     2 'Prefactor '    33.327       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.075       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14205E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .97605E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16095E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .14433E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .70806E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .23343E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    32.598       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5014       1.0000          .0000       .10000E+07
    12 'Prefactor '    19.425       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.4884       1.0000          .0000       .10000E+07
    14 'norm      '    2.8394       1.0000          .0000       .10000E+07
    15 'norm      '    3.1250       1.0000          .0000       .10000E+07
    16 'norm      '    .11461E-05   1.0000          .0000       .10000E+07
    17 'norm      '    .46767E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .58583       1.0000          .0000       .10000E+07
    19 'Prefactor '    24.235       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41142E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .71254E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    16.492       1.0000          .0000       .10000E+07
    23 'norm      '    .77066       1.0000          .0000       .10000E+07
    24 'norm      '    .16109E-06   1.0000          .0000       .10000E+07
    25 'Prefactor '    2.9524       1.0000          .0000       .10000E+07
    26 'Prefactor '    .87292E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    8.0003       1.0000          .0000       .10000E+07
    28 'Prefactor '    4.8836       1.0000          .0000       .10000E+07
    29 'Prefactor '    .16323       1.0000          .0000       .10000E+07
    30 'Normalizat'    .99088       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .66194       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=   5754.753     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1714 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     49.551        1.3123       -.12248E-06    .16853E-01
   2  Prefactor     33.641        5.7688        .13467E-06    .56461E-02
   3  Prefactor     17.425        34.698       -.19388E-05    .57508E-02
   4  Prefactor     .16098E-08    4.7069       -.55569E-06** at limit **
   5  Prefactor      .0000        2.7634       -.26283E-06** at limit **
   6  Prefactor     .13097E-05    12.076       -.44816E-05** at limit **
   7  Prefactor      .0000        1.3844       -.61482E-07** at limit **
   8  Prefactor     .11102E-09    4.5539        .47486E-06** at limit **
   9  Prefactor     .24358E-06    20.805        .27987E-05** at limit **
  10  Prefactor     32.551        1.5343        .15962E-06    .10791E-01
  11  Prefactor     1.5025        2.4439        .28328E-07    .46547E-03
  12  Prefactor     19.275        1.1522       -.46514E-07   -.52650E-03
  13  Prefactor     5.4511        2.5336       -.99971E-06   -.86885E-02
  14  norm          2.7843        1.8581       -.93446E-06   -.76747E-02
  15  norm          3.0486        5.2127        .55512E-07   -.13292E-02
  16  norm           .0000        1.3444       -.14002E-06** at limit **
  17  norm          .16653E-08    6.8593        .69355E-06** at limit **
  18  Prefactor     .64291        .98178        .97214E-06    .11094E-01
  19  Prefactor     24.415        5.1477       -.74689E-06    .27824E-01
  20  Prefactor     .36915E-07    9.8316        .61358E-06** at limit **
  21  norm           .0000        2.4890       -.21566E-06** at limit **
  22  Prefactor     16.282        1.3001        .15709E-06    .28149E-01
  23  norm          .77442        .82939        .86030E-08    .44414E-02
  24  norm           .0000        1.6954       -.71308E-07** at limit **
  25  Prefactor     2.9716        3.2735       -.23501E-07   -.25778E-02
  26  Prefactor     .57870E-06    13.218        .22754E-05** at limit **
  27  Prefactor     7.9962        5.1019        .17904E-07   -.35462E-02
  28  Prefactor     4.8780        3.6936        .63221E-07    .78340E-03
  29  Prefactor     .56415E-05    38.907       -.12756E-04** at limit **
  30  Normalizat    .99162        .18370        .13097E-05   -.31902E-04
  31  Prefactor     .66176        .20097       -.39209E-05    .55125E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 49.5508
  Prefactor  = 33.641
  Prefactor  = 17.4252
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  Prefactor  = 1.30973e-06
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.43583e-07
  Prefactor  = 32.5514
  Prefactor  = 1.5025
  Prefactor  = 19.2753
  Prefactor  = 5.45108
  norm       = 2.78429
  norm       = 3.04862
  norm       = 0
  norm       = 1.66533e-09
  Prefactor  = 0.642905
  Prefactor  = 24.4148
  Prefactor  = 3.69149e-08
  norm       = 0
  Prefactor  = 16.2823
  norm       = 0.774419
  norm       = 0
  Prefactor  = 2.97158
  Prefactor  = 5.78704e-07
  Prefactor  = 7.99622
  Prefactor  = 4.87796
  Prefactor  = 5.64149e-06
  Normalizat = 0.991616
  Prefactor  = 0.661757
 **********
 **   18 **HESSE 
 **********

 FCN=   5754.753     FROM HESSE     STATUS=OK           684 CALLS     2398 TOTAL
                     EDM=   .30E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     49.551        38.030        .14214E-03   -1.5567    
   2  Prefactor     33.641        23.077        .17324E-03   -1.5592    
   3  Prefactor     17.425        35.061        .22905E-03   -1.5624    
   4  Prefactor     .16098E-08    4.6993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.7163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13097E-05    18.591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.3838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11102E-09    4.5719        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .24358E-06    23.358        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.551        14.669        .17517E-03   -1.5594    
  11  Prefactor     1.5025        2.4800        .87347E-03   -1.5683    
  12  Prefactor     19.275        18.746        .22697E-03   -1.5620    
  13  Prefactor     5.4511        13.450        .42865E-03   -1.5661    
  14  norm          2.7843        13.920        .60320E-03   -1.5675    
  15  norm          3.0486        5.4337        .57327E-03   -1.5673    
  16  norm           .0000        1.3451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-08    6.8431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .64291        36.435        .70507E-03   -1.5692    
  19  Prefactor     24.415        24.230        .20318E-03   -1.5609    
  20  Prefactor     .36915E-07    10.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.4873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     16.282        19.807        .24636E-03   -1.5627    
  23  norm          .77442        .87284        .55148E-03   -1.5690    
  24  norm           .0000        1.6911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     2.9716        3.3002        .59078E-03   -1.5673    
  26  Prefactor     .57870E-06    15.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.9962        5.1144        .35424E-03   -1.5651    
  28  Prefactor     4.8780        3.8097        .45493E-03   -1.5664    
  29  Prefactor     .56415E-05    70.776        .12471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .99162        .15570        .46053E-01   -.93312    
  31  Prefactor     .66176        .16714        .60962E-01   -1.0505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96507e-07
Minuit parameter uncertainties:
  1  38.0306
  2  23.0766
  3  35.0618
  4  0.000174959
  5  7.05448e-06
  6  0.00986902
  7  5.81163e-06
  8  4.17921e-05
  9  0.00477053
  10  14.6687
  11  2.48001
  12  18.7456
  13  13.4498
  14  12.4512
  15  5.43373
  16  7.25472e-06
  17  0.000214936
  18  9.67983
  19  24.2297
  20  0.00121778
  21  1.21954e-05
  22  19.8074
  23  0.872835
  24  6.58689e-06
  25  3.30023
  26  0.00603766
  27  5.11445
  28  3.80972
  29  0.0399644
  30  0.155774
  31  0.167263
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.441e+01  2.423e+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:  6.618e-01  1.673e-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:  9.916e-01  1.558e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.58
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 3.20e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 7.27e-06 +/- 7.21e-06

TS (Fixed Index): 1.58
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/250538/likelihoodResults_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.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) = 5754.59529589
delta logL = 0.157562046178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5754.58738839
delta logL = 0.165469550955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.202       1.0000          .0000       .10000E+07
     2 'Index     '    3.3988       1.0000          .0000       10.000    
     3 'Normalizat'    .96978       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67812       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=   5754.587     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      254 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.186        315.39        .26552E-03    .51505E-03
   2  Index         3.3996        6.6859        .13912        .11668E-03
   3  Normalizat    .96969        .59719E-01    .45787E-01   -.33617E-05
   4  Prefactor     .67816        .58722E-01    .60288E-01    .11969E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.1864
  Index      = 3.39964
  Normalizat = 0.969687
  Prefactor  = 0.678162
 **********
 **   18 **HESSE 
 **********

 FCN=   5754.587     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.186        30.606        .10621E-04   -1.5633    
   2  Index         3.3996        1.4923        .73314E-02   -.32580    
   3  Normalizat    .96969        .18914        .20480E-03   -.94053    
   4  Prefactor     .67816        .20464        .26667E-03   -1.0439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68091e-11
Minuit parameter uncertainties:
  1  30.6059
  2  1.51819
  3  0.189273
  4  0.204863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/250538': 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) = 5754.58738783
delta logL = 0.165470107951

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.419e+01  3.061e+01  0.000e+00  1.000e+06 ( 1.000e-13)
436        Index:  3.400e+00  1.518e+00  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:  6.782e-01  2.049e-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:  9.697e-01  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 3.40 +/- 1.52
Photon Flux (Free Index): 4.67e-08 +/- 4.36e-08
Energy Flux (Free Index): 8.00e-06 +/- 6.91e-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/250538/cmap_HighResolution_685670401_685929601_4FGL_J2326.9-4130_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', comment='SUCCESS', photon_flux='3.20e-08', energy_flux2='8.00e-06', photon_flux_error='3.17e-08', dlogl='1.65e-01', energy_flux='7.27e-06', photon_flux2='4.67e-08', job_status='DONE', time_completed='2022-09-27 01:25:17.447305', photon_index_error2='1.52', photon_index2='3.40', ts='1.58', fit_tolerance='1e-08', GAL='0.66', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='6.91e-06', EG='0.99', time_epoch_completed='1664267117.45', return_code='0', job_id='250538', GAL2='0.68', EG2='0.97', return_code2='0', energy_flux_error='7.21e-06', photon_flux_error2='4.36e-08', ts2='1.94', photon_index='2.78' WHERE bin_id='1722' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:25:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 250538: <4FGL_J2326.9-4130_daily_bin1722> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1722> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 27 01:10:21 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:11:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:11:28 2022
Terminated at Tue Sep 27 01:25:18 2022
Results reported at Tue Sep 27 01:25:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1722 351.737 -41.5089 685670401 685929601 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 :                                   642.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   832 sec.
    Turnaround time :                            897 sec.

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

