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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1773
RA = 353.723, Dec = 14.5346
tmin = 698889601, tmax = 699148801
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='807285', job_status='RUN', time_executed='2023-02-27 10:42:40.551141', time_epoch_executed='1677523360.55' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807285

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807285/ft1_4FGL_J2334.8+1432_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807285/ft1_4FGL_J2334.8+1432_daily_bin1773.fits outfile=/scratch/kocevski/807285/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1773.fits ra=353.723 dec=14.5346 rad=12.0 tmin=698889601.0 tmax=699148801.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.95
user 2.73
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.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/807285/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807285/ltcube_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.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/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits
.....................!
real 13.11
user 12.77
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807285/ltcube_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits outfile=/scratch/kocevski/807285/expmap_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.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/807285/ltcube_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits
.....................!
real 193.12
user 187.14
sys 5.16

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.8+1432 @ 353.723 14.5346

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits outfile=/scratch/kocevski/807285/cmap_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.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=353.723 yref=14.5346 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/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits outfile=/scratch/kocevski/807285/cmap_HighResolution_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.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=353.723 yref=14.5346 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807285/Model_4FGL_J2334.8+1432_daily_bin1773.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/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits.....................!
real 95.39
user 93.38
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits', '/scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits', expMap='/scratch/kocevski/807285/expmap_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits', expCube='/scratch/kocevski/807285/ltcube_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807285/Model_4FGL_J2334.8+1432_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.8+1432'

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  4.331e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/807285/ft1_filtered_4FGL_J2334.8+1432_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/807285/ft2_4FGL_J2334.8+1432_daily_bin1773.fits
Exposure map: /scratch/kocevski/807285/expmap_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits
Exposure cube: /scratch/kocevski/807285/ltcube_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807285/Model_4FGL_J2334.8+1432_daily_bin1773.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) = 8329.9714871

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31758       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.291       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.0996       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19597E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4691       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.847       1.0000          .0000       .10000E+07
     7 'Prefactor '    .97694E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46428E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    17.794       1.0000          .0000       .10000E+07
    10 'Prefactor '    18.607       1.0000          .0000       .10000E+07
    11 'norm      '    .19871E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .42321E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    29.200       1.0000          .0000       .10000E+07
    14 'norm      '    .55195E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    10.406       1.0000          .0000       .10000E+07
    16 'Prefactor '    12.970       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15399E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1254       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .96677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8329.708     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     1497 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .28954        7.0946        .29633E-06    .34760E-03
   2  Prefactor     15.323        10.344        .29868E-07    .72218E-03
   3  Prefactor     9.0727        8.2966       -.42698E-07    .15147E-03
   4  Prefactor     .42744E-08    58.894        .37332E-06** at limit **
   5  Prefactor     1.4695        .24007        .32189E-07    .40843E-04
   6  Prefactor     26.966        67.424       -.87087E-06   -.13014E-02
   7  Prefactor      .0000        3.7094        .47807E-07** at limit **
   8  Prefactor      .0000        3.6426        .25377E-08** at limit **
   9  Prefactor     17.500        18.280        .54620E-07    .80811E-02
  10  Prefactor     18.820        16.425        .38610E-07    .13312E-01
  11  norm          .79542E-06    8.2418        .12712E-06** at limit **
  12  Prefactor     .10334E-05    7.3580        .90023E-07** at limit **
  13  Prefactor     30.588        37.269       -.16735E-06   -.45539E-02
  14  norm          .11102E-09    5.1197       -.61997E-07** at limit **
  15  Prefactor     11.139        19.437       -.15898E-06    .17528E-01
  16  Prefactor     13.385        21.689        .48599E-07    .73650E-02
  17  Prefactor      .0000        2.9771       -.16371E-07** at limit **
  18  Normalizat    1.1246        .23228       -.11441E-05    .47194E-06
  19  Prefactor     .96562        .13399        .10211E-06   -.86534E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.289538
  Prefactor  = 15.3229
  Prefactor  = 9.07266
  Prefactor  = 4.27436e-09
  Prefactor  = 1.4695
  Prefactor  = 26.9659
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 17.4997
  Prefactor  = 18.8202
  norm       = 7.95419e-07
  Prefactor  = 1.0334e-06
  Prefactor  = 30.5878
  norm       = 1.11022e-10
  Prefactor  = 11.1387
  Prefactor  = 13.385
  Prefactor  = 0
  Normalizat = 1.12461
  Prefactor  = 0.96562
 **********
 **   18 **HESSE 
 **********

 FCN=   8329.708     FROM HESSE     STATUS=OK           314 CALLS     1811 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .28954        1.3482        .61025E-02   -1.5697    
   2  Prefactor     15.323        10.380        .25587E-03   -1.5630    
   3  Prefactor     9.0727        8.3115        .33201E-03   -1.5648    
   4  Prefactor     .42744E-08    58.969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.4695        .24028        .39119E-02   -1.5466    
   6  Prefactor     26.966        67.526        .22454E-03   -1.5604    
   7  Prefactor      .0000        3.7080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.6451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.500        18.635        .23716E-03   -1.5624    
  10  Prefactor     18.820        16.561        .23191E-03   -1.5621    
  11  norm          .79542E-06    14.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10334E-05    15.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.588        41.794        .18509E-03   -1.5597    
  14  norm          .11102E-09    5.1593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.139        53.342        .31036E-03   -1.5641    
  16  Prefactor     13.385        21.849        .27788E-03   -1.5635    
  17  Prefactor      .0000        2.9845        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.1246        .20174        .74429E-01   -.88966    
  19  Prefactor     .96562        .11557        .45850E-01   -.93884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99369e-07
