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/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 87 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 = 17186
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0105.1+3929_weekly_bin511
RA = 16.2913, Dec = 39.4963
tmin = 548035201, tmax = 548640001
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='65660', job_status='RUN', time_executed='2021-07-03 15:54:24.745568', time_epoch_executed='1625352864.75' WHERE source_name='4FGL J0105.1+3929' and cadence='weekly' and bin_id='511'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65660

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65660/ft1_4FGL_J0105.1+3929_weekly_bin511.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65660/ft1_4FGL_J0105.1+3929_weekly_bin511.fits outfile=/scratch/kocevski/65660/ft1_filteredMKT_4FGL_J0105.1+3929_weekly_bin511.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=548035201.0 tmax=548640001.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.22
user 7.87
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.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/65660/ft1_filteredMKT_4FGL_J0105.1+3929_weekly_bin511.fits evtable="EVENTS" outfile="/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.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.54
user 0.38
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits" evtable="EVENTS" scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits sctable="SC_DATA" outfile=/scratch/kocevski/65660/ltcube_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.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/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits
.....................!
real 26.53
user 25.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits sctable="SC_DATA" expcube=/scratch/kocevski/65660/ltcube_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits outfile=/scratch/kocevski/65660/expmap_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.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/65660/ltcube_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits
.....................!
real 193.09
user 186.38
sys 5.64

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

Setting source of interest to:
4FGL J0105.1+3929 @ 16.2913 39.4963

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits outfile=/scratch/kocevski/65660/cmap_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.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=16.2913 yref=39.4963 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.61
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits outfile=/scratch/kocevski/65660/cmap_HighResolution_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.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=16.2913 yref=39.4963 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.64
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits evtable="EVENTS" scfile=/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/65660/Model_4FGL_J0105.1+3929_weekly_bin511.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/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits.....................!
real 61.75
user 59.49
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits', '/scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits', expMap='/scratch/kocevski/65660/expmap_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits', expCube='/scratch/kocevski/65660/ltcube_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65660/Model_4FGL_J0105.1+3929_weekly_bin511.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0105.1+3929'

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  5.058e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/65660/ft1_filtered_4FGL_J0105.1+3929_weekly_bin511.fits
Spacecraft file(s): /scratch/kocevski/65660/ft2_4FGL_J0105.1+3929_weekly_bin511.fits
Exposure map: /scratch/kocevski/65660/expmap_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits
Exposure cube: /scratch/kocevski/65660/ltcube_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65660/Model_4FGL_J0105.1+3929_weekly_bin511.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) = 5554.89565566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.799       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.753       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10173E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .33176       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .71328E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.982       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    95.388       1.0000         .10000E-03   10000.    
    13 'norm      '    .89158       1.0000         .10000E-03   10000.    
    14 'norm      '    3.0339       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.507       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .90420       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.937       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .25062E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .73932       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0002       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5554.857     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2765 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.457        .12547E-06** at limit **
   2  Prefactor     10.800        7.4753        .39738E-06   -.80488E-05
   3  Prefactor     .10000E-03    4.3778        .25156E-07** at limit **
   4  Prefactor     .10000E-03    48.783       -.11232E-04** at limit **
   5  Prefactor     15.753        17.430        .25883E-06   -.22515E-04
   6  Prefactor     .10000E-03    64.838        .28746E-05** at limit **
   7  norm          .33087        2.1377       -.44368E-06   -.44295E-03
   8  Prefactor     .10000E-03    6.3963        .99810E-06** at limit **
   9  Prefactor     17.981        15.348        .67034E-06   -.16400E-04
  10  Prefactor     20.158        19.836       -.16479E-04   -.11587E-03
  11  Prefactor     .10000E-03    17.955       -.29911E-06** at limit **
  12  Prefactor     95.535        127.16        .13297E-03   -.49956E-06
  13  norm          .89130        1.3482        .14387E-06   -.76457E-03
  14  norm          3.0340        7.1183       -.83631E-05   -.40883E-03
  15  Prefactor     .10000E-03    6.2638        .65436E-07** at limit **
  16  Prefactor     29.517        63.543        .97731E-05    .13695E-04
  17  Prefactor     .10002E-03    205.47       -.30436E-05** at limit **
  18  norm          .10000E-03    .55080       -.74743E-07** at limit **
  19  norm          .90429        1.2574       -.85315E-06   -.30484E-02
  20  Prefactor     19.972        25.616       -.72948E-05   -.39093E-03
  21  Prefactor     .10002E-03    7.3875        .23509E-05** at limit **
  22  Prefactor     .10000E-03    44.749        .78177E-05** at limit **
  23  Normalizat    .73937        .22875       -.28932E-05   -.15960E-03
  24  Prefactor     1.0003        .12352       -.41384E-06   -.23061E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.8001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7528
  Prefactor  = 0.0001
  norm       = 0.330865
  Prefactor  = 0.0001
  Prefactor  = 17.9811
  Prefactor  = 20.1583
  Prefactor  = 0.0001
  Prefactor  = 95.5352
  norm       = 0.891302
  norm       = 3.03398
  Prefactor  = 0.0001
  Prefactor  = 29.5172
  Prefactor  = 0.000100024
  norm       = 0.0001
  norm       = 0.904287
  Prefactor  = 19.9716
  Prefactor  = 0.000100025
  Prefactor  = 0.0001
  Normalizat = 0.739374
  Prefactor  = 1.00027
 **********
 **   18 **HESSE 
 **********

 FCN=   5554.857     FROM HESSE     STATUS=OK           401 CALLS     3166 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.800        7.4745        .12192E-03   -1.5051    
   3  Prefactor     .10000E-03    4.5111        .30437E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    49.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.753        17.406        .10091E-03   -1.4914    
   6  Prefactor     .10000E-03    65.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .33087        4.3174        .19966E-02   -1.5593    
   8  Prefactor     .10000E-03    36.965        .36274E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.981        15.208        .94449E-04   -1.4860    
  10  Prefactor     20.158        19.787        .89211E-04   -1.4810    
  11  Prefactor     .10000E-03    18.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     95.535        126.40        .20576E-03   -1.3750    
  13  norm          .89130        1.2917        .97491E-04   -1.5519    
  14  norm          3.0340        7.1239        .23296E-03   -1.5360    
  15  Prefactor     .10000E-03    6.3254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.517        63.465        .73757E-04   -1.4621    
  17  Prefactor     .10002E-03    206.17        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .55242        .54014E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .90429        1.2610        .25646E-03   -1.5518    
  20  Prefactor     19.972        23.739        .89702E-04   -1.4814    
  21  Prefactor     .10002E-03    17.002        .36030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    44.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73937        .26016        .35916E-03   -1.0236    
  24  Prefactor     1.0003        .14373        .17365E-03   -.92720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.29869e-09
