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


Performing analysis on: 4FGL_J1418.4+3543_weekly_bin511
RA = 214.623, Dec = 35.7192
tmin = 548035201, tmax = 548640001
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='297387', job_status='RUN', time_executed='2021-07-21 14:30:44.187863', time_epoch_executed='1626903044.19' WHERE source_name='4FGL J1418.4+3543' and cadence='weekly' and bin_id='511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/297387

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/297387/ft1_4FGL_J1418.4+3543_weekly_bin511.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/297387/ft1_4FGL_J1418.4+3543_weekly_bin511.fits outfile=/scratch/kocevski/297387/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin511.fits ra=214.623 dec=35.7192 rad=12.0 tmin=548035201.0 tmax=548640001.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.15
user 7.80
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.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/297387/ft1_filteredMKT_4FGL_J1418.4+3543_weekly_bin511.fits evtable="EVENTS" outfile="/scratch/kocevski/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.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.60
user 0.38
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits sctable="SC_DATA" expcube=/scratch/kocevski/297387/ltcube_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits outfile=/scratch/kocevski/297387/expmap_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.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/297387/ltcube_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits
.....................!
real 192.09
user 185.28
sys 5.29

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/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.fits scfile=/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits outfile=/scratch/kocevski/297387/cmap_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.fits scfile=/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits outfile=/scratch/kocevski/297387/cmap_HighResolution_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.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.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.fits', '/scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits', expMap='/scratch/kocevski/297387/expmap_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits', expCube='/scratch/kocevski/297387/ltcube_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/297387/Model_4FGL_J1418.4+3543_weekly_bin511.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/297387/ft1_filtered_4FGL_J1418.4+3543_weekly_bin511.fits
Spacecraft file(s): /scratch/kocevski/297387/ft2_4FGL_J1418.4+3543_weekly_bin511.fits
Exposure map: /scratch/kocevski/297387/expmap_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits
Exposure cube: /scratch/kocevski/297387/ltcube_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/297387/Model_4FGL_J1418.4+3543_weekly_bin511.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) = 3623.46822619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.320       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.672       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5026       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.5010       1.0000         .10000E-03   10000.    
     6 'norm      '    10.478       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10452E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17518E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .38593E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12100E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12064E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .46257       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17165E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .10887E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.6733       1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.844       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.0644       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78516       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3475       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=   3623.459     FROM MIGRAD    STATUS=CONVERGED    574 CALLS     2783 TOTAL
                     EDM=   .80E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.313        38.564        .46711E-06    .11459E-04
   2  Prefactor     .10000E-03    19.681        .98563E-07** at limit **
   3  Prefactor     15.592        77.714        .53876E-05    .52191E-04
   4  norm          2.5022        1.6974        .89285E-07    .45149E-04
   5  Prefactor     1.4998        4.6283       -.65539E-06   -.22693E-03
   6  norm          10.481        16.902       -.28781E-05   -.31401E-03
   7  Prefactor     .10000E-03    12.253        .10043E-08** at limit **
   8  Prefactor     .10000E-03    115.13       -.96920E-06** at limit **
   9  norm          .10001E-03    3.8126       -.42673E-06** at limit **
  10  Prefactor     .10000E-03    55.741       -.52637E-06** at limit **
  11  Prefactor     .10000E-03    75.761       -.15305E-05** at limit **
  12  Prefactor     .46812        4.4729        .11100E-05   -.37070E-03
  13  norm          .10000E-03    37.501        .33401E-07** at limit **
  14  Prefactor     .10006E-03    277.98       -.85349E-05** at limit **
  15  norm          .10001E-03    12.544        .30372E-07** at limit **
  16  Prefactor     9.6715        60.183       -.16180E-05   -.35898E-04
  17  Prefactor     48.837        48.097        .81560E-06   -.19472E-04
  18  norm          .10000E-03    4.1477        .15148E-07** at limit **
  19  Prefactor     .10000E-03    6.4738        .47060E-07** at limit **
  20  Prefactor     3.0645        4.5867       -.11512E-06   -.59086E-04
  21  norm          .10000E-03    .61229        .60076E-09** at limit **
  22  Prefactor     .10000E-03    34.245       -.22217E-06** at limit **
  23  Normalizat    .78507        .25261       -.84931E-05   -.21154E-03
  24  Prefactor     1.3476        .28830        .57639E-05   -.39771E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3126
  Prefactor  = 0.0001
  Prefactor  = 15.5917
  norm       = 2.50221
  Prefactor  = 1.4998
  norm       = 10.4814
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.468118
  norm       = 0.0001
  Prefactor  = 0.000100055
  norm       = 0.000100006
  Prefactor  = 9.67149
  Prefactor  = 48.8374
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06445
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.785065
  Prefactor  = 1.34759
 **********
 **   18 **HESSE 
 **********

 FCN=   3623.459     FROM HESSE     STATUS=OK           399 CALLS     3182 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.313        38.575        .99142E-04   -1.4900    
   2  Prefactor     .10000E-03    19.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.592        80.062        .10117E-03   -1.4918    
   4  norm          2.5022        1.6948        .62500E-04   -1.5392    
   5  Prefactor     1.4998        4.6606        .21818E-03   -1.5463    
   6  norm          10.481        17.412        .61889E-03   -1.5060    
   7  Prefactor     .10000E-03    12.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    119.78        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    14.345        .21844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    57.028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    77.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .46812        17.988        .21379E-02   -1.5571    
  13  norm          .10000E-03    38.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10006E-03    299.93        .67620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10001E-03    50.930        .33298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     9.6715        58.900        .12884E-03   -1.5086    
  17  Prefactor     48.837        48.067        .57378E-04   -1.4309    
  18  norm          .10000E-03    4.1516        .11974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    6.4855        .14961E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.0645        4.5732        .15355E-03   -1.5358    
  21  norm          .10000E-03    .62328        .46021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    34.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .78507        .26348        .24975E-03   -1.0063    
  24  Prefactor     1.3476        .30648        .23790E-03   -.81903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61416e-09
