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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1707
RA = 16.2913, Dec = 39.4963
tmin = 681782401, tmax = 682041601
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='542166', job_status='RUN', time_executed='2022-08-13 00:05:31.585718', time_epoch_executed='1660374331.59' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542166

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542166/ft1_4FGL_J0105.1+3929_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542166/ft1_4FGL_J0105.1+3929_daily_bin1707.fits outfile=/scratch/kocevski/542166/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1707.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=681782401.0 tmax=682041601.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 6.79
user 5.16
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.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/542166/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/542166/ft1_filtered_4FGL_J0105.1+3929_daily_bin1707.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.70
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 812

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542166/ft1_filtered_4FGL_J0105.1+3929_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/542166/ltcube_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.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/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits
.....................!
real 15.34
user 14.35
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542166/ft1_filtered_4FGL_J0105.1+3929_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/542166/ltcube_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.fits outfile=/scratch/kocevski/542166/expmap_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.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/542166/ltcube_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.fits
.....................!
real 193.41
user 186.52
sys 4.42

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/542166/ft1_filtered_4FGL_J0105.1+3929_daily_bin1707.fits scfile=/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits outfile=/scratch/kocevski/542166/cmap_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.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 1.37
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542166/ft1_filtered_4FGL_J0105.1+3929_daily_bin1707.fits scfile=/scratch/kocevski/542166/ft2_4FGL_J0105.1+3929_daily_bin1707.fits outfile=/scratch/kocevski/542166/cmap_HighResolution_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.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.70
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10185E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.328       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .11120E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.0675       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.1726       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67136E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11486E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.5148       1.0000         .10000E-03   10000.    
    14 'norm      '    .14601E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1961       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9203       1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.679       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1800       1.0000         .10000E-03   10000.    
    19 'norm      '    .85543       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .79428       1.0000         .10000E-03   10000.    
    22 'Prefactor '    74.807       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1958       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .72181       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=   8574.138     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2752 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.0428        .30747E-07** at limit **
   2  Prefactor     .10000E-03    1.5241        .58842E-08** at limit **
   3  Prefactor     .10000E-03    .92963        .28288E-07** at limit **
   4  Prefactor     .10000E-03    15.224        .70121E-07** at limit **
   5  Prefactor     54.327        26.406        .77470E-08   -.31580E-04
   6  Prefactor     .10000E-03    8.9646        .13140E-07** at limit **
   7  norm          .10000E-03    .83959        .61222E-07** at limit **
   8  Prefactor     .10000E-03    1.6159       -.71716E-08** at limit **
   9  Prefactor     7.0676        7.4221        .71819E-07   -.15300E-04
  10  Prefactor     7.1687        6.1815        .10094E-05   -.32473E-03
  11  Prefactor     .10000E-03    6.9558       -.27670E-06** at limit **
  12  Prefactor     .10000E-03    60.202       -.20808E-07** at limit **
  13  norm          3.5147        1.3835        .17802E-07   -.24254E-04
  14  norm          .10000E-03    1.2714        .19798E-06** at limit **
  15  Prefactor     8.1945        7.1860        .10871E-06   -.60609E-04
  16  Prefactor     7.9315        24.752        .22897E-05    .11103E-03
  17  Prefactor     48.667        37.640       -.18418E-05   -.24790E-03
  18  norm          1.1799        .79143       -.16105E-07    .62023E-06
  19  norm          .85411        .61373        .32762E-07   -.14556E-03
  20  Prefactor     .10000E-03    6.8360       -.13051E-06** at limit **
  21  Prefactor     .79573        2.5884        .12851E-05   -.30025E-03
  22  Prefactor     74.807        48.635       -.47256E-06   -.34431E-04
  23  Normalizat    1.1959        .17526       -.32983E-06   -.72554E-04
  24  Prefactor     .72180        .88150E-01   -.22757E-06   -.85252E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.3273
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.0676
  Prefactor  = 7.1687
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 3.51468
  norm       = 0.0001
  Prefactor  = 8.19454
  Prefactor  = 7.93153
  Prefactor  = 48.6675
  norm       = 1.17991
  norm       = 0.854105
  Prefactor  = 0.0001
  Prefactor  = 0.795726
  Prefactor  = 74.8068
  Normalizat = 1.19589
  Prefactor  = 0.721798
 **********
 **   18 **HESSE 
 **********

 FCN=   8574.138     FROM HESSE     STATUS=OK           405 CALLS     3157 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.0607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.5270        .11164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .94553        .87151E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.624        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     54.327        26.506        .54419E-04   -1.4232    
   6  Prefactor     .10000E-03    8.9696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.7982        .16502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.6257        .11493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.0676        7.4203        .15090E-03   -1.5176    
  10  Prefactor     7.1687        6.2714        .74888E-03   -1.5172    
  11  Prefactor     .10000E-03    78.265        .46937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    60.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.5147        1.3802        .64212E-04   -1.5333    
  14  norm          .10000E-03    2.5111        .20040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1945        7.2184        .14004E-03   -1.5135    
  16  Prefactor     7.9315        25.158        .14247E-03   -1.5145    
  17  Prefactor     48.667        39.525        .57474E-04   -1.4312    
  18  norm          1.1799        .79544        .65796E-04   -1.5491    
  19  norm          .85411        .58763        .57846E-03   -1.5523    
  20  Prefactor     .10000E-03    6.8957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .79573        2.6518        .25650E-03   -1.5530    
  22  Prefactor     74.807        48.564        .46423E-04   -1.3976    
  23  Normalizat    1.1959        .20439        .27798E-03   -.86730    
  24  Prefactor     .72180        .10276        .18360E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15669e-10
