aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  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 9 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 = 17272
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1001.1+2911_weekly_bin532
RA = 150.294, Dec = 29.188
tmin = 560736001, tmax = 561340801
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='167690', job_status='RUN', time_executed='2021-07-16 10:15:54.209108', time_epoch_executed='1626455754.21' WHERE source_name='4FGL J1001.1+2911' and cadence='weekly' and bin_id='532'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/167690

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/167690/ft1_4FGL_J1001.1+2911_weekly_bin532.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/167690/ft1_4FGL_J1001.1+2911_weekly_bin532.fits outfile=/scratch/kocevski/167690/ft1_filteredMKT_4FGL_J1001.1+2911_weekly_bin532.fits ra=150.294 dec=29.188 rad=12.0 tmin=560736001.0 tmax=561340801.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 8.25
user 7.90
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.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/167690/ft1_filteredMKT_4FGL_J1001.1+2911_weekly_bin532.fits evtable="EVENTS" outfile="/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.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.56
user 0.38
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits" evtable="EVENTS" scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits sctable="SC_DATA" outfile=/scratch/kocevski/167690/ltcube_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.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/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits
.....................!
real 31.11
user 30.52
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits evtable="EVENTS" scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits sctable="SC_DATA" expcube=/scratch/kocevski/167690/ltcube_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits outfile=/scratch/kocevski/167690/expmap_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.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/167690/ltcube_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits
.....................!
real 192.33
user 185.96
sys 5.34

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
Added 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1001.1+2911 @ 150.294 29.188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits outfile=/scratch/kocevski/167690/cmap_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.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=150.294 yref=29.188 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.60
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits outfile=/scratch/kocevski/167690/cmap_HighResolution_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.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=150.294 yref=29.188 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.59
user 0.40
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits evtable="EVENTS" scfile=/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/167690/Model_4FGL_J1001.1+2911_weekly_bin532.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
Working on...
/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits.......................!
real 18.54
user 17.24
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits', '/scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits', expMap='/scratch/kocevski/167690/expmap_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits', expCube='/scratch/kocevski/167690/ltcube_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/167690/Model_4FGL_J1001.1+2911_weekly_bin532.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1001.1+2911'

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.010e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/167690/ft1_filtered_4FGL_J1001.1+2911_weekly_bin532.fits
Spacecraft file(s): /scratch/kocevski/167690/ft2_4FGL_J1001.1+2911_weekly_bin532.fits
Exposure map: /scratch/kocevski/167690/expmap_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits
Exposure cube: /scratch/kocevski/167690/ltcube_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/167690/Model_4FGL_J1001.1+2911_weekly_bin532.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 603.092146271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 599.210455577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53871E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.204       1.0000         .10000E-03   10000.    
     3 'Prefactor '    137.67       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.144       1.0000         .10000E-03   10000.    
     5 'Prefactor '    202.92       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.2492       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1721       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .69310E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7487       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11906E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10346E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    26.062       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10860E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .19737E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11286E-01   1.0000         .10000E-03   10000.    
    16 'norm      '    9.8877       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2384       1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.9052       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.2770       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11258E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .82752       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   599.2080     FROM MIGRAD    STATUS=CONVERGED    159 CALLS      494 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.987       -.97331E-06** at limit **
   2  norm          15.207        9.2220        .64031E-07    .17776E-02
   3  Prefactor     138.11        8.4310        .11508E-06   -.21293E-02
   4  Prefactor     19.070        19.312        .33747E-06   -.15618E-01
   5  Prefactor     202.96        2.1151       -.31815E-08   -.35604E-02
   6  Prefactor     .10473E-03    1200.0       -.24316E-04** at limit **
   7  Prefactor     7.0029        8.2845        .14887E-06    .14291E-02
   8  Prefactor     .10000E-03    27.578        .69089E-06** at limit **
   9  Prefactor     1.7942        100.42       -.23377E-05   -.16539E-02
  10  Prefactor     .10644E-03    144.40        .26845E-05** at limit **
  11  Prefactor     .10000E-03    21.676        .61950E-06** at limit **
  12  norm          25.772        30.798       -.86550E-06    .80401E-02
  13  Prefactor     .10223E-03    138.32        .16817E-05** at limit **
  14  Prefactor     .10000E-03    34.971       -.76565E-06** at limit **
  15  Prefactor     .10689E-03    321.48        .11874E-05** at limit **
  16  norm          9.8877        1.0013         .0000         .0000    
  17  Prefactor     .18357E-03    1095.2       -.10523E-04** at limit **
  18  Prefactor     7.9052        1.0020         .0000         .0000    
  19  Prefactor     1.2770        1.1104         .0000         .0000    
  20  Prefactor     .10000E-03    14.208       -.13286E-06** at limit **
  21  Prefactor     .10000E-03    7.2953       -.26841E-06** at limit **
  22  Prefactor     .14586E-01    505.18       -.10861E-05    .67520E-03
  23  Normalizat    .10000E-01    .19367       -.13454E-05** at limit **
  24  Prefactor     .95477        .25226       -.56078E-05   -.34307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  norm       = 15.2067
  Prefactor  = 138.113
  Prefactor  = 19.07
  Prefactor  = 202.958
  Prefactor  = 0.00010473
  Prefactor  = 7.00292
  Prefactor  = 0.0001
  Prefactor  = 1.79417
  Prefactor  = 0.000106436
  Prefactor  = 0.0001
  norm       = 25.772
  Prefactor  = 0.000102226
  Prefactor  = 0.0001
  Prefactor  = 0.000106889
  norm       = 9.88767
  Prefactor  = 0.000183572
  Prefactor  = 7.9052
  Prefactor  = 1.27704
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0145861
  Normalizat = 0.01
  Prefactor  = 0.954771
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   599.2080     FROM HESSE     STATUS=FAILED        71 CALLS      565 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.569        .10560E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.207        8.9157        .25679E-02   -1.4928    
   3  Prefactor     138.11        131.85        .85821E-03   -1.3352    
   4  Prefactor     19.070        21.648        .22885E-02   -1.4834    
   5  Prefactor     202.96        138.72        .70924E-03   -1.2849    
   6  Prefactor     .10473E-03    1225.2        .68497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.0029        5072.6        .37445E-02   -1.5179    
   8  Prefactor     .10000E-03    27.547        .10493E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7942        97.696        .79272E-02   -1.5440    
  10  Prefactor     .10644E-03    148.25        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.625        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.772        34.256        .19618E-02   -1.4692    
  13  Prefactor     .10223E-03    139.97        .10354E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.983        .10120E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10689E-03    325.62        .90794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          491.48        481.56         .0000       -1.5079    
  17  Prefactor     .18357E-03    .79159E-01   -.10523E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.9052        1.0020         .0000       -1.5146    
  19  Prefactor     1.2770        1.1104         .0000       -1.5482    
  20  Prefactor     .10000E-03    .20571       -.13286E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .20571       -.26841E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .14586E-01    .39325       -.10861E-05   -1.5684    
  23  Normalizat    .10000E-01    .25505       -.13454E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .95477        1.2959       -.56078E-05   -.94253    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.677e-09
