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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1744
RA = 353.723, Dec = 14.5346
tmin = 691372801, tmax = 691632001
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='599005', job_status='RUN', time_executed='2022-12-02 02:06:28.151723', time_epoch_executed='1669975588.15' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/599005

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/599005/ft1_4FGL_J2334.8+1432_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/599005/ft1_4FGL_J2334.8+1432_daily_bin1744.fits outfile=/scratch/kocevski/599005/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1744.fits ra=353.723 dec=14.5346 rad=12.0 tmin=691372801.0 tmax=691632001.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.53
user 2.29
sys 0.21

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

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

Number of photons that the gtmktime cut: 1140

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/599005/ft1_filtered_4FGL_J2334.8+1432_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/599005/ltcube_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.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/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits
.....................!
real 12.78
user 12.38
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/599005/ft1_filtered_4FGL_J2334.8+1432_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/599005/ltcube_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.fits outfile=/scratch/kocevski/599005/expmap_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.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/599005/ltcube_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.fits
.....................!
real 191.24
user 184.90
sys 4.46

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/599005/ft1_filtered_4FGL_J2334.8+1432_daily_bin1744.fits scfile=/scratch/kocevski/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits outfile=/scratch/kocevski/599005/cmap_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.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 1.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/599005/ft1_filtered_4FGL_J2334.8+1432_daily_bin1744.fits scfile=/scratch/kocevski/599005/ft2_4FGL_J2334.8+1432_daily_bin1744.fits outfile=/scratch/kocevski/599005/cmap_HighResolution_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.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.59
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47690       1.0000          .0000       .10000E+07
     2 'Prefactor '    31.677       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11895E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    70.484       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.3234       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7654       1.0000          .0000       .10000E+07
     7 'Prefactor '    .57931E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14427E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    5.3550       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38044E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .39274E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .26964E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.968       1.0000          .0000       .10000E+07
    14 'norm      '    12.105       1.0000          .0000       .10000E+07
    15 'Prefactor '    .72024E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13217E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23391E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .70521       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1935       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=   11245.62     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1154 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .49179        2.5172       -.95465E-06   -.15719E-02
   2  Prefactor     31.600        1.4620       -.12423E-07    .51972E-01
   3  Prefactor      .0000        6.6582        .17600E-05** at limit **
   4  Prefactor     75.665        47.712        .84561E-06   -.14187E-02
   5  Prefactor     5.3163        .31786        .15625E-06    .21872E-02
   6  Prefactor     7.5708        6.5028        .94148E-06   -.38593E-01
   7  Prefactor      .0000        2.1663       -.42657E-06** at limit **
   8  Prefactor     .55511E-10    1.4096        .30546E-06** at limit **
   9  Prefactor     5.4733        7.1329        .61252E-07    .19929E-02
  10  Prefactor     .19357E-06    23.315        .41210E-05** at limit **
  11  norm           .0000        2.7565        .34812E-06** at limit **
  12  Prefactor     .27756E-09    14.309       -.48333E-05** at limit **
  13  Prefactor     16.509        3.6968        .38443E-06   -.17056E-01
  14  norm          12.103        10.881       -.63964E-06   -.10338E-02
  15  Prefactor     .54901E-07    20.125       -.10539E-05** at limit **
  16  Prefactor      .0000        7.8958        .12528E-05** at limit **
  17  Prefactor     .55511E-10    3.4170        .18173E-05** at limit **
  18  Normalizat    .70597        .21470       -.15967E-04    .12378E-03
  19  Prefactor     1.1930        .13412        .78762E-05    .19005E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.491787
  Prefactor  = 31.5997
  Prefactor  = 0
  Prefactor  = 75.6646
  Prefactor  = 5.31633
  Prefactor  = 7.57085
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.47331
  Prefactor  = 1.93567e-07
  norm       = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 16.5087
  norm       = 12.1026
  Prefactor  = 5.49005e-08
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Normalizat = 0.705973
  Prefactor  = 1.19298
 **********
 **   18 **HESSE 
 **********

 FCN=   11245.62     FROM HESSE     STATUS=OK           304 CALLS     1458 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .49179        2.8389        .81069E-03   -1.5694    
   2  Prefactor     31.600        14.492        .17770E-03   -1.5596    
   3  Prefactor      .0000        6.6646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     75.665        47.534        .11912E-03   -1.5534    
   5  Prefactor     5.3163        .31750        .31148E-02   -1.5247    
   6  Prefactor     7.5708        26.321        .35961E-03   -1.5653    
   7  Prefactor      .0000        2.1821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    1.4233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4733        7.3108        .43405E-03   -1.5661    
  10  Prefactor     .19357E-06    24.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.7694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .27756E-09    14.024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.509        24.479        .24287E-03   -1.5627    
  14  norm          12.103        10.886        .28767E-03   -1.5638    
  15  Prefactor     .54901E-07    20.593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        7.8902        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    3.4194        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .70597        .19732        .97895E-01   -1.0366    
  19  Prefactor     1.1930        .12038        .34787E-01   -.86547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.34534e-06
