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


Performing analysis on: 4FGL_J2334.8+1432_daily_bin1683
RA = 353.723, Dec = 14.5346
tmin = 675561601, tmax = 675820801
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='53033', job_status='RUN', time_executed='2022-06-02 01:39:06.092442', time_epoch_executed='1654159146.09' WHERE source_name='4FGL J2334.8+1432' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53033

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/53033/ft1_4FGL_J2334.8+1432_daily_bin1683.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53033/ft1_4FGL_J2334.8+1432_daily_bin1683.fits outfile=/scratch/kocevski/53033/ft1_filteredMKT_4FGL_J2334.8+1432_daily_bin1683.fits ra=353.723 dec=14.5346 rad=12.0 tmin=675561601.0 tmax=675820801.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.48
user 3.21
sys 0.23

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

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

Number of photons that the gtmktime cut: 765

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/53033/ltcube_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.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/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits
.....................!
real 14.60
user 14.17
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/53033/ltcube_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.fits outfile=/scratch/kocevski/53033/expmap_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.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/53033/ltcube_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.fits
.....................!
real 193.18
user 187.16
sys 5.61

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/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits scfile=/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits outfile=/scratch/kocevski/53033/cmap_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.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/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits scfile=/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits outfile=/scratch/kocevski/53033/cmap_HighResolution_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.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/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53033/ft2_4FGL_J2334.8+1432_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53033/Model_4FGL_J2334.8+1432_daily_bin1683.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/53033/ft1_filtered_4FGL_J2334.8+1432_daily_bin1683.fits.....................!
real 93.39
user 91.90
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10543E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.993       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.502       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40264       1.0000         .10000E-03   10000.    
     7 'Prefactor '    31.230       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39208E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .29332E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.876       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.980       1.0000         .10000E-03   10000.    
    13 'norm      '    3.1843       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.1663       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .48511E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5159       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .61545       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1092       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=   8445.481     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2560 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0653        .18039E-06** at limit **
   2  Prefactor     11.990        10.109       -.45074E-07   -.10546E-03
   3  Prefactor     .10000E-03    2.8561        .70498E-07** at limit **
   4  Prefactor     34.506        27.818       -.14155E-06   -.59763E-04
   5  Prefactor     .10000E-03    4.6591       -.63329E-07** at limit **
   6  Prefactor     .40272        .13472        .28742E-07    .82489E-03
   7  Prefactor     31.231        36.037       -.58606E-07   -.53795E-05
   8  Prefactor     .10000E-03    5.1292        .10654E-05** at limit **
   9  Prefactor     .10003E-03    6.4305       -.12185E-05** at limit **
  10  Prefactor     15.877        7.7303        .17358E-06   -.50281E-05
  11  Prefactor     .10000E-03    2.5756       -.12265E-06** at limit **
  12  Prefactor     53.986        24.307       -.19325E-06   -.19813E-03
  13  norm          3.1872        6.1864        .10897E-05    .35507E-03
  14  Prefactor     .10000E-03    2.2772       -.26328E-06** at limit **
  15  Prefactor     .10000E-03    4.6498        .10401E-07** at limit **
  16  norm          7.1675        11.430        .20779E-06    .92823E-05
  17  Prefactor     .19701E-03    43.845       -.52311E-05** at limit **
  18  Prefactor     .10000E-03    9.9712        .35298E-06** at limit **
  19  Prefactor     1.5148        4.1491        .22479E-05    .69636E-03
  20  Normalizat    .61593        .19012        .97984E-06   -.60823E-04
  21  Prefactor     1.1090        .11445       -.12042E-05   -.27605E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.9905
  Prefactor  = 0.0001
  Prefactor  = 34.5056
  Prefactor  = 0.0001
  Prefactor  = 0.402722
  Prefactor  = 31.2309
  Prefactor  = 0.000100003
  Prefactor  = 0.000100031
  Prefactor  = 15.8766
  Prefactor  = 0.0001
  Prefactor  = 53.9858
  norm       = 3.1872
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.16751
  Prefactor  = 0.000197013
  Prefactor  = 0.0001
  Prefactor  = 1.51478
  Normalizat = 0.615929
  Prefactor  = 1.10902
 **********
 **   18 **HESSE 
 **********

 FCN=   8445.481     FROM HESSE     STATUS=OK           329 CALLS     2889 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8391        .18089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.990        9.9805        .11567E-03   -1.5015    
   3  Prefactor     .10000E-03    2.8624        .15164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.506        27.858        .34112E-03   -1.4532    
   5  Prefactor     .10000E-03    4.6611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .40272        .13297        .18480E-04   -1.5581    
   7  Prefactor     31.231        35.992        .71698E-04   -1.4590    
   8  Prefactor     .10000E-03    18.971        .37471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    34.576        .40765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.877        7.7202        .10052E-03   -1.4911    
  11  Prefactor     .10000E-03    2.5806        .14401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.986        24.332        .54593E-04   -1.4237    
  13  norm          3.1872        6.2249        .22709E-03   -1.5351    
  14  Prefactor     .10000E-03    2.2991        .13543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.6541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.1675        11.423        .14984E-03   -1.5172    
  17  Prefactor     .19701E-03    23.901        .13847       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.5148        4.2030        .30516E-03   -1.5462    
  20  Normalizat    .61593        .20652        .36692E-03   -1.0731    
  21  Prefactor     1.1090        .12556        .17589E-03   -.89179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29633e-09
