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


Performing analysis on: 4FGL_J2326.2+0113_weekly_bin745
RA = 351.575, Dec = 1.2216
tmin = 689558401, tmax = 690163201
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='847936', job_status='RUN', time_executed='2022-11-15 01:41:55.946888', time_epoch_executed='1668505315.95' WHERE source_name='4FGL J2326.2+0113' and cadence='weekly' and bin_id='745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847936

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847936/ft1_4FGL_J2326.2+0113_weekly_bin745.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/847936/ft1_4FGL_J2326.2+0113_weekly_bin745.fits outfile=/scratch/kocevski/847936/ft1_filteredMKT_4FGL_J2326.2+0113_weekly_bin745.fits ra=351.575 dec=1.2216 rad=12.0 tmin=689558401.0 tmax=690163201.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 8.60
user 8.18
sys 0.35

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

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

Number of photons that the gtmktime cut: 1389

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits" evtable="EVENTS" scfile=/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits sctable="SC_DATA" outfile=/scratch/kocevski/847936/ltcube_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.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/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits
.....................!
real 28.78
user 28.06
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits evtable="EVENTS" scfile=/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits sctable="SC_DATA" expcube=/scratch/kocevski/847936/ltcube_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits outfile=/scratch/kocevski/847936/expmap_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.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/847936/ltcube_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits
.....................!
real 191.81
user 186.13
sys 5.03

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/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits scfile=/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits outfile=/scratch/kocevski/847936/cmap_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.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.63
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits scfile=/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits outfile=/scratch/kocevski/847936/cmap_HighResolution_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.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.59
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits', '/scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits', expMap='/scratch/kocevski/847936/expmap_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits', expCube='/scratch/kocevski/847936/ltcube_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/847936/Model_4FGL_J2326.2+0113_weekly_bin745.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  0.000e+00  1.000e+06 ( 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/847936/ft1_filtered_4FGL_J2326.2+0113_weekly_bin745.fits
Spacecraft file(s): /scratch/kocevski/847936/ft2_4FGL_J2326.2+0113_weekly_bin745.fits
Exposure map: /scratch/kocevski/847936/expmap_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits
Exposure cube: /scratch/kocevski/847936/ltcube_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/847936/Model_4FGL_J2326.2+0113_weekly_bin745.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) = 15508.5358427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8790       1.0000          .0000       .10000E+07
     2 'norm      '    .16444E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    32.817       1.0000          .0000       .10000E+07
     4 'Prefactor '    .64328E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.7953       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9870       1.0000          .0000       .10000E+07
     7 'norm      '    .64592       1.0000          .0000       .10000E+07
     8 'norm      '    .15615E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.210       1.0000          .0000       .10000E+07
    10 'Prefactor '    13.874       1.0000          .0000       .10000E+07
    11 'norm      '    1.5893       1.0000          .0000       .10000E+07
    12 'Prefactor '    .20379E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58266E-02   1.0000          .0000       .10000E+07
    14 'norm      '    46.093       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.2963       1.0000          .0000       .10000E+07
    16 'Prefactor '    37.706       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22120E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .82912       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94116       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15508.39     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1167 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9364        6.3093       -.12129E-05    .73980E-03
   2  norm           .0000        1.6925        .34621E-07** at limit **
   3  Prefactor     32.645        6.8893        .71565E-06    .93284E-01
   4  Prefactor     .20824        48.035       -.10717E-04** at limit **
   5  Prefactor     3.3022        8.6165        .26590E-05   -.20293E-01
   6  Prefactor     3.0285        4.2116       -.12579E-06    .11098E-02
   7  norm          .64536        .42580        .33941E-07   -.36643E-02
   8  norm           .0000        1.1419       -.29122E-06** at limit **
   9  Prefactor     20.389        8.5927        .11418E-06   -.40532E-02
  10  Prefactor     12.946        10.447       -.21220E-05   -.19594E-01
  11  norm          1.4468        6.3312        .13365E-05   -.14124E-02
  12  Prefactor     .11102E-09    11.659       -.67000E-06** at limit **
  13  Prefactor      .0000        26.797       -.13580E-05** at limit **
  14  norm          46.355        15.977        .18886E-06   -.65600E-02
  15  Prefactor     2.2867        2.3122       -.18726E-06    .62215E-03
  16  Prefactor     37.100        16.772       -.18814E-05    .26335E-01
  17  Prefactor     .76994E-07    51.940       -.33623E-05** at limit **
  18  Normalizat    .83025        .13207        .11605E-05   -.28003E-03
  19  Prefactor     .94089        .91119E-01    .29181E-05   -.46487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93636
  norm       = 0
  Prefactor  = 32.6452
  Prefactor  = 0.208244
  Prefactor  = 3.30222
  Prefactor  = 3.0285
  norm       = 0.645358
  norm       = 0
  Prefactor  = 20.3892
  Prefactor  = 12.9463
  norm       = 1.44684
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 46.3547
  Prefactor  = 2.28667
  Prefactor  = 37.1
  Prefactor  = 7.6994e-08
  Normalizat = 0.830247
  Prefactor  = 0.940894
 **********
 **   18 **HESSE 
 **********

 FCN=   15508.39     FROM HESSE     STATUS=OK           324 CALLS     1491 TOTAL
                     EDM=   .27E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9364        6.3213        .75921E-03   -1.5680    
   2  norm           .0000        1.6886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.645        19.577        .17459E-03   -1.5594    
   4  Prefactor     .20824        4.3729        .86159E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3022        48.102        .51790E-03   -1.5672    
   6  Prefactor     3.0285        4.9834        .58714E-03   -1.5673    
   7  norm          .64536        .43384        .65211E-03   -1.5692    
   8  norm           .0000        1.1390        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.389        8.9490        .22251E-03   -1.5618    
  10  Prefactor     12.946        21.995        .26865E-03   -1.5636    
  11  norm          1.4468        8.3657        .84147E-03   -1.5684    
  12  Prefactor     .11102E-09    1.8294        .10012E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        27.907        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          46.355        16.072        .14730E-03   -1.5572    
  15  Prefactor     2.2867        2.3308        .67702E-03   -1.5678    
  16  Prefactor     37.100        23.503        .16287E-03   -1.5586    
  17  Prefactor     .76994E-07    52.144        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .83025        .11634        .64749E-01   -.98956    
  19  Prefactor     .94089        .78069E-01    .45527E-01   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6642e-06
