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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1499
RA = 16.2913, Dec = 39.4963
tmin = 627868801, tmax = 628128001
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='342717', job_status='RUN', time_executed='2021-08-13 12:20:14.367090', time_epoch_executed='1628882414.37' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1499'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/342717

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/342717/ft1_4FGL_J0105.1+3929_daily_bin1499.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/342717/ft1_4FGL_J0105.1+3929_daily_bin1499.fits outfile=/scratch/kocevski/342717/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1499.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=627868801.0 tmax=628128001.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.96
user 2.31
sys 8.55

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.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/342717/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1499.fits evtable="EVENTS" outfile="/scratch/kocevski/342717/ft1_filtered_4FGL_J0105.1+3929_daily_bin1499.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 8.94
user 0.34
sys 8.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/342717/ft1_filtered_4FGL_J0105.1+3929_daily_bin1499.fits" evtable="EVENTS" scfile=/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits sctable="SC_DATA" outfile=/scratch/kocevski/342717/ltcube_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.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/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits
.....................!
real 24.90
user 14.92
sys 9.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/342717/ft1_filtered_4FGL_J0105.1+3929_daily_bin1499.fits evtable="EVENTS" scfile=/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits sctable="SC_DATA" expcube=/scratch/kocevski/342717/ltcube_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.fits outfile=/scratch/kocevski/342717/expmap_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.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/342717/ltcube_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.fits
.....................!
real 203.20
user 186.23
sys 16.16

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/342717/ft1_filtered_4FGL_J0105.1+3929_daily_bin1499.fits scfile=/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits outfile=/scratch/kocevski/342717/cmap_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.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 8.72
user 0.39
sys 8.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/342717/ft1_filtered_4FGL_J0105.1+3929_daily_bin1499.fits scfile=/scratch/kocevski/342717/ft2_4FGL_J0105.1+3929_daily_bin1499.fits outfile=/scratch/kocevski/342717/cmap_HighResolution_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.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 8.93
user 0.38
sys 8.51

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    48.301       1.0000         .10000E-03   10000.    
     5 'Prefactor '    266.23       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 '    6.2726       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.7068       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.5363       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    41.516       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.255       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.1246       1.0000         .10000E-03   10000.    
    20 'Prefactor '    54.490       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12300E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75954       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69045       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=   1056.132     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2664 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.869       -.27215E-06** at limit **
   2  Prefactor     .10000E-03    4.3556        .40731E-07** at limit **
   3  Prefactor     .10000E-03    4.3154       -.34323E-07** at limit **
   4  Prefactor     48.310        46.753        .15397E-05    .25805E-04
   5  Prefactor     266.20        125.41       -.17193E-04    .95804E-04
   6  Prefactor     .10000E-03    95.579       -.85573E-04** at limit **
   7  norm          .10000E-03    2.9913       -.27067E-07** at limit **
   8  Prefactor     6.2784        18.819        .41105E-05    .81290E-04
   9  Prefactor     .10000E-03    68.598        .23287E-04** at limit **
  10  Prefactor     9.7084        36.174        .13554E-04    .12286E-03
  11  Prefactor     2.4884        1178.6       -.24261E-03   -.54996E-05
  12  Prefactor     .10000E-03    141.37        .59621E-04** at limit **
  13  norm          .10000E-03    3.7776        .49845E-07** at limit **
  14  norm          41.510        40.691       -.11408E-05    .46840E-05
  15  Prefactor     31.238        39.504       -.63730E-05    .33036E-04
  16  Prefactor     .10000E-03    230.66        .44319E-04** at limit **
  17  Prefactor     .10000E-03    180.62        .98448E-04** at limit **
  18  norm          .10000E-03    4.7756       -.38404E-07** at limit **
  19  norm          6.1253        8.6044        .21317E-05   -.24420E-04
  20  Prefactor     54.571        113.65        .89162E-04    .32836E-05
  21  Prefactor     .10000E-03    18.333       -.13794E-06** at limit **
  22  Prefactor     .10000E-03    383.02       -.29920E-03** at limit **
  23  Normalizat    .76002        .54060        .23924E-04    .31310E-04
  24  Prefactor     .69019        .25435       -.27790E-05    .27023E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 48.3096
  Prefactor  = 266.198
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.27835
  Prefactor  = 0.0001
  Prefactor  = 9.70839
  Prefactor  = 2.48839
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 41.5104
  Prefactor  = 31.2381
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.12532
  Prefactor  = 54.5711
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.760019
  Prefactor  = 0.690186
 **********
 **   18 **HESSE 
 **********

 FCN=   1056.132     FROM HESSE     STATUS=OK           389 CALLS     3053 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.931        .16458E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.3577        .66250E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.3400        .65897E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.310        46.740        .57697E-04   -1.4317    
   5  Prefactor     266.20        126.34        .12424E-03   -1.2430    
   6  Prefactor     .10000E-03    95.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    3.0082        .54882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.2784        18.780        .16028E-03   -1.5207    
   9  Prefactor     .10000E-03    69.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.7084        35.841        .12862E-03   -1.5085    
  11  Prefactor     2.4884        1175.1        .25645E-03   -1.5392    
  12  Prefactor     .10000E-03    141.38        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.8479        .12295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          41.510        40.701        .62214E-04   -1.4418    
  15  Prefactor     31.238        39.977        .71669E-04   -1.4590    
  16  Prefactor     .10000E-03    230.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    180.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.7759        .69376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.1253        8.6014        .11009E-03   -1.5213    
  20  Prefactor     54.571        113.57        .27169E-03   -1.4229    
  21  Prefactor     .10000E-03    18.333        .13596E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    382.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .76002        .61846        .34609E-03   -1.0157    
  24  Prefactor     .69019        .29290        .18637E-03   -1.0391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00914e-09
