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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1677
RA = 353.557, Dec = 7.602
tmin = 674006401, tmax = 674265601
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='171981', job_status='RUN', time_executed='2022-05-15 01:12:25.978352', time_epoch_executed='1652602345.98' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1677'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/171981

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/171981/ft1_4FGL_J2334.2+0736_daily_bin1677.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/171981/ft1_4FGL_J2334.2+0736_daily_bin1677.fits outfile=/scratch/kocevski/171981/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1677.fits ra=353.557 dec=7.602 rad=12.0 tmin=674006401.0 tmax=674265601.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 4.66
user 4.38
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.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/171981/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1677.fits evtable="EVENTS" outfile="/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.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.53
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 642

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits" evtable="EVENTS" scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits sctable="SC_DATA" outfile=/scratch/kocevski/171981/ltcube_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.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/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits
.....................!
real 15.06
user 14.62
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits sctable="SC_DATA" expcube=/scratch/kocevski/171981/ltcube_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits outfile=/scratch/kocevski/171981/expmap_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.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/171981/ltcube_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits
.....................!
real 195.28
user 188.56
sys 5.86

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J2334.2+0736 @ 353.557 7.602

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits outfile=/scratch/kocevski/171981/cmap_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.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.557 yref=7.602 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits outfile=/scratch/kocevski/171981/cmap_HighResolution_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.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.557 yref=7.602 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits evtable="EVENTS" scfile=/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/171981/Model_4FGL_J2334.2+0736_daily_bin1677.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/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits.....................!
real 76.46
user 74.91
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits', '/scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits', expMap='/scratch/kocevski/171981/expmap_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits', expCube='/scratch/kocevski/171981/ltcube_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/171981/Model_4FGL_J2334.2+0736_daily_bin1677.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2334.2+0736'

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  5.621e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/171981/ft1_filtered_4FGL_J2334.2+0736_daily_bin1677.fits
Spacecraft file(s): /scratch/kocevski/171981/ft2_4FGL_J2334.2+0736_daily_bin1677.fits
Exposure map: /scratch/kocevski/171981/expmap_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits
Exposure cube: /scratch/kocevski/171981/ltcube_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/171981/Model_4FGL_J2334.2+0736_daily_bin1677.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) = 6967.38276808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13878E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.7053       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.135       1.0000         .10000E-03   10000.    
     7 'norm      '    1.3427       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7394       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.674       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11076E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .61950       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9233       1.0000         .10000E-03   10000.    
    13 'Prefactor '    88.218       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24325E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.6819       1.0000         .10000E-03   10000.    
    16 'norm      '    15.860       1.0000         .10000E-03   10000.    
    17 'norm      '    37.166       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .14067E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.964       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4702       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .76343       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6967.314     FROM MIGRAD    STATUS=CONVERGED    557 CALLS     2792 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    38.214       -.13353E-05** at limit **
   2  Prefactor     .10000E-03    4.6521       -.90323E-08** at limit **
   3  Prefactor     .10000E-03    10.517        .14927E-06** at limit **
   4  Prefactor     .10000E-03    1.5357       -.27795E-07** at limit **
   5  Prefactor     4.7054        7.5186       -.20460E-06    .27183E-04
   6  Prefactor     26.131        21.550       -.39272E-07   -.10922E-03
   7  norm          1.3427        .95736        .30122E-08   -.31960E-04
   8  Prefactor     1.7420        7.5055       -.19604E-05    .24363E-04
   9  Prefactor     28.665        21.985       -.23195E-07   -.17814E-04
  10  Prefactor     .10000E-03    135.50        .13439E-05** at limit **
  11  norm          .61010        9.9200        .13327E-05   -.15478E-04
  12  Prefactor     2.9255        7.1731        .10354E-05    .14627E-03
  13  Prefactor     88.233        175.96       -.85451E-06   -.11997E-04
  14  Prefactor     .10000E-03    116.57        .80233E-05** at limit **
  15  Prefactor     9.6821        25.988        .14837E-05    .73145E-04
  16  norm          15.858        14.229       -.28343E-07    .79249E-05
  17  norm          37.151        25.164        .36871E-06    .94360E-04
  18  Prefactor     .10000E-03    7.7702       -.31579E-05** at limit **
  19  Prefactor     15.957        43.392        .34514E-06    .68188E-05
  20  Prefactor     .10000E-03    10.919       -.52394E-06** at limit **
  21  Prefactor     .10000E-03    6.5258       -.17727E-06** at limit **
  22  Prefactor     .10000E-03    40.669       -.11382E-05** at limit **
  23  Normalizat    1.4705        .21558       -.51834E-06   -.57907E-04
  24  Prefactor     .76327        .13209        .55228E-06   -.79298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.70538
  Prefactor  = 26.1309
  norm       = 1.34267
  Prefactor  = 1.74201
  Prefactor  = 28.6645
  Prefactor  = 0.000100001
  norm       = 0.610095
  Prefactor  = 2.9255
  Prefactor  = 88.2329
  Prefactor  = 0.000100001
  Prefactor  = 9.68211
  norm       = 15.8581
  norm       = 37.1513
  Prefactor  = 0.0001
  Prefactor  = 15.9571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.47055
  Prefactor  = 0.763268
 **********
 **   18 **HESSE 
 **********

 FCN=   6967.314     FROM HESSE     STATUS=OK           405 CALLS     3197 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    39.919        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.6524        .17584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.5386        .10102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.7054        7.5389        .92755E-03   -1.5274    
   6  Prefactor     26.131        21.600        .78361E-04   -1.4685    
   7  norm          1.3427        .95296        .66213E-04   -1.5476    
   8  Prefactor     1.7420        8.5637        .15907E-02   -1.5444    
   9  Prefactor     28.665        22.017        .74818E-04   -1.4637    
  10  Prefactor     .10000E-03    136.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .61010        20.690        .30518E-02   -1.5552    
  12  Prefactor     2.9255        7.3426        .23760E-03   -1.5366    
  13  Prefactor     88.233        175.84        .42777E-04   -1.3827    
  14  Prefactor     .10000E-03    113.67        .42709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.6821        26.151        .12879E-03   -1.5086    
  16  norm          15.858        14.230        .10057E-03   -1.4911    
  17  norm          37.151        25.409        .65741E-04   -1.4488    
  18  Prefactor     .10000E-03    7.8378        .29718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.957        43.565        .10024E-03   -1.4909    
  20  Prefactor     .10000E-03    11.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.6549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    41.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.4705        .25112        .27485E-03   -.78609    
  24  Prefactor     .76327        .15370        .23281E-03   -1.0110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60524e-08