Minuit parameter uncertainties:
  1  8.51908e-07
  2  9.9819
  3  4.62722e-06
  4  27.8687
  5  6.79597e-06
  6  0.132968
  7  36.0165
  8  0.000502714
  9  0.00208353
  10  7.72066
  11  9.07576e-06
  12  24.3368
  13  6.22613
  14  1.8588e-05
  15  2.40895e-06
  16  11.4265
  17  0.0963438
  18  5.24918e-05
  19  4.20378
  20  0.206783
  21  0.125597
Done.

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

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  7.168e+00  1.143e+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:  1.109e+00  1.256e-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:  6.159e-01  2.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/53033/likelihoodResults_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.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) = 8445.20300508
delta logL = 0.277832053021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8445.19883318
delta logL = 0.282003950435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0878       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6567       1.0000          .0000       5.0000    
     3 'Normalizat'    .59468       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1150       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=   8445.199     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      309 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0866        11.493        .17825E-03   -.26455E-03
   2  alpha         2.6571        1.2319        .16113E-01   -.41304E-04
   3  Normalizat    .59469        .20185        .37302E-03   -.29143E-03
   4  Prefactor     1.1151        .12609        .17543E-03   -.77547E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.0866
  alpha      = 2.6571
  Normalizat = 0.594692
  Prefactor  = 1.11506
 **********
 **   18 **HESSE 
 **********

 FCN=   8445.199     FROM HESSE     STATUS=OK            25 CALLS      334 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0866        9.0316        .71301E-05   -1.5257    
   2  alpha         2.6571        .98369        .64451E-03    .62880E-01
   3  Normalizat    .59469        .20076        .14921E-04   -1.0821    
   4  Prefactor     1.1151        .12561        .35087E-04   -.88987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25716e-10
Minuit parameter uncertainties:
  1  9.034
  2  1.01115
  3  0.201005
  4  0.125645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53033': 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) = 8445.19883277
delta logL = 0.282004368722

Extracting fit parameters...

4FGL J2334.8+1432
   Spectrum: LogParabola
449         norm:  5.087e+00  9.034e+00  1.000e-04  1.000e+04 ( 1.000e-13)
450        alpha:  2.657e+00  1.011e+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.115e+00  1.256e-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:  5.947e-01  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 353.723 14.535
Photon Index (Free Index): 2.66 +/- 1.01
Photon Flux (Free Index): 2.87e-08 +/- 3.66e-08
Energy Flux (Free Index): 8.22e-06 +/- 9.20e-06

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/53033/cmap_HighResolution_675561601_675820801_4FGL_J2334.8+1432_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.59e-05', comment='SUCCESS', energy_flux2='8.22e-06', dlogl='2.82e-01', photon_flux2='2.87e-08', job_status='DONE', time_completed='2022-06-02 01:51:47.853130', photon_index_error2='1.01', photon_index2='2.66', ts='0.54', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='5.43e-08', energy_flux_error2='9.20e-06', EG='0.62', time_epoch_completed='1654159907.85', return_code='0', job_id='53033', GAL2='1.12', EG2='0.59', return_code2='0', photon_flux_error2='3.66e-08', ts2='1.11', photon_index='1.90' WHERE bin_id='1683' AND source_name='4FGL J2334.8+1432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:51:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 53033: <4FGL_J2334.8+1432_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2334.8+1432_daily_bin1683> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jun  2 01:35:35 2022
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:38:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun  2 01:38:21 2022
Terminated at Thu Jun  2 01:51:48 2022
Results reported at Thu Jun  2 01:51:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.8+1432_daily_bin1683 353.723 14.5346 675561601 675820801 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 :                                   762.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             329.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            973 sec.

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

