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 46 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.2+0736_daily_bin1683
RA = 353.557, Dec = 7.602
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='53031', job_status='RUN', time_executed='2022-06-02 01:39:21.416794', time_epoch_executed='1654159161.42' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1683'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/53031

Creating custom pfile directory:
/scratch/kocevski/53031/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/53031/ft1_4FGL_J2334.2+0736_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/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/53031/ft1_4FGL_J2334.2+0736_daily_bin1683.fits outfile=/scratch/kocevski/53031/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1683.fits ra=353.557 dec=7.602 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.47
user 3.22
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_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/53031/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1683.fits evtable="EVENTS" outfile="/scratch/kocevski/53031/ft1_filtered_4FGL_J2334.2+0736_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.32
sys 0.17

Number of photons that the gtmktime cut: 742

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits" evtable="EVENTS" scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits sctable="SC_DATA" outfile=/scratch/kocevski/53031/ltcube_675561601_675820801_4FGL_J2334.2+0736_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/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits
.....................!
real 13.97
user 13.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits sctable="SC_DATA" expcube=/scratch/kocevski/53031/ltcube_675561601_675820801_4FGL_J2334.2+0736_daily_bin1683.fits outfile=/scratch/kocevski/53031/expmap_675561601_675820801_4FGL_J2334.2+0736_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/53031/ltcube_675561601_675820801_4FGL_J2334.2+0736_daily_bin1683.fits
.....................!
real 192.38
user 186.47
sys 5.23

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/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits outfile=/scratch/kocevski/53031/cmap_675561601_675820801_4FGL_J2334.2+0736_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.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits outfile=/scratch/kocevski/53031/cmap_HighResolution_675561601_675820801_4FGL_J2334.2+0736_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.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits evtable="EVENTS" scfile=/scratch/kocevski/53031/ft2_4FGL_J2334.2+0736_daily_bin1683.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/53031/Model_4FGL_J2334.2+0736_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/53031/ft1_filtered_4FGL_J2334.2+0736_daily_bin1683.fits.....................!
real 85.66
user 83.32
sys 1.43

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.345       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.447       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .33619       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    63.602       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4838       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    180.85       1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.516       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.6950       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6994       1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.718       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8360       1.0000         .10000E-03   10000.    
    22 'Prefactor '    11.921       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .63431       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99067       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=   8185.423     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2686 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.345        17.988       -.23209E-06   -.16533E-04
   2  Prefactor     .10000E-03    4.0928        .10180E-06** at limit **
   3  Prefactor     16.440        29.285       -.74011E-05   -.13072E-03
   4  Prefactor     .10000E-03    1.7088       -.54368E-07** at limit **
   5  Prefactor     .10000E-03    5.6964        .38216E-07** at limit **
   6  Prefactor     .10000E-03    22.245       -.73734E-06** at limit **
   7  norm          .33614        .65674        .89603E-07   -.16227E-03
   8  Prefactor     .10000E-03    2.6450        .27122E-08** at limit **
   9  Prefactor     63.602        24.163       -.21573E-06   -.58200E-06
  10  Prefactor     .10000E-03    10.099        .11206E-05** at limit **
  11  norm          3.4843        6.0776       -.80400E-07   -.10883E-03
  12  Prefactor     .10000E-03    2.1667       -.33750E-07** at limit **
  13  Prefactor     180.85        151.25        .22449E-06   -.10721E-04
  14  Prefactor     14.516        10.755       -.18919E-06   -.16102E-03
  15  Prefactor     .10000E-03    4.8042       -.13501E-06** at limit **
  16  norm          8.6954        11.576        .88818E-07   -.28697E-03
  17  norm          .10000E-03    15.063        .26556E-05** at limit **
  18  Prefactor     5.6993        4.4077       -.74539E-06   -.44111E-03
  19  Prefactor     20.718        25.843       -.70144E-06   -.11369E-04
  20  Prefactor     .10000E-03    11.996       -.30127E-05** at limit **
  21  Prefactor     3.8358        3.2686        .76592E-06   -.20242E-02
  22  Prefactor     11.921        13.104       -.25008E-06   -.17675E-04
  23  Normalizat    .63439        .17792        .19785E-05   -.66044E-05
  24  Prefactor     .99062        .11039       -.23125E-06    .12890E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.3446
  Prefactor  = 0.0001
  Prefactor  = 16.44
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.336138
  Prefactor  = 0.0001
  Prefactor  = 63.6016
  Prefactor  = 0.0001
  norm       = 3.48428
  Prefactor  = 0.0001
  Prefactor  = 180.854
  Prefactor  = 14.5161
  Prefactor  = 0.0001
  norm       = 8.6954
  norm       = 0.0001
  Prefactor  = 5.69929
  Prefactor  = 20.7177
  Prefactor  = 0.0001
  Prefactor  = 3.83581
  Prefactor  = 11.9209
  Normalizat = 0.634388
  Prefactor  = 0.990619
 **********
 **   18 **HESSE 
 **********

 FCN=   8185.423     FROM HESSE     STATUS=OK           397 CALLS     3083 TOTAL
                     EDM=   .93E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.345        18.003        .52976E-04   -1.4192    
   2  Prefactor     .10000E-03    4.0930        .17876E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.440        29.639        .98759E-04   -1.4897    
   4  Prefactor     .10000E-03    1.7169        .11550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7437        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.973        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33614        .56777        .96108E-03   -1.5592    
   8  Prefactor     .10000E-03    2.6483        .14361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     63.602        24.159        .50318E-04   -1.4111    
  10  Prefactor     .10000E-03    10.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4843        6.0746        .21664E-03   -1.5335    
  12  Prefactor     .10000E-03    2.1794        .12983E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     180.85        150.55        .30017E-04   -1.3010    
  14  Prefactor     14.516        10.666        .10513E-03   -1.4946    
  15  Prefactor     .10000E-03    4.8096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.6954        11.737        .67968E-03   -1.5118    
  17  norm          .10000E-03    15.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.6993        4.4205        .14332E-03   -1.5230    
  19  Prefactor     20.718        25.861        .87995E-04   -1.4797    
  20  Prefactor     .10000E-03    12.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.8358        5.4122        .10303E-02   -1.5316    
  22  Prefactor     11.921        13.110        .11602E-03   -1.5017    
  23  Normalizat    .63439        .20415        .34114E-03   -1.0654    
  24  Prefactor     .99062        .12839        .18419E-03   -.93043    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27858e-09
