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


Performing analysis on: 4FGL_J1203.3+1119_weekly_bin517
RA = 180.833, Dec = 11.3231
tmin = 551664001, tmax = 552268801
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='105126', job_status='RUN', time_executed='2021-07-18 17:37:33.137554', time_epoch_executed='1626655053.14' WHERE source_name='4FGL J1203.3+1119' and cadence='weekly' and bin_id='517'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105126

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105126/ft1_4FGL_J1203.3+1119_weekly_bin517.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105126/ft1_4FGL_J1203.3+1119_weekly_bin517.fits outfile=/scratch/kocevski/105126/ft1_filteredMKT_4FGL_J1203.3+1119_weekly_bin517.fits ra=180.833 dec=11.3231 rad=12.0 tmin=551664001.0 tmax=552268801.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.10
user 7.66
sys 0.32

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.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/105126/ft1_filteredMKT_4FGL_J1203.3+1119_weekly_bin517.fits evtable="EVENTS" outfile="/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.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.56
user 0.39
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits" evtable="EVENTS" scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits sctable="SC_DATA" outfile=/scratch/kocevski/105126/ltcube_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.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/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits
.....................!
real 30.45
user 29.85
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits sctable="SC_DATA" expcube=/scratch/kocevski/105126/ltcube_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits outfile=/scratch/kocevski/105126/expmap_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.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/105126/ltcube_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits
.....................!
real 193.42
user 187.69
sys 5.23

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

Setting source of interest to:
4FGL J1203.3+1119 @ 180.833 11.3231

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits outfile=/scratch/kocevski/105126/cmap_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.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=180.833 yref=11.3231 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits outfile=/scratch/kocevski/105126/cmap_HighResolution_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.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=180.833 yref=11.3231 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits evtable="EVENTS" scfile=/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/105126/Model_4FGL_J1203.3+1119_weekly_bin517.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/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits.....................!
real 20.39
user 19.08
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits', '/scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits', expMap='/scratch/kocevski/105126/expmap_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits', expCube='/scratch/kocevski/105126/ltcube_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/105126/Model_4FGL_J1203.3+1119_weekly_bin517.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1203.3+1119'

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.766e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/105126/ft1_filtered_4FGL_J1203.3+1119_weekly_bin517.fits
Spacecraft file(s): /scratch/kocevski/105126/ft2_4FGL_J1203.3+1119_weekly_bin517.fits
Exposure map: /scratch/kocevski/105126/expmap_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits
Exposure cube: /scratch/kocevski/105126/ltcube_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/105126/Model_4FGL_J1203.3+1119_weekly_bin517.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 817.622113153

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 812.85200377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .28565E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .24243E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17568       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .59851E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.219       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40523E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35561E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15892       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.2877       1.0000         .10000E-03   10000.    
    11 'Prefactor '    289.09       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .19496E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    144.62       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .33494E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .54153E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11619       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0896       1.0000         .10000E-03   10000.    
    18 'norm      '    .21297E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2952       1.0000         .10000E-03   10000.    
    20 'norm      '    1.4878       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .55917E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7155       1.0000         .10000E-03   10000.    
    23 'norm      '    2.2063       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .69520       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .31758       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2278       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   812.7925     FROM MIGRAD    STATUS=CONVERGED    267 CALLS      708 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    159.85       -.12291E-04** at limit **
   2  Prefactor     .10000E-03    71.901       -.18612E-05** at limit **
   3  Prefactor     .10000E-03    137.61       -.18087E-05** at limit **
   4  Prefactor     .10000E-03    36.691       -.80823E-06** at limit **
   5  Prefactor     151.01        462.98        .61948E-05    .68543E-05
   6  Prefactor     .10000E-03    26.260        .33122E-05** at limit **
   7  Prefactor     .10000E-03    6.8718       -.66024E-06** at limit **
   8  Prefactor     .14500E-03    4.1659       -.49149E-06** at limit **
   9  Prefactor     .10080E-03    206.67       -.44441E-05** at limit **
  10  Prefactor     .10000E-03    434.19       -.35611E-05** at limit **
  11  Prefactor     276.56        179.80        .32630E-06    .28133E-03
  12  Prefactor     .10000E-03    96.686       -.24447E-05** at limit **
  13  Prefactor     144.56        6.8453        .34775E-07   -.45255E-02
  14  Prefactor     .10000E-03    43.886        .88812E-07** at limit **
  15  norm          .10000E-03    54.674        .15088E-04** at limit **
  16  Prefactor     .10000E-03    98.954       -.19830E-05** at limit **
  17  norm          2.0896        1.0319         .0000         .0000    
  18  norm          .10000E-03    75.584        .20411E-05** at limit **
  19  Prefactor     .10001E-03    257.49        .25245E-05** at limit **
  20  norm          1.5425        1.8033        .70802E-06    .10270E-03
  21  Prefactor     .10000E-03    80.819       -.36730E-05** at limit **
  22  Prefactor     .10000E-03    469.79       -.61447E-06** at limit **
  23  norm          2.2643        4.4291       -.12570E-06    .38987E-05
  24  Prefactor     .10001E-03    410.68       -.95995E-05** at limit **
  25  Normalizat    .33779        .78966       -.22595E-04   -.10599E-04
  26  Prefactor     1.1771        .63981        .60439E-05   -.19270E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 151.014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000144997
  Prefactor  = 0.000100799
  Prefactor  = 0.000100001
  Prefactor  = 276.562
  Prefactor  = 0.000100004
  Prefactor  = 144.557
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.08958
  norm       = 0.0001
  Prefactor  = 0.000100013
  norm       = 1.54248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.26432
  Prefactor  = 0.000100014
  Normalizat = 0.337793
  Prefactor  = 1.17713
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   812.7925     FROM HESSE     STATUS=FAILED        79 CALLS      787 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    152.19        .91649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    71.818        .91436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    137.48        .98661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    36.542        .10533E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     151.01        399.63        .27542E-02   -1.3244    
   6  Prefactor     .10000E-03    26.138        .97391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.9150        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .14500E-03    210.44        .98182E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10080E-03    209.61        .97885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    432.06        .48640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     276.56        153.75        .59684E-03   -1.2366    
  12  Prefactor     .10000E-03    96.849        .10126E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     144.56        149.10        .83762E-03   -1.3297    
  14  Prefactor     .10000E-03    43.640        .10671E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    15.026        .64027E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    98.785        .95881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          567.54        565.33         .0000       -1.5419    
  18  norm          .10000E-03    .20835        .20411E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10001E-03    .23609        .25245E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5425        1.0915        .70802E-06   -1.5460    
  21  Prefactor     .10000E-03    .21617       -.36730E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    .95444E-01   -.61447E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.2643        1.0417       -.12570E-06   -1.5407    
  24  Prefactor     .10001E-03    .36260       -.95995E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .33779        .64224       -.22595E-04   -1.2065    
  26  Prefactor     1.1771        1.0748        .60439E-05   -.87038    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.49207e-10
