aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 32 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 = 17252
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0650.7+2503_weekly_bin715
RA = 102.699, Dec = 25.0548
tmin = 671414401, tmax = 672019201
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='934128', job_status='RUN', time_executed='2022-04-19 02:24:56.635571', time_epoch_executed='1650360296.64' WHERE source_name='4FGL J0650.7+2503' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934128

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934128/ft1_4FGL_J0650.7+2503_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934128/ft1_4FGL_J0650.7+2503_weekly_bin715.fits outfile=/scratch/kocevski/934128/ft1_filteredMKT_4FGL_J0650.7+2503_weekly_bin715.fits ra=102.699 dec=25.0548 rad=12.0 tmin=671414401.0 tmax=672019201.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.66
user 7.33
sys 0.30

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

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

Number of photons that the gtmktime cut: 5286

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/934128/ltcube_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.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/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits
.....................!
real 26.97
user 26.56
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/934128/ltcube_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.fits outfile=/scratch/kocevski/934128/expmap_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.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/934128/ltcube_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.fits
.....................!
real 193.90
user 187.45
sys 5.95

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/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits scfile=/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits outfile=/scratch/kocevski/934128/cmap_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.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.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits scfile=/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits outfile=/scratch/kocevski/934128/cmap_HighResolution_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.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.59
user 0.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934128/ft2_4FGL_J0650.7+2503_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934128/Model_4FGL_J0650.7+2503_weekly_bin715.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/934128/ft1_filtered_4FGL_J0650.7+2503_weekly_bin715.fits.....................!
real 1014.73
user 1010.13
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4162       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    28.652       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    9.9430       1.0000         .10000E-03   10000.    
    12 'norm      '    2.9857       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2293       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2336       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .96198       1.0000          .0000       10.000    
    16 'norm      '    4.0762       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   47524.68     FROM MIGRAD    STATUS=CONVERGED    321 CALLS     1266 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4164        3.8757         .0000        .57131E-01
   2  Prefactor     .10000E-03    14.489         .0000    ** at limit **
   3  Prefactor     .10001E-03    115.71         .0000    ** at limit **
   4  norm          .10000E-03    .63913         .0000    ** at limit **
   5  Prefactor     .10001E-03    28.859         .0000    ** at limit **
   6  Prefactor     .10000E-03    6.9529         .0000    ** at limit **
   7  Prefactor     .10000E-03    3.4919         .0000    ** at limit **
   8  norm          28.652        8.4889         .0000        .38545E-04
   9  Prefactor     .10000E-03    9.3617         .0000    ** at limit **
  10  Prefactor     .10000E-03    4.6192         .0000    ** at limit **
  11  norm          9.9430        6.1990         .0000       -.18170E-03
  12  norm          2.9857        .57823         .0000        .11240E-02
  13  Prefactor     2.2296        2.6588         .0000        .52272E-01
  14  Normalizat    1.2336        .12289         .0000        .28682E-04
  15  Prefactor     .96197        .33732E-01     .0000        .20649E-03
  16  norm          4.0761        .44696         .0000       -.18456E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.41637
  Prefactor  = 0.000100004
  Prefactor  = 0.000100009
  norm       = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.6523
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.94301
  norm       = 2.98569
  Prefactor  = 2.22963
  Normalizat = 1.23361
  Prefactor  = 0.961972
  norm       = 4.07607
 **********
 **   18 **HESSE 
 **********

 FCN=   47524.68     FROM HESSE     STATUS=OK           199 CALLS     1465 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4164        3.8878        .18188E-02   -1.5470    
   2  Prefactor     .10000E-03    14.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    115.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .64521        .17017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    29.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.0287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          28.652        8.4902        .74846E-04   -1.4637    
   9  Prefactor     .10000E-03    9.4023        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.7398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          9.9430        6.2050        .12708E-03   -1.5077    
  12  norm          2.9857        .57913        .70360E-04   -1.5362    
  13  Prefactor     2.2296        2.6522        .13768E-02   -1.5409    
  14  Normalizat    1.2336        .12969        .58928E-03   -.85571    
  15  Prefactor     .96197        .35790E-01    .17930E-03   -.94008    
  16  norm          4.0761        .44845        .45860E-04   -1.5304    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26428e-09
