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


Performing analysis on: 4FGL_J2334.2+0736_daily_bin1682
RA = 353.557, Dec = 7.602
tmin = 675302401, tmax = 675561601
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='901328', job_status='RUN', time_executed='2022-05-30 01:11:49.612971', time_epoch_executed='1653898309.61' WHERE source_name='4FGL J2334.2+0736' and cadence='daily' and bin_id='1682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901328

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901328/ft1_4FGL_J2334.2+0736_daily_bin1682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901328/ft2_4FGL_J2334.2+0736_daily_bin1682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901328/ft1_4FGL_J2334.2+0736_daily_bin1682.fits outfile=/scratch/kocevski/901328/ft1_filteredMKT_4FGL_J2334.2+0736_daily_bin1682.fits ra=353.557 dec=7.602 rad=12.0 tmin=675302401.0 tmax=675561601.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.59
user 3.33
sys 0.21

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

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

Number of photons that the gtmktime cut: 783

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901328/ft1_filtered_4FGL_J2334.2+0736_daily_bin1682.fits evtable="EVENTS" scfile=/scratch/kocevski/901328/ft2_4FGL_J2334.2+0736_daily_bin1682.fits sctable="SC_DATA" expcube=/scratch/kocevski/901328/ltcube_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.fits outfile=/scratch/kocevski/901328/expmap_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.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/901328/ltcube_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.fits
.....................!
real 193.31
user 186.96
sys 5.96

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/901328/ft1_filtered_4FGL_J2334.2+0736_daily_bin1682.fits scfile=/scratch/kocevski/901328/ft2_4FGL_J2334.2+0736_daily_bin1682.fits outfile=/scratch/kocevski/901328/cmap_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901328/ft1_filtered_4FGL_J2334.2+0736_daily_bin1682.fits scfile=/scratch/kocevski/901328/ft2_4FGL_J2334.2+0736_daily_bin1682.fits outfile=/scratch/kocevski/901328/cmap_HighResolution_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.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.56
user 0.40
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2404       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.249       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.622       1.0000         .10000E-03   10000.    
     7 'norm      '    .37641       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8992       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.3510       1.0000         .10000E-03   10000.    
    10 'Prefactor '    54.983       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9443       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .55644E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.183       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.553       1.0000         .10000E-03   10000.    
    16 'norm      '    5.8491       1.0000         .10000E-03   10000.    
    17 'norm      '    12.511       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .27094E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9235       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.5235       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .73447E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.0991       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85375       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0038       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=   8675.872     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2774 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.2398        14.863        .13150E-06    .68749E-05
   2  Prefactor     .10000E-03    5.4197       -.32196E-06** at limit **
   3  Prefactor     29.247        36.065        .46657E-06    .27609E-05
   4  Prefactor     .10000E-03    1.4332       -.21573E-07** at limit **
   5  Prefactor     .10000E-03    5.4087        .12041E-06** at limit **
   6  Prefactor     22.617        18.315        .52220E-06    .24308E-04
   7  norm          .37727        .60927       -.18408E-06   -.18259E-02
   8  Prefactor     2.9056        11.942        .39572E-06   -.30392E-04
   9  Prefactor     1.3498        55.659        .19224E-04    .49415E-05
  10  Prefactor     55.043        61.070       -.69856E-05    .46439E-04
  11  norm          6.9419        7.3358        .61920E-06   -.19470E-05
  12  Prefactor     .10000E-03    3.2613       -.43459E-06** at limit **
  13  Prefactor     .10001E-03    764.60        .32958E-04** at limit **
  14  Prefactor     41.207        14.879        .60550E-06    .20893E-03
  15  Prefactor     16.550        21.670        .24678E-06   -.41091E-05
  16  norm          5.8494        7.8723       -.46111E-07    .32401E-05
  17  norm          12.518        16.364        .25981E-06    .61831E-04
  18  Prefactor     .10001E-03    1.8530       -.36650E-06** at limit **
  19  Prefactor     2.9198        111.07        .55961E-05    .19653E-04
  20  Prefactor     9.5235        13.394       -.63164E-08    .21833E-05
  21  Prefactor     .10001E-03    3.7719       -.21588E-06** at limit **
  22  Prefactor     8.1013        11.548        .97646E-07    .31024E-04
  23  Normalizat    .85386        .18980       -.61281E-06    .11216E-03
  24  Prefactor     1.0037        .11500        .30526E-07    .12813E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.23982
  Prefactor  = 0.0001
  Prefactor  = 29.2469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6174
  norm       = 0.377274
  Prefactor  = 2.90558
  Prefactor  = 1.34982
  Prefactor  = 55.0435
  norm       = 6.9419
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Prefactor  = 41.2065
  Prefactor  = 16.5502
  norm       = 5.84936
  norm       = 12.5176
  Prefactor  = 0.000100008
  Prefactor  = 2.91982
  Prefactor  = 9.52353
  Prefactor  = 0.000100011
  Prefactor  = 8.10133
  Normalizat = 0.853861
  Prefactor  = 1.00369
 **********
 **   18 **HESSE 
 **********

 FCN=   8675.872     FROM HESSE     STATUS=OK           415 CALLS     3189 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.2398        14.889        .14907E-03   -1.5170    
   2  Prefactor     .10000E-03    5.4216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.247        36.090        .74081E-04   -1.4626    
   4  Prefactor     .10000E-03    1.4356        .10890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.617        18.324        .84217E-04   -1.4756    
   7  norm          .37727        .47801        .89566E-03   -1.5585    
   8  Prefactor     2.9056        11.562        .23865E-03   -1.5367    
   9  Prefactor     1.3498        55.543        .18819E-02   -1.5476    
  10  Prefactor     55.043        60.683        .54095E-04   -1.4223    
  11  norm          6.9419        7.2402        .15224E-03   -1.5181    
  12  Prefactor     .10000E-03    3.3133        .16407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    760.64        .21103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.207        14.321        .62464E-04   -1.4423    
  15  Prefactor     16.550        21.576        .98443E-04   -1.4894    
  16  norm          5.8494        7.8676        .16605E-03   -1.5224    
  17  norm          12.518        16.315        .11325E-03   -1.5000    
  18  Prefactor     .10001E-03    20.067        .22975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9198        110.35        .23759E-03   -1.5366    
  20  Prefactor     9.5235        13.383        .12986E-03   -1.5091    
  21  Prefactor     .10001E-03    4.3487        .58112E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.1013        11.552        .14088E-03   -1.5139    
  23  Normalizat    .85386        .21813        .32900E-03   -.98101    
  24  Prefactor     1.0037        .13325        .20110E-03   -.92607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70243e-10
