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


Performing analysis on: 4FGL_J2334.8+1432_weekly_bin749
RA = 353.723, Dec = 14.5346
tmin = 691977601, tmax = 692582401
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='546984', job_status='RUN', time_executed='2022-12-13 02:10:47.079584', time_epoch_executed='1670926247.08' WHERE source_name='4FGL J2334.8+1432' and cadence='weekly' and bin_id='749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546984

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546984/ft1_4FGL_J2334.8+1432_weekly_bin749.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546984/ft1_4FGL_J2334.8+1432_weekly_bin749.fits outfile=/scratch/kocevski/546984/ft1_filteredMKT_4FGL_J2334.8+1432_weekly_bin749.fits ra=353.723 dec=14.5346 rad=12.0 tmin=691977601.0 tmax=692582401.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 9.28
user 8.80
sys 0.36

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.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/546984/ft1_filteredMKT_4FGL_J2334.8+1432_weekly_bin749.fits evtable="EVENTS" outfile="/scratch/kocevski/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.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.58
user 0.40
sys 0.17

Number of photons that the gtmktime cut: 1763

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits" evtable="EVENTS" scfile=/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits sctable="SC_DATA" outfile=/scratch/kocevski/546984/ltcube_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.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/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits
.....................!
real 26.88
user 26.34
sys 0.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits evtable="EVENTS" scfile=/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits sctable="SC_DATA" expcube=/scratch/kocevski/546984/ltcube_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits outfile=/scratch/kocevski/546984/expmap_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.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/546984/ltcube_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits
.....................!
real 190.62
user 185.27
sys 4.96

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/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits scfile=/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits outfile=/scratch/kocevski/546984/cmap_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits scfile=/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits outfile=/scratch/kocevski/546984/cmap_HighResolution_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.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.58
user 0.41
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits', '/scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits', expMap='/scratch/kocevski/546984/expmap_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits', expCube='/scratch/kocevski/546984/ltcube_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/546984/Model_4FGL_J2334.8+1432_weekly_bin749.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/546984/ft1_filtered_4FGL_J2334.8+1432_weekly_bin749.fits
Spacecraft file(s): /scratch/kocevski/546984/ft2_4FGL_J2334.8+1432_weekly_bin749.fits
Exposure map: /scratch/kocevski/546984/expmap_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits
Exposure cube: /scratch/kocevski/546984/ltcube_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/546984/Model_4FGL_J2334.8+1432_weekly_bin749.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) = 18403.9417044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74362       1.0000          .0000       .10000E+07
     2 'Prefactor '    18.679       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.8476       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.286       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.8921       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .56987E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .87343E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.2041       1.0000          .0000       .10000E+07
     9 'Prefactor '    .41837E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.9888       1.0000          .0000       .10000E+07
    11 'norm      '    2.8732       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.9411       1.0000          .0000       .10000E+07
    13 'Prefactor '    9.8494       1.0000          .0000       .10000E+07
    14 'norm      '    28.112       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20241       1.0000          .0000       .10000E+07
    16 'Prefactor '    38.751       1.0000          .0000       .10000E+07
    17 'Prefactor '    .84260E-06   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0337       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0501       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=   18403.93     FROM MIGRAD    STATUS=CONVERGED     80 CALLS     1409 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74263        .93166        .20267E-07    .14607E-02
   2  Prefactor     18.670        2.5431       -.69637E-07   -.66815E-02
   3  Prefactor     3.8142        4.9403       -.39001E-06   -.28156E-02
   4  Prefactor     16.266        1.0048        .88696E-09   -.90214E-02
   5  Prefactor     1.8920        .15853       -.79795E-07    .36258E-02
   6  Prefactor     .31641E-08    12.264       -.13985E-06** at limit **
   7  Prefactor     .14687        26.283        .11943E-05** at limit **
   8  Prefactor     3.2135        3.5951        .28422E-06    .45692E-02
   9  Prefactor     .12323E-07    4.7136        .13196E-06** at limit **
  10  Prefactor     4.9098        2.0278        .10133E-06   -.77896E-01
  11  norm          2.7712        6.1360       -.48335E-06    .30526E-02
  12  Prefactor     3.0536        5.4414        .72432E-06   -.32360E-02
  13  Prefactor     9.8129        1.7576       -.87440E-07    .45412E-01
  14  norm          28.124        1.0729        .14284E-07    .16604E-02
  15  Prefactor     .25223E-05    2.9879        .31734E-06** at limit **
  16  Prefactor     38.816        1.0567       -.52202E-08    .24202E-01
  17  Prefactor      .0000        1.2441       -.26945E-06** at limit **
  18  Normalizat    1.0337        .15738        .35162E-05    .62585E-05
  19  Prefactor     1.0500        .95634E-01   -.25035E-05    .80882E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.742632
  Prefactor  = 18.6702
  Prefactor  = 3.81421
  Prefactor  = 16.2665
  Prefactor  = 1.89204
  Prefactor  = 3.16414e-09
  Prefactor  = 0.146869
  Prefactor  = 3.21351
  Prefactor  = 1.23235e-08
  Prefactor  = 4.90977
  norm       = 2.77116
  Prefactor  = 3.05358
  Prefactor  = 9.81293
  norm       = 28.1236
  Prefactor  = 2.52232e-06
  Prefactor  = 38.8163
  Prefactor  = 0
  Normalizat = 1.03367
  Prefactor  = 1.05002
 **********
 **   18 **HESSE 
 **********

 FCN=   18403.93     FROM HESSE     STATUS=OK           320 CALLS     1729 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74263        .94658        .57236E-03   -1.5691    
   2  Prefactor     18.670        6.9139        .23146E-03   -1.5622    
   3  Prefactor     3.8142        5.8445        .51424E-03   -1.5669    
   4  Prefactor     16.266        15.506        .24792E-03   -1.5627    
   5  Prefactor     1.8920        .16008        .33855E-02   -1.5433    
   6  Prefactor     .31641E-08    12.263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .14687        1.3444        .97972E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2135        3.8407        .56577E-03   -1.5672    
   9  Prefactor     .12323E-07    4.8824        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.9098        12.522        .45000E-03   -1.5664    
  11  norm          2.7712        6.7018        .59940E-03   -1.5675    
  12  Prefactor     3.0536        5.8281        .59199E-03   -1.5673    
  13  Prefactor     9.8129        9.9199        .31905E-03   -1.5645    
  14  norm          28.124        10.173        .18864E-03   -1.5602    
  15  Prefactor     .25223E-05    34.136        .11733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.816        18.943        .16066E-03   -1.5583    
  17  Prefactor      .0000        1.2481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0337        .13898        .75621E-01   -.91911    
  19  Prefactor     1.0500        .82571E-01    .39907E-01   -.91080    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17153e-06