Minuit parameter uncertainties:
  1  0.000660254
  2  8.91644
  3  132.131
  4  21.6571
  5  138.943
  6  0.155546
  7  1610.69
  8  8.20501e-05
  9  26.5239
  10  0.0619298
  11  0.000153836
  12  34.2817
  13  0.0353841
  14  2.41061e-05
  15  0.0952495
  16  1.00128
  17  0.00514413
  18  1.00201
  19  1.11046
  20  3.28255e-06
  21  4.18888e-06
  22  0.150954
  23  7.21301e-07
  24  1.34212
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 599.208023513

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  1.538e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.269e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.548e-01  1.342e+00  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.000e-02  7.213e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 150.294 29.188
Photon Flux Upper Limit: 8.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.29e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/167690/likelihoodResults_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.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) = 599.20824279
delta logL = -0.000219276311782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 599.208023558
delta logL = -4.46901822215e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8188       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5450E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   599.2080     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      236 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.535        .90712E-02** at limit **
   2  Index         2.8093        6.3726        .50000        .37942E-05
   3  Normalizat    .10000E-01    .45415E-03    .15093    ** at limit **
   4  Prefactor     .95478        .11663E-01    .45700E-01    .15972E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.80932
  Normalizat = 0.01
  Prefactor  = 0.954777
 **********
 **   18 **HESSE 
 **********

 FCN=   599.2080     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      267 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    285.77        .11301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8093        6.3132        .50000       -.45352    
   3  Normalizat    .10000E-01    .50917E-02    .62633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .95478        .36552E-01    .18433E-03   -.94252    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.90595e-07
Minuit parameter uncertainties:
  1  0.000984232
  2  542.802
  3  1.69755e-07
  4  0.0365534
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/167690': 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): 102
logL (Free Index) = 599.208023416
delta logL = 9.71181179921e-08

Extracting fit parameters...

4FGL J1001.1+2911
   Spectrum: PowerLaw
259    Prefactor:  1.000e-04  9.842e-04  1.000e-04  1.000e+04 ( 1.000e-12)
260        Index:  2.809e+00  5.428e+02  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  9.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
542    Prefactor:  9.548e-01  3.655e-02  0.000e+00  1.000e+01 ( 1.000e+00)
543        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
544        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
541   Normalization:  1.000e-02  1.698e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 150.294 29.188

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/167690/cmap_HighResolution_560736001_561340801_4FGL_J1001.1+2911_weekly_bin532.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.29e-02', job_status='DONE', photon_flux_upper_limit='8.22e-07', time_completed='2021-07-16 10:28:28.921033', job_id='167690', GAL2='0.95', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1626456508.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.95', dlogl='9.71e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='532' AND source_name='4FGL J1001.1+2911' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 16 10:28:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 167690: <4FGL_J1001.1+2911_weekly_bin532> in cluster <slac> Done

Job <4FGL_J1001.1+2911_weekly_bin532> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Jul 16 10:15:28 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 16 10:15:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 16 10:15:36 2021
Terminated at Fri Jul 16 10:28:29 2021
Results reported at Fri Jul 16 10:28:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1001.1+2911_weekly_bin532 150.294 29.188 560736001 561340801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1001.1+2911 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   385.10 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             220.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            781 sec.

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

