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


Performing analysis on: 4FGL_J0105.1+3929_weekly_bin280
RA = 16.2913, Dec = 39.4963
tmin = 408326401, tmax = 408931201
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='65271', job_status='RUN', time_executed='2021-07-03 15:52:43.881816', time_epoch_executed='1625352763.88' WHERE source_name='4FGL J0105.1+3929' and cadence='weekly' and bin_id='280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/65271

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/65271/ft1_4FGL_J0105.1+3929_weekly_bin280.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/65271/ft1_4FGL_J0105.1+3929_weekly_bin280.fits outfile=/scratch/kocevski/65271/ft1_filteredMKT_4FGL_J0105.1+3929_weekly_bin280.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=408326401.0 tmax=408931201.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 10.32
user 9.92
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.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/65271/ft1_filteredMKT_4FGL_J0105.1+3929_weekly_bin280.fits evtable="EVENTS" outfile="/scratch/kocevski/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.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.86
user 0.39
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits" evtable="EVENTS" scfile=/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits sctable="SC_DATA" outfile=/scratch/kocevski/65271/ltcube_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.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/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits
.....................!
real 27.68
user 26.89
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits evtable="EVENTS" scfile=/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits sctable="SC_DATA" expcube=/scratch/kocevski/65271/ltcube_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits outfile=/scratch/kocevski/65271/expmap_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.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/65271/ltcube_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits
.....................!
real 193.73
user 185.79
sys 5.54

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/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits scfile=/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits outfile=/scratch/kocevski/65271/cmap_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.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.58
user 0.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits scfile=/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits outfile=/scratch/kocevski/65271/cmap_HighResolution_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.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.60
user 0.41
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits', '/scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits', expMap='/scratch/kocevski/65271/expmap_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits', expCube='/scratch/kocevski/65271/ltcube_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/65271/Model_4FGL_J0105.1+3929_weekly_bin280.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/65271/ft1_filtered_4FGL_J0105.1+3929_weekly_bin280.fits
Spacecraft file(s): /scratch/kocevski/65271/ft2_4FGL_J0105.1+3929_weekly_bin280.fits
Exposure map: /scratch/kocevski/65271/expmap_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits
Exposure cube: /scratch/kocevski/65271/ltcube_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/65271/Model_4FGL_J0105.1+3929_weekly_bin280.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) = 5549.9003762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.649       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5554       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.930       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.371       1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.2258       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3583       1.0000         .10000E-03   10000.    
    18 'norm      '    .89655       1.0000         .10000E-03   10000.    
    19 'norm      '    .56852       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10687E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3705       1.0000         .10000E-03   10000.    
    22 'Prefactor '    16.950       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94955       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89331       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=   5549.900     FROM MIGRAD    STATUS=CONVERGED    540 CALLS     2697 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.649        19.883        .27104E-02   -.25440E-03
   2  Prefactor     .10001E-03    7.9187        .90712E-02** at limit **
   3  Prefactor     5.5555        3.7446        .42614E-02    .54753E-03
   4  Prefactor     .10004E-03    8.9486        .90712E-02** at limit **
   5  Prefactor     47.930        32.737        .14480E-02   -.65887E-03
   6  Prefactor     .10011E-03    28.771        .90712E-02** at limit **
   7  norm          .10000E-03    1.4061        .90712E-02** at limit **
   8  Prefactor     .10000E-03    2.2356        .90712E-02** at limit **
   9  Prefactor     .10000E-03    6.0670        .90712E-02** at limit **
  10  Prefactor     .10000E-03    8.1756        .90712E-02** at limit **
  11  Prefactor     .10000E-03    18.451        .90712E-02** at limit **
  12  Prefactor     37.371        49.545        .16390E-02   -.43657E-03
  13  norm          .10000E-03    .59722        .31472E-01** at limit **
  14  norm          3.2258        2.7771        .56386E-02    .67906E-04
  15  Prefactor     .10000E-03    3.6435        .48547E-01** at limit **
  16  Prefactor     .10001E-03    10.734        .90712E-02** at limit **
  17  Prefactor     9.3586        33.057        .32751E-02   -.24611E-04
  18  norm          .89655        .80939        .12795E-01   -.30650E-03
  19  norm          .56848        .55235        .11547E-01    .11537E-03
  20  Prefactor     .10013E-03    24.894        .90712E-02** at limit **
  21  Prefactor     2.3694        2.5456        .66530E-02    .29942E-03
  22  Prefactor     16.950        25.903        .24320E-02    .17814E-03
  23  Normalizat    .94948        .20974        .68592E-01    .28399E-05
  24  Prefactor     .89333        .11207        .44920E-01   -.15931E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6495
  Prefactor  = 0.000100012
  Prefactor  = 5.55552
  Prefactor  = 0.000100037
  Prefactor  = 47.9303
  Prefactor  = 0.000100107
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 37.3712
  norm       = 0.0001
  norm       = 3.22583
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 9.35855
  norm       = 0.896551
  norm       = 0.568477
  Prefactor  = 0.000100132
  Prefactor  = 2.36939
  Prefactor  = 16.95
  Normalizat = 0.949481
  Prefactor  = 0.893332
 **********
 **   18 **HESSE 
 **********

 FCN=   5549.900     FROM HESSE     STATUS=OK           397 CALLS     3094 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.649        19.863        .10842E-03   -1.4969    
   2  Prefactor     .10001E-03    8.0975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5555        3.7413        .11433E-03   -1.5237    
   4  Prefactor     .10004E-03    8.9710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.930        32.769        .57920E-04   -1.4322    
   6  Prefactor     .10011E-03    28.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.4300        .86244E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.2402        .10877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.0825        .17920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.2996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.371        49.518        .65561E-04   -1.4485    
  13  norm          .10000E-03    .98366        .11053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2258        2.7804        .11161E-03   -1.5349    
  15  Prefactor     .10000E-03    8.2738        .27347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    10.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.3586        33.025        .13101E-03   -1.5096    
  18  norm          .89655        .86826        .62071E-03   -1.5519    
  19  norm          .56848        .54287        .52647E-04   -1.5557    
  20  Prefactor     .10013E-03    25.803        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.3694        2.5314        .11874E-03   -1.5400    
  22  Prefactor     16.950        25.898        .97282E-04   -1.4884    
  23  Normalizat    .94948        .24208        .30344E-03   -.94743    
  24  Prefactor     .89333        .13161        .16953E-03   -.96374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80331e-08
