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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1685
RA = 338.691, Dec = 9.732
tmin = 676080001, tmax = 676339201
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='384737', job_status='RUN', time_executed='2022-06-08 01:14:01.481074', time_epoch_executed='1654676041.48' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384737

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384737/ft1_4FGL_J2234.7+0943_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384737/ft1_4FGL_J2234.7+0943_daily_bin1685.fits outfile=/scratch/kocevski/384737/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1685.fits ra=338.691 dec=9.732 rad=12.0 tmin=676080001.0 tmax=676339201.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.58
user 3.35
sys 0.21

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

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

Number of photons that the gtmktime cut: 921

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/384737/ltcube_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.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/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits
.....................!
real 13.90
user 13.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384737/ltcube_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits outfile=/scratch/kocevski/384737/expmap_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.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/384737/ltcube_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits
.....................!
real 192.23
user 185.99
sys 5.94

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/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits scfile=/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits outfile=/scratch/kocevski/384737/cmap_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits scfile=/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits outfile=/scratch/kocevski/384737/cmap_HighResolution_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384737/Model_4FGL_J2234.7+0943_daily_bin1685.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/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits.....................!
real 93.45
user 92.12
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits', '/scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits', expMap='/scratch/kocevski/384737/expmap_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits', expCube='/scratch/kocevski/384737/ltcube_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384737/Model_4FGL_J2234.7+0943_daily_bin1685.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/384737/ft1_filtered_4FGL_J2234.7+0943_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/384737/ft2_4FGL_J2234.7+0943_daily_bin1685.fits
Exposure map: /scratch/kocevski/384737/expmap_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits
Exposure cube: /scratch/kocevski/384737/ltcube_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384737/Model_4FGL_J2234.7+0943_daily_bin1685.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) = 9890.54286275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .34333       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.727       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.361       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.587       1.0000         .10000E-03   10000.    
     7 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.2267       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.5437       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4475       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4945       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5425       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.731       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35408       1.0000         .10000E-03   10000.    
    17 'Prefactor '    11.118       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9157       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.0767       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78408       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97799       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=   9890.492     FROM MIGRAD    STATUS=CONVERGED    444 CALLS     2004 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .71580       -.45451E-07** at limit **
   2  norm          .10000E-03    4.7609        .22839E-05** at limit **
   3  norm          .34344        .84557       -.12669E-05   -.33695E-02
   4  Prefactor     23.727        15.201       -.65253E-06    .31436E-04
   5  Prefactor     19.360        12.342       -.10361E-05    .24770E-04
   6  Prefactor     13.580        24.900       -.16524E-04    .21766E-05
   7  norm          .10000E-03    1.8802        .25606E-07** at limit **
   8  Prefactor     .10000E-03    5.9603       -.88198E-06** at limit **
   9  Prefactor     3.2172        11.390       -.20432E-04   -.12969E-03
  10  Prefactor     1.5436        .23647       -.62159E-07    .22162E-02
  11  Prefactor     3.4476        3.4328       -.18643E-06    .27889E-03
  12  norm          1.4945        1.5828        .22154E-06   -.35925E-03
  13  Prefactor     6.5447        25.451        .70757E-05   -.32972E-04
  14  Prefactor     25.729        17.915       -.31882E-05    .69670E-04
  15  Prefactor     .10000E-03    6.4552        .44019E-05** at limit **
  16  Prefactor     .35406        .13607       -.12174E-06   -.11267E-02
  17  Prefactor     11.100        20.842       -.41468E-04    .80653E-05
  18  Prefactor     7.9159        5.6506       -.62371E-06   -.10586E-03
  19  Prefactor     7.0765        5.4058        .90854E-07    .60619E-03
  20  Prefactor     .10000E-03    5.4255       -.55804E-05** at limit **
  21  Normalizat    .78430        .18308        .10805E-04    .67587E-04
  22  Prefactor     .97786        .10101        .98650E-08    .68409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.343441
  Prefactor  = 23.7267
  Prefactor  = 19.3601
  Prefactor  = 13.5801
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.21724
  Prefactor  = 1.54364
  Prefactor  = 3.44765
  norm       = 1.49453
  Prefactor  = 6.54474
  Prefactor  = 25.7286
  Prefactor  = 0.0001
  Prefactor  = 0.354057
  Prefactor  = 11.1005
  Prefactor  = 7.91589
  Prefactor  = 7.0765
  Prefactor  = 0.0001
  Normalizat = 0.784302
  Prefactor  = 0.977863
 **********
 **   18 **HESSE 
 **********

 FCN=   9890.492     FROM HESSE     STATUS=OK           346 CALLS     2350 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .72456        .82153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.7630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .34344        .86074        .13712E-03   -1.5591    
   4  Prefactor     23.727        15.196        .82234E-04   -1.4733    
   5  Prefactor     19.360        12.343        .91026E-04   -1.4828    
   6  Prefactor     13.580        24.911        .10866E-03   -1.4971    
   7  norm          .10000E-03    1.8958        .13312E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.9841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.2172        11.430        .22551E-03   -1.5349    
  10  Prefactor     1.5436        .23666        .17917E-04   -1.5459    
  11  Prefactor     3.4476        3.4397        .17920E-03   -1.5337    
  12  norm          1.4945        1.5610        .11842E-03   -1.5463    
  13  Prefactor     6.5447        25.466        .15690E-03   -1.5196    
  14  Prefactor     25.729        17.809        .78972E-04   -1.4693    
  15  Prefactor     .10000E-03    6.4664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .35406        .13411        .20621E-04   -1.5589    
  17  Prefactor     11.100        20.806        .12015E-03   -1.5041    
  18  Prefactor     7.9159        5.6468        .14251E-03   -1.5145    
  19  Prefactor     7.0765        5.4069        .75399E-03   -1.5176    
  20  Prefactor     .10000E-03    5.4272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .78430        .21292        .35476E-03   -1.0065    
  22  Prefactor     .97786        .11923        .18470E-03   -.93471    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46702e-09