Minuit parameter uncertainties:
  1  6.32129
  2  3.02026e-06
  3  19.5768
  4  1.90853
  5  25.2069
  6  4.98342
  7  0.433838
  8  5.28525e-06
  9  8.94897
  10  21.9951
  11  6.95811
  12  3.09154e-05
  13  2.37808e-05
  14  16.0722
  15  2.33083
  16  23.5035
  17  0.00400766
  18  0.116374
  19  0.0780782
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.295e+01  2.200e+01  0.000e+00  1.000e+06 ( 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:  9.409e-01  7.808e-02  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:  8.302e-01  1.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/847936/likelihoodResults_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.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) = 15508.2159276
delta logL = 0.170303916264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15508.2017163
delta logL = 0.184515189874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.0952       1.0000          .0000       .10000E+07
     2 'Index     '    2.8154       1.0000          .0000       10.000    
     3 'Normalizat'    .81800       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94525       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.

 FCN=   15508.20     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      300 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.0941        469.77        .16257E-04   -.70728E-02
   2  Index         2.8154        5.7802        .10471E-01   -.20475E-03
   3  Normalizat    .81802        .16610        .28831E-03   -.52145E-03
   4  Prefactor     .94524        .10229        .19131E-03   -.79111E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.09407
  Index      = 2.81543
  Normalizat = 0.818018
  Prefactor  = 0.945241
 **********
 **   18 **HESSE 
 **********

 FCN=   15508.20     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.0941        16.466        .65029E-06   -1.5659    
   2  Index         2.8154        1.2590        .41883E-03   -.45217    
   3  Normalizat    .81802        .12988        .11532E-04   -.99404    
   4  Prefactor     .94524        .91091E-01    .38261E-04   -.94578    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37812e-09
Minuit parameter uncertainties:
  1  16.4666
  2  1.2761
  3  0.129929
  4  0.0911058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847936': 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) = 15508.2017163
delta logL = 0.184515202713

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  6.094e+00  1.647e+01  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.815e+00  1.276e+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:  9.452e-01  9.111e-02  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:  8.180e-01  1.299e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/847936/cmap_HighResolution_689558401_690163201_4FGL_J2326.2+0113_weekly_bin745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-03', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2022-11-15 01:56:14.572393', job_id='847936', GAL2='0.95', fit_tolerance='1e-08', EG2='0.82', EG='0.83', time_epoch_completed='1668506174.57', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.85e-01', ts2='0.87', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='745' AND source_name='4FGL J2326.2+0113' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Nov 15 01:56:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 847936: <4FGL_J2326.2+0113_weekly_bin745> in cluster <slac> Done

Job <4FGL_J2326.2+0113_weekly_bin745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov 15 01:40:17 2022
Job was executed on host(s) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov 15 01:40:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov 15 01:40:19 2022
Terminated at Tue Nov 15 01:56:15 2022
Results reported at Tue Nov 15 01:56:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_weekly_bin745 351.575 1.2216 689558401 690163201 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 :                                   857.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             350.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            958 sec.

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