Minuit parameter uncertainties:
  1  1.66625e-05
  2  7.47512
  3  1.12993e-05
  4  6.57533e-05
  5  17.4114
  6  2.4353e-05
  7  2.39023
  8  7.52101e-05
  9  15.2108
  10  19.7937
  11  6.01159e-05
  12  126.755
  13  1.29172
  14  7.12594
  15  3.4991e-05
  16  63.6108
  17  0.00448799
  18  2.96663e-07
  19  1.26108
  20  23.7501
  21  0.00129815
  22  9.97364e-06
  23  0.260596
  24  0.143782
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  6.012e-05  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.304e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.000e+00  1.438e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.394e-01  2.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65660/likelihoodResults_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.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) = 5554.85764438
delta logL = -0.000264597924797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5554.8573795
delta logL = 2.84338057099e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5554.857     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      242 TOTAL
                     EDM=   .82E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.065        .90712E-02** at limit **
   2  Index         2.7363        8.4711        .50000        .12406E-06
   3  Normalizat    .73937        .53266E-02    .81111E-01    .16837E-04
   4  Prefactor     1.0003        .29731E-02    .45846E-01   -.10509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.73626
  Normalizat = 0.739375
  Prefactor  = 1.00027
 **********
 **   18 **HESSE 
 **********

 FCN=   5554.857     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    120.00        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7363        7.7326        .50000       -.46984    
   3  Normalizat    .73937        .14075E-01    .35916E-03   -1.0236    
   4  Prefactor     1.0003        .78735E-02    .17365E-03   -.92720    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.72521e-11
Minuit parameter uncertainties:
  1  5.38446e-06
  2  267.114
  3  0.014075
  4  0.00787355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65660': 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) = 5554.85737949
delta logL = 2.89446688839e-07

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  5.384e-06  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.736e+00  2.671e+02  0.000e+00  1.000e+01 (-1.000e+00)
196        Scale:  1.083e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  1.000e+00  7.874e-03  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.394e-01  1.407e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 16.291 39.496

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/65660/cmap_HighResolution_548035201_548640001_4FGL_J0105.1+3929_weekly_bin511.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-07-03 16:05:52.440667', job_id='65660', GAL2='1.00', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1625353552.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='511' AND source_name='4FGL J0105.1+3929' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:05:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 65660: <4FGL_J0105.1+3929_weekly_bin511> in cluster <slac> Done

Job <4FGL_J0105.1+3929_weekly_bin511> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul  3 15:51:48 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 15:51:50 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 15:51:50 2021
Terminated at Sat Jul  3 16:05:53 2021
Results reported at Sat Jul  3 16:05:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_weekly_bin511 16.2913 39.4963 548035201 548640001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0105.1+3929 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   670.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

