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


Performing analysis on: 4FGL_J0043.8+3425_weekly_bin304
RA = 10.9717, Dec = 34.4316
tmin = 422841601, tmax = 423446401
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='923238', job_status='RUN', time_executed='2021-07-03 07:42:54.526506', time_epoch_executed='1625323374.53' WHERE source_name='4FGL J0043.8+3425' and cadence='weekly' and bin_id='304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/923238

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/923238/ft1_4FGL_J0043.8+3425_weekly_bin304.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/923238/ft1_4FGL_J0043.8+3425_weekly_bin304.fits outfile=/scratch/kocevski/923238/ft1_filteredMKT_4FGL_J0043.8+3425_weekly_bin304.fits ra=10.9717 dec=34.4316 rad=12.0 tmin=422841601.0 tmax=423446401.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 7.63
user 7.28
sys 0.33

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.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/923238/ft1_filteredMKT_4FGL_J0043.8+3425_weekly_bin304.fits evtable="EVENTS" outfile="/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.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.48
user 0.29
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits" evtable="EVENTS" scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits sctable="SC_DATA" outfile=/scratch/kocevski/923238/ltcube_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.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/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits
.....................!
real 20.17
user 19.82
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits sctable="SC_DATA" expcube=/scratch/kocevski/923238/ltcube_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits outfile=/scratch/kocevski/923238/expmap_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.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/923238/ltcube_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits
.....................!
real 144.80
user 140.71
sys 3.85

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

Setting source of interest to:
4FGL J0043.8+3425 @ 10.9717 34.4316

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits outfile=/scratch/kocevski/923238/cmap_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.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=10.9717 yref=34.4316 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.50
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits outfile=/scratch/kocevski/923238/cmap_HighResolution_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.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=10.9717 yref=34.4316 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/923238/Model_4FGL_J0043.8+3425_weekly_bin304.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/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits.....................!
real 117.07
user 115.79
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits', '/scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits', expMap='/scratch/kocevski/923238/expmap_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits', expCube='/scratch/kocevski/923238/ltcube_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/923238/Model_4FGL_J0043.8+3425_weekly_bin304.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0043.8+3425'

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  1.786e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.864e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/923238/ft1_filtered_4FGL_J0043.8+3425_weekly_bin304.fits
Spacecraft file(s): /scratch/kocevski/923238/ft2_4FGL_J0043.8+3425_weekly_bin304.fits
Exposure map: /scratch/kocevski/923238/expmap_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits
Exposure cube: /scratch/kocevski/923238/ltcube_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/923238/Model_4FGL_J0043.8+3425_weekly_bin304.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) = 17618.4115728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.3202       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5371       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.4561       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12660E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3707       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.196       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.7691       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .77522       1.0000         .10000E-03   10000.    
    20 'norm      '    .77421       1.0000         .10000E-03   10000.    
    21 'Prefactor '    45.243       1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.930       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .94168       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17618.35     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2539 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.3211        10.823        .47369E-05   -.41912E-04
   2  Prefactor     4.5366        3.6462       -.10571E-06   -.50210E-03
   3  Prefactor     .10000E-03    2.1744        .60186E-07** at limit **
   4  Prefactor     .10000E-03    .84284        .81590E-07** at limit **
   5  Prefactor     .10000E-03    20.369        .12065E-05** at limit **
   6  Prefactor     .10000E-03    3.6006       -.22167E-06** at limit **
   7  Prefactor     .10000E-03    5.6542       -.10119E-05** at limit **
   8  norm          4.4562        1.6671       -.72703E-07   -.25120E-03
   9  Prefactor     .10000E-03    12.947       -.20247E-06** at limit **
  10  Prefactor     .10000E-03    .59437       -.81146E-08** at limit **
  11  Prefactor     .10000E-03    1.6664        .21514E-06** at limit **
  12  Prefactor     .10000E-03    1.2277        .97421E-07** at limit **
  13  Prefactor     .10000E-03    4.1826       -.12430E-05** at limit **
  14  Prefactor     .10000E-03    4.7077        .15037E-05** at limit **
  15  Prefactor     3.3672        13.648       -.34876E-05   -.85877E-04
  16  norm          .10000E-03    .16331       -.25374E-07** at limit **
  17  Prefactor     16.190        16.754       -.48958E-05   -.69807E-05
  18  Prefactor     2.7701        2.7785        .17984E-05   -.84458E-03
  19  Prefactor     .77857        2.0628       -.73329E-06   -.17044E-03
  20  norm          .77421        .52785       -.95562E-08   -.16789E-05
  21  Prefactor     45.244        24.220        .67420E-06    .13978E-06
  22  Prefactor     22.911        28.671       -.26967E-04   -.56747E-04
  23  Prefactor     .10000E-03    2.6170        .10470E-05** at limit **
  24  Normalizat    .94173        .11853       -.85015E-07    .23529E-03
  25  Prefactor     1.0285        .72671E-01    .76028E-06    .31503E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.32105
  Prefactor  = 4.53661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45618
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.36718
  norm       = 0.0001
  Prefactor  = 16.1901
  Prefactor  = 2.77005
  Prefactor  = 0.778565
  norm       = 0.774213
  Prefactor  = 45.2438
  Prefactor  = 22.9114
  Prefactor  = 0.000100002
  Normalizat = 0.941729
  Prefactor  = 1.02852
 **********
 **   18 **HESSE 
 **********

 FCN=   17618.35     FROM HESSE     STATUS=OK           431 CALLS     2970 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.3211        10.762        .13898E-03   -1.5131    
   2  Prefactor     4.5366        3.6366        .18900E-03   -1.5282    
   3  Prefactor     .10000E-03    2.2083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .88064        .23784E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.6071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.4562        1.6670        .10123E-03   -1.5286    
   9  Prefactor     .10000E-03    13.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .59644        .99929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.6724        .16732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.2351        .14360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.2090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3672        13.668        .22040E-03   -1.5341    
  16  norm          .10000E-03    .23957        .10332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.190        16.694        .99521E-04   -1.4903    
  18  Prefactor     2.7701        2.7477        .20780E-03   -1.5375    
  19  Prefactor     .77857        5.2180        .28913E-02   -1.5531    
  20  norm          .77421        .51255        .77698E-03   -1.5532    
  21  Prefactor     45.244        24.226        .59607E-04   -1.4362    
  22  Prefactor     22.911        28.719        .83649E-04   -1.4750    
  23  Prefactor     .10000E-03    2.7073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .94173        .13911        .30058E-03   -.95009    
  25  Prefactor     1.0285        .85775E-01    .17930E-03   -.91785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10581e-08
