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 131 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 = 17384
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0650.7+2503_weekly_bin235
RA = 102.699, Dec = 25.0548
tmin = 381110401, tmax = 381715201
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='843438', job_status='RUN', time_executed='2021-07-10 17:28:28.991451', time_epoch_executed='1625963308.99' WHERE source_name='4FGL J0650.7+2503' and cadence='weekly' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843438

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843438/ft1_4FGL_J0650.7+2503_weekly_bin235.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843438/ft1_4FGL_J0650.7+2503_weekly_bin235.fits outfile=/scratch/kocevski/843438/ft1_filteredMKT_4FGL_J0650.7+2503_weekly_bin235.fits ra=102.699 dec=25.0548 rad=12.0 tmin=381110401.0 tmax=381715201.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.92
user 8.54
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.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/843438/ft1_filteredMKT_4FGL_J0650.7+2503_weekly_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.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.61
user 0.38
sys 0.21

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/843438/ltcube_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.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/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits
.....................!
real 29.82
user 29.14
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/843438/ltcube_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits outfile=/scratch/kocevski/843438/expmap_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.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/843438/ltcube_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits
.....................!
real 191.09
user 186.02
sys 4.45

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/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits outfile=/scratch/kocevski/843438/cmap_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.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.65
user 0.42
sys 0.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits outfile=/scratch/kocevski/843438/cmap_HighResolution_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.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.64
user 0.41
sys 0.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/843438/Model_4FGL_J0650.7+2503_weekly_bin235.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/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits.....................!
real 997.03
user 993.27
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits', '/scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits', expMap='/scratch/kocevski/843438/expmap_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits', expCube='/scratch/kocevski/843438/ltcube_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/843438/Model_4FGL_J0650.7+2503_weekly_bin235.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/843438/ft1_filtered_4FGL_J0650.7+2503_weekly_bin235.fits
Spacecraft file(s): /scratch/kocevski/843438/ft2_4FGL_J0650.7+2503_weekly_bin235.fits
Exposure map: /scratch/kocevski/843438/expmap_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits
Exposure cube: /scratch/kocevski/843438/ltcube_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/843438/Model_4FGL_J0650.7+2503_weekly_bin235.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) = 48276.1840728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .72633       1.0000         .10000E-03   10000.    
     2 'Prefactor '    56.796       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.4223       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.9650       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.8237       1.0000         .10000E-03   10000.    
    11 'norm      '    .96236       1.0000         .10000E-03   10000.    
    12 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.7999       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.1947       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .94976       1.0000          .0000       10.000    
    16 'norm      '    3.7689       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=   48276.17     FROM MIGRAD    STATUS=CONVERGED    324 CALLS     1540 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .72965        2.1399        .17164E-06   -.26975E-03
   2  Prefactor     56.752        47.198       -.68945E-05   -.64828E-03
   3  Prefactor     .10000E-03    82.905        .43666E-06** at limit **
   4  norm          6.4231        3.3723        .19812E-05   -.20690E-02
   5  Prefactor     .10000E-03    15.560        .66125E-07** at limit **
   6  Prefactor     .10000E-03    2.4081        .59150E-07** at limit **
   7  Prefactor     .10000E-03    3.9789        .16972E-07** at limit **
   8  norm          7.9649        4.5089       -.67685E-06    .52946E-03
   9  Prefactor     .10000E-03    30.772        .94850E-07** at limit **
  10  Prefactor     8.8240        6.0754       -.29651E-06   -.40879E-03
  11  norm          .95249        2.9758        .32898E-06   -.22003E-03
  12  norm          .10000E-03    .10811        .58371E-07** at limit **
  13  Prefactor     6.7967        5.0422        .42191E-06    .71564E-04
  14  Normalizat    1.1951        .14075       -.16015E-05   -.33146E-04
  15  Prefactor     .94967        .36381E-01    .28024E-06   -.69898E-03
  16  norm          3.7692        .46770       -.13633E-07    .42769E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.729647
  Prefactor  = 56.7517
  Prefactor  = 0.0001
  norm       = 6.42305
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.96492
  Prefactor  = 0.0001
  Prefactor  = 8.82402
  norm       = 0.952489
  norm       = 0.0001
  Prefactor  = 6.79666
  Normalizat = 1.19507
  Prefactor  = 0.949667
  norm       = 3.76918
 **********
 **   18 **HESSE 
 **********

 FCN=   48276.17     FROM HESSE     STATUS=OK           207 CALLS     1747 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .72965        12.349        .51396E-02   -1.5537    
   2  Prefactor     56.752        51.106        .53230E-04   -1.4200    
   3  Prefactor     .10000E-03    82.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.4231        3.5062        .79187E-03   -1.5201    
   5  Prefactor     .10000E-03    15.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.9894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.9649        4.5198        .71035E-03   -1.5143    
   9  Prefactor     .10000E-03    31.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.8240        6.0950        .13494E-03   -1.5114    
  11  norm          .95249        14.699        .62680E-02   -1.5513    
  12  norm          .10000E-03    .18529        .13969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7967        5.0901        .15387E-03   -1.5186    
  14  Normalizat    1.1951        .14930        .64767E-03   -.86755    
  15  Prefactor     .94967        .39606E-01    .18499E-03   -.94427    
  16  norm          3.7692        .46901        .49702E-04   -1.5320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.74603e-07
