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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1749
RA = 16.2913, Dec = 39.4963
tmin = 692668801, tmax = 692928001
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='941201', job_status='RUN', time_executed='2022-12-17 00:05:55.672171', time_epoch_executed='1671264355.67' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/941201

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/941201/ft1_4FGL_J0105.1+3929_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/941201/ft2_4FGL_J0105.1+3929_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/941201/ft1_4FGL_J0105.1+3929_daily_bin1749.fits outfile=/scratch/kocevski/941201/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1749.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=692668801.0 tmax=692928001.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 3.77
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/941201/ft2_4FGL_J0105.1+3929_daily_bin1749.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/941201/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/941201/ft1_filtered_4FGL_J0105.1+3929_daily_bin1749.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.56
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 981

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/941201/ft1_filtered_4FGL_J0105.1+3929_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/941201/ft2_4FGL_J0105.1+3929_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/941201/ltcube_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.fits outfile=/scratch/kocevski/941201/expmap_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.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/941201/ltcube_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.fits
.....................!
real 190.34
user 185.22
sys 4.65

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/941201/ft1_filtered_4FGL_J0105.1+3929_daily_bin1749.fits scfile=/scratch/kocevski/941201/ft2_4FGL_J0105.1+3929_daily_bin1749.fits outfile=/scratch/kocevski/941201/cmap_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/941201/ft1_filtered_4FGL_J0105.1+3929_daily_bin1749.fits scfile=/scratch/kocevski/941201/ft2_4FGL_J0105.1+3929_daily_bin1749.fits outfile=/scratch/kocevski/941201/cmap_HighResolution_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.883       1.0000          .0000       .10000E+07
     2 'Prefactor '    .59544E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.1180       1.0000          .0000       .10000E+07
     4 'Prefactor '    .87283       1.0000          .0000       .10000E+07
     5 'Prefactor '    .68416E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9660       1.0000          .0000       .10000E+07
     7 'norm      '    6.3950       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11167E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.153       1.0000          .0000       .10000E+07
    10 'Prefactor '    .71242E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    25.255       1.0000          .0000       .10000E+07
    12 'norm      '    14.242       1.0000          .0000       .10000E+07
    13 'norm      '    2.3695       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.226       1.0000          .0000       .10000E+07
    15 'norm      '    .73830E-08   1.0000          .0000       .10000E+07
    16 'norm      '    5.1610       1.0000          .0000       .10000E+07
    17 'Prefactor '    .22634       1.0000          .0000       .10000E+07
    18 'Prefactor '    .81170E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    33.942       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1385       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95619       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=   10201.08     FROM MIGRAD    STATUS=CONVERGED    109 CALLS     1639 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.986        15.748        .17104E-05    .17014    
   2  Prefactor     .55511E-10    2.6965        .34866E-06** at limit **
   3  Prefactor     1.1178        2.3116        .11596E-05    .36562E-02
   4  Prefactor     .84109        10.158       -.52398E-05    .39012E-01
   5  Prefactor     .21094E-08    10.602        .20874E-05** at limit **
   6  Prefactor     2.9176        2.2365       -.21423E-06   -.15869E-01
   7  norm          6.4004        2.8455        .10194E-06   -.13842E-02
   8  Prefactor      .0000        1.2543        .72487E-07** at limit **
   9  Prefactor     13.102        11.609       -.26396E-05   -.45974E-01
  10  Prefactor      .0000        2.0395       -.41126E-06** at limit **
  11  Prefactor     25.330        7.2058        .98542E-06    .45127E-01
  12  norm          14.244        2.4126       -.37185E-06    .90427E-02
  13  norm          2.3725        2.2493        .53602E-07    .47495E-02
  14  Prefactor     39.187        6.9011       -.90264E-06    .62228E-01
  15  norm           .0000        1.4763       -.87881E-06** at limit **
  16  norm          5.1596        1.0364       -.88063E-07   -.24860E-02
  17  Prefactor     .21171        2.2780        .16303E-05** at limit **
  18  Prefactor      .0000        1.2246        .18685E-06** at limit **
  19  Prefactor     33.877        9.2467       -.13761E-05    .13874    
  20  Normalizat    1.1385        .21915       -.41384E-05   -.14112E-03
  21  Prefactor     .95618        .11499        .44308E-05   -.33068E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.9861
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11776
  Prefactor  = 0.841088
  Prefactor  = 2.10942e-09
  Prefactor  = 2.91761
  norm       = 6.40037
  Prefactor  = 0
  Prefactor  = 13.1022
  Prefactor  = 0
  Prefactor  = 25.3295
  norm       = 14.2435
  norm       = 2.37249
  Prefactor  = 39.1873
  norm       = 0
  norm       = 5.15962
  Prefactor  = 0.211714
  Prefactor  = 0
  Prefactor  = 33.8768
  Normalizat = 1.13854
  Prefactor  = 0.956184
 **********
 **   18 **HESSE 
 **********

 FCN=   10201.08     FROM HESSE     STATUS=OK           369 CALLS     2008 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.986        21.051        .16468E-03   -1.5586    
   2  Prefactor     .55511E-10    2.6910        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.1178        2.4158        .11119E-02   -1.5687    
   4  Prefactor     .84109        52.303        .47657E-03   -1.5690    
   5  Prefactor     .21094E-08    10.585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.9176        26.253        .58934E-03   -1.5674    
   7  norm          6.4004        2.8484        .39666E-03   -1.5657    
   8  Prefactor      .0000        1.2546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.102        11.869        .27593E-03   -1.5636    
  10  Prefactor      .0000        2.0386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.330        21.514        .19903E-03   -1.5607    
  12  norm          14.244        2.4134        .26515E-03   -1.5632    
  13  norm          2.3725        2.2459        .66536E-03   -1.5677    
  14  Prefactor     39.187        29.964        .15968E-03   -1.5583    
  15  norm           .0000        .48628        .26574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.1596        1.0391        .44228E-04   -1.5663    
  17  Prefactor     .21171        4.6155        .11325E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        1.2221        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     33.877        37.200        .17167E-03   -1.5592    
  20  Normalizat    1.1385        .19448        .77899E-01   -.88524    
  21  Prefactor     .95618        .99107E-01    .45717E-01   -.94205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70321e-06
