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


Performing analysis on: 4FGL_J1650.7+0831_daily_bin1750
RA = 252.7, Dec = 8.5182
tmin = 692928001, tmax = 693187201
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='18784', job_status='RUN', time_executed='2022-12-20 01:19:16.114869', time_epoch_executed='1671527956.11' WHERE source_name='4FGL J1650.7+0831' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18784/ft1_4FGL_J1650.7+0831_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18784/ft1_4FGL_J1650.7+0831_daily_bin1750.fits outfile=/scratch/kocevski/18784/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin1750.fits ra=252.7 dec=8.5182 rad=12.0 tmin=692928001.0 tmax=693187201.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.45
user 3.23
sys 0.21

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

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

Number of photons that the gtmktime cut: 853

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/18784/ltcube_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.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/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits
.....................!
real 11.50
user 11.14
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/18784/ltcube_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits outfile=/scratch/kocevski/18784/expmap_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.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/18784/ltcube_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits
.....................!
real 191.77
user 185.34
sys 6.11

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/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits scfile=/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits outfile=/scratch/kocevski/18784/cmap_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits scfile=/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits outfile=/scratch/kocevski/18784/cmap_HighResolution_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18784/Model_4FGL_J1650.7+0831_daily_bin1750.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/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits.....................!
real 73.87
user 72.46
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits', '/scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits', expMap='/scratch/kocevski/18784/expmap_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits', expCube='/scratch/kocevski/18784/ltcube_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18784/Model_4FGL_J1650.7+0831_daily_bin1750.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/18784/ft1_filtered_4FGL_J1650.7+0831_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/18784/ft2_4FGL_J1650.7+0831_daily_bin1750.fits
Exposure map: /scratch/kocevski/18784/expmap_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits
Exposure cube: /scratch/kocevski/18784/ltcube_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18784/Model_4FGL_J1650.7+0831_daily_bin1750.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) = 8792.98973504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.872       1.0000          .0000       .10000E+07
     2 'Prefactor '    .98757       1.0000          .0000       .10000E+07
     3 'Prefactor '    .15682E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.9730       1.0000          .0000       .10000E+07
     5 'Prefactor '    .62281E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .50483E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15916E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .28767       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9216       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3291       1.0000          .0000       .10000E+07
    11 'Prefactor '    176.49       1.0000          .0000       .10000E+07
    12 'norm      '    .86708E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .37633E-03   1.0000          .0000       .10000E+07
    14 'norm      '    4.9997       1.0000          .0000       .10000E+07
    15 'Prefactor '    .32071E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.3143       1.0000          .0000       .10000E+07
    17 'norm      '    16.190       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0157       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0740       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=   8792.976     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1472 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.917        3.3554        .88159E-07   -.20540E-01
   2  Prefactor     .68553        75.645        .42109E-05   -.10725    
   3  Prefactor      .0000        21.116       -.33631E-06** at limit **
   4  Prefactor     4.9599        11.162       -.26239E-08   -.76429E-02
   5  Prefactor     .26645E-08    7.6923        .32143E-06** at limit **
   6  Prefactor     .27756E-09    3.6791        .62984E-07** at limit **
   7  Prefactor     .31058E-06    3.8644       -.53532E-07** at limit **
   8  Prefactor     .49960E-09    87.286        .29703E-06** at limit **
   9  Prefactor     9.8856        9.5019       -.22040E-06    .79994E-02
  10  Prefactor     5.3390        10.580       -.77747E-06   -.23532E-01
  11  Prefactor     181.12        242.83       -.43136E-05   -.10386    
  12  norm           .0000        .77413       -.83535E-08** at limit **
  13  Prefactor     .27606E-06    3.7244       -.24636E-06** at limit **
  14  norm          4.8853        8.1518       -.10856E-06   -.16517E-03
  15  Prefactor      .0000        39.497       -.20039E-06** at limit **
  16  Prefactor     2.3293        3.5818       -.80084E-08   -.28648E-03
  17  norm          16.185        3.3057       -.43631E-07    .66515E-01
  18  Normalizat    1.0163        .31947       -.15755E-05   -.20683E-04
  19  Prefactor     1.0737        .10525        .17196E-05   -.45569E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.9171
  Prefactor  = 0.685529
  Prefactor  = 0
  Prefactor  = 4.95986
  Prefactor  = 2.66454e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 3.10585e-07
  Prefactor  = 4.996e-10
  Prefactor  = 9.88557
  Prefactor  = 5.33901
  Prefactor  = 181.115
  norm       = 0
  Prefactor  = 2.76057e-07
  norm       = 4.88529
  Prefactor  = 0
  Prefactor  = 2.32933
  norm       = 16.1853
  Normalizat = 1.01627
  Prefactor  = 1.07374
 **********
 **   18 **HESSE 
 **********

 FCN=   8792.976     FROM HESSE     STATUS=OK           304 CALLS     1776 TOTAL
                     EDM=   .44E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.917        12.577        .27894E-03   -1.5636    
   2  Prefactor     .68553        857.53        .43325E-03   -1.5691    
   3  Prefactor      .0000        21.006        .17339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.9599        12.088        .45074E-03   -1.5663    
   5  Prefactor     .26645E-08    7.7665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .27756E-09    3.6725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .31058E-06    7.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    86.870        .10386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8856        9.6173        .31788E-03   -1.5645    
  10  Prefactor     5.3390        10.897        .43512E-03   -1.5662    
  11  Prefactor     181.12        254.94        .75280E-04   -1.5439    
  12  norm           .0000        .77386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .27606E-06    6.8837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8853        8.1949        .44950E-03   -1.5664    
  15  Prefactor      .0000        39.365        .16343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.3293        3.6220        .67409E-03   -1.5677    
  17  norm          16.185        12.296        .24865E-03   -1.5628    
  18  Normalizat    1.0163        .28387        .10537       -.92487    
  19  Prefactor     1.0737        .91528E-01    .38671E-01   -.90310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40452e-05