Minuit parameter uncertainties:
  1  19.8727
  2  0.000611993
  3  3.74149
  4  0.00115157
  5  32.781
  6  0.00351025
  7  7.41353e-07
  8  1.48019e-06
  9  2.76681e-05
  10  2.24072e-05
  11  0.00032572
  12  49.5728
  13  1.3495e-06
  14  2.78048
  15  4.00715e-06
  16  0.000662926
  17  33.0892
  18  0.868273
  19  0.542877
  20  0.00368823
  21  2.53153
  22  25.9156
  23  0.242359
  24  0.13166
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  3.257e-04  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:  8.933e-01  1.317e-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:  9.495e-01  2.424e-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: 7.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.80e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/65271/likelihoodResults_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.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) = 5549.8997564
delta logL = -0.000256016189269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5549.89950228
delta logL = -1.889806299e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5861       1.0000          .0000       10.000    
     3 'Normalizat'    .94948       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89333       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5549.900     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10601E-03    4.8621        .18142E-01** at limit **
   2  Index         2.4736        5.9342        .50000        .28922E-04
   3  Normalizat    .94948        .32582E-02    .30344E-03   -.46701E-03
   4  Prefactor     .89333        .17827E-02    .16953E-03   -.41078E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010601
  Index      = 2.47358
  Normalizat = 0.949476
  Prefactor  = 0.893334
 **********
 **   18 **HESSE 
 **********

 FCN=   5549.900     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10601E-03    291.47        .53447E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4736        6.1311        .50000       -.52971    
   3  Normalizat    .94948        .25393E-01    .60688E-04   -.94743    
   4  Prefactor     .89333        .13893E-01    .33905E-04   -.96374    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.28443e-08
Minuit parameter uncertainties:
  1  0.0841191
  2  464.111
  3  0.0253936
  4  0.0138934
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/65271': 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) = 5549.89950148
delta logL = -1.09137090476e-06

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.060e-04  8.412e-02  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.474e+00  4.641e+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:  8.933e-01  1.389e-02  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:  9.495e-01  2.539e-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/65271/cmap_HighResolution_408326401_408931201_4FGL_J0105.1+3929_weekly_bin280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.80e-03', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-07-03 16:04:44.317445', job_id='65271', GAL2='0.89', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1625353484.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='-1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='280' AND source_name='4FGL J0105.1+3929' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 16:04:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 65271: <4FGL_J0105.1+3929_weekly_bin280> in cluster <slac> Done

Job <4FGL_J0105.1+3929_weekly_bin280> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Jul  3 15:51:13 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 15:51:15 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:15 2021
Terminated at Sat Jul  3 16:04:47 2021
Results reported at Sat Jul  3 16:04:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_weekly_bin280 16.2913 39.4963 408326401 408931201 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 :                                   707.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             255.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            814 sec.

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

