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 164 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1669
RA = 351.575, Dec = 1.2216
tmin = 671932801, tmax = 672192001
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='693487', job_status='RUN', time_executed='2022-04-21 00:43:10.739521', time_epoch_executed='1650526990.74' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693487

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693487/ft1_4FGL_J2326.2+0113_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693487/ft1_4FGL_J2326.2+0113_daily_bin1669.fits outfile=/scratch/kocevski/693487/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1669.fits ra=351.575 dec=1.2216 rad=12.0 tmin=671932801.0 tmax=672192001.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.73
user 3.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.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/693487/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 584

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/693487/ltcube_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.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/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits
.....................!
real 11.94
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693487/ltcube_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits outfile=/scratch/kocevski/693487/expmap_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.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/693487/ltcube_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits
.....................!
real 190.75
user 186.27
sys 4.17

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits outfile=/scratch/kocevski/693487/cmap_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.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.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits outfile=/scratch/kocevski/693487/cmap_HighResolution_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.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.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693487/Model_4FGL_J2326.2+0113_daily_bin1669.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/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits.....................!
real 67.92
user 66.57
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits', '/scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits', expMap='/scratch/kocevski/693487/expmap_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits', expCube='/scratch/kocevski/693487/ltcube_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/693487/Model_4FGL_J2326.2+0113_daily_bin1669.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/693487/ft1_filtered_4FGL_J2326.2+0113_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/693487/ft2_4FGL_J2326.2+0113_daily_bin1669.fits
Exposure map: /scratch/kocevski/693487/expmap_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits
Exposure cube: /scratch/kocevski/693487/ltcube_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/693487/Model_4FGL_J2326.2+0113_daily_bin1669.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) = 6661.1970762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.301       1.0000         .10000E-03   10000.    
     2 'norm      '    28.692       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.3263       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11513E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8699       1.0000         .10000E-03   10000.    
     9 'norm      '    2.5975       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0515       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.478       1.0000         .10000E-03   10000.    
    12 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.228       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.640       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7081       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16848E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.607       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .33455       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .44248       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1671       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6661.179     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2743 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.302        18.391        .16860E-06    .40094E-04
   2  norm          28.690        11.705        .17945E-07   -.14545E-04
   3  Prefactor     .10000E-03    41.213        .48846E-06** at limit **
   4  Prefactor     4.3251        9.7667        .26590E-06   -.29680E-04
   5  Prefactor     .10000E-03    8.7810        .28218E-06** at limit **
   6  Prefactor     .10000E-03    14.461        .35791E-07** at limit **
   7  Prefactor     .10000E-03    2.2861        .23954E-07** at limit **
   8  norm          1.8700        .94095       -.36559E-07   -.16568E-03
   9  norm          2.5974        3.2837        .45333E-07   -.49135E-04
  10  Prefactor     6.0482        11.433        .13344E-06   -.25296E-04
  11  Prefactor     10.489        36.016        .12711E-05    .36639E-05
  12  norm          .10000E-03    4.0665       -.81827E-07** at limit **
  13  Prefactor     .10000E-03    1.6791       -.11469E-07** at limit **
  14  Prefactor     48.312        145.43        .51512E-05    .59001E-05
  15  Prefactor     12.708        12.229       -.22664E-05   -.10777E-03
  16  Prefactor     2.7054        53.019        .69083E-06   -.45608E-05
  17  norm          .10000E-03    10.237        .35245E-06** at limit **
  18  Prefactor     .10000E-03    47.078        .74608E-06** at limit **
  19  Prefactor     .10001E-03    2.5165        .11678E-05** at limit **
  20  Prefactor     24.599        34.441       -.83927E-06   -.12752E-04
  21  Prefactor     .10000E-03    6.8537       -.29349E-07** at limit **
  22  Prefactor     .31157        8.4675       -.89129E-06    .43046E-03
  23  Normalizat    .44268        .19363       -.14575E-05   -.64314E-05
  24  Prefactor     1.1671        .13164        .13760E-06   -.32648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3022
  norm       = 28.6895
  Prefactor  = 0.0001
  Prefactor  = 4.32514
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.87
  norm       = 2.59741
  Prefactor  = 6.0482
  Prefactor  = 10.4891
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.3117
  Prefactor  = 12.7083
  Prefactor  = 2.70542
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 24.5993
  Prefactor  = 0.0001
  Prefactor  = 0.311567
  Normalizat = 0.442682
  Prefactor  = 1.16706
 **********
 **   18 **HESSE 
 **********

 FCN=   6661.179     FROM HESSE     STATUS=OK           409 CALLS     3152 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.302        18.354        .99201E-04   -1.4900    
   2  norm          28.690        11.696        .74794E-04   -1.4636    
   3  Prefactor     .10000E-03    41.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3251        9.7694        .19367E-03   -1.5292    
   5  Prefactor     .10000E-03    65.618        .46609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2910        .12049E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8700        .93709        .52577E-04   -1.5434    
   9  norm          2.5974        3.2706        .16094E-03   -1.5386    
  10  Prefactor     6.0482        11.276        .16322E-03   -1.5216    
  11  Prefactor     10.489        35.991        .12378E-03   -1.5060    
  12  norm          .10000E-03    4.0933        .16047E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.6825        .10326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.312        145.41        .28871E-03   -1.4317    
  15  Prefactor     12.708        12.312        .11267E-03   -1.4995    
  16  Prefactor     2.7054        51.538        .24752E-03   -1.5379    
  17  norm          .10000E-03    10.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    51.537        .22194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     24.599        34.368        .80753E-04   -1.4716    
  21  Prefactor     .10000E-03    6.8609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .31157        92.064        .44427E-02   -1.5596    
  23  Normalizat    .44268        .20473        .38102E-03   -1.1515    
  24  Prefactor     1.1671        .14267        .17445E-03   -.87351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22014e-09
