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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1777
RA = 351.575, Dec = 1.2216
tmin = 699926401, tmax = 700185601
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='927751', job_status='RUN', time_executed='2023-03-11 01:39:17.056459', time_epoch_executed='1678527557.06' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1777'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927751

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927751/ft1_4FGL_J2326.2+0113_daily_bin1777.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927751/ft2_4FGL_J2326.2+0113_daily_bin1777.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927751/ft1_4FGL_J2326.2+0113_daily_bin1777.fits outfile=/scratch/kocevski/927751/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1777.fits ra=351.575 dec=1.2216 rad=12.0 tmin=699926401.0 tmax=700185601.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.64
user 3.43
sys 0.18

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

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

Number of photons that the gtmktime cut: 601

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927751/ft1_filtered_4FGL_J2326.2+0113_daily_bin1777.fits evtable="EVENTS" scfile=/scratch/kocevski/927751/ft2_4FGL_J2326.2+0113_daily_bin1777.fits sctable="SC_DATA" expcube=/scratch/kocevski/927751/ltcube_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.fits outfile=/scratch/kocevski/927751/expmap_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.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/927751/ltcube_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.fits
.....................!
real 190.93
user 185.83
sys 4.67

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/927751/ft1_filtered_4FGL_J2326.2+0113_daily_bin1777.fits scfile=/scratch/kocevski/927751/ft2_4FGL_J2326.2+0113_daily_bin1777.fits outfile=/scratch/kocevski/927751/cmap_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927751/ft1_filtered_4FGL_J2326.2+0113_daily_bin1777.fits scfile=/scratch/kocevski/927751/ft2_4FGL_J2326.2+0113_daily_bin1777.fits outfile=/scratch/kocevski/927751/cmap_HighResolution_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.157       1.0000          .0000       .10000E+07
     2 'norm      '    .37109E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    107.34       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.806       1.0000          .0000       .10000E+07
     5 'Prefactor '    134.77       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17207E-02   1.0000          .0000       .10000E+07
     7 'norm      '    3.8328       1.0000          .0000       .10000E+07
     8 'norm      '    6.8497       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3514       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28186E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .30351E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    12.545       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29353E-02   1.0000          .0000       .10000E+07
    14 'norm      '    48.077       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86128       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8924       1.0000          .0000       .10000E+07
    17 'Prefactor '    .27590E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .85286       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1176       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=   6715.697     FROM MIGRAD    STATUS=CONVERGED    145 CALLS     1475 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.950        13.722       -.58878E-05   -.86867E-01
   2  norm          .11102E-09    4.7644        .87140E-06** at limit **
   3  Prefactor     107.37        15.280       -.32308E-05    .39295    
   4  Prefactor     11.614        17.989       -.10396E-04   -.22865E-01
   5  Prefactor     129.26        69.712       -.43924E-05    .12638E-02
   6  Prefactor     .17208E-08    22.658       -.54954E-06** at limit **
   7  norm          3.8351        1.4535        .38874E-07    .62004E-02
   8  norm          6.8302        7.5198       -.30263E-07   -.18554E-02
   9  Prefactor     3.3746        8.6995       -.27544E-05   -.37693E-03
  10  Prefactor     .83267E-09    20.737       -.49400E-05** at limit **
  11  norm           .0000        4.4121       -.30938E-05** at limit **
  12  Prefactor     12.578        8.7072       -.15183E-05   -.50092E-02
  13  Prefactor     .61062E-09    9.4195        .29968E-06** at limit **
  14  norm          48.678        34.110       -.53094E-05   -.87633E-01
  15  Prefactor     .79450        12.475       -.11760E-06    .58767E-02
  16  Prefactor     .48543        161.00       -.15624E-04   -.24535E-02
  17  Prefactor     .27756E-09    9.9817       -.28762E-05** at limit **
  18  Normalizat    .85997        .26555        .69527E-04    .15923E-03
  19  Prefactor     1.1157        .16877       -.13483E-04    .43482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.9498
  norm       = 1.11022e-10
  Prefactor  = 107.366
  Prefactor  = 11.6141
  Prefactor  = 129.255
  Prefactor  = 1.72085e-09
  norm       = 3.83506
  norm       = 6.83022
  Prefactor  = 3.37456
  Prefactor  = 8.32667e-10
  norm       = 0
  Prefactor  = 12.5779
  Prefactor  = 6.10623e-10
  norm       = 48.6775
  Prefactor  = 0.794497
  Prefactor  = 0.485427
  Prefactor  = 2.77556e-10
  Normalizat = 0.859973
  Prefactor  = 1.1157
 **********
 **   18 **HESSE 
 **********

 FCN=   6715.697     FROM HESSE     STATUS=OK           308 CALLS     1783 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.950        21.362        .20351E-03   -1.5610    
   2  norm          .11102E-09    4.7776        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     107.37        50.476        .96527E-04   -1.5501    
   4  Prefactor     11.614        23.366        .29130E-03   -1.5640    
   5  Prefactor     129.26        72.285        .86145E-04   -1.5481    
   6  Prefactor     .17208E-08    22.625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8351        1.4615        .51527E-03   -1.5669    
   8  norm          6.8302        7.6058        .38312E-03   -1.5656    
   9  Prefactor     3.3746        8.7265        .55258E-03   -1.5671    
  10  Prefactor     .83267E-09    20.727        .16548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        4.4061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     12.578        8.7329        .28256E-03   -1.5637    
  13  Prefactor     .61062E-09    9.4348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          48.678        36.903        .14423E-03   -1.5568    
  15  Prefactor     .79450        14.165        .48475E-03   -1.5690    
  16  Prefactor     .48543        1417.3        .59727E-03   -1.5694    
  17  Prefactor     .27756E-09    9.9928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .85997        .24010        .78128E-01   -.97881    
  19  Prefactor     1.1157        .14783        .36954E-01   -.88966    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10935e-06
