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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1687
RA = 338.691, Dec = 9.732
tmin = 676598401, tmax = 676857601
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='700295', job_status='RUN', time_executed='2022-06-14 01:37:04.492424', time_epoch_executed='1655195824.49' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1687'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700295

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700295/ft1_4FGL_J2234.7+0943_daily_bin1687.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700295/ft1_4FGL_J2234.7+0943_daily_bin1687.fits outfile=/scratch/kocevski/700295/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1687.fits ra=338.691 dec=9.732 rad=12.0 tmin=676598401.0 tmax=676857601.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 2.94
user 2.72
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.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/700295/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1687.fits evtable="EVENTS" outfile="/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 921

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits" evtable="EVENTS" scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits sctable="SC_DATA" outfile=/scratch/kocevski/700295/ltcube_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.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/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits
.....................!
real 16.09
user 14.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits sctable="SC_DATA" expcube=/scratch/kocevski/700295/ltcube_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits outfile=/scratch/kocevski/700295/expmap_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.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/700295/ltcube_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits
.....................!
real 192.34
user 186.49
sys 5.33

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

Setting source of interest to:
4FGL J2234.7+0943 @ 338.691 9.732

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits outfile=/scratch/kocevski/700295/cmap_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.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=338.691 yref=9.732 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits outfile=/scratch/kocevski/700295/cmap_HighResolution_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.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=338.691 yref=9.732 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits evtable="EVENTS" scfile=/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700295/Model_4FGL_J2234.7+0943_daily_bin1687.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/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits.....................!
real 99.23
user 97.38
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits', '/scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits', expMap='/scratch/kocevski/700295/expmap_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits', expCube='/scratch/kocevski/700295/ltcube_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/700295/Model_4FGL_J2234.7+0943_daily_bin1687.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2234.7+0943'

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/700295/ft1_filtered_4FGL_J2234.7+0943_daily_bin1687.fits
Spacecraft file(s): /scratch/kocevski/700295/ft2_4FGL_J2234.7+0943_daily_bin1687.fits
Exposure map: /scratch/kocevski/700295/expmap_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits
Exposure cube: /scratch/kocevski/700295/ltcube_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/700295/Model_4FGL_J2234.7+0943_daily_bin1687.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) = 9974.83721639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2232       1.0000         .10000E-03   10000.    
     2 'norm      '    6.5432       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.991       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.7092       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.156       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .91644       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.1842       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.631       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .60242       1.0000         .10000E-03   10000.    
    17 'Prefactor '    84.538       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.1267       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.392       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .63323       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0848       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9974.827     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2382 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2259        2.5353       -.15774E-05   -.11113E-02
   2  norm          6.5185        25.734        .92685E-05    .17998E-04
   3  norm          .10000E-03    .14866        .20765E-08** at limit **
   4  Prefactor     .10000E-03    4.3274       -.12083E-06** at limit **
   5  Prefactor     27.992        17.357        .25060E-07    .44959E-06
   6  Prefactor     .10000E-03    27.617        .28953E-06** at limit **
   7  norm          1.7104        3.7031        .38260E-06   -.31564E-04
   8  Prefactor     .10000E-03    21.690       -.62755E-06** at limit **
   9  Prefactor     33.154        15.785        .14463E-06   -.90456E-05
  10  Prefactor     .91644        .20297        .22721E-07    .12443E-02
  11  Prefactor     .10000E-03    3.3639       -.10450E-09** at limit **
  12  norm          1.1844        1.2285        .16557E-07   -.22509E-04
  13  Prefactor     .10000E-03    11.225        .74443E-06** at limit **
  14  Prefactor     33.631        17.014        .69857E-07   -.23269E-05
  15  Prefactor     .10000E-03    8.7155       -.11088E-05** at limit **
  16  Prefactor     .60246        .14309       -.20812E-07    .44376E-03
  17  Prefactor     84.546        35.617       -.46957E-06    .49146E-04
  18  Prefactor     3.1272        5.5296        .40222E-05   -.42651E-03
  19  Prefactor     .10000E-03    7.8435        .73814E-06** at limit **
  20  Prefactor     10.392        11.376        .89688E-07   -.67253E-07
  21  Normalizat    .63309        .20128       -.39081E-06    .52788E-04
  22  Prefactor     1.0849        .10910       -.33220E-06    .13123E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.2259
  norm       = 6.51846
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.9915
  Prefactor  = 0.0001
  norm       = 1.71041
  Prefactor  = 0.0001
  Prefactor  = 33.1536
  Prefactor  = 0.916444
  Prefactor  = 0.0001
  norm       = 1.18442
  Prefactor  = 0.0001
  Prefactor  = 33.6306
  Prefactor  = 0.0001
  Prefactor  = 0.602459
  Prefactor  = 84.5455
  Prefactor  = 3.12717
  Prefactor  = 0.0001
  Prefactor  = 10.3924
  Normalizat = 0.633093
  Prefactor  = 1.08489
 **********
 **   18 **HESSE 
 **********

 FCN=   9974.827     FROM HESSE     STATUS=OK           344 CALLS     2726 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2259        2.5580        .21050E-03   -1.5487    
   2  norm          6.5185        25.869        .15689E-03   -1.5197    
   3  norm          .10000E-03    .15012        .37595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.3320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.992        17.358        .75724E-04   -1.4649    
   6  Prefactor     .10000E-03    27.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.7104        3.6805        .26959E-03   -1.5446    
   8  Prefactor     .10000E-03    22.506        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.154        15.765        .69590E-04   -1.4556    
  10  Prefactor     .91644        .20225        .19909E-04   -1.5517    
  11  Prefactor     .10000E-03    3.3892        .17885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.1844        1.2139        .10624E-03   -1.5490    
  13  Prefactor     .10000E-03    11.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.631        16.948        .69099E-04   -1.4547    
  15  Prefactor     .10000E-03    8.6869        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .60246        .14257        .17219E-04   -1.5553    
  17  Prefactor     84.546        35.607        .43690E-04   -1.3866    
  18  Prefactor     3.1272        5.5640        .11464E-02   -1.5354    
  19  Prefactor     .10000E-03    7.9372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.392        11.375        .12429E-03   -1.5063    
  21  Normalizat    .63309        .22267        .40572E-03   -1.0660    
  22  Prefactor     1.0849        .12236        .18192E-03   -.89951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.34955e-10
