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


Performing analysis on: 4FGL_J2234.7+0943_daily_bin1675
RA = 338.691, Dec = 9.732
tmin = 673488001, tmax = 673747201
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='884159', job_status='RUN', time_executed='2022-05-09 01:29:08.757861', time_epoch_executed='1652084948.76' WHERE source_name='4FGL J2234.7+0943' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/884159

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/884159/ft1_4FGL_J2234.7+0943_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/884159/ft1_4FGL_J2234.7+0943_daily_bin1675.fits outfile=/scratch/kocevski/884159/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1675.fits ra=338.691 dec=9.732 rad=12.0 tmin=673488001.0 tmax=673747201.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.60
user 2.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.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/884159/ft1_filteredMKT_4FGL_J2234.7+0943_daily_bin1675.fits evtable="EVENTS" outfile="/scratch/kocevski/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.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.36
sys 0.15

Number of photons that the gtmktime cut: 789

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/884159/ltcube_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.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/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits
.....................!
real 15.55
user 15.15
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/884159/ltcube_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.fits outfile=/scratch/kocevski/884159/expmap_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.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/884159/ltcube_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.fits
.....................!
real 192.87
user 187.25
sys 5.14

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/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits outfile=/scratch/kocevski/884159/cmap_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits outfile=/scratch/kocevski/884159/cmap_HighResolution_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/884159/ft2_4FGL_J2234.7+0943_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/884159/Model_4FGL_J2234.7+0943_daily_bin1675.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/884159/ft1_filtered_4FGL_J2234.7+0943_daily_bin1675.fits.....................!
real 82.43
user 80.96
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10145E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   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 '    14.060       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.626       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .75083       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3590       1.0000         .10000E-03   10000.    
    12 'norm      '    1.3487       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.335       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .67424       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.793       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.360       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5616       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .59800       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=   8371.477     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2362 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .86258        .33073E-01** at limit **
   2  norm          .10000E-03    8.5088        .90712E-02** at limit **
   3  norm          .10000E-03    .25757        .90712E-02** at limit **
   4  Prefactor     .10000E-03    3.2239        .90712E-02** at limit **
   5  Prefactor     .10000E-03    3.7915        .90712E-02** at limit **
   6  Prefactor     14.060        13.256        .26705E-02    .16637E-04
   7  norm          .10000E-03    2.0996        .90712E-02** at limit **
   8  Prefactor     .10000E-03    26.806        .90712E-02** at limit **
   9  Prefactor     12.625        11.614        .28183E-02    .34716E-04
  10  Prefactor     .75068        .19253        .43694E-02    .18383E-03
  11  Prefactor     9.3593        6.0469        .32750E-02   -.68920E-04
  12  norm          1.3487        1.1552        .94217E-02   -.14457E-03
  13  Prefactor     .10001E-03    16.367        .90712E-02** at limit **
  14  Prefactor     15.335        12.776        .25570E-02    .18425E-04
  15  Prefactor     .10000E-03    12.942        .90712E-02** at limit **
  16  Prefactor     .67418        .16756        .39715E-02    .55536E-03
  17  Prefactor     21.793        31.471        .21450E-02    .29038E-03
  18  Prefactor     10.360        9.6808        .31121E-02    .23650E-02
  19  Prefactor     .10000E-03    4.3611        .90712E-02** at limit **
  20  Prefactor     .10001E-03    17.899        .90712E-02** at limit **
  21  Normalizat    1.5617        .19434        .60762E-01    .13677E-04
  22  Prefactor     .59791        .10114        .41027E-01    .36230E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0599
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6252
  Prefactor  = 0.750679
  Prefactor  = 9.35928
  norm       = 1.34872
  Prefactor  = 0.000100012
  Prefactor  = 15.3348
  Prefactor  = 0.0001
  Prefactor  = 0.674183
  Prefactor  = 21.7929
  Prefactor  = 10.3603
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Normalizat = 1.56171
  Prefactor  = 0.597906
 **********
 **   18 **HESSE 
 **********

 FCN=   8371.477     FROM HESSE     STATUS=OK           344 CALLS     2706 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.5380        .16517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    8.5661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .26788        .90601E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.2259        .16044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7950        .17399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.060        13.266        .10682E-03   -1.4958    
   7  norm          .10000E-03    2.1416        .12943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.847        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.625        11.626        .11273E-03   -1.4997    
  10  Prefactor     .75068        .19247        .19339E-04   -1.5535    
  11  Prefactor     9.3593        6.0505        .13100E-03   -1.5096    
  12  norm          1.3487        1.1668        .87896E-04   -1.5476    
  13  Prefactor     .10001E-03    16.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.335        12.769        .10228E-03   -1.4925    
  15  Prefactor     .10000E-03    12.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .67418        .16724        .17597E-04   -1.5544    
  17  Prefactor     21.793        31.545        .85801E-04   -1.4774    
  18  Prefactor     10.360        9.6934        .62242E-03   -1.5064    
  19  Prefactor     .10000E-03    4.3687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    17.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5617        .22916        .26871E-03   -.76059    
  22  Prefactor     .59791        .11867        .22091E-03   -1.0767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76146e-09
