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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin1745
RA = 351.575, Dec = 1.2216
tmin = 691632001, tmax = 691891201
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='658824', job_status='RUN', time_executed='2022-12-05 01:31:35.780878', time_epoch_executed='1670232695.78' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658824/ft1_4FGL_J2326.2+0113_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658824/ft2_4FGL_J2326.2+0113_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658824/ft1_4FGL_J2326.2+0113_daily_bin1745.fits outfile=/scratch/kocevski/658824/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin1745.fits ra=351.575 dec=1.2216 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.37
user 2.15
sys 0.21

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

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

Number of photons that the gtmktime cut: 633

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658824/ft1_filtered_4FGL_J2326.2+0113_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658824/ft2_4FGL_J2326.2+0113_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658824/ltcube_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.fits outfile=/scratch/kocevski/658824/expmap_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.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/658824/ltcube_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.fits
.....................!
real 190.62
user 185.36
sys 4.95

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/658824/ft1_filtered_4FGL_J2326.2+0113_daily_bin1745.fits scfile=/scratch/kocevski/658824/ft2_4FGL_J2326.2+0113_daily_bin1745.fits outfile=/scratch/kocevski/658824/cmap_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.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.56
user 0.38
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.216       1.0000          .0000       .10000E+07
     2 'norm      '    .18650E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.974       1.0000          .0000       .10000E+07
     4 'Prefactor '    .33084E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .54000E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10071E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .66314       1.0000          .0000       .10000E+07
     8 'norm      '    .67354       1.0000          .0000       .10000E+07
     9 'Prefactor '    .25376E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .57552E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .33098E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    10.137       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12164E-02   1.0000          .0000       .10000E+07
    14 'norm      '    7.2662       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13542E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    5.5587       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.9964       1.0000          .0000       .10000E+07
    18 'Normalizat'    .91073       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0828       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=   6940.919     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1114 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.002        3.5936        .88961E-07   -.13036E-01
   2  norm           .0000        14.358        .24978E-06** at limit **
   3  Prefactor     10.996        33.357        .14988E-05    .10658E-01
   4  Prefactor     .10492E-07    7.6805        .16181E-06** at limit **
   5  Prefactor     .19817E-07    13.316        .30889E-06** at limit **
   6  Prefactor     .22204E-09    3.0141       -.11676E-06** at limit **
   7  norm          .66208        .60461        .85279E-07    .13105E-02
   8  norm          .68375        5.7311       -.44656E-06   -.26064E-04
   9  Prefactor     .55511E-10    1.7673       -.10012E-06** at limit **
  10  Prefactor     .15765E-07    6.0842       -.30319E-06** at limit **
  11  norm           .0000        1.6460        .34005E-07** at limit **
  12  Prefactor     10.162        6.3802        .59203E-07    .46763E-03
  13  Prefactor     .50349E-07    7.2840       -.32009E-07** at limit **
  14  norm          7.3604        12.018        .35531E-06    .14874E-01
  15  Prefactor     .66835E-07    9.2043        .47828E-06** at limit **
  16  Prefactor     5.2696        8.8497        .74208E-06   -.34961E-01
  17  Prefactor     2.9748        1.3738        .94408E-08    .24528E-02
  18  Normalizat    .91208        .21159        .60416E-05    .33201E-04
  19  Prefactor     1.0826        .14747       -.44991E-05    .48172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.0019
  norm       = 0
  Prefactor  = 10.9957
  Prefactor  = 1.04916e-08
  Prefactor  = 1.98175e-08
  Prefactor  = 2.22045e-10
  norm       = 0.662076
  norm       = 0.683748
  Prefactor  = 5.55112e-11
  Prefactor  = 1.57652e-08
  norm       = 0
  Prefactor  = 10.1618
  Prefactor  = 5.03486e-08
  norm       = 7.36036
  Prefactor  = 6.68354e-08
  Prefactor  = 5.26964
  Prefactor  = 2.97481
  Normalizat = 0.912084
  Prefactor  = 1.08265
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.919     FROM HESSE     STATUS=OK           312 CALLS     1426 TOTAL
                     EDM=   .96E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.002        18.627        .18195E-03   -1.5598    
   2  norm           .0000        5.2726        .62046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.996        34.080        .28925E-03   -1.5642    
   4  Prefactor     .10492E-07    7.8302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19817E-07    14.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .22204E-09    3.0150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .66208        .60323        .63753E-03   -1.5692    
   8  norm          .68375        5.7396        .62882E-03   -1.5691    
   9  Prefactor     .55511E-10    1.7658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .15765E-07    12.243        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        1.6493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.162        6.3863        .31447E-03   -1.5644    
  13  Prefactor     .50349E-07    11.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3604        12.288        .37186E-03   -1.5654    
  15  Prefactor     .66835E-07    9.8838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2696        35.194        .42589E-03   -1.5662    
  17  Prefactor     2.9748        24.124        .58616E-03   -1.5673    
  18  Normalizat    .91208        .18569        .66849E-01   -.96037    
  19  Prefactor     1.0826        .12782        .38281E-01   -.90023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57442e-07
Minuit parameter uncertainties:
  1  18.6275
  2  1.76294e-05
  3  34.0806
  4  0.000573695
  5  0.00105541
  6  4.98744e-05
  7  0.603229
  8  3.96205
  9  1.60452e-05
  10  0.000879123
  11  1.06133e-05
  12  6.38631
  13  0.0015013
  14  12.2883
  15  0.00162538
  16  27.2371
  17  16.943
  18  0.18582
  19  0.127855
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.577e-08  8.791e-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.083e+00  1.279e-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:  9.121e-01  1.858e-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.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658824/likelihoodResults_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.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) = 6940.95813018
delta logL = -0.0389900428363

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6940.91914081
delta logL = -6.68028405926e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11974E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.5598       1.0000          .0000       10.000    
     3 'Normalizat'    .91186       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0828       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6940.919     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      241 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.3790        .42118E-03** at limit **
   2  Index         .47135        .60929       -.45276E-04     .0000    
   3  Normalizat    .91208        1.2468        .48494E-05    .10414E-03
   4  Prefactor     1.0826        1.1606        .23605E-05    .20932E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.471354
  Normalizat = 0.912084
  Prefactor  = 1.08265
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6940.919     FROM HESSE     STATUS=FAILED         9 CALLS      250 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.3790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13063E-01    .64949       -.45276E-04   -1.1331    
   3  Normalizat    .91208        1.2468        .48494E-05   -.96037    
   4  Prefactor     1.0826        1.1606        .23605E-05   -.90023    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.39082e-11
Minuit parameter uncertainties:
  1  1.74942e-06
  2  0.618017
  3  1.28997
  4  1.18939
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658824': 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) = 6940.91914014
delta logL = 6.3118932303e-10

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  0.000e+00  1.749e-06  0.000e+00  1.000e+06 ( 1.000e-14)
407        Index:  4.714e-01  6.180e-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.083e+00  1.189e+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:  9.121e-01  1.290e+00  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/658824/cmap_HighResolution_691632001_691891201_4FGL_J2326.2+0113_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-03', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2022-12-05 01:40:30.599395', job_id='658824', GAL2='1.08', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1670233230.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='6.31e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1745' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:40:30 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 658824: <4FGL_J2326.2+0113_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:28 2022
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:30 2022
Terminated at Mon Dec  5 01:40:31 2022
Results reported at Mon Dec  5 01:40:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin1745 351.575 1.2216 691632001 691891201 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 :                                   537.29 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             279.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   600 sec.
    Turnaround time :                            603 sec.

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

