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


Performing analysis on: 4FGL_J2326.2+0113_weekly_bin759
RA = 351.575, Dec = 1.2216
tmin = 698025601, tmax = 698630401
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='610475', job_status='RUN', time_executed='2023-02-21 04:53:23.551392', time_epoch_executed='1676984003.55' WHERE source_name='4FGL J2326.2+0113' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/610475

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/610475/ft1_4FGL_J2326.2+0113_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/610475/ft1_4FGL_J2326.2+0113_weekly_bin759.fits outfile=/scratch/kocevski/610475/ft1_filteredMKT_4FGL_J2326.2+0113_weekly_bin759.fits ra=351.575 dec=1.2216 rad=12.0 tmin=698025601.0 tmax=698630401.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.28
sys 0.30

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

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

Number of photons that the gtmktime cut: 963

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/610475/ft1_filtered_4FGL_J2326.2+0113_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/610475/ltcube_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.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/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits
.....................!
real 28.21
user 27.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/610475/ft1_filtered_4FGL_J2326.2+0113_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/610475/ltcube_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.fits outfile=/scratch/kocevski/610475/expmap_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.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/610475/ltcube_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.fits
.....................!
real 191.84
user 186.22
sys 5.22

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/610475/ft1_filtered_4FGL_J2326.2+0113_weekly_bin759.fits scfile=/scratch/kocevski/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits outfile=/scratch/kocevski/610475/cmap_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/610475/ft1_filtered_4FGL_J2326.2+0113_weekly_bin759.fits scfile=/scratch/kocevski/610475/ft2_4FGL_J2326.2+0113_weekly_bin759.fits outfile=/scratch/kocevski/610475/cmap_HighResolution_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.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.58
user 0.39
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9307       1.0000          .0000       .10000E+07
     2 'norm      '    .37420E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16477E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    9.5377       1.0000          .0000       .10000E+07
     5 'Prefactor '    56.975       1.0000          .0000       .10000E+07
     6 'Prefactor '    .79146E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .56094       1.0000          .0000       .10000E+07
     8 'norm      '    .15393E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7233       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.7466       1.0000          .0000       .10000E+07
    11 'norm      '    .40318E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.1540       1.0000          .0000       .10000E+07
    13 'Prefactor '    11.004       1.0000          .0000       .10000E+07
    14 'norm      '    .61018E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .68079E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.266       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.961       1.0000          .0000       .10000E+07
    18 'Normalizat'    .49411       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1598       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=   11371.47     FROM MIGRAD    STATUS=CONVERGED    119 CALLS     1397 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1018        3.5469        .83732E-07   -.14754E-01
   2  norm          .99920E-09    4.6241       -.23665E-06** at limit **
   3  Prefactor      .0000        19.114        .28565E-06** at limit **
   4  Prefactor     9.3690        8.6155        .17281E-06    .34572E-01
   5  Prefactor     57.488        39.691        .93049E-07   -.42353E-01
   6  Prefactor     .27200E-08    13.698        .10250E-05** at limit **
   7  norm          .56206        .62204        .83974E-08   -.44318E-03
   8  norm           .0000        2.8235       -.22837E-07** at limit **
   9  Prefactor     3.6279        6.2169       -.34224E-06    .98920E-03
  10  Prefactor     9.9904        9.0556       -.20935E-07    .82851E-01
  11  norm          .16653E-09    3.7976        .30355E-06** at limit **
  12  Prefactor     3.1626        5.1252       -.35347E-06    .48515E-03
  13  Prefactor     11.111        1.8237        .58242E-08   -.41297E-01
  14  norm          .13878E-08    4.4704       -.15465E-06** at limit **
  15  Prefactor      .0000        .94149        .46829E-08** at limit **
  16  Prefactor     13.346        1.2498        .14266E-07   -.19303E-01
  17  Prefactor     11.044        10.576       -.42048E-07   -.10116E-01
  18  Normalizat    .49327        .16396        .43331E-05   -.28305E-04
  19  Prefactor     1.1601        .11170       -.29937E-05   -.10290E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.10181
  norm       = 9.99201e-10
  Prefactor  = 0
  Prefactor  = 9.36901
  Prefactor  = 57.4884
  Prefactor  = 2.72005e-09
  norm       = 0.562057
  norm       = 0
  Prefactor  = 3.62793
  Prefactor  = 9.99039
  norm       = 1.66533e-10
  Prefactor  = 3.1626
  Prefactor  = 11.1106
  norm       = 1.38778e-09
  Prefactor  = 0
  Prefactor  = 13.3463
  Prefactor  = 11.0443
  Normalizat = 0.493272
  Prefactor  = 1.16015
 **********
 **   18 **HESSE 
 **********

 FCN=   11371.47     FROM HESSE     STATUS=OK           308 CALLS     1705 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1018        10.399        .50859E-03   -1.5667    
   2  norm          .99920E-09    7.1224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        18.868        .17280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3690        9.0317        .32425E-03   -1.5647    
   5  Prefactor     57.488        40.899        .13249E-03   -1.5556    
   6  Prefactor     .27200E-08    13.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .56206        .63835        .72802E-03   -1.5693    
   8  norm           .0000        2.8082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6279        6.3376        .52307E-03   -1.5670    
  10  Prefactor     9.9904        32.737        .32074E-03   -1.5645    
  11  norm          .16653E-09    3.7894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.1626        5.2132        .57049E-03   -1.5672    
  13  Prefactor     11.111        14.417        .30177E-03   -1.5641    
  14  norm          .13878E-08    7.0169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .94165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.346        14.670        .27475E-03   -1.5635    
  17  Prefactor     11.044        12.634        .30236E-03   -1.5641    
  18  Normalizat    .49327        .15296        .84926E-01   -1.1273    
  19  Prefactor     1.1601        .10127        .35658E-01   -.87567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32212e-07