Minuit parameter uncertainties:
  1  6.04059e-06
  2  7.70695e-06
  3  0.86077
  4  15.1986
  5  12.3451
  6  24.9303
  7  5.72724e-06
  8  2.00695e-05
  9  11.4379
  10  0.236663
  11  3.43986
  12  1.56108
  13  25.5086
  14  17.8122
  15  1.97406e-05
  16  0.134113
  17  20.8198
  18  5.64717
  19  5.40722
  20  6.26219e-06
  21  0.213143
  22  0.119259
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.448e+00  3.440e+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

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.779e-01  1.193e-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:  7.843e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.32
Ra Dec: 338.691 9.732
Photon Index (Fixed Index): 0.94 +/- 0.00
Photon Flux (Fixed Index): 8.86e-09 +/- 8.84e-09
Energy Flux (Fixed Index): 6.53e-06 +/- 6.52e-06

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) = 9889.57375775
delta logL = 0.918740413179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9889.57279101
delta logL = 0.91970715929

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5507       1.0000         .10000E-03   10000.    
     2 'Index1    '    .23451E-05   1.0000          .0000       10.000    
     3 'Normalizat'    .78548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97866       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.

 FCN=   9889.573     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      211 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5518        3.5547        .53625E-02   -.42070E-03
   2  Index1        .18974E-11    .57534        .50000    ** at limit **
   3  Normalizat    .78608        .17322        .80054E-01   -.49626E-04
   4  Prefactor     .97839        .10034        .46000E-01   -.30257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55176
  Index1     = 1.89737e-12
  Normalizat = 0.786077
  Prefactor  = 0.978395
 **********
 **   18 **HESSE 
 **********

 FCN=   9889.573     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .51E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5518        3.5582        .18290E-03   -1.5331    
   2  Index1        .18974E-11    .74395        .46970E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .78608        .20363        .35442E-03   -1.0059    
   4  Prefactor     .97839        .11821        .18467E-03   -.93453    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06347e-11
Minuit parameter uncertainties:
  1  3.55845
  2  2.40683e-06
  3  0.20383
  4  0.118243
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384737': 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) = 9889.57278495
delta logL = 0.919713213321

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  3.552e+00  3.558e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  1.897e-12  2.407e-06  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:  9.784e-01  1.182e-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:  7.861e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.16
Ra Dec: 338.691 9.732
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 4.14e-09 +/- 4.15e-09
Energy Flux (Free Index): 9.46e-06 +/- 9.47e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/384737/cmap_HighResolution_676080001_676339201_4FGL_J2234.7+0943_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.86e-09', energy_flux2='9.46e-06', photon_flux_error='8.84e-09', dlogl='9.20e-01', energy_flux='6.53e-06', photon_flux2='4.14e-09', job_status='DONE', time_completed='2022-06-08 01:25:32.436639', photon_index_error2='0.00', photon_index2='0.00', ts='5.32', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='9.47e-06', EG='0.78', time_epoch_completed='1654676732.44', return_code='0', job_id='384737', GAL2='0.98', EG2='0.79', return_code2='0', energy_flux_error='6.52e-06', photon_flux_error2='4.15e-09', ts2='7.16', photon_index='0.94' WHERE bin_id='1685' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:25:32 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 384737: <4FGL_J2234.7+0943_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:13 2022
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:10:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:10:27 2022
Terminated at Wed Jun  8 01:25:33 2022
Results reported at Wed Jun  8 01:25:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1685 338.691 9.732 676080001 676339201 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 :                                   693.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            920 sec.

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