Minuit parameter uncertainties:
  1  2.36318
  2  14.4925
  3  2.79388e-06
  4  47.5347
  5  0.317505
  6  26.3212
  7  4.73183e-06
  8  1.57577e-05
  9  7.31083
  10  0.00436913
  11  1.29566e-05
  12  0.000125231
  13  24.4789
  14  10.8857
  15  0.0021269
  16  2.61442e-05
  17  2.29487e-05
  18  0.197518
  19  0.12041
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.210e+01  1.089e+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.193e+00  1.204e-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:  7.060e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.81
Ra Dec: 353.723 14.535
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.59e-08
Energy Flux (Fixed Index): 1.49e-05 +/- 1.34e-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) = 11245.1492492
delta logL = 0.467629437993

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11244.7663406
delta logL = 0.85053807134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1944       1.0000          .0000       .10000E+07
     2 'alpha     '    .66264       1.0000          .0000       5.0000    
     3 'Normalizat'    .71919       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1929       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=   11244.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      228 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1944        3.5695        .56667E-03    .29194E-01
   2  alpha         .66260        .53716        .50000       -.44010E-04
   3  Normalizat    .71922        .18933        .97035E-01    .52249E-04
   4  Prefactor     1.1929        .11979        .34800E-01   -.37859E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1944
  alpha      = 0.662604
  Normalizat = 0.719218
  Prefactor  = 1.19294
 **********
 **   18 **HESSE 
 **********

 FCN=   11244.77     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1944        5.2520        .18500E-04   -1.5672    
   2  alpha         .66260        .70565        .29864E-01   -.82561    
   3  Normalizat    .71922        .21116        .43011E-03   -1.0314    
   4  Prefactor     1.1929        .13409        .21525E-03   -.86549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.49015e-09
Minuit parameter uncertainties:
  1  5.25196
  2  0.727802
  3  0.2114
  4  0.134127
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/599005': 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) = 11244.7663406
delta logL = 0.850538094373

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  3.194e+00  5.252e+00  0.000e+00  1.000e+06 ( 1.000e-13)
450        alpha:  6.626e-01  7.278e-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.193e+00  1.341e-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:  7.192e-01  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.50
Ra Dec: 353.723 14.535
Photon Index (Free Index): 0.66 +/- 0.73
Photon Flux (Free Index): 3.25e-09 +/- 3.43e-09
Energy Flux (Free Index): 5.46e-05 +/- 7.57e-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/599005/cmap_HighResolution_691372801_691632001_4FGL_J2334.8+1432_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='5.46e-05', photon_flux_error='1.59e-08', dlogl='8.51e-01', energy_flux='1.49e-05', photon_flux2='3.25e-09', job_status='DONE', time_completed='2022-12-02 02:17:29.417473', photon_index_error2='0.73', photon_index2='0.66', ts='7.81', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='7.57e-05', EG='0.71', time_epoch_completed='1669976249.42', return_code='0', job_id='599005', GAL2='1.19', EG2='0.72', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.43e-09', ts2='9.50', photon_index='1.90' WHERE bin_id='1744' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 02:17:29 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 599005: <4FGL_J2334.8+1432_daily_bin1744> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1744> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Dec  2 02:05:23 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 02:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 02:05:24 2022
Terminated at Fri Dec  2 02:17:30 2022
Results reported at Fri Dec  2 02:17:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1744 353.723 14.5346 691372801 691632001 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 :                                   659.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   725 sec.
    Turnaround time :                            727 sec.

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

