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 209 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 = 17399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0043.8+3425_weekly_bin103
RA = 10.9717, Dec = 34.4316
tmin = 301276801, tmax = 301881601
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='922889', job_status='RUN', time_executed='2021-07-03 15:23:22.494022', time_epoch_executed='1625351002.49' WHERE source_name='4FGL J0043.8+3425' and cadence='weekly' and bin_id='103'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/922889

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/922889/ft1_4FGL_J0043.8+3425_weekly_bin103.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/922889/ft1_4FGL_J0043.8+3425_weekly_bin103.fits outfile=/scratch/kocevski/922889/ft1_filteredMKT_4FGL_J0043.8+3425_weekly_bin103.fits ra=10.9717 dec=34.4316 rad=12.0 tmin=301276801.0 tmax=301881601.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 9.73
user 9.24
sys 0.42

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.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/922889/ft1_filteredMKT_4FGL_J0043.8+3425_weekly_bin103.fits evtable="EVENTS" outfile="/scratch/kocevski/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.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.71
user 0.37
sys 0.25

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits" evtable="EVENTS" scfile=/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits sctable="SC_DATA" outfile=/scratch/kocevski/922889/ltcube_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.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/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits
.....................!
real 27.77
user 27.14
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits evtable="EVENTS" scfile=/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits sctable="SC_DATA" expcube=/scratch/kocevski/922889/ltcube_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits outfile=/scratch/kocevski/922889/expmap_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.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/922889/ltcube_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits
.....................!
real 192.83
user 186.88
sys 5.17

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/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits scfile=/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits outfile=/scratch/kocevski/922889/cmap_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.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.68
user 0.41
sys 0.24

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits scfile=/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits outfile=/scratch/kocevski/922889/cmap_HighResolution_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.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.69
user 0.41
sys 0.25

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits', '/scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits', expMap='/scratch/kocevski/922889/expmap_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits', expCube='/scratch/kocevski/922889/ltcube_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/922889/Model_4FGL_J0043.8+3425_weekly_bin103.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/922889/ft1_filtered_4FGL_J0043.8+3425_weekly_bin103.fits
Spacecraft file(s): /scratch/kocevski/922889/ft2_4FGL_J0043.8+3425_weekly_bin103.fits
Exposure map: /scratch/kocevski/922889/expmap_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits
Exposure cube: /scratch/kocevski/922889/ltcube_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/922889/Model_4FGL_J0043.8+3425_weekly_bin103.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) = 18294.9950755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8342       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.8491       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .46743E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .67623       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3466       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .88395       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47595       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.926       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8487       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.027       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .65843E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9971       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.6919       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5052       1.0000         .10000E-03   10000.    
    20 'norm      '    .60268       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8670       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2187       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .87944       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18294.97     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     2550 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8401        6.4641        .88954E-05    .93512E-03
   2  Prefactor     .10000E-03    1.4926        .31531E-07** at limit **
   3  Prefactor     .10000E-03    4.5090       -.27803E-06** at limit **
   4  Prefactor     .10000E-03    .94096       -.21113E-07** at limit **
   5  Prefactor     3.8498        1.1112        .92112E-06   -.24716E-03
   6  Prefactor     .10000E-03    6.2425       -.34752E-06** at limit **
   7  Prefactor     .10242E-03    28.161        .17355E-04** at limit **
   8  norm          .67675        .82540        .11836E-06   -.48423E-04
   9  Prefactor     2.3514        5.8620        .16105E-04    .11267E-02
  10  Prefactor     .88221        2.7817        .52475E-06    .91074E-04
  11  Prefactor     .47439        6.3607        .14300E-04    .14911E-02
  12  Prefactor     13.921        5.9849        .24717E-05    .75631E-03
  13  Prefactor     1.8502        1.5593       -.17415E-05   -.71261E-03
  14  Prefactor     10.005        2.2869        .64990E-06    .28373E-03
  15  Prefactor     .10011E-03    223.23       -.25801E-05** at limit **
  16  norm          2.9971        .94638       -.64266E-07   -.13799E-02
  17  Prefactor     1.7009        17.145        .37296E-04   -.11953E-02
  18  Prefactor     .10000E-03    .82736       -.18170E-06** at limit **
  19  Prefactor     8.5078        4.7664        .15672E-05    .13835E-03
  20  norm          .60253        .49006        .59367E-07    .22220E-03
  21  Prefactor     .10028E-03    66.270       -.13153E-06** at limit **
  22  Prefactor     .10000E-03    16.336        .58265E-06** at limit **
  23  Prefactor     2.8664        2.9221       -.44498E-06   -.21197E-03
  24  Normalizat    1.2187        .14432       -.43356E-05   -.12218E-02
  25  Prefactor     .87942        .85821E-01   -.18071E-06   -.16993E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.84981
  Prefactor  = 0.0001
  Prefactor  = 0.000102418
  norm       = 0.676752
  Prefactor  = 2.35144
  Prefactor  = 0.88221
  Prefactor  = 0.474393
  Prefactor  = 13.9209
  Prefactor  = 1.85023
  Prefactor  = 10.0054
  Prefactor  = 0.000100106
  norm       = 2.99707
  Prefactor  = 1.70086
  Prefactor  = 0.0001
  Prefactor  = 8.50776
  norm       = 0.602535
  Prefactor  = 0.00010028
  Prefactor  = 0.0001
  Prefactor  = 2.86641
  Normalizat = 1.21865
  Prefactor  = 0.879422
 **********
 **   18 **HESSE 
 **********

 FCN=   18294.97     FROM HESSE     STATUS=OK           513 CALLS     3063 TOTAL
                     EDM=   .76E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8401        6.6561        .60388E-02   -1.5371    
   2  Prefactor     .10000E-03    1.4538        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4997        .58171E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    .54697        .38436E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.8498        21.299        .51424E-02   -1.5316    
   6  Prefactor     .10000E-03    6.2167        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10242E-03    7.1716        .13581       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .67675        1.0806        .31065E-01   -1.5543    
   9  Prefactor     2.3514        12.383        .66903E-02   -1.5401    
  10  Prefactor     .88221        2.7745        .12749E-01   -1.5520    
  11  Prefactor     .47439        2.3672        .11172       -1.5570    
  12  Prefactor     13.921        6.1137        .26833E-02   -1.4962    
  13  Prefactor     1.8502        5.1980        .76664E-02   -1.5436    
  14  Prefactor     10.005        19.956        .31635E-02   -1.5075    
  15  Prefactor     .10011E-03    214.66        .93471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9971        .95901        .58618E-02   -1.5362    
  17  Prefactor     1.7009        35.658        .80898E-02   -1.5447    
  18  Prefactor     .10000E-03    .82580        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.5078        4.8097        .34364E-02   -1.5125    
  20  norm          .60253        .61336        .19992E-01   -1.5553    
  21  Prefactor     .10028E-03    85.060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.284        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.8664        2.9381        .60019E-02   -1.5369    
  24  Normalizat    1.2187        .12372        .62489E-01   -.86028    
  25  Prefactor     .87942        .71971E-01    .44742E-01   -.96864    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57422e-07
