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


Performing analysis on: 4FGL_J1650.7+0831_daily_bin1762
RA = 252.7, Dec = 8.5182
tmin = 696038401, tmax = 696297601
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='114837', job_status='RUN', time_executed='2023-01-25 01:19:42.035438', time_epoch_executed='1674638382.04' WHERE source_name='4FGL J1650.7+0831' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/114837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/114837/ft1_4FGL_J1650.7+0831_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/114837/ft1_4FGL_J1650.7+0831_daily_bin1762.fits outfile=/scratch/kocevski/114837/ft1_filteredMKT_4FGL_J1650.7+0831_daily_bin1762.fits ra=252.7 dec=8.5182 rad=12.0 tmin=696038401.0 tmax=696297601.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.71
user 3.45
sys 0.20

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

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

Number of photons that the gtmktime cut: 1019

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/114837/ltcube_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.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/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits
.....................!
real 14.76
user 14.22
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/114837/ltcube_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.fits outfile=/scratch/kocevski/114837/expmap_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.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/114837/ltcube_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.fits
.....................!
real 196.13
user 187.38
sys 6.35

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/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits scfile=/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits outfile=/scratch/kocevski/114837/cmap_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits scfile=/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits outfile=/scratch/kocevski/114837/cmap_HighResolution_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.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/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/114837/ft2_4FGL_J1650.7+0831_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/114837/Model_4FGL_J1650.7+0831_daily_bin1762.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/114837/ft1_filtered_4FGL_J1650.7+0831_daily_bin1762.fits.....................!
real 91.33
user 89.39
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    66.426       1.0000          .0000       .10000E+07
     2 'Prefactor '    34.432       1.0000          .0000       .10000E+07
     3 'Prefactor '    .25126       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17875E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .15321E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22260E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1965       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8149       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35543E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30924E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    43.662       1.0000          .0000       .10000E+07
    12 'norm      '    .87240E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    19.278       1.0000          .0000       .10000E+07
    14 'norm      '    .24136E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    90.250       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.0224       1.0000          .0000       .10000E+07
    17 'norm      '    11.098       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4056       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89303       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=   11055.70     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1487 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          66.281        20.823        .35137E-06    .46915E-01
   2  Prefactor     34.335        7.8630        .20840E-06    .40827E-01
   3  Prefactor     .99482E-04    1075.4        .14909E-04** at limit **
   4  Prefactor      .0000        3.6265       -.18324E-06** at limit **
   5  Prefactor      .0000        2.6199        .61386E-07** at limit **
   6  Prefactor      .0000        1.3378        .28389E-06** at limit **
   7  Prefactor     2.1935        6.0318       -.65613E-06    .47515E-03
   8  Prefactor     7.8574        3.5318       -.24063E-06   -.60178E-02
   9  Prefactor     .55511E-10    2.4088        .43965E-06** at limit **
  10  Prefactor     .55511E-10    5.5151        .61600E-06** at limit **
  11  Prefactor     43.647        1.8026        .16825E-07    .20572E-01
  12  norm           .0000        4.8090       -.41405E-06** at limit **
  13  Prefactor     19.232        17.288       -.92850E-06   -.25310E-01
  14  norm          .16653E-09    4.6962        .36337E-07** at limit **
  15  Prefactor     90.129        11.422        .68910E-07    .22142    
  16  Prefactor     1.0274        3.3455       -.83755E-07   -.75968E-03
  17  norm          11.094        1.4002        .44552E-07    .14541E-01
  18  Normalizat    1.4067        .29378        .15965E-04    .40203E-05
  19  Prefactor     .89282        .88577E-01    .18902E-05    .57892E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 66.2813
  Prefactor  = 34.3348
  Prefactor  = 9.94818e-05
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.19349
  Prefactor  = 7.85742
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 43.6474
  norm       = 0
  Prefactor  = 19.2323
  norm       = 1.66533e-10
  Prefactor  = 90.1291
  Prefactor  = 1.0274
  norm       = 11.0939
  Normalizat = 1.40671
  Prefactor  = 0.892821
 **********
 **   18 **HESSE 
 **********

 FCN=   11055.70     FROM HESSE     STATUS=OK           314 CALLS     1801 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          66.281        20.915        .12270E-03   -1.5545    
   2  Prefactor     34.335        59.417        .17044E-03   -1.5591    
   3  Prefactor     .99482E-04    20.474        .14698E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        3.6488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        2.6171        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.3397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1935        6.0952        .69404E-03   -1.5678    
   8  Prefactor     7.8574        154.43        .35846E-03   -1.5652    
   9  Prefactor     .55511E-10    2.4120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    5.5361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     43.647        89.280        .15135E-03   -1.5576    
  12  norm           .0000        4.7008        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.232        18.147        .22783E-03   -1.5620    
  14  norm          .16653E-09    4.7099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     90.129        96.105        .10527E-03   -1.5518    
  16  Prefactor     1.0274        3.4331        .12724E-02   -1.5688    
  17  norm          11.094        9.9909        .30048E-03   -1.5641    
  18  Normalizat    1.4067        .25469        .96193E-01   -.80435    
  19  Prefactor     .89282        .75231E-01    .44916E-01   -.96392    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.42017e-06
