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 22 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1671
RA = 353.723, Dec = 14.5346
tmin = 672451201, tmax = 672710401
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='43875', job_status='RUN', time_executed='2022-04-27 01:06:40.974194', time_epoch_executed='1651046800.97' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43875/ft1_4FGL_J2334.8+1432_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43875/ft1_4FGL_J2334.8+1432_daily_bin1671.fits outfile=/scratch/kocevski/43875/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1671.fits ra=353.723 dec=14.5346 rad=12.0 tmin=672451201.0 tmax=672710401.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.97
user 2.76
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.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/43875/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.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.16

Number of photons that the gtmktime cut: 811

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43875/ltcube_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.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/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits
.....................!
real 12.79
user 12.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43875/ltcube_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits outfile=/scratch/kocevski/43875/expmap_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.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/43875/ltcube_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits
.....................!
real 193.56
user 185.63
sys 5.83

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/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits scfile=/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits outfile=/scratch/kocevski/43875/cmap_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.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/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits scfile=/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits outfile=/scratch/kocevski/43875/cmap_HighResolution_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits', '/scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits', expMap='/scratch/kocevski/43875/expmap_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits', expCube='/scratch/kocevski/43875/ltcube_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43875/Model_4FGL_J2334.8+1432_daily_bin1671.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  1.000e-04  1.000e+04 ( 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  0.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/43875/ft1_filtered_4FGL_J2334.8+1432_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43875/ft2_4FGL_J2334.8+1432_daily_bin1671.fits
Exposure map: /scratch/kocevski/43875/expmap_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43875/ltcube_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43875/Model_4FGL_J2334.8+1432_daily_bin1671.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) = 8845.0210716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.7135       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.175       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.1801       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .56602       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9505       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14322E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6259       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1524       1.0000         .10000E-03   10000.    
    13 'norm      '    11.465       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4089       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.536       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19556E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .52666       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2922       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .88821       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8844.051     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     1967 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .61980        .71573E-09** at limit **
   2  Prefactor     8.7129        8.9428        .12367E-06   -.11698E-03
   3  Prefactor     .10000E-03    3.0085        .82617E-08** at limit **
   4  Prefactor     12.199        28.589        .89249E-05   -.12686E-03
   5  Prefactor     3.1799        9.0723       -.11671E-06   -.32069E-03
   6  Prefactor     .56592        .14654       -.37732E-07    .15389E-02
   7  Prefactor     2.9557        29.057       -.57630E-05    .53334E-04
   8  Prefactor     .10000E-03    11.153       -.35337E-06** at limit **
   9  Prefactor     1.6238        12.307        .91259E-06   -.53381E-03
  10  Prefactor     .10004E-03    3.8535       -.26454E-05** at limit **
  11  Prefactor     .10000E-03    3.3220        .86361E-08** at limit **
  12  Prefactor     9.1317        17.636        .13540E-04    .10553E-03
  13  norm          11.465        8.5578        .26338E-06    .25353E-04
  14  Prefactor     2.4088        5.1254       -.13518E-07   -.11970E-02
  15  Prefactor     .10000E-03    21.846       -.76194E-06** at limit **
  16  norm          11.537        11.618       -.24906E-06    .28085E-04
  17  Prefactor     .10000E-03    118.48       -.31305E-05** at limit **
  18  Prefactor     .10000E-03    9.4700        .90676E-07** at limit **
  19  Prefactor     .52257        4.7544        .97890E-07   -.68329E-04
  20  Normalizat    1.2923        .18685       -.17201E-05    .57661E-03
  21  Prefactor     .88812        .10678        .69521E-07    .46744E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.71293
  Prefactor  = 0.0001
  Prefactor  = 12.1985
  Prefactor  = 3.17992
  Prefactor  = 0.565917
  Prefactor  = 2.9557
  Prefactor  = 0.0001
  Prefactor  = 1.62377
  Prefactor  = 0.000100037
  Prefactor  = 0.0001
  Prefactor  = 9.13169
  norm       = 11.4654
  Prefactor  = 2.4088
  Prefactor  = 0.0001
  norm       = 11.5366
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.522569
  Normalizat = 1.29229
  Prefactor  = 0.888119
 **********
 **   18 **HESSE 
 **********

 FCN=   8844.051     FROM HESSE     STATUS=OK           321 CALLS     2288 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .62168        .72281E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.7129        8.9638        .67896E-03   -1.5118    
   3  Prefactor     .10000E-03    3.0113        .15929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.199        28.344        .11480E-03   -1.5009    
   5  Prefactor     3.1799        9.2654        .11362E-02   -1.5351    
   6  Prefactor     .56592        .14641        .85267E-04   -1.5558    
   7  Prefactor     2.9557        29.034        .23643E-03   -1.5364    
   8  Prefactor     .10000E-03    11.587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6238        19.622        .16589E-02   -1.5453    
  10  Prefactor     .10004E-03    16.155        .34325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.3307        .16730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1317        17.793        .13248E-03   -1.5104    
  13  norm          11.465        9.0408        .11831E-03   -1.5031    
  14  Prefactor     2.4088        7.2994        .13189E-02   -1.5398    
  15  Prefactor     .10000E-03    22.094        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.537        11.618        .11795E-03   -1.5029    
  17  Prefactor     .10000E-03    122.48        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.5033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .52257        18.458        .39036E-02   -1.5563    
  20  Normalizat    1.2923        .21979        .29271E-03   -.83797    
  21  Prefactor     .88812        .12498        .20568E-03   -.96557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.22229e-08
