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 51 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 = 73886
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0650.7+2503_monthly_bin167
RA = 102.699, Dec = 25.0548
tmin = 669859201, tmax = 672451201
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='880438', job_status='RUN', time_executed='2022-04-24 01:06:36.869664', time_epoch_executed='1650787596.87' WHERE source_name='4FGL J0650.7+2503' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/880438

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/880438/ft1_4FGL_J0650.7+2503_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/880438/ft1_4FGL_J0650.7+2503_monthly_bin167.fits outfile=/scratch/kocevski/880438/ft1_filteredMKT_4FGL_J0650.7+2503_monthly_bin167.fits ra=102.699 dec=25.0548 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.26
user 37.12
sys 0.84

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.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/880438/ft1_filteredMKT_4FGL_J0650.7+2503_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.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.89
user 0.66
sys 0.19

Number of photons that the gtmktime cut: 22119

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/880438/ltcube_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.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/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits
.....................!
real 128.97
user 127.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/880438/ltcube_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.fits outfile=/scratch/kocevski/880438/expmap_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.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/880438/ltcube_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.fits
.....................!
real 192.66
user 186.55
sys 4.84

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/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits outfile=/scratch/kocevski/880438/cmap_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.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.81
user 0.63
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits outfile=/scratch/kocevski/880438/cmap_HighResolution_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.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.83
user 0.65
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/880438/ft2_4FGL_J0650.7+2503_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/880438/Model_4FGL_J0650.7+2503_monthly_bin167.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/880438/ft1_filtered_4FGL_J0650.7+2503_monthly_bin167.fits.....................!
real 4442.78
user 4412.09
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81913       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.326       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11383E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.1740       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39747       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4641       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5210       1.0000         .10000E-03   10000.    
     8 'norm      '    32.117       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3735       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1811       1.0000         .10000E-03   10000.    
    11 'norm      '    8.6106       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4927       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2421       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.2262       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .99298       1.0000          .0000       10.000    
    16 'norm      '    3.5766       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=   204599.9     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1307 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82007        .97141       -.29898E-07   -.47074E-04
   2  Prefactor     13.457        13.916        .68343E-06    .16737E-04
   3  Prefactor     .10000E-03    12.331       -.87266E-06** at limit **
   4  norm          2.1738        .96782        .43923E-08   -.41106E-03
   5  Prefactor     .39359        1.4933       -.80312E-06    .12482E-02
   6  Prefactor     4.4631        4.6667       -.72560E-06    .83504E-04
   7  Prefactor     2.5196        2.6142        .29252E-06    .30684E-04
   8  norm          32.122        4.3253       -.17041E-06    .11592E-03
   9  Prefactor     2.4021        8.2784       -.96265E-05    .31328E-04
  10  Prefactor     5.1831        2.5269        .22921E-06    .78774E-04
  11  norm          8.6105        3.2408       -.96314E-06    .17795E-03
  12  norm          1.4928        .23134       -.16898E-07    .13751E-03
  13  Prefactor     1.2429        .36922        .84704E-08   -.84313E-03
  14  Normalizat    1.2262        .62076E-01    .74357E-06    .40515E-03
  15  Prefactor     .99297        .17225E-01    .21183E-07    .18399E-02
  16  norm          3.5767        .21924        .67362E-09    .21087E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.82007
  Prefactor  = 13.4569
  Prefactor  = 0.0001
  norm       = 2.17381
  Prefactor  = 0.39359
  Prefactor  = 4.46313
  Prefactor  = 2.51957
  norm       = 32.122
  Prefactor  = 2.40206
  Prefactor  = 5.1831
  norm       = 8.61051
  norm       = 1.49281
  Prefactor  = 1.24293
  Normalizat = 1.22619
  Prefactor  = 0.992974
  norm       = 3.57672
 **********
 **   18 **HESSE 
 **********

 FCN=   204599.9     FROM HESSE     STATUS=OK           223 CALLS     1530 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82007        2.3023        .45761E-02   -1.5527    
   2  Prefactor     13.457        13.952        .10972E-03   -1.4974    
   3  Prefactor     .10000E-03    12.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.1738        .99760        .13963E-02   -1.5413    
   5  Prefactor     .39359        1.4689        .19818       -1.5583    
   6  Prefactor     4.4631        4.6652        .19058E-03   -1.5285    
   7  Prefactor     2.5196        2.6188        .25730E-03   -1.5390    
   8  norm          32.122        4.3268        .70704E-04   -1.4574    
   9  Prefactor     2.4021        8.2888        .26594E-03   -1.5398    
  10  Prefactor     5.1831        2.5357        .88305E-03   -1.5253    
  11  norm          8.6105        3.2380        .13661E-03   -1.5121    
  12  norm          1.4928        .23100        .82485E-04   -1.5464    
  13  Prefactor     1.2429        1.4613        .20110E-02   -1.5485    
  14  Normalizat    1.2262        .66973E-01    .61758E-03   -.85797    
  15  Prefactor     .99297        .18415E-01    .18322E-03   -.92964    
  16  norm          3.5767        .21947        .49488E-04   -1.5330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53166e-07
