aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 = 17220
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0047.9+2233_weekly_bin279
RA = 11.9981, Dec = 22.5632
tmin = 407721601, tmax = 408326401
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='945994', job_status='RUN', time_executed='2021-07-03 08:57:41.941012', time_epoch_executed='1625327861.94' WHERE source_name='4FGL J0047.9+2233' and cadence='weekly' and bin_id='279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/945994

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/945994/ft1_4FGL_J0047.9+2233_weekly_bin279.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/945994/ft1_4FGL_J0047.9+2233_weekly_bin279.fits outfile=/scratch/kocevski/945994/ft1_filteredMKT_4FGL_J0047.9+2233_weekly_bin279.fits ra=11.9981 dec=22.5632 rad=12.0 tmin=407721601.0 tmax=408326401.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 8.85
user 8.14
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.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/945994/ft1_filteredMKT_4FGL_J0047.9+2233_weekly_bin279.fits evtable="EVENTS" outfile="/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.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.79
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits" evtable="EVENTS" scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits sctable="SC_DATA" outfile=/scratch/kocevski/945994/ltcube_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.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/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits
.....................!
real 25.92
user 25.16
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits evtable="EVENTS" scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits sctable="SC_DATA" expcube=/scratch/kocevski/945994/ltcube_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits outfile=/scratch/kocevski/945994/expmap_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.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/945994/ltcube_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits
.....................!
real 194.78
user 185.43
sys 5.59

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

Setting source of interest to:
4FGL J0047.9+2233 @ 11.9981 22.5632

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits outfile=/scratch/kocevski/945994/cmap_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.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=11.9981 yref=22.5632 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.60
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits outfile=/scratch/kocevski/945994/cmap_HighResolution_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.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=11.9981 yref=22.5632 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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits evtable="EVENTS" scfile=/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/945994/Model_4FGL_J0047.9+2233_weekly_bin279.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/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits.....................!
real 60.24
user 58.60
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits', '/scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits', expMap='/scratch/kocevski/945994/expmap_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits', expCube='/scratch/kocevski/945994/ltcube_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/945994/Model_4FGL_J0047.9+2233_weekly_bin279.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0047.9+2233'

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  3.900e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
178        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/945994/ft1_filtered_4FGL_J0047.9+2233_weekly_bin279.fits
Spacecraft file(s): /scratch/kocevski/945994/ft2_4FGL_J0047.9+2233_weekly_bin279.fits
Exposure map: /scratch/kocevski/945994/expmap_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits
Exposure cube: /scratch/kocevski/945994/ltcube_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/945994/Model_4FGL_J0047.9+2233_weekly_bin279.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) = 5422.89205607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.970       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .56649       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.771       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10284E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.929       1.0000         .10000E-03   10000.    
     9 'norm      '    2.4654       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.047       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.034       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.462       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .74679E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .54878       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.099       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.429       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.4159       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12850E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    54.323       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .92423       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   5422.882     FROM MIGRAD    STATUS=CONVERGED    958 CALLS     3163 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.3557        .83309E-03** at limit **
   2  Prefactor     32.970        16.074        .69786E-04    .92206E-04
   3  Prefactor     .57036        18.804        .36867E-02    .11252E-03
   4  Prefactor     28.766        58.716        .74692E-04    .48706E-05
   5  Prefactor     .10000E-03    5.0093        .31480E-02** at limit **
   6  norm          .10000E-03    5.9702        .17551E-02** at limit **
   7  Prefactor     .10000E-03    12.654        .18142E-02** at limit **
   8  Prefactor     19.932        26.259        .89720E-04    .69692E-05
   9  norm          2.4655        2.3683        .10767E-03    .65465E-05
  10  norm          .10000E-03    5.1159        .16242E-02** at limit **
  11  Prefactor     18.048        11.947        .94279E-04    .94056E-05
  12  Prefactor     26.032        15.308        .78512E-04    .13756E-04
  13  Prefactor     20.463        16.143        .88544E-04    .11812E-04
  14  Prefactor     .10000E-03    18.713        .18142E-02** at limit **
  15  Prefactor     .10000E-03    81.821        .12823    ** at limit **
  16  norm          .54843        .93293        .71087E-04    .67809E-04
  17  norm          .10000E-03    .37897        .44019E-03** at limit **
  18  Prefactor     11.098        10.433        .12026E-03    .14181E-05
  19  Prefactor     11.428        21.850        .11850E-03   -.34538E-05
  20  Prefactor     8.4137        5.9694        .13819E-03   -.16372E-04
  21  Prefactor     .10000E-03    30.657        .36285E-03** at limit **
  22  Prefactor     54.297        37.032        .27211E-03   -.23731E-04
  23  Normalizat    .92420        .24211        .28251E-03    .11070E-03
  24  Prefactor     .89033        .15721        .19765E-03   -.80124E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 32.9697
  Prefactor  = 0.570355
  Prefactor  = 28.766
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9324
  norm       = 2.46552
  norm       = 0.0001
  Prefactor  = 18.0479
  Prefactor  = 26.0321
  Prefactor  = 20.4634
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.548432
  norm       = 0.0001
  Prefactor  = 11.0982
  Prefactor  = 11.4281
  Prefactor  = 8.41365
  Prefactor  = 0.000100001
  Prefactor  = 54.2968
  Normalizat = 0.924204
  Prefactor  = 0.89033
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.882     FROM HESSE     STATUS=OK           385 CALLS     3548 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.3558        .16662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.970        16.012        .27914E-05   -1.4559    
   3  Prefactor     .57036        18.725        .14747E-03   -1.5557    
   4  Prefactor     28.766        58.691        .29877E-05   -1.4635    
   5  Prefactor     .10000E-03    5.0363        .62960E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    5.9708        .35102E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    12.654        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.932        26.257        .35888E-05   -1.4815    
   9  norm          2.4655        2.3683        .43068E-05   -1.5394    
  10  norm          .10000E-03    5.1164        .32483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.048        11.946        .37712E-05   -1.4858    
  12  Prefactor     26.032        15.307        .31405E-05   -1.4687    
  13  Prefactor     20.463        16.141        .35418E-05   -1.4803    
  14  Prefactor     .10000E-03    18.714        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    79.314        .13046       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .54843        .93082        .28435E-05   -1.5560    
  17  norm          .10000E-03    .37898        .88038E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.098        10.433        .48103E-05   -1.5042    
  19  Prefactor     11.428        21.848        .47400E-05   -1.5032    
  20  Prefactor     8.4137        5.9689        .55275E-05   -1.5128    
  21  Prefactor     .10000E-03    30.658        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     54.297        37.031        .10884E-04   -1.4233    
  23  Normalizat    .92420        .24228        .11300E-04   -.95615    
  24  Prefactor     .89033        .15734        .79060E-05   -.96480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99899e-10