Minuit parameter uncertainties:
  1  14.8963
  2  1.19171e-06
  3  36.1173
  4  1.18535e-06
  5  1.17952e-05
  6  18.3282
  7  0.478019
  8  11.5707
  9  17.334
  10  60.7509
  11  7.2411
  12  2.68195e-05
  13  0.00614765
  14  14.3224
  15  21.5859
  16  7.86901
  17  16.3212
  18  0.000807505
  19  35.9709
  20  13.3867
  21  0.000433344
  22  11.5549
  23  0.218353
  24  0.13329
Done.

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

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.655e+01  2.159e+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:  1.004e+00  1.333e-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:  8.539e-01  2.184e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/901328/likelihoodResults_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.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) = 8675.86880848
delta logL = 0.00322520411282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8675.86733222
delta logL = 0.00470146694897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.300       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5546       1.0000          .0000       10.000    
     3 'Normalizat'    .85206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0044       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=   8675.867     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      261 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.303        25.590        .10239E-03    .10437E-04
   2  Index         2.5539        .94035        .90395E-02    .28722E-03
   3  Normalizat    .85152        .20172        .32940E-03    .40725E-03
   4  Prefactor     1.0047        .13296        .20101E-03    .76880E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3029
  Index      = 2.55395
  Normalizat = 0.851521
  Prefactor  = 1.00474
 **********
 **   18 **HESSE 
 **********

 FCN=   8675.867     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.303        24.013        .40957E-05   -1.4925    
   2  Index         2.5539        .88282        .18079E-02   -.51118    
   3  Normalizat    .85152        .20166        .13176E-04   -.98185    
   4  Prefactor     1.0047        .13289        .40202E-04   -.92572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09868e-10
Minuit parameter uncertainties:
  1  24.0279
  2  0.888968
  3  0.201841
  4  0.132933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901328': 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) = 8675.86732777
delta logL = 0.00470591366866

Extracting fit parameters...

4FGL J2334.2+0736
   Spectrum: PowerLaw
430    Prefactor:  1.530e+01  2.403e+01  1.000e-04  1.000e+04 ( 1.000e-13)
431        Index:  2.554e+00  8.890e-01  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:  1.005e+00  1.329e-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:  8.515e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
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/901328/cmap_HighResolution_675302401_675561601_4FGL_J2334.2+0736_daily_bin1682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.70e-03', job_status='DONE', photon_flux_upper_limit='1.12e-07', time_completed='2022-05-30 01:25:07.191714', job_id='901328', GAL2='1.00', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1653899107.19', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='4.71e-03', ts2='0.81', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1682' AND source_name='4FGL J2334.2+0736' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 30 01:25:07 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 901328: <4FGL_J2334.2+0736_daily_bin1682> in cluster <slac> Done

Job <4FGL_J2334.2+0736_daily_bin1682> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon May 30 01:10:20 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May 30 01:10:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May 30 01:10:44 2022
Terminated at Mon May 30 01:25:08 2022
Results reported at Mon May 30 01:25:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2334.2+0736_daily_bin1682 353.557 7.602 675302401 675561601 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 :                                   799.61 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             319.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            888 sec.

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