Minuit parameter uncertainties:
  1  2.46269e-08
  2  6.62808e-06
  3  4.97779e-08
  4  1.24582e-07
  5  4.90671e-11
  6  13.2688
  7  2.55831e-07
  8  0.000137721
  9  11.6282
  10  0.192473
  11  6.05085
  12  1.16685
  13  0.00089694
  14  12.7716
  15  0.000155333
  16  0.167237
  17  31.5694
  18  9.69485
  19  4.88987e-07
  20  0.000877144
  21  0.229318
  22  0.118719
Done.

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

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  9.359e+00  6.051e+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:  5.979e-01  1.187e-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:  1.562e+00  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.42
Ra Dec: 338.691 9.732
Photon Index (Fixed Index): 0.94 +/- 0.00
Photon Flux (Fixed Index): 2.40e-08 +/- 1.55e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.15e-05

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) = 8370.44122496
delta logL = 1.03552107466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8370.4393182
delta logL = 1.03742783521

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.7465       1.0000         .10000E-03   10000.    
     2 'Index1    '    .95817E-08   1.0000          .0000       10.000    
     3 'Normalizat'    1.5653       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60027       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=   8370.439     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.7478        6.5357        .34425E-05    .15425E-03
   2  Index1        .16588E-09    .62489        .10245E-04** at limit **
   3  Normalizat    1.5653        .18750        .20887E-06   -.50078E-04
   4  Prefactor     .60027        .10113       -.35949E-06   -.33414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.74778
  Index1     = 1.65882e-10
  Normalizat = 1.56526
  Prefactor  = 0.600267
 **********
 **   18 **HESSE 
 **********

 FCN=   8370.439     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.7478        6.5791        .12836E-03   -1.5083    
   2  Index1        .16588E-09    1.6944        .45042E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5653        .21950        .26854E-03   -.75961    
   4  Prefactor     .60027        .11838        .22061E-03   -1.0757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07143e-10
Minuit parameter uncertainties:
  1  6.57961
  2  3.45572e-05
  3  0.219639
  4  0.118425
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/884159': 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) = 8370.43931818
delta logL = 1.03742786306

Extracting fit parameters...

4FGL J2234.7+0943
   Spectrum: PLSuperExpCutoff2
279    Prefactor:  9.748e+00  6.580e+00  1.000e-04  1.000e+04 ( 1.000e-12)
280       Index1:  1.659e-10  3.456e-05  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:  6.003e-01  1.184e-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:  1.565e+00  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.49
Ra Dec: 338.691 9.732
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 1.14e-08 +/- 7.67e-09
Energy Flux (Free Index): 2.59e-05 +/- 1.75e-05

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/884159/cmap_HighResolution_673488001_673747201_4FGL_J2234.7+0943_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.40e-08', energy_flux2='2.59e-05', photon_flux_error='1.55e-08', dlogl='1.04e+00', energy_flux='1.77e-05', photon_flux2='1.14e-08', job_status='DONE', time_completed='2022-05-09 01:40:04.356319', photon_index_error2='0.00', photon_index2='0.00', ts='11.42', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', energy_flux_error2='1.75e-05', EG='1.56', time_epoch_completed='1652085604.36', return_code='0', job_id='884159', GAL2='0.60', EG2='1.57', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='7.67e-09', ts2='13.49', photon_index='0.94' WHERE bin_id='1675' AND source_name='4FGL J2234.7+0943' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:40:04 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 884159: <4FGL_J2234.7+0943_daily_bin1675> in cluster <slac> Done

Job <4FGL_J2234.7+0943_daily_bin1675> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon May  9 01:25:27 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:26:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:26:34 2022
Terminated at Mon May  9 01:40:05 2022
Results reported at Mon May  9 01:40:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2234.7+0943_daily_bin1675 338.691 9.732 673488001 673747201 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 :                                   657.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            878 sec.

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