Minuit parameter uncertainties:
  1  21.0514
  2  2.22041e-05
  3  2.41585
  4  13.2654
  5  0.000299764
  6  17.5038
  7  2.84838
  8  7.01376e-06
  9  11.8689
  10  1.09303e-05
  11  21.514
  12  2.4134
  13  2.24585
  14  29.9637
  15  5.5662e-06
  16  1.03914
  17  1.97704
  18  7.49249e-06
  19  37.2002
  20  0.194598
  21  0.0991259
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.533e+01  2.151e+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:  9.562e-01  9.913e-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:  1.139e+00  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.83
Ra Dec: 16.291 39.496
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 4.70e-08 +/- 3.99e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 1.50e-05

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

Saving results to:
/scratch/kocevski/941201/likelihoodResults_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.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): 0
logL (Free Index) = 10200.2635895
delta logL = 0.812748640315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10200.2547631
delta logL = 0.821575055377

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6200       1.0000          .0000       .10000E+07
     2 'Index     '    3.1743       1.0000          .0000       10.000    
     3 'Normalizat'    1.0805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97587       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10200.25     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      325 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5712        71.725        .64570E-04   -.29879E-02
   2  Index         3.1791        2.6636        .54999E-02   -.52822E-04
   3  Normalizat    1.0807        .22598        .35271E-03   -.43192E-04
   4  Prefactor     .97592        .11864        .19482E-03   -.41433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.57118
  Index      = 3.1791
  Normalizat = 1.08073
  Prefactor  = 0.975922
 **********
 **   18 **HESSE 
 **********

 FCN=   10200.25     FROM HESSE     STATUS=OK            25 CALLS      350 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5712        14.851        .25828E-05   -1.5646    
   2  Index         3.1791        .79859        .22000E-03   -.37275    
   3  Normalizat    1.0807        .22245        .14108E-04   -.90373    
   4  Prefactor     .97592        .11508        .77926E-05   -.93536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77845e-11
Minuit parameter uncertainties:
  1  14.8506
  2  0.802555
  3  0.222641
  4  0.115112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/941201': 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) = 10200.2547183
delta logL = 0.821619834964

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  9.571e+00  1.485e+01  0.000e+00  1.000e+06 ( 1.000e-13)
195        Index:  3.179e+00  8.026e-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:  9.759e-01  1.151e-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.081e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.61
Ra Dec: 16.291 39.496
Photon Index (Free Index): 3.18 +/- 0.80
Photon Flux (Free Index): 8.56e-08 +/- 5.46e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.03e-05

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/941201/cmap_HighResolution_692668801_692928001_4FGL_J0105.1+3929_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.76e-03', comment='SUCCESS', photon_flux='4.70e-08', energy_flux2='1.58e-05', photon_flux_error='3.99e-08', dlogl='8.22e-01', energy_flux='1.77e-05', photon_flux2='8.56e-08', job_status='DONE', time_completed='2022-12-17 00:18:42.765158', photon_index_error2='0.80', photon_index2='3.18', ts='1.83', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='1.03e-05', EG='1.14', time_epoch_completed='1671265122.77', return_code='0', job_id='941201', GAL2='0.98', EG2='1.08', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='5.46e-08', ts2='3.61', photon_index='2.30' WHERE bin_id='1749' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:18:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 941201: <4FGL_J0105.1+3929_daily_bin1749> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:05:05 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:05:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:05:06 2022
Terminated at Sat Dec 17 00:18:43 2022
Results reported at Sat Dec 17 00:18:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1749 16.2913 39.4963 692668801 692928001 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 :                                   749.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             360.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            818 sec.

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