Minuit parameter uncertainties:
  1  1.84215e-05
  2  5.60506e-06
  3  8.95717e-06
  4  46.7754
  5  126.472
  6  0.000145047
  7  5.54548e-07
  8  18.7975
  9  0.000335644
  10  35.9207
  11  110.402
  12  9.03757e-05
  13  1.17329e-05
  14  40.7281
  15  40.0111
  16  0.000185753
  17  3.10195e-05
  18  1.03465e-05
  19  8.60311
  20  114.026
  21  9.28057e-05
  22  5.64763e-05
  23  0.624298
  24  0.293553
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.488e+00  1.104e+02  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:  6.902e-01  2.936e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.600e-01  6.243e-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.35e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.11e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/342717/likelihoodResults_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.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) = 1055.91553876
delta logL = 0.216152963568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1055.91543818
delta logL = 0.216253543673

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.367       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3372       1.0000          .0000       10.000    
     3 'Normalizat'    .76551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67126       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=   1055.915     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      261 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.694        98.992        .13989E-02    .29185E-04
   2  Index         1.3427        .71850        .16501       -.30174E-04
   3  Normalizat    .76540        .47660        .77790E-01   -.10185E-04
   4  Prefactor     .67103        .24848        .42017E-01   -.22235E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.6938
  Index      = 1.3427
  Normalizat = 0.765402
  Prefactor  = 0.671034
 **********
 **   18 **HESSE 
 **********

 FCN=   1055.915     FROM HESSE     STATUS=OK            31 CALLS      292 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.694        113.06        .55957E-04   -1.4255    
   2  Index         1.3427        .89069        .67168E-02   -.82046    
   3  Normalizat    .76540        .53772        .34438E-03   -1.0137    
   4  Prefactor     .67103        .28119        .18836E-03   -1.0467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89989e-11
Minuit parameter uncertainties:
  1  113.524
  2  0.90115
  3  0.541503
  4  0.281783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/342717': 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) = 1055.91537233
delta logL = 0.216319392237

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  5.269e+01  1.135e+02  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  1.343e+00  9.012e-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:  6.710e-01  2.818e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  7.654e-01  5.415e-01  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/342717/cmap_HighResolution_627868801_628128001_4FGL_J0105.1+3929_daily_bin1499.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-02', job_status='DONE', photon_flux_upper_limit='5.35e-07', time_completed='2021-08-13 12:28:48.636981', job_id='342717', GAL2='0.67', fit_tolerance='1e-08', EG2='0.77', EG='0.76', time_epoch_completed='1628882928.64', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='2.16e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1499' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 12:28:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0013>
Subject: Job 342717: <4FGL_J0105.1+3929_daily_bin1499> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1499> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 12:15:35 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:16:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 12:16:14 2021
Terminated at Fri Aug 13 12:28:51 2021
Results reported at Fri Aug 13 12:28:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1499 16.2913 39.4963 627868801 628128001 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 :                                   634.06 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             213.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            796 sec.

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

