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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1669
RA = 353.723, Dec = 14.5346
tmin = 671932801, tmax = 672192001
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='693507', job_status='RUN', time_executed='2022-04-21 00:43:20.544876', time_epoch_executed='1650527000.54' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693507/ft1_4FGL_J2334.8+1432_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693507/ft1_4FGL_J2334.8+1432_daily_bin1669.fits outfile=/scratch/kocevski/693507/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1669.fits ra=353.723 dec=14.5346 rad=12.0 tmin=671932801.0 tmax=672192001.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 3.75
user 3.54
sys 0.19

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

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

Number of photons that the gtmktime cut: 688

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693507/ft1_filtered_4FGL_J2334.8+1432_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/693507/ltcube_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.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/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits
.....................!
real 11.95
user 11.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693507/ft1_filtered_4FGL_J2334.8+1432_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/693507/ltcube_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.fits outfile=/scratch/kocevski/693507/expmap_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.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/693507/ltcube_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.fits
.....................!
real 189.70
user 184.57
sys 4.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/693507/ft1_filtered_4FGL_J2334.8+1432_daily_bin1669.fits scfile=/scratch/kocevski/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits outfile=/scratch/kocevski/693507/cmap_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693507/ft1_filtered_4FGL_J2334.8+1432_daily_bin1669.fits scfile=/scratch/kocevski/693507/ft2_4FGL_J2334.8+1432_daily_bin1669.fits outfile=/scratch/kocevski/693507/cmap_HighResolution_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10246E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1623       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.794       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29609       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .72898E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4106       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.8901       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10570E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .12808E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12628E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .94246       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0654       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7837.636     FROM MIGRAD    STATUS=CONVERGED    788 CALLS     2556 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.611        .19223E-02** at limit **
   2  Prefactor     9.1325        10.365        .13241E-03    .18606E-03
   3  Prefactor     .10000E-03    5.2058        .18142E-02** at limit **
   4  Prefactor     36.755        51.749        .66071E-04    .48179E-05
   5  Prefactor     .10000E-03    5.4309        .18142E-02** at limit **
   6  Prefactor     .29610        .14282        .21040E-04   -.70784E-04
   7  Prefactor     .10000E-03    159.92        .74872E-02** at limit **
   8  Prefactor     .10000E-03    1.5813        .10856E-02** at limit **
   9  Prefactor     4.4083        9.7898        .19176E-03    .51994E-04
  10  Prefactor     .10000E-03    3.3569        .15770E-02** at limit **
  11  Prefactor     1.9019        12.734        .30266E-03    .44849E-04
  12  Prefactor     .10000E-03    17.553        .18142E-02** at limit **
  13  norm          .10000E-03    3.3644        .15799E-02** at limit **
  14  Prefactor     .10000E-03    1.5311        .10686E-02** at limit **
  15  Prefactor     .10000E-03    36.921        .18142E-02** at limit **
  16  norm          .10000E-03    26.036        .36285E-03** at limit **
  17  Prefactor     .10000E-03    64.181        .18142E-02** at limit **
  18  Prefactor     .10000E-03    5.0506        .18142E-02** at limit **
  19  Prefactor     .10000E-03    10.337        .36285E-02** at limit **
  20  Normalizat    .94220        .20591        .31873E-03    .28346E-03
  21  Prefactor     1.0657        .12623        .18434E-03    .52368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 9.13249
  Prefactor  = 0.0001
  Prefactor  = 36.7549
  Prefactor  = 0.0001
  Prefactor  = 0.296104
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 4.40826
  Prefactor  = 0.0001
  Prefactor  = 1.90186
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.942196
  Prefactor  = 1.06566
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.636     FROM HESSE     STATUS=OK           295 CALLS     2851 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.794        .38446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.1325        10.359        .52963E-05   -1.5103    
   3  Prefactor     .10000E-03    5.2068        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.755        51.739        .26428E-05   -1.4495    
   5  Prefactor     .10000E-03    5.4311        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .29610        .14281        .84160E-06   -1.5599    
   7  Prefactor     .10000E-03    166.32        .29949E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5814        .21713E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4083        9.7893        .76704E-05   -1.5288    
  10  Prefactor     .10000E-03    3.3577        .31539E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9019        12.726        .12107E-04   -1.5432    
  12  Prefactor     .10000E-03    17.557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.3650        .31598E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.5311        .21372E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    26.038        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    64.196        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.0507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.418        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .94220        .20598        .12749E-04   -.94993    
  21  Prefactor     1.0657        .12631        .36869E-04   -.90572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41308e-10
Minuit parameter uncertainties:
  1  0.000365232
  2  10.3606
  3  9.11704e-06
  4  51.802
  5  1.21064e-05
  6  0.142812
  7  0.000770798
  8  2.32576e-07
  9  9.7929
  10  6.98312e-06
  11  9.84223
  12  4.3891e-05
  13  4.87775e-05
  14  5.23748e-06
  15  0.000461599
  16  0.000152616
  17  1.21774e-06
  18  3.09427e-08
  19  7.60636e-06
  20  0.206152
  21  0.126347
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  1.000e-04  1.526e-04  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:  1.066e+00  1.263e-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:  9.422e-01  2.062e-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: 4.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693507/likelihoodResults_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7837.63608511
delta logL = -0.000183249457223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7837.63590261
delta logL = -7.42324118619e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9704       1.0000          .0000       5.0000    
     3 'Normalizat'    .94249       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0655       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7837.614     FROM MIGRAD    STATUS=CONVERGED    197 CALLS      350 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96195E-01    .32475        .15928E-01   -.38019E-02
   2  alpha         4.0447        1.2772        .50000       -.79227E-04
   3  Normalizat    .92805        .20506        .31873E-03   -.11200E-04
   4  Prefactor     1.0700        .12566        .18434E-03   -.22954E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0961951
  alpha      = 4.04474
  Normalizat = 0.928051
  Prefactor  = 1.07005
 **********
 **   18 **HESSE 
 **********

 FCN=   7837.614     FROM HESSE     STATUS=OK            31 CALLS      381 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96195E-01    .62643        .90255E-03   -1.5770    
   2  alpha         4.0447        2.9578        .60737E-01    2.4755    
   3  Normalizat    .92805        .21704        .12749E-04   -.95481    
   4  Prefactor     1.0700        .12779        .36869E-04   -.90430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.02684e-10
Minuit parameter uncertainties:
  1  0.490707
  2  2.12886
  3  0.217244
  4  0.127831
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693507': 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) = 7837.61357424
delta logL = 0.0223276265524

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  9.620e-02  4.907e-01  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  4.045e+00  2.129e+00  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:  1.070e+00  1.278e-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:  9.281e-01  2.172e-01  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/693507/cmap_HighResolution_671932801_672192001_4FGL_J2334.8+1432_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.91e-05', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2022-04-21 00:55:03.909803', job_id='693507', GAL2='1.07', fit_tolerance='1e-08', EG2='0.93', EG='0.94', time_epoch_completed='1650527703.91', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.23e-02', ts2='0.05', photon_index_error='0.00', photon_index='1.90' WHERE bin_id='1669' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:55:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 693507: <4FGL_J2334.8+1432_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1669> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Apr 21 00:40:18 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:40:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:40:20 2022
Terminated at Thu Apr 21 00:55:04 2022
Results reported at Thu Apr 21 00:55:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1669 353.723 14.5346 671932801 672192001 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 :                                   706.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            886 sec.

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

