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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1778
RA = 351.575, Dec = 1.2216
tmin = 700185601, 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='983691', job_status='RUN', time_executed='2023-03-14 02:29:21.321133', time_epoch_executed='1678786161.32' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983691

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

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=700185601.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>=700185601.0 && nMetStart<700444801.0' /Data/Flight/Level1/LPA

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983691/ft1_4FGL_J2326.2+0113_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983691/ft1_4FGL_J2326.2+0113_daily_bin1778.fits outfile=/scratch/kocevski/983691/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1778.fits ra=351.575 dec=1.2216 rad=12.0 tmin=700185601.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 3.93
user 3.72
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.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/983691/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/983691/ft1_filtered_4FGL_J2326.2+0113_daily_bin1778.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 524

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983691/ft1_filtered_4FGL_J2326.2+0113_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/983691/ltcube_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.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/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits
.....................!
real 11.75
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983691/ft1_filtered_4FGL_J2326.2+0113_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/983691/ltcube_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.fits outfile=/scratch/kocevski/983691/expmap_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.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/983691/ltcube_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.fits
.....................!
real 189.90
user 185.24
sys 4.34

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/983691/ft1_filtered_4FGL_J2326.2+0113_daily_bin1778.fits scfile=/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits outfile=/scratch/kocevski/983691/cmap_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983691/ft1_filtered_4FGL_J2326.2+0113_daily_bin1778.fits scfile=/scratch/kocevski/983691/ft2_4FGL_J2326.2+0113_daily_bin1778.fits outfile=/scratch/kocevski/983691/cmap_HighResolution_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.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.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.150       1.0000          .0000       .10000E+07
     2 'norm      '    .69073E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.696       1.0000          .0000       .10000E+07
     4 'Prefactor '    22.056       1.0000          .0000       .10000E+07
     5 'Prefactor '    59.663       1.0000          .0000       .10000E+07
     6 'Prefactor '    .20872E-07   1.0000          .0000       .10000E+07
     7 'norm      '    5.2881       1.0000          .0000       .10000E+07
     8 'norm      '    6.2091       1.0000          .0000       .10000E+07
     9 'Prefactor '    .17902E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33304E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .99305E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.4655       1.0000          .0000       .10000E+07
    13 'Prefactor '    .61881E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .57092E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    14.467       1.0000          .0000       .10000E+07
    16 'Prefactor '    .15609       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16033E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .41184       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3716       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=   5911.708     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1503 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.786        20.502        .16353E-05   -.13948E-02
   2  norm          .55511E-10    4.9833       -.21710E-06** at limit **
   3  Prefactor     18.213        3.4027       -.36455E-06    .15775E-01
   4  Prefactor     21.507        6.7906        .12786E-05   -.33460E-02
   5  Prefactor     53.556        70.182       -.31834E-05    .15420E-03
   6  Prefactor     .16653E-09    7.6616       -.17045E-06** at limit **
   7  norm          5.2912        1.6990       -.15421E-07    .55043E-02
   8  norm          6.2782        6.8909        .33952E-07    .19784E-03
   9  Prefactor     .55511E-10    54.710       -.22871E-05** at limit **
  10  Prefactor     .11102E-09    14.674        .75818E-06** at limit **
  11  norm          .12212E-08    13.043        .45613E-05** at limit **
  12  Prefactor     2.4724        5.2705        .40318E-06    .12215E-02
  13  Prefactor     .22204E-09    46.244        .13496E-05** at limit **
  14  norm          .18874E-08    12.261       -.35554E-05** at limit **
  15  Prefactor     14.481        6.6543       -.68552E-07    .25893E-03
  16  Prefactor     .33307E-09    45.808        .46105E-06** at limit **
  17  Prefactor     .19429E-08    58.201        .19663E-05** at limit **
  18  Normalizat    .41786        .25477        .25599E-04    .77341E-04
  19  Prefactor     1.3699        .17557       -.36387E-05    .14609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.7856
  norm       = 5.55112e-11
  Prefactor  = 18.2132
  Prefactor  = 21.5074
  Prefactor  = 53.5559
  Prefactor  = 1.66533e-10
  norm       = 5.29123
  norm       = 6.27818
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 1.22125e-09
  Prefactor  = 2.47237
  Prefactor  = 2.22045e-10
  norm       = 1.88738e-09
  Prefactor  = 14.481
  Prefactor  = 3.33067e-10
  Prefactor  = 1.94289e-09
  Normalizat = 0.417859
  Prefactor  = 1.36993
 **********
 **   18 **HESSE 
 **********

 FCN=   5911.708     FROM HESSE     STATUS=OK           312 CALLS     1815 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.786        20.640        .18525E-03   -1.5601    
   2  norm          .55511E-10    4.9869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.213        32.138        .23136E-03   -1.5623    
   4  Prefactor     21.507        17.556        .21298E-03   -1.5615    
   5  Prefactor     53.556        70.780        .12947E-03   -1.5562    
   6  Prefactor     .16653E-09    7.6914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2912        1.7076        .43684E-03   -1.5662    
   8  norm          6.2782        6.9100        .40263E-03   -1.5658    
   9  Prefactor     .55511E-10    5.3535        .11291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    14.946        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12212E-08    13.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.4724        5.3345        .65101E-03   -1.5677    
  13  Prefactor     .22204E-09    46.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .18874E-08    12.932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.481        6.6979        .26307E-03   -1.5632    
  16  Prefactor     .33307E-09    45.407        .12616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .19429E-08    58.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .41786        .25945        .10275       -1.1639    
  19  Prefactor     1.3699        .17366        .31466E-01   -.81251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51769e-08
