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


Performing analysis on: 4FGL_J0650.7+2503_monthly_bin170
RA = 102.699, Dec = 25.0548
tmin = 677635201, tmax = 680227201
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='87458', job_status='RUN', time_executed='2022-07-23 00:51:49.764062', time_epoch_executed='1658562709.76' WHERE source_name='4FGL J0650.7+2503' and cadence='monthly' and bin_id='170'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87458

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87458/ft1_4FGL_J0650.7+2503_monthly_bin170.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87458/ft1_4FGL_J0650.7+2503_monthly_bin170.fits outfile=/scratch/kocevski/87458/ft1_filteredMKT_4FGL_J0650.7+2503_monthly_bin170.fits ra=102.699 dec=25.0548 rad=12.0 tmin=677635201.0 tmax=680227201.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 32.15
user 31.32
sys 0.73

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.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/87458/ft1_filteredMKT_4FGL_J0650.7+2503_monthly_bin170.fits evtable="EVENTS" outfile="/scratch/kocevski/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.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.86
user 0.67
sys 0.18

Number of photons that the gtmktime cut: 21291

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits" evtable="EVENTS" scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits sctable="SC_DATA" outfile=/scratch/kocevski/87458/ltcube_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.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/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits
.....................!
real 149.29
user 148.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits sctable="SC_DATA" expcube=/scratch/kocevski/87458/ltcube_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.fits outfile=/scratch/kocevski/87458/expmap_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.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/87458/ltcube_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.fits
.....................!
real 193.04
user 186.76
sys 5.91

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/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits outfile=/scratch/kocevski/87458/cmap_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.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/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits outfile=/scratch/kocevski/87458/cmap_HighResolution_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.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.82
user 0.63
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits evtable="EVENTS" scfile=/scratch/kocevski/87458/ft2_4FGL_J0650.7+2503_monthly_bin170.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87458/Model_4FGL_J0650.7+2503_monthly_bin170.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/87458/ft1_filtered_4FGL_J0650.7+2503_monthly_bin170.fits.....................!
real 4578.16
user 4568.69
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32808       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .47572E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10081E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10967E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10781E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3984       1.0000         .10000E-03   10000.    
     8 'norm      '    17.918       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.279       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.682       1.0000         .10000E-03   10000.    
    11 'norm      '    17.140       1.0000         .10000E-03   10000.    
    12 'norm      '    .48828       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.0946       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.5620       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0244       1.0000          .0000       10.000    
    16 'norm      '    3.6033       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=   205096.6     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1286 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32419        .71055         .0000        .10911E-01
   2  Prefactor     .10000E-03    4.8051         .0000    ** at limit **
   3  Prefactor     .10001E-03    30.831         .0000    ** at limit **
   4  norm          .10000E-03    .28128         .0000    ** at limit **
   5  Prefactor     .10001E-03    5.0749         .0000    ** at limit **
   6  Prefactor     .10000E-03    1.3061         .0000    ** at limit **
   7  Prefactor     1.3940        3.4261         .0000        .37816E-02
   8  norm          17.925        4.1971         .0000        .26316E-02
   9  Prefactor     10.299        10.299         .0000        .93639E-03
  10  Prefactor     15.688        4.3270         .0000        .35249E-02
  11  norm          17.149        4.7071         .0000        .15803E-02
  12  norm          .48831        .22893         .0000        .26420E-01
  13  Prefactor     2.0940        2.6312         .0000        .10313    
  14  Normalizat    1.5619        .77374E-01     .0000        .71411E-03
  15  Prefactor     1.0244        .18561E-01     .0000        .11708E-02
  16  norm          3.6032        .23665         .0000        .68972E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.324192
  Prefactor  = 0.000100001
  Prefactor  = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 1.394
  norm       = 17.9252
  Prefactor  = 10.2989
  Prefactor  = 15.6884
  norm       = 17.1493
  norm       = 0.488312
  Prefactor  = 2.09397
  Normalizat = 1.56187
  Prefactor  = 1.02438
  norm       = 3.60325
 **********
 **   18 **HESSE 
 **********

 FCN=   205096.6     FROM HESSE     STATUS=OK           209 CALLS     1495 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32419        2.5047        .53499E-02   -1.5594    
   2  Prefactor     .10000E-03    4.8145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    30.902        .21182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .28791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    5.0985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.3134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3940        3.3842        .36703E-03   -1.5472    
   8  norm          17.925        4.1978        .94618E-04   -1.4861    
   9  Prefactor     10.299        10.301        .12498E-03   -1.5066    
  10  Prefactor     15.688        4.3380        .10114E-03   -1.4916    
  11  norm          17.149        4.7178        .96742E-04   -1.4879    
  12  norm          .48831        .18233        .14189E-02   -1.5568    
  13  Prefactor     2.0940        2.6546        .14260E-02   -1.5419    
  14  Normalizat    1.5619        .82183E-01    .65160E-03   -.76054    
  15  Prefactor     1.0244        .19730E-01    .19586E-03   -.91921    
  16  norm          3.6032        .23716        .53161E-04   -1.5328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.061e-06
