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 103 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 17347
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0105.1+3929_weekly_bin741
RA = 16.2913, Dec = 39.4963
tmin = 687139201, tmax = 687744001
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='378968', job_status='RUN', time_executed='2022-10-18 00:37:41.024876', time_epoch_executed='1666078661.02' WHERE source_name='4FGL J0105.1+3929' and cadence='weekly' and bin_id='741'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378968

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378968/ft1_4FGL_J0105.1+3929_weekly_bin741.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378968/ft1_4FGL_J0105.1+3929_weekly_bin741.fits outfile=/scratch/kocevski/378968/ft1_filteredMKT_4FGL_J0105.1+3929_weekly_bin741.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=687139201.0 tmax=687744001.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.99
user 6.25
sys 0.31

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

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

Number of photons that the gtmktime cut: 439

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits" evtable="EVENTS" scfile=/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits sctable="SC_DATA" outfile=/scratch/kocevski/378968/ltcube_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.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/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits
.....................!
real 28.04
user 27.34
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits evtable="EVENTS" scfile=/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits sctable="SC_DATA" expcube=/scratch/kocevski/378968/ltcube_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits outfile=/scratch/kocevski/378968/expmap_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.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/378968/ltcube_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits
.....................!
real 191.74
user 185.89
sys 5.44

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/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits scfile=/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits outfile=/scratch/kocevski/378968/cmap_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits scfile=/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits outfile=/scratch/kocevski/378968/cmap_HighResolution_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.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.58
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits', '/scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits', expMap='/scratch/kocevski/378968/expmap_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits', expCube='/scratch/kocevski/378968/ltcube_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378968/Model_4FGL_J0105.1+3929_weekly_bin741.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  0.000e+00  1.000e+06 ( 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/378968/ft1_filtered_4FGL_J0105.1+3929_weekly_bin741.fits
Spacecraft file(s): /scratch/kocevski/378968/ft2_4FGL_J0105.1+3929_weekly_bin741.fits
Exposure map: /scratch/kocevski/378968/expmap_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits
Exposure cube: /scratch/kocevski/378968/ltcube_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378968/Model_4FGL_J0105.1+3929_weekly_bin741.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) = 4566.26200775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38438E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .11717E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.4033       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.7758       1.0000          .0000       .10000E+07
     5 'Prefactor '    27.063       1.0000          .0000       .10000E+07
     6 'Prefactor '    23.519       1.0000          .0000       .10000E+07
     7 'norm      '    2.3479       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14043E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13013E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.821       1.0000          .0000       .10000E+07
    11 'Prefactor '    31.059       1.0000          .0000       .10000E+07
    12 'norm      '    6.0121       1.0000          .0000       .10000E+07
    13 'norm      '    .37606E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21578E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.3612       1.0000          .0000       .10000E+07
    16 'norm      '    3.8639       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15644E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .13093E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    48.001       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.5363       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78466       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4566.243     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1660 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24241E-03    156.89       -.15174E-04** at limit **
   2  Prefactor      .0000        3.1165        .56196E-06** at limit **
   3  Prefactor     2.4141        4.6905        .43202E-07    .24981E-02
   4  Prefactor     2.9031        1.5916        .18054E-07   -.22677E-01
   5  Prefactor     27.400        2.0380        .10308E-06   -.14027E-01
   6  Prefactor     23.691        1.3804        .99527E-07   -.12068E-01
   7  norm          2.3529        2.6065        .19259E-06    .21801E-02
   8  Prefactor      .0000        2.2747       -.39254E-06** at limit **
   9  Prefactor     .39968E-08    35.752        .18886E-07** at limit **
  10  Prefactor     14.839        12.270       -.38091E-06    .29615E-02
  11  Prefactor     31.093        1.2262        .15268E-07   -.48417E-01
  12  norm          6.0221        2.9067       -.11895E-06    .65272E-02
  13  norm           .0000        15.229        .94553E-06** at limit **
  14  Prefactor     .11102E-09    22.668       -.14015E-05** at limit **
  15  norm          2.3634        2.0490        .17760E-06   -.19599E-02
  16  norm          3.8660        1.4457        .16808E-06   -.99840E-04
  17  Prefactor     .28033E-06    65.011       -.31452E-05** at limit **
  18  Prefactor     .27756E-09    5.5601        .11390E-05** at limit **
  19  Prefactor     52.596        72.610        .58488E-05   -.37320E-01
  20  Normalizat    1.5341        .33311        .32150E-04    .22159E-03
  21  Prefactor     .78458        .16645       -.25527E-04    .20015E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000242406
  Prefactor  = 0
  Prefactor  = 2.41407
  Prefactor  = 2.90314
  Prefactor  = 27.3996
  Prefactor  = 23.691
  norm       = 2.35292
  Prefactor  = 0
  Prefactor  = 3.9968e-09
  Prefactor  = 14.8394
  Prefactor  = 31.093
  norm       = 6.02207
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 2.36335
  norm       = 3.86599
  Prefactor  = 2.80331e-07
  Prefactor  = 2.77556e-10
  Prefactor  = 52.5962
  Normalizat = 1.53414
  Prefactor  = 0.784584
 **********
 **   18 **HESSE 
 **********

 FCN=   4566.243     FROM HESSE     STATUS=OK           367 CALLS     2027 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24241E-03    484.25        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.1345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4141        6.1808        .66020E-03   -1.5677    
   4  Prefactor     2.9031        134.89        .61055E-03   -1.5674    
   5  Prefactor     27.400        30.589        .19226E-03   -1.5603    
   6  Prefactor     23.691        42.314        .20625E-03   -1.5611    
   7  norm          2.3529        2.6114        .66873E-03   -1.5677    
   8  Prefactor      .0000        2.2809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .39968E-08    36.121        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.839        12.341        .25991E-03   -1.5631    
  11  Prefactor     31.093        23.652        .17946E-03   -1.5596    
  12  norm          6.0221        2.8974        .40926E-03   -1.5659    
  13  norm           .0000        2.4824        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    22.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.3634        2.0584        .66666E-03   -1.5677    
  16  norm          3.8660        1.4473        .51312E-03   -1.5669    
  17  Prefactor     .28033E-06    65.952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27756E-09    5.4858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     52.596        87.277        .14435E-03   -1.5563    
  20  Normalizat    1.5341        .28862        .68610E-01   -.76823    
  21  Prefactor     .78458        .14418        .43517E-01   -1.0030    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05449e-06