Minuit parameter uncertainties:
  1  3.99966e-07
  2  8.96516
  3  1.3944e-06
  4  28.3753
  5  9.26953
  6  0.146411
  7  18.5388
  8  2.16468e-05
  9  11.2934
  10  0.00153866
  11  2.72894e-06
  12  17.803
  13  9.04184
  14  7.30206
  15  7.97061e-05
  16  11.62
  17  0.000747973
  18  1.06916e-05
  19  6.21294
  20  0.219945
  21  0.125018
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.154e+01  1.162e+01  1.000e-04  1.000e+04 ( 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  0.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:  8.881e-01  1.250e-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.292e+00  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.72
Ra Dec: 353.723 14.535
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.68e-08 +/- 1.69e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.43e-05

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

Saving results to:
/scratch/kocevski/43875/likelihoodResults_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.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) = 8843.78737179
delta logL = 0.263875098193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8843.78603037
delta logL = 0.265216518794

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.9144       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3703       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2819       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89006       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8843.786     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      316 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.9198        10.895        .67122E-03   -.87735E-05
   2  alpha         2.3710        .69161        .15287E-01    .28322E-03
   3  Normalizat    1.2818        .20858        .29370E-03    .24154E-04
   4  Prefactor     .89003        .12438        .20544E-03    .30879E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.91982
  alpha      = 2.37098
  Normalizat = 1.28182
  Prefactor  = 0.89003
 **********
 **   18 **HESSE 
 **********

 FCN=   8843.786     FROM HESSE     STATUS=OK            25 CALLS      341 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.9198        10.207        .26849E-04   -1.5111    
   2  alpha         2.3710        .64885        .30574E-02   -.51632E-01
   3  Normalizat    1.2818        .20866        .11748E-04   -.84111    
   4  Prefactor     .89003        .12445        .82175E-05   -.96490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13618e-12
Minuit parameter uncertainties:
  1  10.2086
  2  0.656381
  3  0.208794
  4  0.124492
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43875': 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) = 8843.78602846
delta logL = 0.265218430461

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  8.920e+00  1.021e+01  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  2.371e+00  6.564e-01  0.000e+00  5.000e+00 ( 1.000e+00)
451         beta:  8.816e-02  0.000e+00  0.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:  8.900e-01  1.245e-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.282e+00  2.088e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 353.723 14.535
Photon Index (Free Index): 2.37 +/- 0.66
Photon Flux (Free Index): 2.88e-08 +/- 2.93e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.04e-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/43875/cmap_HighResolution_672451201_672710401_4FGL_J2334.8+1432_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-05', comment='SUCCESS', photon_flux='1.68e-08', energy_flux2='1.11e-05', photon_flux_error='1.69e-08', dlogl='2.65e-01', energy_flux='1.42e-05', photon_flux2='2.88e-08', job_status='DONE', time_completed='2022-04-27 01:18:53.713833', photon_index_error2='0.66', photon_index2='2.37', ts='1.72', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='5.98e-08', energy_flux_error2='1.04e-05', EG='1.29', time_epoch_completed='1651047533.71', return_code='0', job_id='43875', GAL2='0.89', EG2='1.28', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='2.93e-08', ts2='2.25', photon_index='1.90' WHERE bin_id='1671' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:18:53 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 43875: <4FGL_J2334.8+1432_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:42 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:06:08 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:06:08 2022
Terminated at Wed Apr 27 01:18:54 2022
Results reported at Wed Apr 27 01:18:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1671 353.723 14.5346 672451201 672710401 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 :                                   729.42 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             377.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            792 sec.

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