Minuit parameter uncertainties:
  1  20.6405
  2  3.77649e-05
  3  32.1379
  4  17.5563
  5  70.7809
  6  7.54974e-05
  7  1.70758
  8  6.91005
  9  3.26845e-05
  10  7.23965e-05
  11  0.000260806
  12  5.33456
  13  0.000189801
  14  0.000312817
  15  6.69786
  16  0.00025233
  17  0.000670427
  18  0.2602
  19  0.173734
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.110e-10  7.240e-05  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.370e+00  1.737e-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.179e-01  2.602e-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: 4.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/983691/likelihoodResults_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.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) = 5911.73957348
delta logL = -0.0319210708922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5911.70765244
delta logL = -3.64316292689e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15726E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.7158       1.0000          .0000       10.000    
     3 'Normalizat'    .41784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3700       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=   5911.708     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      197 TOTAL
                     EDM=   .12E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        17.773        .46875E-06** at limit **
   2  Index         1.9379        5.3977       -.28704E-04     .0000    
   3  Normalizat    .41786        .24168       -.21322E-04   -.16008E-04
   4  Prefactor     1.3699        .17434        .69733E-05   -.46661E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.93792
  Normalizat = 0.417859
  Prefactor  = 1.36993
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5911.708     FROM HESSE     STATUS=FAILED        11 CALLS      208 TOTAL
                     EDM=   .12E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        17.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .39798        1.6569       -.28704E-04   -.65911    
   3  Normalizat    .41786        .74034       -.21322E-04   -1.1639    
   4  Prefactor     1.3699        1.0649        .69733E-05   -.81251    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.15253e-12
Minuit parameter uncertainties:
  1  2.79848e-05
  2  1.09621
  3  0.758837
  4  1.08275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983691': 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): 101
logL (Free Index) = 5911.70765241
delta logL = 1.36424205266e-11

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  1.370e+00  1.083e+00  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.179e-01  7.588e-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/983691/cmap_HighResolution_700185601_700444801_4FGL_J2326.2+0113_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.76e-03', job_status='DONE', photon_flux_upper_limit='4.97e-08', time_completed='2023-03-14 02:37:48.264008', job_id='983691', GAL2='1.37', fit_tolerance='1e-08', EG2='0.42', EG='0.42', time_epoch_completed='1678786668.26', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='1.36e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1778' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 02:37:48 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0012>
Subject: Job 983691: <4FGL_J2326.2+0113_daily_bin1778> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1778> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 02:25:14 2023
Job was executed on host(s) <bullet0012>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 02:25:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 02:25:15 2023
Terminated at Tue Mar 14 02:37:49 2023
Results reported at Tue Mar 14 02:37:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1778 351.575 1.2216 700185601 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 :                                   509.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             218.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            755 sec.

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