Minuit parameter uncertainties:
  1  18.005
  2  1.93987e-06
  3  29.665
  4  1.53244e-06
  5  2.65803e-06
  6  1.59137e-05
  7  0.567784
  8  1.02703e-06
  9  24.1627
  10  3.47043e-05
  11  6.0757
  12  2.51226e-06
  13  150.873
  14  10.6677
  15  3.94914e-06
  16  11.7402
  17  0.000145849
  18  4.42075
  19  25.8753
  20  0.000107856
  21  5.41294
  22  13.1128
  23  0.204394
  24  0.128431
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.000e-04  3.949e-06  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:  9.906e-01  1.284e-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:  6.344e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 353.557 7.602
Photon Flux Upper Limit: 4.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/53031/likelihoodResults_675561601_675820801_4FGL_J2334.2+0736_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): 102
logL (Free Index) = 8185.42371775
delta logL = -0.000989842003946

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8185.42272768
delta logL = 2.30712430493e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4470       1.0000          .0000       10.000    
     3 'Normalizat'    .63439       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99062       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=   8185.423     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      245 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10321E-03    5.0125        .18142E-01** at limit **
   2  Index         2.3474        8.2361        .50000        .33316E-04
   3  Normalizat    .63439        .40324E-02    .34113E-03   -.12591E-03
   4  Prefactor     .99062        .26953E-02    .18419E-03    .34010E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103211
  Index      = 2.34736
  Normalizat = 0.634387
  Prefactor  = 0.99062
 **********
 **   18 **HESSE 
 **********

 FCN=   8185.423     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10321E-03    55.263        .20436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3474        8.2693        .50000       -.55922    
   3  Normalizat    .63439        .13500E-01    .13645E-04   -1.0654    
   4  Prefactor     .99062        .90238E-02    .36837E-04   -.93043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27841e-08
Minuit parameter uncertainties:
  1  0.0266665
  2  313.42
  3  0.0135003
  4  0.00902386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/53031': 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): 102
logL (Free Index) = 8185.42272712
delta logL = 7.8969878814e-07

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.032e-04  2.667e-02  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.347e+00  3.134e+02  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:  9.906e-01  9.024e-03  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:  6.344e-01  1.350e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/53031/cmap_HighResolution_675561601_675820801_4FGL_J2334.2+0736_daily_bin1683.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.43e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2022-06-02 01:52:00.033111', job_id='53031', GAL2='0.99', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1654159920.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='7.90e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1683' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun  2 01:52:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 53031: <4FGL_J2334.2+0736_daily_bin1683> in cluster <slac> Done

Job <4FGL_J2334.2+0736_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) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun  2 01:38:20 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:20 2022
Terminated at Thu Jun  2 01:52:00 2022
Results reported at Thu Jun  2 01:52:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1683 353.557 7.602 675561601 675820801 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 :                                   759.39 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            985 sec.

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