Minuit parameter uncertainties:
  1  21.3619
  2  4.61543e-05
  3  50.4766
  4  23.3659
  5  72.2853
  6  0.000397459
  7  1.46145
  8  7.60579
  9  8.72652
  10  0.000263203
  11  1.52979e-05
  12  8.73293
  13  0.000153638
  14  36.9028
  15  6.70943
  16  52.471
  17  0.000106267
  18  0.240398
  19  0.147882
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  8.327e-10  2.632e-04  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.116e+00  1.479e-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:  8.600e-01  2.404e-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: 6.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927751/likelihoodResults_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.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) = 6715.71975905
delta logL = -0.0230175780471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6715.69674192
delta logL = -4.50419065601e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53418E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .54882       1.0000          .0000       10.000    
     3 'Normalizat'    .86005       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1156       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=   6715.697     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      236 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    17.935        .42118E-03** at limit **
   2  Index         2.5891        6.2923        .40351        .19722E-09
   3  Normalizat    .85998        .21216        .78128E-01    .91694E-03
   4  Prefactor     1.1157        .14518        .37021E-01    .12742E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Index      = 2.58905
  Normalizat = 0.85998
  Prefactor  = 1.11569
 **********
 **   18 **HESSE 
 **********

 FCN=   6715.697     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    3422.4        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5891        6.5375        .50000       -.50315    
   3  Normalizat    .85998        .17624        .34583E-03   -.97881    
   4  Prefactor     1.1157        .12081        .20926E-03   -.88967    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.41395e-08
Minuit parameter uncertainties:
  1  0.00442082
  2  67.1857
  3  0.176356
  4  0.12084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927751': 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): 102
logL (Free Index) = 6715.69674147
delta logL = -6.86668499839e-10

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.443e-09  4.421e-03  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  2.589e+00  6.719e+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.116e+00  1.208e-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:  8.600e-01  1.764e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/927751/cmap_HighResolution_699926401_700185601_4FGL_J2326.2+0113_daily_bin1777.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.64e-03', job_status='DONE', photon_flux_upper_limit='6.13e-08', time_completed='2023-03-11 01:48:39.870151', job_id='927751', GAL2='1.12', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1678528119.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-6.87e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1777' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Mar 11 01:48:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 927751: <4FGL_J2326.2+0113_daily_bin1777> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1777> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Mar 11 01:35:22 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Mar 11 01:35:24 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Mar 11 01:35:24 2023
Terminated at Sat Mar 11 01:48:40 2023
Results reported at Sat Mar 11 01:48:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1777 351.575 1.2216 699926401 700185601 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 :                                   563.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             269.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