Minuit parameter uncertainties:
  1  12.5773
  2  48.4987
  3  3.89086e-05
  4  12.0884
  5  0.000287367
  6  6.29988e-05
  7  0.00302528
  8  0.000415188
  9  9.61735
  10  10.897
  11  254.954
  12  2.23695e-07
  13  0.00275691
  14  8.19494
  15  2.06264e-05
  16  3.62203
  17  12.296
  18  0.284294
  19  0.0915412
Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  3.106e-07  3.025e-03  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.074e+00  9.154e-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:  1.016e+00  2.843e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 252.700 8.518
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.05e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18784/likelihoodResults_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.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): 102
logL (Free Index) = 8792.9745384
delta logL = 0.00113491650882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8792.56290773
delta logL = 0.412765591611

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84159E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.8710       1.0000          .0000       10.000    
     3 'Normalizat'    .92086       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0925       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.

 FCN=   8792.563     FROM MIGRAD    STATUS=CONVERGED    153 CALLS      413 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83596E-02    .99532E-02    .21460E-03** at limit **
   2  Index         6.8768        .44248        .21827       -.97332E-04
   3  Normalizat    .92034        .38209        .11017       -.12308E-03
   4  Prefactor     1.0927        .12616        .37878E-01   -.30025E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00835961
  Index      = 6.87681
  Normalizat = 0.920343
  Prefactor  = 1.09266
 **********
 **   18 **HESSE 
 **********

 FCN=   8792.563     FROM HESSE     STATUS=OK            33 CALLS      446 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83596E-02    .16322E-01    .97361E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.8768        1.0745        .86284E-02   -9.8096    
   3  Normalizat    .92034        .32588        .48838E-03   -2.1841    
   4  Prefactor     1.0927        .10557        .15010E-03   -2.2446    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30526e-09
Minuit parameter uncertainties:
  1  0.0163222
  2  1.08432
  3  0.326579
  4  0.105589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18784': 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) = 8792.56290207
delta logL = 0.412771253456

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  8.360e-03  1.632e-02  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  6.877e+00  1.084e+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.093e+00  1.056e-01  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.203e-01  3.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/18784/cmap_HighResolution_692928001_693187201_4FGL_J1650.7+0831_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2022-12-20 01:30:04.645505', job_id='18784', GAL2='1.09', fit_tolerance='1e-08', EG2='0.92', EG='1.02', time_epoch_completed='1671528604.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='4.13e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1750' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:30:04 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 18784: <4FGL_J1650.7+0831_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1650.7+0831_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 01:15:19 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:15:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:15:20 2022
Terminated at Tue Dec 20 01:30:05 2022
Results reported at Tue Dec 20 01:30:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1650.7+0831_daily_bin1750 252.7 8.5182 692928001 693187201 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 :                                   651.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            886 sec.

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