Minuit parameter uncertainties:
  1  0.946578
  2  6.91388
  3  5.84449
  4  15.5058
  5  0.160077
  6  0.000392426
  7  0.888704
  8  3.84075
  9  0.000490257
  10  12.5221
  11  6.70183
  12  5.82807
  13  9.91987
  14  10.1726
  15  0.0185581
  16  18.9432
  17  7.3791e-06
  18  0.139026
  19  0.0825805
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  2.812e+01  1.017e+01  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:  1.050e+00  8.258e-02  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.034e+00  1.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.22
Ra Dec: 353.723 14.535
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 4.10e-08 +/- 1.48e-08
Energy Flux (Fixed Index): 3.46e-05 +/- 1.25e-05

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) = 18403.8846086
delta logL = 0.043526938658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18403.8793739
delta logL = 0.0487616051869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.125       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8071       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0491       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.

 FCN=   18403.88     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      212 TOTAL
                     EDM=   .54E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.129        173.03        .18533E-03    .35261E-03
   2  alpha         1.8075        3.4037        .36046        .65684E-04
   3  Normalizat    1.0378        .11265        .75486E-01    .65916E-04
   4  Prefactor     1.0490        .42400E-01    .39965E-01    .41408E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 29.1292
  alpha      = 1.80745
  Normalizat = 1.03784
  Prefactor  = 1.049
 **********
 **   18 **HESSE 
 **********

 FCN=   18403.88     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.129        11.034        .74130E-05   -1.5600    
   2  alpha         1.8075        .30177        .12627E-01   -.28069    
   3  Normalizat    1.0378        .15226        .33407E-03   -.91773    
   4  Prefactor     1.0490        .95272E-01    .20734E-03   -.91114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.01769e-12
Minuit parameter uncertainties:
  1  11.0337
  2  0.302566
  3  0.15232
  4  0.0952877
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546984': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18403.8793723
delta logL = 0.0487632009135

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  2.913e+01  1.103e+01  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  1.807e+00  3.026e-01  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:  1.049e+00  9.529e-02  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.038e+00  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.27
Ra Dec: 353.723 14.535
Photon Index (Free Index): 1.81 +/- 0.30
Photon Flux (Free Index): 3.71e-08 +/- 1.80e-08
Energy Flux (Free Index): 3.86e-05 +/- 2.02e-05

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/546984/cmap_HighResolution_691977601_692582401_4FGL_J2334.8+1432_weekly_bin749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.10e-08', energy_flux2='3.86e-05', photon_flux_error='1.48e-08', dlogl='4.88e-02', energy_flux='3.46e-05', photon_flux2='3.71e-08', job_status='DONE', time_completed='2022-12-13 02:26:44.122025', photon_index_error2='0.30', photon_index2='1.81', ts='27.22', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='2.02e-05', EG='1.03', time_epoch_completed='1670927204.12', return_code='0', job_id='546984', GAL2='1.05', EG2='1.04', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='1.80e-08', ts2='27.27', photon_index='1.90' WHERE bin_id='749' AND source_name='4FGL J2334.8+1432' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Dec 13 02:26:44 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 546984: <4FGL_J2334.8+1432_weekly_bin749> in cluster <slac> Done

Job <4FGL_J2334.8+1432_weekly_bin749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 13 02:10:27 2022
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 13 02:10:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 13 02:10:28 2022
Terminated at Tue Dec 13 02:26:44 2022
Results reported at Tue Dec 13 02:26:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_weekly_bin749 353.723 14.5346 691977601 692582401 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 :                                   955.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             371.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            977 sec.

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