Minuit parameter uncertainties:
  1  2.96707e-06
  2  2.54642e-07
  3  8.49543e-07
  4  8.1502e-06
  5  26.512
  6  1.59057e-06
  7  2.5083e-06
  8  1.44992e-07
  9  7.42129
  10  6.27202
  11  0.00125169
  12  4.70725e-05
  13  1.38022
  14  5.08177e-05
  15  7.21913
  16  25.1916
  17  39.5459
  18  0.79545
  19  0.587638
  20  1.47514e-05
  21  2.65217
  22  48.5894
  23  0.204526
  24  0.102783
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  1.252e-03  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:  7.218e-01  1.028e-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:  1.196e+00  2.045e-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: 5.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542166/likelihoodResults_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.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) = 8574.13837979
delta logL = -5.86089627177e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8574.13837975
delta logL = -5.85617817705e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96237E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3041       1.0000          .0000       10.000    
     3 'Normalizat'    1.1958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72182       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=   8574.138     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      213 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.260        .90724E-01** at limit **
   2  Index         2.2419        6.1080        .50000        .43242E-05
   3  Normalizat    1.1959        .48343E-02    .62845E-01    .17916E-04
   4  Prefactor     .72180        .25579E-02    .42691E-01    .19398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.24191
  Normalizat = 1.19589
  Prefactor  = 0.721798
 **********
 **   18 **HESSE 
 **********

 FCN=   8574.138     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      256 TOTAL
                     EDM=   .47E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.389        .90144E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2419        6.1073        .50000       -.58430    
   3  Normalizat    1.1959        .48411E-02    .27798E-03   -.86730    
   4  Prefactor     .72180        .25628E-02    .18360E-03   -1.0268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.65309e-11
Minuit parameter uncertainties:
  1  0.000397785
  2  4.55085
  3  0.0048411
  4  0.00256283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542166': 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) = 8574.1383211
delta logL = 8.14488885226e-08

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  3.978e-04  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.242e+00  4.551e+00  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:  7.218e-01  2.563e-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:  1.196e+00  4.841e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/542166/cmap_HighResolution_681782401_682041601_4FGL_J0105.1+3929_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.25e-03', job_status='DONE', photon_flux_upper_limit='5.53e-08', time_completed='2022-08-13 00:20:13.692651', job_id='542166', GAL2='0.72', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1660375213.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='8.14e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1707' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:20:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 542166: <4FGL_J0105.1+3929_daily_bin1707> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:04:38 2022
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:04:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:04:42 2022
Terminated at Sat Aug 13 00:20:14 2022
Results reported at Sat Aug 13 00:20:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1707 16.2913 39.4963 681782401 682041601 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 :                                   836.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            936 sec.

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