Minuit parameter uncertainties:
  1  6.65861e-06
  2  16.0139
  3  6.53774
  4  58.8092
  5  1.69673e-05
  6  1.03104e-06
  7  3.49314e-07
  8  26.2718
  9  2.36839
  10  4.45515e-06
  11  11.9475
  12  15.3088
  13  16.1449
  14  5.37389e-07
  15  0.000598989
  16  0.930841
  17  1.64252e-07
  18  10.4346
  19  21.8629
  20  5.96934
  21  0.000251701
  22  37.0467
  23  0.242568
  24  0.157422
Done.

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

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  2.603e+01  1.531e+01  1.000e-04  1.000e+04 ( 1.000e-13)
178        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.903e-01  1.574e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  9.242e-01  2.426e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.22
Ra Dec: 11.998 22.563
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 8.38e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.42e-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) = 5422.30989586
delta logL = 0.572193321199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5422.30974388
delta logL = 0.57234530757

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.503       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0111       1.0000          .0000       10.000    
     3 'Normalizat'    .96113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+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=   5422.310     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      299 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.485        26.248        .62224E-04    .78564E-05
   2  Index         2.0107        .44032        .60759E-02   -.93798E-05
   3  Normalizat    .96179        .22903        .27747E-03   -.14975E-03
   4  Prefactor     .87316        .15639        .19929E-03    .13309E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.4851
  Index      = 2.01068
  Normalizat = 0.961793
  Prefactor  = 0.873155
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.310     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.485        26.004        .24890E-05   -1.4419    
   2  Index         2.0107        .43599        .24304E-03   -.64083    
   3  Normalizat    .96179        .22911        .11099E-04   -.94322    
   4  Prefactor     .87316        .15647        .39858E-04   -.97086    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35659e-10
Minuit parameter uncertainties:
  1  26.0113
  2  0.436851
  3  0.229343
  4  0.156552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/945994': 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) = 5422.30973917
delta logL = 0.572350011164

Extracting fit parameters...

4FGL J0047.9+2233
   Spectrum: PowerLaw
177    Prefactor:  4.149e+01  2.601e+01  1.000e-04  1.000e+04 ( 1.000e-13)
178        Index:  2.011e+00  4.369e-01  0.000e+00  1.000e+01 (-1.000e+00)
179        Scale:  1.177e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  8.732e-01  1.566e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  9.618e-01  2.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.31
Ra Dec: 11.998 22.563
Photon Index (Free Index): 2.01 +/- 0.44
Photon Flux (Free Index): 5.83e-08 +/- 4.45e-08
Energy Flux (Free Index): 3.93e-05 +/- 3.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/945994/cmap_HighResolution_407721601_408326401_4FGL_J0047.9+2233_weekly_bin279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.38e-08', energy_flux2='3.93e-05', photon_flux_error='4.92e-08', dlogl='5.72e-01', energy_flux='2.41e-05', photon_flux2='5.83e-08', job_status='DONE', time_completed='2021-07-03 09:08:24.406636', photon_index_error2='0.44', photon_index2='2.01', ts='6.22', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='3.31e-05', EG='0.92', time_epoch_completed='1625328504.41', return_code='0', job_id='945994', GAL2='0.87', EG2='0.96', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='4.45e-08', ts2='7.31', photon_index='2.51' WHERE bin_id='279' AND source_name='4FGL J0047.9+2233' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 09:08:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 945994: <4FGL_J0047.9+2233_weekly_bin279> in cluster <slac> Done

Job <4FGL_J0047.9+2233_weekly_bin279> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Sat Jul  3 08:56:49 2021
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 08:56:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 08:56:51 2021
Terminated at Sat Jul  3 09:08:25 2021
Results reported at Sat Jul  3 09:08:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0047.9+2233_weekly_bin279 11.9981 22.5632 407721601 408326401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0047.9+2233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   622.22 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             298.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            696 sec.

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