Minuit parameter uncertainties:
  1  2.30253
  2  13.9556
  3  2.16229e-07
  4  0.997603
  5  1.46901
  6  4.66558
  7  2.61895
  8  4.32689
  9  8.29277
  10  2.53573
  11  3.23807
  12  0.231002
  13  1.46135
  14  0.0669773
  15  0.0184155
  16  0.219474
Done.

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

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  3.212e+01  4.327e+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.930e-01  1.842e-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.226e+00  6.698e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 264.24
Ra Dec: 102.699 25.055
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 6.21e-08 +/- 8.36e-09
Energy Flux (Fixed Index): 1.03e-04 +/- 1.39e-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) = 204599.709721
delta logL = 0.174559847277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 204599.709474
delta logL = 0.174806371826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.216       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6210       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2302       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99285       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=   204599.7     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      222 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.216        64.705        .17649E-02   -.13378E-03
   2  alpha         1.6210        1.2011        .29440        .23676E-03
   3  Normalizat    1.2302        .11639        .13883        .51204E-03
   4  Prefactor     .99285        .15606E-01    .46178E-01   -.10173E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.2158
  alpha      = 1.62099
  Normalizat = 1.23017
  Prefactor  = 0.992853
 **********
 **   18 **HESSE 
 **********

 FCN=   204599.7     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.216        4.3914        .70596E-04   -1.4572    
   2  alpha         1.6210        .10055        .15736E-01   -.35928    
   3  Normalizat    1.2302        .62400E-01    .61679E-03   -.85676    
   4  Prefactor     .99285        .16915E-01    .18324E-03   -.92968    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58205e-12
Minuit parameter uncertainties:
  1  4.39147
  2  0.100584
  3  0.0624038
  4  0.0169153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/880438': 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) = 204599.709474
delta logL = 0.174806374212

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  3.222e+01  4.391e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.621e+00  1.006e-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.929e-01  1.692e-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.230e+00  6.240e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 264.33
Ra Dec: 102.699 25.055
Photon Index (Free Index): 1.62 +/- 0.10
Photon Flux (Free Index): 5.71e-08 +/- 1.11e-08
Energy Flux (Free Index): 1.14e-04 +/- 2.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -4.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  4.440e+00 [aplpy.core]
Saving /scratch/kocevski/880438/cmap_HighResolution_669859201_672451201_4FGL_J0650.7+2503_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.21e-08', energy_flux2='1.14e-04', photon_flux_error='8.36e-09', dlogl='1.75e-01', energy_flux='1.03e-04', photon_flux2='5.71e-08', job_status='DONE', time_completed='2022-04-24 04:01:58.857350', photon_index_error2='0.10', photon_index2='1.62', ts='264.24', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.23', time_epoch_completed='1650798118.86', return_code='0', job_id='880438', GAL2='0.99', EG2='1.23', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='1.11e-08', ts2='264.33', photon_index='1.68' WHERE bin_id='167' AND source_name='4FGL J0650.7+2503' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 04:01:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 880438: <4FGL_J0650.7+2503_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0650.7+2503_monthly_bin167> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 01:00:38 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:05:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:05:36 2022
Terminated at Sun Apr 24 04:02:00 2022
Results reported at Sun Apr 24 04:02:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_monthly_bin167 102.699 25.0548 669859201 672451201 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 :                                   10440.00 sec.
    Max Memory :                                 665 MB
    Average Memory :                             611.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   10584 sec.
    Turnaround time :                            10882 sec.

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