Minuit parameter uncertainties:
  1  2.55826
  2  25.9139
  3  5.67664e-08
  4  1.0354e-05
  5  17.3615
  6  0.000132074
  7  3.68099
  8  0.000155589
  9  15.7669
  10  0.202247
  11  2.42236e-07
  12  1.21397
  13  3.92743e-05
  14  16.9499
  15  5.52518e-05
  16  0.142568
  17  35.6155
  18  5.56488
  19  2.80645e-05
  20  11.3771
  21  0.222988
  22  0.12239
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.000e-04  2.422e-07  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.408e-01  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.085e+00  1.224e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  6.331e-01  2.230e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 338.691 9.732
Photon Flux Upper Limit: 3.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/700295/likelihoodResults_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.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) = 9974.82836912
delta logL = -0.00140439469214

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9974.82696449
delta logL = 2.35688276007e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index1    '    .96644       1.0000          .0000       10.000    
     3 'Normalizat'    .63309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0849       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+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=   9974.827     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      239 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.6498        .18142E-02** at limit **
   2  Index1        .99431        5.1783        .50000       -.28692E-04
   3  Normalizat    .63309        .20866        .40572E-03   -.19615E-05
   4  Prefactor     1.0849        .12099        .18192E-03   -.24998E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index1     = 0.994305
  Normalizat = 0.633093
  Prefactor  = 1.08489
 **********
 **   18 **HESSE 
 **********

 FCN=   9974.827     FROM HESSE     STATUS=OK            29 CALLS      268 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.5411        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index1        .99431        5.3337        .50000       -.92920    
   3  Normalizat    .63309        .20882        .16229E-04   -1.0660    
   4  Prefactor     1.0849        .12108        .72767E-05   -.89951    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50389e-09
Minuit parameter uncertainties:
  1  0.0002037
  2  3.00812
  3  0.209082
  4  0.121109
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700295': 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) = 9974.82696423
delta logL = 4.99438101542e-07

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  1.000e-04  2.037e-04  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  9.943e-01  3.008e+00  0.000e+00  1.000e+01 (-1.000e+00)
281        Scale:  1.647e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed
282    Expfactor:  1.040e+01  0.000e+00 -1.000e+00  1.000e+02 ( 1.000e-03) fixed
283       Index2:  6.667e-01  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  1.085e+00  1.211e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  6.331e-01  2.091e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 338.691 9.732

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/700295/cmap_HighResolution_676598401_676857601_4FGL_J2234.7+0943_daily_bin1687.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-05', job_status='DONE', photon_flux_upper_limit='3.33e-08', time_completed='2022-06-14 01:50:36.945038', job_id='700295', GAL2='1.08', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1655196636.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.99e-07', ts2='-0.00', photon_index_error='0.00', photon_index='0.94' WHERE bin_id='1687' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jun 14 01:50:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 700295: <4FGL_J2234.7+0943_daily_bin1687> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1687> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 14 01:35:23 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 14 01:36:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 14 01:36:10 2022
Terminated at Tue Jun 14 01:50:37 2022
Results reported at Tue Jun 14 01:50:37 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1687 338.691 9.732 676598401 676857601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2234.7+0943 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   813.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   867 sec.
    Turnaround time :                            914 sec.

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