Minuit parameter uncertainties:
  1  1.80204
  2  0.000133628
  3  0.000868664
  4  1.45895e-06
  5  0.000511256
  6  3.77761e-05
  7  3.38465
  8  4.19788
  9  10.3028
  10  4.33806
  11  4.71793
  12  0.182328
  13  2.65471
  14  0.0821896
  15  0.0197303
  16  0.237162
Done.

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

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  1.793e+01  4.198e+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:  1.024e+00  1.973e-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.562e+00  8.219e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 79.11
Ra Dec: 102.699 25.055
Photon Index (Fixed Index): 1.68 +/- 0.00
Photon Flux (Fixed Index): 3.46e-08 +/- 8.11e-09
Energy Flux (Fixed Index): 5.77e-05 +/- 1.35e-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) = 205095.867495
delta logL = 0.75820912543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 205095.866074
delta logL = 0.759629549051

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.868       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9285       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0247       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=   205095.9     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      243 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.868        40.040        .23051E-02    .13975E-02
   2  alpha         1.9285        .93086        .42600        .49413E-03
   3  Normalizat    1.5455        .43624E-01    .14724        .36628E-03
   4  Prefactor     1.0247        .74447E-02    .41699E-01   -.70825E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.8684
  alpha      = 1.92853
  Normalizat = 1.54547
  Prefactor  = 1.02471
 **********
 **   18 **HESSE 
 **********

 FCN=   205095.9     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.868        4.0518        .92205E-04   -1.4839    
   2  alpha         1.9285        .19423        .16961E-01   -.23063    
   3  Normalizat    1.5455        .74751E-01    .65417E-03   -.76508    
   4  Prefactor     1.0247        .18466E-01    .19581E-03   -.91910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58723e-10
Minuit parameter uncertainties:
  1  4.0519
  2  0.194439
  3  0.0747561
  4  0.0184666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87458': 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) = 205095.866074
delta logL = 0.759629734326

Extracting fit parameters...

4FGL J0650.7+2503
   Spectrum: LogParabola
291         norm:  1.887e+01  4.052e+00  1.000e-04  1.000e+04 ( 1.000e-13)
292        alpha:  1.929e+00  1.944e-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:  1.025e+00  1.847e-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.545e+00  7.476e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 81.08
Ra Dec: 102.699 25.055
Photon Index (Free Index): 1.93 +/- 0.19
Photon Flux (Free Index): 5.55e-08 +/- 2.12e-08
Energy Flux (Free Index): 4.66e-05 +/- 1.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -3.003e-01 [aplpy.core]
INFO: Auto-setting vmax to  3.333e+00 [aplpy.core]
Saving /scratch/kocevski/87458/cmap_HighResolution_677635201_680227201_4FGL_J0650.7+2503_monthly_bin170.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.46e-08', energy_flux2='4.66e-05', photon_flux_error='8.11e-09', dlogl='7.60e-01', energy_flux='5.77e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2022-07-23 03:43:58.567327', photon_index_error2='0.19', photon_index2='1.93', ts='79.11', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='1.56', time_epoch_completed='1658573038.57', return_code='0', job_id='87458', GAL2='1.02', EG2='1.55', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='2.12e-08', ts2='81.08', photon_index='1.68' WHERE bin_id='170' AND source_name='4FGL J0650.7+2503' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sat Jul 23 03:43:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 87458: <4FGL_J0650.7+2503_monthly_bin170> in cluster <slac> Done

Job <4FGL_J0650.7+2503_monthly_bin170> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jul 23 00:50:44 2022
Job was executed on host(s) <bullet0156>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul 23 00:50:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul 23 00:50:44 2022
Terminated at Sat Jul 23 03:44:00 2022
Results reported at Sat Jul 23 03:44:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0650.7+2503_monthly_bin170 102.699 25.0548 677635201 680227201 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 :                                   10311.00 sec.
    Max Memory :                                 839 MB
    Average Memory :                             608.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10395 sec.
    Turnaround time :                            10396 sec.

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