Minuit parameter uncertainties:
  1  3.88844
  2  0.00050006
  3  0.0020918
  4  1.56572e-05
  5  0.00100835
  6  8.15411e-05
  7  2.63646e-05
  8  8.4906
  9  8.35666e-05
  10  1.09466e-05
  11  6.20537
  12  0.579131
  13  2.65229
  14  0.129721
  15  0.0357911
  16  0.448451
Done.

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

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  2.865e+01  8.491e+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.620e-01  3.579e-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.234e+00  1.297e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 56.10
Ra Dec: 102.699 25.055
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 5.54e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 9.22e-05 +/- 2.73e-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) = 47524.1678222
delta logL = 0.507418414425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 47524.1677493
delta logL = 0.507491298944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.619       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4763       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96172       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=   47524.17     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      220 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.584        17.386        .18722E-02   -.15059E-05
   2  alpha         1.4753        .33789        .32021        .43333E-05
   3  Normalizat    1.2441        .12073        .13227        .10295E-03
   4  Prefactor     .96172        .32478E-01    .45787E-01    .23125E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 28.5838
  alpha      = 1.47528
  Normalizat = 1.24405
  Prefactor  = 0.961721
 **********
 **   18 **HESSE 
 **********

 FCN=   47524.17     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.584        9.0060        .74889E-04   -1.4638    
   2  alpha         1.4753        .20356        .15893E-01   -.42233    
   3  Normalizat    1.2441        .12443        .58733E-03   -.85252    
   4  Prefactor     .96172        .34127E-01    .17934E-03   -.94017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71097e-12
Minuit parameter uncertainties:
  1  9.00645
  2  0.203828
  3  0.124456
  4  0.0341282
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934128': 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) = 47524.1677337
delta logL = 0.507506899994

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  2.858e+01  9.006e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.475e+00  2.038e-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.617e-01  3.413e-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.244e+00  1.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.04
Ra Dec: 102.699 25.055
Photon Index (Free Index): 1.48 +/- 0.20
Photon Flux (Free Index): 4.22e-08 +/- 1.77e-08
Energy Flux (Free Index): 1.32e-04 +/- 6.27e-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/934128/cmap_HighResolution_671414401_672019201_4FGL_J0650.7+2503_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.54e-08', energy_flux2='1.32e-04', photon_flux_error='1.64e-08', dlogl='5.08e-01', energy_flux='9.22e-05', photon_flux2='4.22e-08', job_status='DONE', time_completed='2022-04-19 03:08:09.542844', photon_index_error2='0.20', photon_index2='1.48', ts='56.10', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='6.27e-05', EG='1.23', time_epoch_completed='1650362889.54', return_code='0', job_id='934128', GAL2='0.96', EG2='1.24', return_code2='0', energy_flux_error='2.73e-05', photon_flux_error2='1.77e-08', ts2='57.04', photon_index='1.68' WHERE bin_id='715' AND source_name='4FGL J0650.7+2503' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:08:09 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0007>
Subject: Job 930416: <4FGL_J0650.7+2503_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0650.7+2503_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:06:06 2022
Job was executed on host(s) <bullet0007>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:11:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:11:40 2022
Terminated at Tue Apr 19 02:55:24 2022
Results reported at Tue Apr 19 02:55:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_weekly_bin715 102.699 25.0548 671414401 672019201 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 :                                   2602.02 sec.
    Max Memory :                                 1264 MB
    Average Memory :                             466.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2943 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2623 sec.
    Turnaround time :                            10158 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 934128: <4FGL_J0650.7+2503_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0650.7+2503_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:17:06 2022
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:24:16 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:24:16 2022
Terminated at Tue Apr 19 03:08:10 2022
Results reported at Tue Apr 19 03:08:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_weekly_bin715 102.699 25.0548 671414401 672019201 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 :                                   2590.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             461.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2634 sec.
    Turnaround time :                            10264 sec.

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

