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


Performing analysis on: 4FGL_J2326.2+0113_weekly_bin762
RA = 351.575, Dec = 1.2216
tmin = 699840001, tmax = 700444801
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='19930', job_status='RUN', time_executed='2023-03-14 04:42:39.690336', time_epoch_executed='1678794159.69' WHERE source_name='4FGL J2326.2+0113' and cadence='weekly' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19930

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19930/ft1_4FGL_J2326.2+0113_weekly_bin762.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19930/ft1_4FGL_J2326.2+0113_weekly_bin762.fits outfile=/scratch/kocevski/19930/ft1_filteredMKT_4FGL_J2326.2+0113_weekly_bin762.fits ra=351.575 dec=1.2216 rad=12.0 tmin=699840001.0 tmax=700444801.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.08
user 7.78
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.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/19930/ft1_filteredMKT_4FGL_J2326.2+0113_weekly_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 1307

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/19930/ltcube_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.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/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits
.....................!
real 26.15
user 25.69
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/19930/ltcube_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits outfile=/scratch/kocevski/19930/expmap_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.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/19930/ltcube_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits
.....................!
real 193.28
user 187.70
sys 5.18

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/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits scfile=/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits outfile=/scratch/kocevski/19930/cmap_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.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.60
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits scfile=/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits outfile=/scratch/kocevski/19930/cmap_HighResolution_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.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.60
user 0.42
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits', '/scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits', expMap='/scratch/kocevski/19930/expmap_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits', expCube='/scratch/kocevski/19930/ltcube_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/19930/Model_4FGL_J2326.2+0113_weekly_bin762.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/19930/ft1_filtered_4FGL_J2326.2+0113_weekly_bin762.fits
Spacecraft file(s): /scratch/kocevski/19930/ft2_4FGL_J2326.2+0113_weekly_bin762.fits
Exposure map: /scratch/kocevski/19930/expmap_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits
Exposure cube: /scratch/kocevski/19930/ltcube_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/19930/Model_4FGL_J2326.2+0113_weekly_bin762.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) = 14694.671604

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.286       1.0000          .0000       .10000E+07
     2 'norm      '    .44686E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    41.264       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.055       1.0000          .0000       .10000E+07
     5 'Prefactor '    101.92       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14902E-04   1.0000          .0000       .10000E+07
     7 'norm      '    4.0671       1.0000          .0000       .10000E+07
     8 'norm      '    4.8273       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24493E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .68195E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .14014E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    6.9830       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34482E-04   1.0000          .0000       .10000E+07
    14 'norm      '    15.784       1.0000          .0000       .10000E+07
    15 'Prefactor '    7.8212       1.0000          .0000       .10000E+07
    16 'Prefactor '    .35878E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19256E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .73725       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1917       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=   14694.60     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1428 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.281        12.805        .84535E-09   -.12816E-01
   2  norm           .0000        2.3500        .59742E-09** at limit **
   3  Prefactor     40.842        2.8022       -.18772E-09   -.41438E-02
   4  Prefactor     13.171        10.716        .11969E-07   -.16928    
   5  Prefactor     101.45        47.033       -.82285E-08    .46807E-01
   6  Prefactor     .38858E-09    4.7204        .44549E-09** at limit **
   7  norm          4.0662        .99862       -.49664E-10    .18799E-01
   8  norm          4.8303        4.2488        .11406E-08   -.57240E-02
   9  Prefactor     .81884E-06    13.321        .16861E-07** at limit **
  10  Prefactor     .10363E-05    32.242        .14625E-07** at limit **
  11  norm          .55511E-10    2.6861        .71622E-09** at limit **
  12  Prefactor     6.9641        4.9256        .26216E-09   -.52037E-02
  13  Prefactor     .59952E-08    6.3286       -.19267E-08** at limit **
  14  norm          15.945        6.5940       -.44346E-08    .27815E-01
  15  Prefactor     7.8155        4.0912        .12761E-08   -.10703E-01
  16  Prefactor     .84394E-06    29.704       -.16671E-07** at limit **
  17  Prefactor     .46152E-06    12.626       -.98544E-08** at limit **
  18  Normalizat    .73744        .16934       -.77131E-08   -.69253E-03
  19  Prefactor     1.1917        .11132       -.35658E-08   -.15209E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2806
  norm       = 0
  Prefactor  = 40.8417
  Prefactor  = 13.1713
  Prefactor  = 101.445
  Prefactor  = 3.88578e-10
  norm       = 4.06615
  norm       = 4.83026
  Prefactor  = 8.18845e-07
  Prefactor  = 1.03634e-06
  norm       = 5.55112e-11
  Prefactor  = 6.96412
  Prefactor  = 5.9952e-09
  norm       = 15.9451
  Prefactor  = 7.81554
  Prefactor  = 8.43936e-07
  Prefactor  = 4.6152e-07
  Normalizat = 0.737442
  Prefactor  = 1.19173
 **********
 **   18 **HESSE 
 **********

 FCN=   14694.60     FROM HESSE     STATUS=OK           306 CALLS     1734 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.281        12.802        .22779E-03   -1.5620    
   2  norm           .0000        2.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     40.842        25.413        .15569E-03   -1.5580    
   4  Prefactor     13.171        10.723        .27697E-03   -1.5635    
   5  Prefactor     101.45        47.032        .99058E-04   -1.5507    
   6  Prefactor     .38858E-09    4.7186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.0662        1.0013        .49971E-03   -1.5668    
   8  norm          4.8303        4.2657        .45763E-03   -1.5664    
   9  Prefactor     .81884E-06    14.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10363E-05    32.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    2.6819        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9641        4.9294        .37940E-03   -1.5655    
  13  Prefactor     .59952E-08    6.3368        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.945        18.161        .25184E-03   -1.5628    
  15  Prefactor     7.8155        4.6435        .35831E-03   -1.5652    
  16  Prefactor     .84394E-06    29.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .46152E-06    13.112        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .73744        .15116        .81033E-01   -1.0243    
  19  Prefactor     1.1917        .98772E-01    .34829E-01   -.86586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96856e-07