Minuit parameter uncertainties:
  1  38.6338
  2  3.1354e-05
  3  70.8128
  4  1.69482
  5  4.6617
  6  17.4201
  7  1.29199e-05
  8  0.000384925
  9  0.000836668
  10  0.000306474
  11  0.000245135
  12  5.80495
  13  0.00011595
  14  0.00818539
  15  0.00113686
  16  47.8047
  17  48.1052
  18  1.02099e-06
  19  1.92867e-06
  20  4.57371
  21  1.78984e-07
  22  0.0001239
  23  0.263911
  24  0.306889
Done.

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

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.000e-04  8.367e-04  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:  1.348e+00  3.069e-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:  7.851e-01  2.639e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/297387/likelihoodResults_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.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): 102
logL (Free Index) = 3623.45975506
delta logL = -0.0003316868615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3623.4593981
delta logL = 2.52772342719e-05

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3621.603     FROM MIGRAD    STATUS=CONVERGED    111 CALLS      286 TOTAL
                     EDM=   .20E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14121        .91790E-01    .26670E-06   -.19992E-02
   2  alpha         5.0000        3.5195        .33907E-04** at limit **
   3  Normalizat    .60755        .27346        .20146E-05   -.74714E-04
   4  Prefactor     1.4880        .32266        .56444E-05   -.10565E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.14121
  alpha      = 5
  Normalizat = 0.607551
  Prefactor  = 1.48802
 **********
 **   18 **HESSE 
 **********

 FCN=   3621.603     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      325 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14121        2.6447        .30221E-02   -1.5633    
   2  alpha         5.0000        4.9579        .41596        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .60755        .14950        .63437E-01   -1.0766    
   4  Prefactor     1.4880        .17369        .51551E-01   -.77876    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.9772e-09
Minuit parameter uncertainties:
  1  1.22185
  2  4.98878e-05
  3  0.149599
  4  0.173761
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/297387': 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): 102
logL (Free Index) = 3621.60336773
delta logL = 1.85605563887

Extracting fit parameters...

4FGL J1418.4+3543
   Spectrum: LogParabola
283         norm:  1.412e-01  1.222e+00  1.000e-04  1.000e+04 ( 1.000e-12)
284        alpha:  5.000e+00  4.989e-05  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:  1.488e+00  1.738e-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:  6.076e-01  1.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 214.623 35.719
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.10e-07 +/- 9.49e-07
Energy Flux (Free Index): 1.49e-05 +/- 1.29e-04

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/297387/cmap_HighResolution_548035201_548640001_4FGL_J1418.4+3543_weekly_bin511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.65e-05', comment='SUCCESS', energy_flux2='1.49e-05', dlogl='1.86e+00', photon_flux2='1.10e-07', job_status='DONE', time_completed='2021-07-21 14:40:39.900236', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='8.17e-08', energy_flux_error2='1.29e-04', EG='0.79', time_epoch_completed='1626903639.9', return_code='0', job_id='297387', GAL2='1.49', EG2='0.61', return_code2='102', photon_flux_error2='9.49e-07', ts2='4.12', photon_index='2.02' WHERE bin_id='511' AND source_name='4FGL J1418.4+3543' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Wed Jul 21 14:40:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 297387: <4FGL_J1418.4+3543_weekly_bin511> in cluster <slac> Done

Job <4FGL_J1418.4+3543_weekly_bin511> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Wed Jul 21 14:30:18 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 14:30:36 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:30:36 2021
Terminated at Wed Jul 21 14:40:40 2021
Results reported at Wed Jul 21 14:40:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1418.4+3543_weekly_bin511 214.623 35.7192 548035201 548640001 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 :                                   587.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            622 sec.

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