Minuit parameter uncertainties:
  1  18.3601
  2  11.6966
  3  4.91473e-05
  4  9.77304
  5  0.000207826
  6  7.31436e-06
  7  1.77213e-06
  8  0.937101
  9  3.27081
  10  11.2798
  11  36.0652
  12  7.61511e-06
  13  1.62381e-06
  14  146.498
  15  12.315
  16  23.6395
  17  1.517e-05
  18  5.06433e-05
  19  0.00107349
  20  34.3959
  21  9.08697e-06
  22  10.7265
  23  0.205075
  24  0.142719
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.049e+01  3.607e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.167e+00  1.427e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  4.427e-01  2.051e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.10
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 6.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693487/likelihoodResults_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.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) = 6661.17141049
delta logL = 0.00778040463319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6661.1680452
delta logL = 0.0111456960503

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.4673       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5176       1.0000          .0000       10.000    
     3 'Normalizat'    .43819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1682       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6661.168     FROM MIGRAD    STATUS=FAILED       102 CALLS      363 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4373        185.02        .14677E-03   -.11697E-04
   2  Index         2.5165        6.1847        .99186E-02    .12204E-03
   3  Normalizat    .43747        .20848        .38319E-03    .43764E-03
   4  Prefactor     1.1688        .14466        .17432E-03   -.12159E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6661.168     FROM SIMPLEX   STATUS=UNCHANGED     85 CALLS      448 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4373        185.02        .84192E-03   -1.5162    
   2  Index         2.5165        6.1847        .45441E-02   -.51979    
   3  Normalizat    .43747        .20848        .50756E-03   -1.1541    
   4  Prefactor     1.1688        .14466        .19974E-03   -.87297    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6661.168     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      480 TOTAL
                     EDM=   .52E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.4368        59.155        .58706E-05   -.27112E-05
   2  Index         2.5166        2.8919        .19837E-02   -.41263E-06
   3  Normalizat    .43745        .19875        .15328E-04   -.59337E-06
   4  Prefactor     1.1688        .14120        .34865E-04   -.58694E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.43676
  Index      = 2.51655
  Normalizat = 0.437448
  Prefactor  = 1.16882
 **********
 **   18 **HESSE 
 **********

 FCN=   6661.168     FROM HESSE     STATUS=OK            23 CALLS      503 TOTAL
                     EDM=   .52E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.4368        51.861        .11741E-05   -1.5162    
   2  Index         2.5166        2.7370        .79349E-04   -.51978    
   3  Normalizat    .43745        .19814        .30655E-05   -1.1541    
   4  Prefactor     1.1688        .14098        .69730E-05   -.87296    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.24124e-14
Minuit parameter uncertainties:
  1  39.3259
  2  2.96159
  3  0.198458
  4  0.141022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693487': 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) = 6661.1680334
delta logL = 0.0111574976781

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  7.437e+00  3.933e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.517e+00  2.962e+00  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.169e+00  1.410e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  4.374e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 351.575 1.222

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/693487/cmap_HighResolution_671932801_672192001_4FGL_J2326.2+0113_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.98e-08', time_completed='2022-04-21 00:54:26.688408', job_id='693487', GAL2='1.17', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1650527666.69', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.12e-02', ts2='0.13', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1669' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:54:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0022>
Subject: Job 693487: <4FGL_J2326.2+0113_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:17 2022
Job was executed on host(s) <bullet0022>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:18 2022
Terminated at Thu Apr 21 00:54:27 2022
Results reported at Thu Apr 21 00:54:27 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1669 351.575 1.2216 671932801 672192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   678.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             282.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

