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


Performing analysis on: 4FGL_J0650.7+2503_weekly_bin134
RA = 102.699, Dec = 25.0548
tmin = 320025601, tmax = 320630401
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='842110', job_status='RUN', time_executed='2021-07-10 17:28:34.258250', time_epoch_executed='1625963314.26' WHERE source_name='4FGL J0650.7+2503' and cadence='weekly' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/842110

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

Retrieving the FT1 file...

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

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

Retrieving 104 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/842110/ft1_4FGL_J0650.7+2503_weekly_bin134.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/842110/ft1_4FGL_J0650.7+2503_weekly_bin134.fits outfile=/scratch/kocevski/842110/ft1_filteredMKT_4FGL_J0650.7+2503_weekly_bin134.fits ra=102.699 dec=25.0548 rad=12.0 tmin=320025601.0 tmax=320630401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 7.42
user 6.98
sys 0.37

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.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/842110/ft1_filteredMKT_4FGL_J0650.7+2503_weekly_bin134.fits evtable="EVENTS" outfile="/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.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.65
user 0.37
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/842110/ltcube_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.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/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits
.....................!
real 28.31
user 27.83
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/842110/ltcube_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits outfile=/scratch/kocevski/842110/expmap_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.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/842110/ltcube_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits
.....................!
real 192.20
user 185.67
sys 5.99

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 174 point sources and 4 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0650.7+2503 @ 102.699 25.0548

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits outfile=/scratch/kocevski/842110/cmap_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.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=102.699 yref=25.0548 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.74
user 0.41
sys 0.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits outfile=/scratch/kocevski/842110/cmap_HighResolution_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.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=102.699 yref=25.0548 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.66
user 0.43
sys 0.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/842110/Model_4FGL_J0650.7+2503_weekly_bin134.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
adding source IC 443
adding source Monoceros
adding source Rosette
adding source S 147
Working on...
/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits.....................!
real 1061.31
user 1057.75
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits', '/scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits', expMap='/scratch/kocevski/842110/expmap_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits', expCube='/scratch/kocevski/842110/ltcube_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/842110/Model_4FGL_J0650.7+2503_weekly_bin134.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0650.7+2503'

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  8.998e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.680e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  2.860e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.965e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/842110/ft1_filtered_4FGL_J0650.7+2503_weekly_bin134.fits
Spacecraft file(s): /scratch/kocevski/842110/ft2_4FGL_J0650.7+2503_weekly_bin134.fits
Exposure map: /scratch/kocevski/842110/expmap_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits
Exposure cube: /scratch/kocevski/842110/ltcube_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/842110/Model_4FGL_J0650.7+2503_weekly_bin134.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) = 47690.8356224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50379       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14042E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    62.763       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4603       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0445       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.612       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.875       1.0000         .10000E-03   10000.    
     8 'norm      '    10.673       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.7611       1.0000         .10000E-03   10000.    
    11 'norm      '    6.6080       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1701       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1819       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .92265       1.0000          .0000       10.000    
    16 'norm      '    4.6382       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   47690.82     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1513 TOTAL
                     EDM=   .15E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46190        1.6405       -.15296E-06    .16389E-03
   2  Prefactor     .10000E-03    165.24        .52566E-05** at limit **
   3  Prefactor     62.772        89.342        .90272E-05    .80588E-06
   4  norm          2.4597        .29813        .39151E-08   -.12844E-02
   5  Prefactor     8.0455        14.006       -.34573E-06    .94182E-06
   6  Prefactor     14.612        8.4417       -.55152E-06    .61112E-05
   7  Prefactor     11.874        8.5558       -.74910E-06    .45365E-06
   8  norm          10.673        5.9534        .10733E-05    .96098E-06
   9  Prefactor     .10000E-03    30.127        .11799E-06** at limit **
  10  Prefactor     7.7604        6.4237        .77839E-06   -.87997E-05
  11  norm          6.6063        5.7769        .52732E-06   -.99820E-05
  12  norm          2.1702        .53718        .49817E-08   -.24959E-04
  13  Prefactor     .10000E-03    3.1167       -.63426E-09** at limit **
  14  Normalizat    1.1818        .12143       -.10951E-06    .45392E-04
  15  Prefactor     .92272        .33352E-01    .11967E-06    .63871E-04
  16  norm          4.6383        .46975       -.19399E-07    .53700E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.461899
  Prefactor  = 0.0001
  Prefactor  = 62.7717
  norm       = 2.45974
  Prefactor  = 8.04555
  Prefactor  = 14.6125
  Prefactor  = 11.8738
  norm       = 10.6728
  Prefactor  = 0.0001
  Prefactor  = 7.76044
  norm       = 6.60633
  norm       = 2.17015
  Prefactor  = 0.0001
  Normalizat = 1.1818
  Prefactor  = 0.922717
  norm       = 4.63833
 **********
 **   18 **HESSE 
 **********

 FCN=   47690.82     FROM HESSE     STATUS=OK           211 CALLS     1724 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46190        17.708        .49252E-02   -1.5572    
   2  Prefactor     .10000E-03    169.45        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     62.772        89.426        .50651E-04   -1.4122    
   4  norm          2.4597        2.2309        .13037E-02   -1.5394    
   5  Prefactor     8.0455        14.008        .14136E-03   -1.5141    
   6  Prefactor     14.612        8.4422        .10478E-03   -1.4943    
   7  Prefactor     11.874        8.5571        .11625E-03   -1.5019    
   8  norm          10.673        5.9551        .12264E-03   -1.5054    
   9  Prefactor     .10000E-03    30.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.7604        6.4299        .14394E-03   -1.5151    
  11  norm          6.6063        5.7764        .15611E-03   -1.5194    
  12  norm          2.1702        .53767        .76516E-04   -1.5413    
  13  Prefactor     .10000E-03    3.2308        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.1818        .12831        .59365E-03   -.87167    
  15  Prefactor     .92272        .36187E-01    .17864E-03   -.95352    
  16  norm          4.6383        .47088        .44669E-04   -1.5277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2795e-09