Minuit parameter uncertainties:
  1  6.00451
  2  51.1456
  3  0.000163941
  4  3.50629
  5  7.49424e-06
  6  1.7922e-06
  7  1.15217e-06
  8  4.52001
  9  1.35447e-06
  10  6.09545
  11  7.48521
  12  8.58283e-07
  13  5.09047
  14  0.149356
  15  0.0396069
  16  0.469008
Done.

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

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  7.965e+00  4.520e+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.497e-01  3.961e-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.195e+00  1.494e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.28
Ra Dec: 102.699 25.055
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 1.54e-08 +/- 8.73e-09
Energy Flux (Fixed Index): 2.56e-05 +/- 1.45e-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) = 48275.4241395
delta logL = 0.748795718187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 48275.313326
delta logL = 0.859609240622

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.6448       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1301       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2010       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94987       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.

 FCN=   48275.31     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      220 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.6448        3.3302        .42269E-02    .40817E-02
   2  alpha         1.1301        .29073        .50000       -.23295E-03
   3  Normalizat    1.2010        .12859        .14541        .12839E-03
   4  Prefactor     .94987        .33307E-01    .45638E-01   -.25292E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.64478
  alpha      = 1.13013
  Normalizat = 1.201
  Prefactor  = 0.949872
 **********
 **   18 **HESSE 
 **********

 FCN=   48275.31     FROM HESSE     STATUS=OK            33 CALLS      253 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.6448        4.1941        .16908E-03   -1.5233    
   2  alpha         1.1301        .39682        .29881E-01   -.57991    
   3  Normalizat    1.2010        .13433        .64639E-03   -.86572    
   4  Prefactor     .94987        .35026E-01    .18498E-03   -.94420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55532e-09
Minuit parameter uncertainties:
  1  4.19436
  2  0.399239
  3  0.13437
  4  0.0350269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843438': 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) = 48275.313326
delta logL = 0.85960924135

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  5.645e+00  4.194e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.130e+00  3.992e-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.499e-01  3.503e-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.201e+00  1.344e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.98
Ra Dec: 102.699 25.055
Photon Index (Free Index): 1.13 +/- 0.40
Photon Flux (Free Index): 6.71e-09 +/- 5.13e-09
Energy Flux (Free Index): 5.94e-05 +/- 5.05e-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/843438/cmap_HighResolution_381110401_381715201_4FGL_J0650.7+2503_weekly_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.54e-08', energy_flux2='5.94e-05', photon_flux_error='8.73e-09', dlogl='8.60e-01', energy_flux='2.56e-05', photon_flux2='6.71e-09', job_status='DONE', time_completed='2021-07-10 18:14:02.531434', photon_index_error2='0.40', photon_index2='1.13', ts='20.28', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='5.05e-05', EG='1.20', time_epoch_completed='1625966042.53', return_code='0', job_id='843438', GAL2='0.95', EG2='1.20', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='5.13e-09', ts2='21.98', photon_index='1.68' WHERE bin_id='235' AND source_name='4FGL J0650.7+2503' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul 10 18:14:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 843438: <4FGL_J0650.7+2503_weekly_bin235> in cluster <slac> Done

Job <4FGL_J0650.7+2503_weekly_bin235> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sat Jul 10 12:35:40 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 10 12:42:57 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:42:57 2021
Terminated at Sat Jul 10 18:14:03 2021
Results reported at Sat Jul 10 18:14:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_weekly_bin235 102.699 25.0548 381110401 381715201 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 :                                   2720.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             102.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   19866 sec.
    Turnaround time :                            20303 sec.

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