Minuit parameter uncertainties:
  1  10.7643
  2  3.63678
  3  4.35224e-06
  4  2.34163e-06
  5  1.84139e-05
  6  2.35649e-06
  7  3.02646e-06
  8  1.667
  9  1.6568e-05
  10  4.43657e-07
  11  9.12883e-07
  12  6.25957e-07
  13  2.38935e-06
  14  9.22659e-07
  15  13.573
  16  1.60841e-06
  17  16.6991
  18  2.74781
  19  4.03141
  20  0.512551
  21  24.2311
  22  28.7365
  23  0.000135236
  24  0.139161
  25  0.0857865
Done.

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

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  4.456e+00  1.667e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.864e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.029e+00  8.579e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.417e-01  1.392e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.88
Ra Dec: 10.972 34.432
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 4.56e-08 +/- 1.71e-08
Energy Flux (Fixed Index): 4.01e-05 +/- 1.50e-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) = 17618.3540346
delta logL = 0.000565756479773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17618.354017
delta logL = 0.000583369648666

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4526       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8743       1.0000          .0000       5.0000    
     3 'Normalizat'    .94125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0286       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17618.35     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      230 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4506        26.612        .47708E-02    .31434E-03
   2  alpha         1.8738        3.4308        .33245        .44695E-04
   3  Normalizat    .94127        .88285E-01    .67961E-01    .49395E-04
   4  Prefactor     1.0286        .37122E-01    .41372E-01    .25059E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.45062
  alpha      = 1.87384
  Normalizat = 0.941269
  Prefactor  = 1.02861
 **********
 **   18 **HESSE 
 **********

 FCN=   17618.35     FROM HESSE     STATUS=OK            33 CALLS      263 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4506        1.6761        .10095E-03   -1.5286    
   2  alpha         1.8738        .28127        .11827E-01   -.25316    
   3  Normalizat    .94127        .13633        .30064E-03   -.95025    
   4  Prefactor     1.0286        .84865E-01    .17929E-03   -.91782    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90108e-13
Minuit parameter uncertainties:
  1  1.67614
  2  0.281904
  3  0.136378
  4  0.0848757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/923238': 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) = 17618.3540149
delta logL = 0.000585440702707

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  4.451e+00  1.676e+00  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  1.874e+00  2.819e-01  0.000e+00  5.000e+00 ( 1.000e+00)
150         beta:  5.166e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
151           Eb:  1.202e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.029e+00  8.488e-02  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  9.413e-01  1.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.87
Ra Dec: 10.972 34.432
Photon Index (Free Index): 1.87 +/- 0.28
Photon Flux (Free Index): 4.61e-08 +/- 2.25e-08
Energy Flux (Free Index): 3.96e-05 +/- 2.03e-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/923238/cmap_HighResolution_422841601_423446401_4FGL_J0043.8+3425_weekly_bin304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.56e-08', energy_flux2='3.96e-05', photon_flux_error='1.71e-08', dlogl='5.85e-04', energy_flux='4.01e-05', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-07-03 07:58:17.661607', photon_index_error2='0.28', photon_index2='1.87', ts='20.88', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='2.03e-05', EG='0.94', time_epoch_completed='1625324297.66', return_code='0', job_id='923238', GAL2='1.03', EG2='0.94', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='2.25e-08', ts2='20.87', photon_index='1.86' WHERE bin_id='304' AND source_name='4FGL J0043.8+3425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 07:58:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 923238: <4FGL_J0043.8+3425_weekly_bin304> in cluster <slac> Done

Job <4FGL_J0043.8+3425_weekly_bin304> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 07:41:47 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 07:41:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 07:41:50 2021
Terminated at Sat Jul  3 07:58:18 2021
Results reported at Sat Jul  3 07:58:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0043.8+3425_weekly_bin304 10.9717 34.4316 422841601 423446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0043.8+3425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   914.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            991 sec.

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

