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 69 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1650.7+0831_daily_bin1748
RA = 252.7, Dec = 8.5182
tmin = 692409601, tmax = 692668801
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='891340', job_status='RUN', time_executed='2022-12-14 00:56:46.274723', time_epoch_executed='1671008206.27' WHERE source_name='4FGL J1650.7+0831' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891340

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891340/ft1_4FGL_J1650.7+0831_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891340/ft1_4FGL_J1650.7+0831_daily_bin1748.fits outfile=/scratch/kocevski/891340/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin1748.fits ra=252.7 dec=8.5182 rad=12.0 tmin=692409601.0 tmax=692668801.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 3.57
user 3.35
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.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/891340/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 982

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/891340/ltcube_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.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/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits
.....................!
real 12.58
user 12.21
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/891340/ltcube_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits outfile=/scratch/kocevski/891340/expmap_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.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/891340/ltcube_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits
.....................!
real 191.39
user 184.87
sys 6.00

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 FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Added 170 point sources and 1 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 J1650.7+0831 @ 252.7 8.5182

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits outfile=/scratch/kocevski/891340/cmap_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.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=252.7 yref=8.5182 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.56
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits outfile=/scratch/kocevski/891340/cmap_HighResolution_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.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=252.7 yref=8.5182 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891340/Model_4FGL_J1650.7+0831_daily_bin1748.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 FHES J1723.5-0501
adding source GAL_V02
Working on...
/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits.....................!
real 80.68
user 79.31
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits', '/scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits', expMap='/scratch/kocevski/891340/expmap_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits', expCube='/scratch/kocevski/891340/ltcube_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891340/Model_4FGL_J1650.7+0831_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1650.7+0831'

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  1.844e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/891340/ft1_filtered_4FGL_J1650.7+0831_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/891340/ft2_4FGL_J1650.7+0831_daily_bin1748.fits
Exposure map: /scratch/kocevski/891340/expmap_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits
Exposure cube: /scratch/kocevski/891340/ltcube_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891340/Model_4FGL_J1650.7+0831_daily_bin1748.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) = 10432.5881076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 10432.5567563

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    44.964       1.0000          .0000       .10000E+07
     2 'Prefactor '    .28375       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53009E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.9889       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.3734       1.0000          .0000       .10000E+07
     6 'Prefactor '    .44409E-09   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9697       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18854E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36538E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.1231       1.0000          .0000       .10000E+07
    11 'Prefactor '    .61430       1.0000          .0000       .10000E+07
    12 'norm      '    .49553       1.0000          .0000       .10000E+07
    13 'Prefactor '    .56525E-03   1.0000          .0000       .10000E+07
    14 'norm      '    5.0063       1.0000          .0000       .10000E+07
    15 'Prefactor '    11.414       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.2504       1.0000          .0000       .10000E+07
    17 'norm      '    .19305E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .96977       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0642       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10432.55     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1183 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          44.883        1.9863        .86137E-08   -.19865    
   2  Prefactor     .34528E-07    64.473        .15749E-07** at limit **
   3  Prefactor     .44409E-09    13.396       -.19836E-06** at limit **
   4  Prefactor     7.9386        7.9904        .71944E-09    .73497E-03
   5  Prefactor     9.4369        6.7253       -.86451E-08   -.59676E-03
   6  Prefactor      .0000        1.1756        .19457E-07** at limit **
   7  Prefactor     1.9660        5.2231       -.14478E-07   -.59113E-03
   8  Prefactor     .33307E-09    21.660        .35180E-06** at limit **
   9  Prefactor     .23870E-08    4.7343        .37856E-06** at limit **
  10  Prefactor     2.1457        16.102        .43098E-07    .10791E-02
  11  Prefactor     16.584        228.79        .12784E-05   -.35003E-02
  12  norm          .49647        1.8364        .30960E-07    .12957E-02
  13  Prefactor     .55511E-10    5.9584        .13087E-06** at limit **
  14  norm          4.9672        6.7168        .93657E-08    .70367E-03
  15  Prefactor     11.942        3.4549        .21810E-07    .14444    
  16  Prefactor     3.2585        2.8671        .37233E-07    .44124E-02
  17  norm          .38913E-07    26.744        .19472E-06** at limit **
  18  Normalizat    .97251        .28764        .38357E-06    .63059E-04
  19  Prefactor     1.0626        .93669E-01   -.12325E-06    .18547E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 44.8827
  Prefactor  = 3.45279e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 7.93864
  Prefactor  = 9.43691
  Prefactor  = 0
  Prefactor  = 1.96605
  Prefactor  = 3.33067e-10
  Prefactor  = 2.38698e-09
  Prefactor  = 2.1457
  Prefactor  = 16.5838
  norm       = 0.496465
  Prefactor  = 5.55112e-11
  norm       = 4.96721
  Prefactor  = 11.9424
  Prefactor  = 3.25852
  norm       = 3.89133e-08
  Normalizat = 0.972513
  Prefactor  = 1.06256
 **********
 **   18 **HESSE 
 **********

 FCN=   10432.55     FROM HESSE     STATUS=OK           308 CALLS     1491 TOTAL
                     EDM=   .89E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          44.883        17.903        .14914E-03   -1.5574    
   2  Prefactor     .34528E-07    63.825        .10442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    13.364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9386        8.0014        .35450E-03   -1.5652    
   5  Prefactor     9.4369        6.7345        .32710E-03   -1.5647    
   6  Prefactor      .0000        1.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9660        5.2415        .73855E-03   -1.5680    
   8  Prefactor     .33307E-09    21.828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .23870E-08    4.7278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1457        16.060        .70747E-03   -1.5679    
  11  Prefactor     16.584        229.47        .67957E-03   -1.5627    
  12  norm          .49647        1.8641        .79161E-03   -1.5694    
  13  Prefactor     .55511E-10    5.9841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.9672        6.7351        .44920E-03   -1.5663    
  15  Prefactor     11.942        93.528        .29628E-03   -1.5639    
  16  Prefactor     3.2585        2.8736        .56152E-03   -1.5672    
  17  norm          .38913E-07    26.687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .97251        .25878        .10827       -.93957    
  19  Prefactor     1.0626        .82081E-01    .39140E-01   -.90672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.91495e-06
