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


Performing analysis on: 4FGL_J1418.4+3543_weekly_bin305
RA = 214.623, Dec = 35.7192
tmin = 423446401, tmax = 424051201
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='295170', job_status='RUN', time_executed='2021-07-21 14:23:59.909605', time_epoch_executed='1626902639.91' WHERE source_name='4FGL J1418.4+3543' and cadence='weekly' and bin_id='305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/295170

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/295170/ft1_4FGL_J1418.4+3543_weekly_bin305.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/295170/ft1_4FGL_J1418.4+3543_weekly_bin305.fits outfile=/scratch/kocevski/295170/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin305.fits ra=214.623 dec=35.7192 rad=12.0 tmin=423446401.0 tmax=424051201.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 12.66
user 11.93
sys 0.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.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/295170/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin305.fits evtable="EVENTS" outfile="/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.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.57
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits" evtable="EVENTS" scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits sctable="SC_DATA" outfile=/scratch/kocevski/295170/ltcube_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.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/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits
.....................!
real 28.69
user 28.21
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits sctable="SC_DATA" expcube=/scratch/kocevski/295170/ltcube_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits outfile=/scratch/kocevski/295170/expmap_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.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/295170/ltcube_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits
.....................!
real 193.14
user 184.61
sys 6.65

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

Setting source of interest to:
4FGL J1418.4+3543 @ 214.623 35.7192

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits outfile=/scratch/kocevski/295170/cmap_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.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=214.623 yref=35.7192 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.65
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits outfile=/scratch/kocevski/295170/cmap_HighResolution_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.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=214.623 yref=35.7192 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/295170/Model_4FGL_J1418.4+3543_weekly_bin305.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/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits......................!
real 32.02
user 29.45
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits', '/scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits', expMap='/scratch/kocevski/295170/expmap_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits', expCube='/scratch/kocevski/295170/ltcube_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/295170/Model_4FGL_J1418.4+3543_weekly_bin305.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1418.4+3543'

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  4.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/295170/ft1_filtered_4FGL_J1418.4+3543_weekly_bin305.fits
Spacecraft file(s): /scratch/kocevski/295170/ft2_4FGL_J1418.4+3543_weekly_bin305.fits
Exposure map: /scratch/kocevski/295170/expmap_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits
Exposure cube: /scratch/kocevski/295170/ltcube_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/295170/Model_4FGL_J1418.4+3543_weekly_bin305.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) = 2980.77789471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.260       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.6767       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0984       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .96857       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.8096       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.5828       1.0000         .10000E-03   10000.    
    13 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .28661E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .41302E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    85.217       1.0000         .10000E-03   10000.    
    17 'Prefactor '    187.74       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    6.7040       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2800       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .61262       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5780E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2980.768     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2682 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.260        65.550        .73501E-07   -.12733E-05
   2  Prefactor     .10000E-03    8.1051        .50331E-07** at limit **
   3  Prefactor     .10000E-03    46.521       -.12509E-05** at limit **
   4  norm          5.6766        2.3634        .12856E-06   -.28957E-04
   5  Prefactor     2.0985        3.1707        .11296E-06   -.10142E-03
   6  norm          .10000E-03    5.7185        .37665E-07** at limit **
   7  Prefactor     .10000E-03    9.3477        .79397E-06** at limit **
   8  Prefactor     .10000E-03    15.638       -.57314E-07** at limit **
   9  norm          .96947        3.7335       -.62641E-06   -.49407E-03
  10  Prefactor     .10000E-03    9.5155       -.13247E-06** at limit **
  11  Prefactor     9.8132        19.312        .47204E-07    .65074E-04
  12  Prefactor     3.5831        5.2194        .82515E-06   -.77371E-04
  13  norm          .10000E-03    9.6295       -.75214E-06** at limit **
  14  Prefactor     .10000E-03    131.35       -.23420E-04** at limit **
  15  norm          .10003E-03    15.850       -.27699E-05** at limit **
  16  Prefactor     85.234        106.78        .17050E-04    .10999E-03
  17  Prefactor     187.76        99.184        .14053E-04    .38028E-04
  18  norm          .10000E-03    12.304       -.66925E-06** at limit **
  19  Prefactor     .10000E-03    12.702        .77339E-06** at limit **
  20  Prefactor     .10000E-03    6.8830       -.67929E-07** at limit **
  21  norm          6.7043        3.3354       -.49900E-07    .17256E-03
  22  Prefactor     .10000E-03    61.462        .29841E-05** at limit **
  23  Normalizat    1.2799        .25574       -.14750E-05    .27828E-03
  24  Prefactor     .61272        .28603       -.29357E-05    .10127E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.2602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.67663
  Prefactor  = 2.09846
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.969468
  Prefactor  = 0.0001
  Prefactor  = 9.8132
  Prefactor  = 3.58312
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100026
  Prefactor  = 85.2342
  Prefactor  = 187.761
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.7043
  Prefactor  = 0.0001
  Normalizat = 1.27994
  Prefactor  = 0.612717
 **********
 **   18 **HESSE 
 **********

 FCN=   2980.768     FROM HESSE     STATUS=OK           389 CALLS     3071 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.260        65.593        .47555E-04   -1.4018    
   2  Prefactor     .10000E-03    8.1146        .15182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    46.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.6766        2.3682        .51790E-04   -1.5231    
   5  Prefactor     2.0985        3.1511        .11588E-03   -1.5418    
   6  norm          .10000E-03    5.7205        .12752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.3490        .16304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .96947        3.6591        .20160E-03   -1.5511    
  10  Prefactor     .10000E-03    9.5180        .16439E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.8132        19.300        .12794E-03   -1.5081    
  12  Prefactor     3.5831        5.2031        .14434E-03   -1.5329    
  13  norm          .10000E-03    9.6300        .16547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    133.02        .21409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10003E-03    83.100        .40779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     85.234        106.58        .43517E-04   -1.3859    
  17  Prefactor     187.76        98.258        .14736E-03   -1.2959    
  18  norm          .10000E-03    12.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.8958        .13987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          6.7043        3.3323        .68099E-04   -1.5190    
  22  Prefactor     .10000E-03    61.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2799        .30400        .21354E-03   -.84167    
  24  Prefactor     .61272        .33765        .33922E-03   -1.0705    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0461e-09