Minuit parameter uncertainties:
  1  0.000989097
  2  8.21175e-07
  3  5.64971e-05
  4  6.25966e-07
  5  7.54044
  6  21.6069
  7  0.952973
  8  7.72632
  9  22.0231
  10  0.00075554
  11  7.10783
  12  7.34484
  13  176.897
  14  0.00064296
  15  26.1824
  16  14.2328
  17  25.4168
  18  9.80301e-05
  19  43.6522
  20  0.000144405
  21  1.18485e-05
  22  0.00026336
  23  0.251337
  24  0.153788
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  9.682e+00  2.618e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  7.633e-01  1.538e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.471e+00  2.513e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/171981/likelihoodResults_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.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) = 6967.30488146
delta logL = 0.00893617433576

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6967.30062144
delta logL = 0.0131961873176

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.534       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2593       1.0000          .0000       10.000    
     3 'Normalizat'    1.4731       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76163       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5050E+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=   6967.301     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      274 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.544        33.961        .11314E-03   -.80617E-03
   2  Index         2.2629        1.2138        .14525E-01   -.38895E-03
   3  Normalizat    1.4742        .23866        .27456E-03    .11766E-02
   4  Prefactor     .76090        .15264        .23314E-03    .18529E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.544
  Index      = 2.26288
  Normalizat = 1.47419
  Prefactor  = 0.760897
 **********
 **   18 **HESSE 
 **********

 FCN=   6967.301     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.544        32.404        .22629E-04   -1.4999    
   2  Index         2.2629        1.1598        .58099E-03   -.57928    
   3  Normalizat    1.4742        .23865        .54913E-04   -.78506    
   4  Prefactor     .76090        .15255        .46628E-04   -1.0119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68955e-08
Minuit parameter uncertainties:
  1  32.4495
  2  1.17516
  3  0.238832
  4  0.152633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/171981': 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) = 6967.30060181
delta logL = 0.0132158160768

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.254e+01  3.245e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.263e+00  1.175e+00  0.000e+00  1.000e+01 (-1.000e+00)
432        Scale:  9.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
502    Prefactor:  7.609e-01  1.526e-01  0.000e+00  1.000e+01 ( 1.000e+00)
503        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
504        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
501   Normalization:  1.474e+00  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
Ra Dec: 353.557 7.602

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/171981/cmap_HighResolution_674006401_674265601_4FGL_J2334.2+0736_daily_bin1677.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.46e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2022-05-15 01:24:39.119473', job_id='171981', GAL2='0.76', fit_tolerance='1e-08', EG2='1.47', EG='1.47', time_epoch_completed='1652603079.12', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='1.32e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1677' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun May 15 01:24:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 171981: <4FGL_J2334.2+0736_daily_bin1677> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1677> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun May 15 01:10:25 2022
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun May 15 01:11:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun May 15 01:11:35 2022
Terminated at Sun May 15 01:24:40 2022
Results reported at Sun May 15 01:24:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1677 353.557 7.602 674006401 674265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2334.2+0736 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   731.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             346.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            855 sec.

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