Minuit parameter uncertainties:
  1  17.9026
  2  0.00296898
  3  0.000151611
  4  8.00143
  5  6.7345
  6  5.24488e-06
  7  5.24147
  8  0.000168495
  9  0.00021189
  10  11.7404
  11  123.383
  12  1.86414
  13  4.14922e-05
  14  6.73514
  15  66.843
  16  2.87363
  17  0.00203882
  18  0.259109
  19  0.0820904
Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  1.966e+00  5.241e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.574e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.063e+00  8.209e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.725e-01  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 252.700 8.518
Photon Flux Upper Limit: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/891340/likelihoodResults_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.txt

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) = 10432.5355543
delta logL = 0.00970055294601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10432.5301365
delta logL = 0.015118382873

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6330       1.0000          .0000       .10000E+07
     2 'Index     '    2.2271       1.0000          .0000       10.000    
     3 'Normalizat'    .97818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0609       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5770E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10432.53     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      279 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6288        6.7635        .12563E-03    .50751E-02
   2  Index         2.2277        1.5784        .11304E-01    .91198E-05
   3  Normalizat    .97806        .28303        .47867E-03   -.20758E-04
   4  Prefactor     1.0609        .93369E-01    .15132E-03   -.38767E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.62877
  Index      = 2.22771
  Normalizat = 0.978063
  Prefactor  = 1.06094
 **********
 **   18 **HESSE 
 **********

 FCN=   10432.53     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6288        6.6073        .25126E-04   -1.5676    
   2  Index         2.2277        1.5445        .45216E-03   -.58771    
   3  Normalizat    .97806        .28316        .19147E-04   -.93769    
   4  Prefactor     1.0609        .93385E-01    .60529E-05   -.90725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75609e-11
Minuit parameter uncertainties:
  1  6.60731
  2  1.58231
  3  0.283592
  4  0.093399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891340': 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) = 10432.5301362
delta logL = 0.0151187239753

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  2.629e+00  6.607e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  2.228e+00  1.582e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  6.762e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
574    Prefactor:  1.061e+00  9.340e-02  0.000e+00  1.000e+01 ( 1.000e+00)
575        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
576        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.781e-01  2.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
Ra Dec: 252.700 8.518

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/891340/cmap_HighResolution_692409601_692668801_4FGL_J1650.7+0831_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.62e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-12-14 01:07:40.518049', job_id='891340', GAL2='1.06', fit_tolerance='1e-08', EG2='0.98', EG='0.97', time_epoch_completed='1671008860.52', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.51e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1748' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:07:40 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 891340: <4FGL_J1650.7+0831_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1650.7+0831_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 00:55:27 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:55:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:55:28 2022
Terminated at Wed Dec 14 01:07:41 2022
Results reported at Wed Dec 14 01:07:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1650.7+0831_daily_bin1748 252.7 8.5182 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1650.7+0831 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