Minuit parameter uncertainties:
  1  6.6578
  2  7.71096e-06
  3  3.95504e-05
  4  7.3022e-06
  5  18.1199
  6  6.43183e-05
  7  0.00832863
  8  1.08065
  9  10.7957
  10  2.77494
  11  2.11934
  12  6.11398
  13  5.19931
  14  19.9694
  15  0.00957012
  16  0.959012
  17  15.5856
  18  9.124e-06
  19  4.80996
  20  0.613366
  21  0.00977087
  22  2.28334e-05
  23  2.93827
  24  0.123753
  25  0.071979
Done.

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

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  6.768e-01  1.081e+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:  8.794e-01  7.198e-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:  1.219e+00  1.238e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 10.972 34.432
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 6.93e-09 +/- 1.11e-08
Energy Flux (Fixed Index): 6.09e-06 +/- 9.72e-06

TS (Fixed Index): 1.42
Ra Dec: 10.972 34.432
Photon Flux Upper Limit: 3.17e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/922889/likelihoodResults_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18294.8355163
delta logL = 0.132664897254

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 18294.8324862
delta logL = 0.135695022771

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72101       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3603       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88105       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=   18294.83     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .72083        7.8131        .26315E-01    .22271E-02
   2  alpha         2.3604        3.5451        .41233        .95888E-04
   3  Normalizat    1.2100        .18117E-01    .62680E-01    .91641E-04
   4  Prefactor     .88105        .10984E-01    .44763E-01   -.13136E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.720833
  alpha      = 2.36036
  Normalizat = 1.21002
  Prefactor  = 0.88105
 **********
 **   18 **HESSE 
 **********

 FCN=   18294.83     FROM HESSE     STATUS=OK            35 CALLS      240 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .72083        .90089        .12930E-02   -1.5538    
   2  alpha         2.3604        .93850        .24180E-01   -.55883E-01
   3  Normalizat    1.2100        .14077        .27725E-03   -.86294    
   4  Prefactor     .88105        .84890E-01    .19344E-03   -.96806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.16415e-09
Minuit parameter uncertainties:
  1  0.900902
  2  0.962151
  3  0.140809
  4  0.0849031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/922889': 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) = 18294.8324862
delta logL = 0.135695061072

Extracting fit parameters...

4FGL J0043.8+3425
   Spectrum: LogParabola
148         norm:  7.208e-01  9.009e-01  1.000e-04  1.000e+04 ( 1.000e-12)
149        alpha:  2.360e+00  9.622e-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:  8.810e-01  8.490e-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:  1.210e+00  1.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 10.972 34.432
Photon Index (Free Index): 2.36 +/- 0.96
Photon Flux (Free Index): 1.57e-08 +/- 2.14e-08
Energy Flux (Free Index): 5.61e-06 +/- 6.00e-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/922889/cmap_HighResolution_301276801_301881601_4FGL_J0043.8+3425_weekly_bin103.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.78e-05', comment='SUCCESS', photon_flux='6.93e-09', energy_flux2='5.61e-06', photon_flux_error='1.11e-08', dlogl='1.36e-01', energy_flux='6.09e-06', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-07-03 15:48:14.128333', photon_index_error2='0.96', photon_index2='2.36', ts='1.42', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='3.17e-08', energy_flux_error2='6.00e-06', EG='1.22', time_epoch_completed='1625352494.13', return_code='0', job_id='922889', GAL2='0.88', EG2='1.21', return_code2='0', energy_flux_error='9.72e-06', photon_flux_error2='2.14e-08', ts2='1.71', photon_index='1.86' WHERE bin_id='103' AND source_name='4FGL J0043.8+3425' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 15:48:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 922889: <4FGL_J0043.8+3425_weekly_bin103> in cluster <slac> Done

Job <4FGL_J0043.8+3425_weekly_bin103> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Jul  3 07:41:21 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 07:41:23 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:23 2021
Terminated at Sat Jul  3 15:48:14 2021
Results reported at Sat Jul  3 15:48:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0043.8+3425_weekly_bin103 10.9717 34.4316 301276801 301881601 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 :                                   1495.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             64.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   29211 sec.
    Turnaround time :                            29213 sec.

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