Minuit parameter uncertainties:
  1  0.685284
  2  1.88999e-06
  3  6.18086
  4  39.5796
  5  30.5892
  6  42.3149
  7  2.61139
  8  5.33375e-07
  9  0.000758693
  10  12.341
  11  23.6524
  12  2.89738
  13  1.4624e-05
  14  9.96666e-05
  15  2.05843
  16  1.44734
  17  0.00859962
  18  7.73885e-05
  19  87.2792
  20  0.288933
  21  0.144253
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  3.109e+01  2.365e+01  0.000e+00  1.000e+06 ( 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.846e-01  1.443e-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.534e+00  2.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.88
Ra Dec: 16.291 39.496
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.77e-08 +/- 4.39e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.65e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4563.95460368
delta logL = 2.28795268143

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4563.83561273
delta logL = 2.40694363508

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.233       1.0000          .0000       .10000E+07
     2 'Index     '    1.3587       1.0000          .0000       10.000    
     3 'Normalizat'    1.5687       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77152       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=   4563.836     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .64E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.271        38.615        .11617E-05    .12833E-02
   2  Index         1.3587        .38598        .48070E-04   -.36089E-04
   3  Normalizat    1.5690        .27443       -.10213E-05   -.19050E-03
   4  Prefactor     .77141        .14109       -.28497E-06   -.21172E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.2705
  Index      = 1.35867
  Normalizat = 1.56898
  Prefactor  = 0.771407
 **********
 **   18 **HESSE 
 **********

 FCN=   4563.836     FROM HESSE     STATUS=OK            29 CALLS      245 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.271        38.176        .28800E-04   -1.5569    
   2  Index         1.3587        .38140        .62414E-02   -.81579    
   3  Normalizat    1.5690        .31719        .30061E-03   -.75858    
   4  Prefactor     .77141        .16316        .20982E-03   -1.0079    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23865e-10
Minuit parameter uncertainties:
  1  38.1761
  2  0.38219
  3  0.317591
  4  0.163263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378968': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4563.83561175
delta logL = 2.40694460793

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  4.827e+01  3.818e+01  0.000e+00  1.000e+06 ( 1.000e-13)
195        Index:  1.359e+00  3.822e-01  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.714e-01  1.633e-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.569e+00  3.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.70
Ra Dec: 16.291 39.496
Photon Index (Free Index): 1.36 +/- 0.38
Photon Flux (Free Index): 3.14e-08 +/- 2.61e-08
Energy Flux (Free Index): 1.59e-04 +/- 1.72e-04

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/378968/cmap_HighResolution_687139201_687744001_4FGL_J0105.1+3929_weekly_bin741.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.77e-08', energy_flux2='1.59e-04', photon_flux_error='4.39e-08', dlogl='2.41e+00', energy_flux='2.17e-05', photon_flux2='3.14e-08', job_status='DONE', time_completed='2022-10-18 00:46:19.421313', photon_index_error2='0.38', photon_index2='1.36', ts='6.88', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='1.72e-04', EG='1.53', time_epoch_completed='1666079179.42', return_code='0', job_id='378968', GAL2='0.77', EG2='1.57', return_code2='0', energy_flux_error='1.65e-05', photon_flux_error2='2.61e-08', ts2='11.70', photon_index='2.30' WHERE bin_id='741' AND source_name='4FGL J0105.1+3929' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:46:19 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 378968: <4FGL_J0105.1+3929_weekly_bin741> in cluster <slac> Done

Job <4FGL_J0105.1+3929_weekly_bin741> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Oct 18 00:35:49 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:35:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:35:49 2022
Terminated at Tue Oct 18 00:46:20 2022
Results reported at Tue Oct 18 00:46:20 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_weekly_bin741 16.2913 39.4963 687139201 687744001 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 :                                   519.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             258.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