Minuit parameter uncertainties:
  1  65.6597
  2  5.59084e-06
  3  5.43632e-05
  4  2.36825
  5  3.15138
  6  4.15573e-06
  7  3.18166e-06
  8  2.09551e-05
  9  3.65995
  10  2.31229e-06
  11  19.3119
  12  5.20372
  13  2.17001e-06
  14  0.000487482
  15  0.00293093
  16  106.824
  17  98.3436
  18  1.6619e-06
  19  3.89707e-05
  20  8.5401e-06
  21  3.33236
  22  1.99006e-06
  23  0.304427
  24  0.338772
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  9.695e-01  3.660e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.016e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  6.127e-01  3.388e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.280e+00  3.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 214.623 35.719
Photon Flux Upper Limit: 8.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.96e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/295170/likelihoodResults_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.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) = 2980.71308016
delta logL = 0.0549976604261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2980.71230393
delta logL = 0.0557738895204

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2980.712     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89294        90.687        .30581E-01   -.38344E-03
   2  alpha         2.6700        3.0863        .41274       -.20687E-04
   3  Normalizat    1.2733        .43410E-01    .48404E-01   -.10499E-04
   4  Prefactor     .61626        .49803E-01    .76397E-01   -.26321E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.892941
  alpha      = 2.67001
  Normalizat = 1.27334
  Prefactor  = 0.616264
 **********
 **   18 **HESSE 
 **********

 FCN=   2980.712     FROM HESSE     STATUS=OK            35 CALLS      254 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89294        4.0306        .14738E-02   -1.5519    
   2  alpha         2.6700        3.6384        .29178E-01    .68055E-01
   3  Normalizat    1.2733        .29606        .21398E-03   -.84366    
   4  Prefactor     .61626        .33651        .33825E-03   -1.0691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.61889e-10
Minuit parameter uncertainties:
  1  3.79445
  2  2.66989
  3  0.296452
  4  0.337617
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/295170': 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) = 2980.71230161
delta logL = 0.0557762093572

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  8.929e-01  3.794e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  2.670e+00  2.670e+00  0.000e+00  5.000e+00 ( 1.000e+00)
285         beta:  6.612e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
286           Eb:  8.292e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
575    Prefactor:  6.163e-01  3.376e-01  0.000e+00  1.000e+01 ( 1.000e+00)
576        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
577        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
574   Normalization:  1.273e+00  2.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 214.623 35.719

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/295170/cmap_HighResolution_423446401_424051201_4FGL_J1418.4+3543_weekly_bin305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.96e-05', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-07-21 14:33:48.748687', job_id='295170', GAL2='0.62', fit_tolerance='1e-08', EG2='1.27', EG='1.28', time_epoch_completed='1626903228.75', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.61', dlogl='5.58e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.02' WHERE bin_id='305' AND source_name='4FGL J1418.4+3543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 14:33:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 295170: <4FGL_J1418.4+3543_weekly_bin305> in cluster <slac> Done

Job <4FGL_J1418.4+3543_weekly_bin305> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Jul 21 14:20:46 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 14:23:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jul 21 14:23:48 2021
Terminated at Wed Jul 21 14:33:49 2021
Results reported at Wed Jul 21 14:33:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_weekly_bin305 214.623 35.7192 423446401 424051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1418.4+3543 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   568.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             306.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   601 sec.
    Turnaround time :                            783 sec.

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