Minuit parameter uncertainties:
  1  5.72103
  2  0.0003292
  3  89.618
  4  2.23094
  5  14.0139
  6  8.44292
  7  8.55803
  8  5.95543
  9  2.31548e-05
  10  6.43047
  11  5.77691
  12  0.537675
  13  2.46584e-06
  14  0.128347
  15  0.036188
  16  0.470876
Done.

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

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  1.067e+01  5.955e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.680e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  2.860e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.965e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.227e-01  3.619e-02  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.182e+00  1.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.86
Ra Dec: 102.699 25.055
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 2.06e-08 +/- 1.15e-08
Energy Flux (Fixed Index): 3.43e-05 +/- 1.92e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 47690.7759682
delta logL = 0.045647232022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 47690.7752258
delta logL = 0.046389637042

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   47690.78     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      282 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.528        6.0562        .12348E-03   -.31671E-04
   2  alpha         1.5576        .39450        .25785E-01   -.19788E-04
   3  Normalizat    1.1847        .12166        .59305E-03   -.44474E-05
   4  Prefactor     .92264        .33019E-01    .17865E-03   -.13746E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.5283
  alpha      = 1.55762
  Normalizat = 1.18468
  Prefactor  = 0.922643
 **********
 **   18 **HESSE 
 **********

 FCN=   47690.78     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.528        6.1137        .49393E-05   -1.5059    
   2  alpha         1.5576        .39842        .10314E-02   -.38651    
   3  Normalizat    1.1847        .12167        .23722E-04   -.87077    
   4  Prefactor     .92264        .33025E-01    .71459E-05   -.95354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76294e-12
Minuit parameter uncertainties:
  1  6.11408
  2  0.400414
  3  0.121697
  4  0.0330259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/842110': 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) = 47690.7752258
delta logL = 0.0463896424699

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  1.053e+01  6.114e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.558e+00  4.004e-01  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  2.860e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  1.965e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
580    Prefactor:  9.226e-01  3.303e-02  0.000e+00  1.000e+01 ( 1.000e+00)
581        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
582        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
579   Normalization:  1.185e+00  1.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.94
Ra Dec: 102.699 25.055
Photon Index (Free Index): 1.56 +/- 0.40
Photon Flux (Free Index): 1.71e-08 +/- 1.45e-08
Energy Flux (Free Index): 4.15e-05 +/- 3.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/842110/cmap_HighResolution_320025601_320630401_4FGL_J0650.7+2503_weekly_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.06e-08', energy_flux2='4.15e-05', photon_flux_error='1.15e-08', dlogl='4.64e-02', energy_flux='3.43e-05', photon_flux2='1.71e-08', job_status='DONE', time_completed='2021-07-10 18:16:20.092051', photon_index_error2='0.40', photon_index2='1.56', ts='13.86', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='3.50e-05', EG='1.18', time_epoch_completed='1625966180.09', return_code='0', job_id='842110', GAL2='0.92', EG2='1.18', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='1.45e-08', ts2='13.94', photon_index='1.68' WHERE bin_id='134' AND source_name='4FGL J0650.7+2503' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 10 18:16:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 842110: <4FGL_J0650.7+2503_weekly_bin134> in cluster <slac> Done

Job <4FGL_J0650.7+2503_weekly_bin134> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul 10 12:30:44 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 10 12:41:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 10 12:41:48 2021
Terminated at Sat Jul 10 18:16:21 2021
Results reported at Sat Jul 10 18:16:21 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_weekly_bin134 102.699 25.0548 320025601 320630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0650.7+2503 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   2870.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             104.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   20072 sec.
    Turnaround time :                            20737 sec.

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