Minuit parameter uncertainties:
  1  0.00172166
  2  5.59892e-05
  3  0.000108629
  4  1.34533e-05
  5  407.147
  6  0.000108497
  7  4.42323e-06
  8  0.195306
  9  0.0259817
  10  0.00125844
  11  153.98
  12  0.00126327
  13  149.492
  14  6.7701e-08
  15  4.43439e-05
  16  7.79137e-05
  17  1.03195
  18  1.21287e-06
  19  0.000108715
  20  1.09153
  21  5.23665e-06
  22  3.77636e-06
  23  1.04173
  24  0.000143743
  25  0.657062
  26  1.09583
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 812.792465335

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.258e-03  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.177e+00  1.096e+00  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  3.378e-01  6.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 7.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.40e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105126/likelihoodResults_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.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) = 812.792476104
delta logL = -1.07693767859e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 812.792465384
delta logL = -4.95801941724e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7373       1.0000          .0000       10.000    
     3 'Normalizat'    .33779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1772       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   812.7925     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      237 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    444.53        .90712E-02** at limit **
   2  Index         2.7129        8.3047        .50000        .66825E-06
   3  Normalizat    .33780        .15590E-01    .10503       -.40379E-05
   4  Prefactor     1.1771        .12858E-01    .35194E-01   -.71090E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100067
  Index      = 2.7129
  Normalizat = 0.337799
  Prefactor  = 1.17713
 **********
 **   18 **HESSE 
 **********

 FCN=   812.7925     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      268 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    2143.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7129        5.5995        .50000       -.47509    
   3  Normalizat    .33780        .35434E-01    .46522E-03   -1.2065    
   4  Prefactor     1.1771        .29297E-01    .21189E-03   -.87038    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.99139e-08
Minuit parameter uncertainties:
  1  0.0248488
  2  1377.32
  3  0.0354366
  4  0.0292974
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105126': 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) = 812.792465373
delta logL = -3.82184452974e-08

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.001e-04  2.485e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.713e+00  1.377e+03  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.177e+00  2.930e-02  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  3.378e-01  3.544e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.833 11.323

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/105126/cmap_HighResolution_551664001_552268801_4FGL_J1203.3+1119_weekly_bin517.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.40e-02', job_status='DONE', photon_flux_upper_limit='7.02e-07', time_completed='2021-07-18 17:44:24.706138', job_id='105126', GAL2='1.18', fit_tolerance='1e-08', EG2='0.34', EG='0.34', time_epoch_completed='1626655464.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.18', dlogl='-3.82e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='517' AND source_name='4FGL J1203.3+1119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sun Jul 18 17:44:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 105126: <4FGL_J1203.3+1119_weekly_bin517> in cluster <slac> Done

Job <4FGL_J1203.3+1119_weekly_bin517> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Jul 18 17:35:47 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jul 18 17:37:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jul 18 17:37:21 2021
Terminated at Sun Jul 18 17:44:25 2021
Results reported at Sun Jul 18 17:44:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_weekly_bin517 180.833 11.3231 551664001 552268801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1203.3+1119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   400.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             451.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   423 sec.
    Turnaround time :                            518 sec.

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