Minuit parameter uncertainties:
  1  12.8016
  2  4.38085e-06
  3  25.4128
  4  10.7233
  5  47.0323
  6  8.61127e-05
  7  1.00125
  8  4.26571
  9  0.00686063
  10  0.0115892
  11  2.63369e-05
  12  4.92945
  13  0.000389967
  14  18.1614
  15  4.64353
  16  0.0100172
  17  0.00491998
  18  0.151247
  19  0.098787
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.036e-06  1.159e-02  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:  1.192e+00  9.879e-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:  7.374e-01  1.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/19930/likelihoodResults_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.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) = 14694.6199935
delta logL = -0.015519595232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 14694.6044739
delta logL = 1.2842065189e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22898E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.3111       1.0000          .0000       10.000    
     3 'Normalizat'    .73746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1917       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.

 FCN=   14694.60     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      236 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4110.5        .42118E-03** at limit **
   2  Index         2.1110        8.1422        .50000        .90949E-11
   3  Normalizat    .73744        .47356E-01    .81033E-01    .14431E-03
   4  Prefactor     1.1917        .32895E-01    .34829E-01    .15141E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.11104
  Normalizat = 0.737442
  Prefactor  = 1.19173
 **********
 **   18 **HESSE 
 **********

 FCN=   14694.60     FROM HESSE     STATUS=OK            27 CALLS      263 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    203.98        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1110        6.3577        .50000       -.61602    
   3  Normalizat    .73744        .15790        .35880E-03   -1.0243    
   4  Prefactor     1.1917        .10999        .19961E-03   -.86586    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68581e-11
Minuit parameter uncertainties:
  1  0.000209073
  2  10.1649
  3  0.157994
  4  0.110007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19930': 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) = 14694.6044739
delta logL = 1.62763171829e-08

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  5.551e-11  2.091e-04  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.111e+00  1.016e+01  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.192e+00  1.100e-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:  7.374e-01  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/19930/cmap_HighResolution_699840001_700444801_4FGL_J2326.2+0113_weekly_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.72e-03', job_status='DONE', photon_flux_upper_limit='3.59e-08', time_completed='2023-03-14 04:56:56.393477', job_id='19930', GAL2='1.19', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1678795016.39', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='762' AND source_name='4FGL J2326.2+0113' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Mar 14 04:56:56 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 19930: <4FGL_J2326.2+0113_weekly_bin762> in cluster <slac> Done

Job <4FGL_J2326.2+0113_weekly_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 04:40:19 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 04:40:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 04:40:20 2023
Terminated at Tue Mar 14 04:56:57 2023
Results reported at Tue Mar 14 04:56:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_weekly_bin762 351.575 1.2216 699840001 700444801 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 :                                   855.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             314.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            998 sec.

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