Minuit parameter uncertainties:
  1  10.3993
  2  0.000169751
  3  1.69646e-05
  4  9.03173
  5  40.8995
  6  0.00038456
  7  0.638346
  8  3.31365e-06
  9  6.33757
  10  32.7378
  11  4.9709e-05
  12  5.2132
  13  14.4169
  14  0.000198425
  15  3.86917e-07
  16  14.6702
  17  12.6336
  18  0.153093
  19  0.101287
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  9.990e+00  3.274e+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:  1.160e+00  1.013e-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.933e-01  1.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/610475/likelihoodResults_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.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) = 11371.3029325
delta logL = 0.165771114534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11371.2739516
delta logL = 0.194752088102

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.589       1.0000          .0000       .10000E+07
     2 'Index     '    1.4330       1.0000          .0000       10.000    
     3 'Normalizat'    .49696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1574       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=   11371.27     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      298 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.576        41.245        .80683E-05   -.76089E-04
   2  Index         1.4332        .77902        .17718E-01   -.23502E-03
   3  Normalizat    .49698        .15856        .37484E-03    .39550E-04
   4  Prefactor     1.1574        .11133        .17617E-03   -.64919E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5764
  Index      = 1.43325
  Normalizat = 0.496978
  Prefactor  = 1.15741
 **********
 **   18 **HESSE 
 **********

 FCN=   11371.27     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.576        41.681        .32273E-06   -1.5609    
   2  Index         1.4332        .78820        .35436E-02   -.79427    
   3  Normalizat    .49698        .15864        .14993E-04   -1.1256    
   4  Prefactor     1.1574        .11139        .70468E-05   -.87652    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5345e-11
Minuit parameter uncertainties:
  1  41.6816
  2  0.795001
  3  0.15878
  4  0.111411
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/610475': 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) = 11371.2739513
delta logL = 0.194752346617

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  2.458e+01  4.168e+01  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  1.433e+00  7.950e-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.157e+00  1.114e-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.970e-01  1.588e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.11
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/610475/cmap_HighResolution_698025601_698630401_4FGL_J2326.2+0113_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2023-02-21 05:05:36.910123', job_id='610475', GAL2='1.16', fit_tolerance='1e-08', EG2='0.50', EG='0.49', time_epoch_completed='1676984736.91', return_code2='0', ts='0.11', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.95e-01', ts2='0.50', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='759' AND source_name='4FGL J2326.2+0113' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 05:05:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 610475: <4FGL_J2326.2+0113_weekly_bin759> in cluster <slac> Done

Job <4FGL_J2326.2+0113_weekly_bin759> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Feb 21 04:50:24 2023
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 04:50:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 04:50:25 2023
Terminated at Tue Feb 21 05:05:37 2023
Results reported at Tue Feb 21 05:05:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_weekly_bin759 351.575 1.2216 698025601 698630401 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 :                                   734.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            913 sec.

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