Minuit parameter uncertainties:
  1  1.24958
  2  10.3795
  3  8.3115
  4  0.00100302
  5  0.240283
  6  67.5275
  7  3.11022e-06
  8  4.68051e-06
  9  18.6355
  10  16.5614
  11  0.00671193
  12  0.00788274
  13  41.7946
  14  5.29227e-05
  15  48.7517
  16  21.8494
  17  4.12216e-06
  18  0.201876
  19  0.1156
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.110e-10  5.292e-05  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.902e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.656e-01  1.156e-01  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.125e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.723 14.535
Photon Flux Upper Limit: 3.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.10e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807285/likelihoodResults_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.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) = 8329.8007179
delta logL = -0.0930108823759

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8329.70770808
delta logL = -1.05545404949e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10103E-04   1.0000          .0000       .10000E+07
     2 'alpha     '    4.1122       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5270E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8329.708     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      227 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        3.0009        .42118E-03** at limit **
   2  alpha         1.0476        1.2488       -.49127E-04     .0000    
   3  Normalizat    1.1246        1.1395       -.21805E-05    .24851E-05
   4  Prefactor     .96562        1.3069       -.65534E-06    .21564E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.04761
  Normalizat = 1.12461
  Prefactor  = 0.96562
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8329.708     FROM HESSE     STATUS=FAILED         7 CALLS      234 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        3.0009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .23907        1.2488       -.49127E-04   -.61990    
   3  Normalizat    1.1246        1.1395       -.21805E-05   -.88966    
   4  Prefactor     .96562        1.3069       -.65534E-06   -.93884    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.88662e-13
Minuit parameter uncertainties:
  1  2.7004e-06
  2  1.34447
  3  1.16604
  4  1.35377
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807285': 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) = 8329.70770702
delta logL = 1.09139364213e-11

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  0.000e+00  2.700e-06  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.048e+00  1.344e+00  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
452           Eb:  1.535e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
524    Prefactor:  9.656e-01  1.354e+00  0.000e+00  1.000e+01 ( 1.000e+00)
525        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
526        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  1.125e+00  1.166e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 353.723 14.535

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/807285/cmap_HighResolution_698889601_699148801_4FGL_J2334.8+1432_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.10e-05', job_status='DONE', photon_flux_upper_limit='3.67e-08', time_completed='2023-02-27 10:53:11.278558', job_id='807285', GAL2='0.97', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1677523991.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1773' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:53:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 807285: <4FGL_J2334.8+1432_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:22 2023
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:23 2023
Terminated at Mon Feb 27 10:53:14 2023
Results reported at Mon Feb 27 10:53:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1773 353.723 14.5346 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.8+1432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            772 sec.

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