Minuit parameter uncertainties:
  1  20.9151
  2  59.4177
  3  0.0902624
  4  1.5404e-05
  5  3.88183e-06
  6  6.98432e-06
  7  6.09522
  8  69.6715
  9  1.8056e-05
  10  4.21923e-05
  11  89.2823
  12  1.19531e-05
  13  18.1468
  14  5.57568e-05
  15  96.1063
  16  3.43316
  17  9.99088
  18  0.254917
  19  0.0752396
Done.

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

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  2.193e+00  6.095e+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:  8.928e-01  7.524e-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.407e+00  2.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/114837/likelihoodResults_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.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) = 11055.6444849
delta logL = 0.0576270280508

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11055.635362
delta logL = 0.0667499628562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5347       1.0000          .0000       .10000E+07
     2 'Index     '    3.3291       1.0000          .0000       10.000    
     3 'Normalizat'    1.3830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89717       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11055.64     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      275 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5266        25.697        .23653E-04   -.25955E-03
   2  Index         3.3345        6.6672        .76279E-02    .92447E-04
   3  Normalizat    1.3825        .30581        .42930E-03   -.82093E-05
   4  Prefactor     .89727        .92588E-01    .15959E-03   -.91469E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52665
  Index      = 3.3345
  Normalizat = 1.38254
  Prefactor  = 0.897267
 **********
 **   18 **HESSE 
 **********

 FCN=   11055.64     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5266        6.7989        .94611E-06   -1.5683    
   2  Index         3.3345        2.7816        .15256E-02   -.33959    
   3  Normalizat    1.3825        .29974        .17172E-04   -.81135    
   4  Prefactor     .89727        .90256E-01    .31918E-04   -.96237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42578e-12
Minuit parameter uncertainties:
  1  6.44346
  2  2.97516
  3  0.300116
  4  0.090271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/114837': 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) = 11055.6353591
delta logL = 0.0667527915612

Extracting fit parameters...

4FGL J1650.7+0831
   Spectrum: PowerLaw
272    Prefactor:  1.527e+00  6.443e+00  0.000e+00  1.000e+06 ( 1.000e-12)
273        Index:  3.335e+00  2.975e+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:  8.973e-01  9.027e-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.383e+00  3.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/114837/cmap_HighResolution_696038401_696297601_4FGL_J1650.7+0831_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.38e-07', time_completed='2023-01-25 01:31:51.595090', job_id='114837', GAL2='0.90', fit_tolerance='1e-08', EG2='1.38', EG='1.41', time_epoch_completed='1674639111.6', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='6.68e-02', ts2='0.29', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1762' AND source_name='4FGL J1650.7+0831' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:31:51 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 114837: <4FGL_J1650.7+0831_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1650.7+0831_daily_bin1762> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Jan 25 01:15:21 2023
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:15:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:15:51 2023
Terminated at Wed Jan 25 01:31:52 2023
Results reported at Wed Jan 25 01:31:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1650.7+0831_daily_bin1762 252.7 8.5182 696038401 696297601 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 :                                   727.09 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             269.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            991 sec.

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

