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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1620
RA = 16.2913, Dec = 39.4963
tmin = 659232001, tmax = 659491201
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='135499', job_status='RUN', time_executed='2021-12-07 11:55:41.214823', time_epoch_executed='1638906941.21' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1620'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135499

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135499/ft1_4FGL_J0105.1+3929_daily_bin1620.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135499/ft1_4FGL_J0105.1+3929_daily_bin1620.fits outfile=/scratch/kocevski/135499/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1620.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=659232001.0 tmax=659491201.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 2.82
user 2.61
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/135499/ft1_filtered_4FGL_J0105.1+3929_daily_bin1620.fits" evtable="EVENTS" scfile=/scratch/kocevski/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits sctable="SC_DATA" outfile=/scratch/kocevski/135499/ltcube_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.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/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits
.....................!
real 13.34
user 12.81
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135499/ft1_filtered_4FGL_J0105.1+3929_daily_bin1620.fits evtable="EVENTS" scfile=/scratch/kocevski/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits sctable="SC_DATA" expcube=/scratch/kocevski/135499/ltcube_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.fits outfile=/scratch/kocevski/135499/expmap_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.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/135499/ltcube_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.fits
.....................!
real 192.37
user 185.38
sys 4.33

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/135499/ft1_filtered_4FGL_J0105.1+3929_daily_bin1620.fits scfile=/scratch/kocevski/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits outfile=/scratch/kocevski/135499/cmap_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135499/ft1_filtered_4FGL_J0105.1+3929_daily_bin1620.fits scfile=/scratch/kocevski/135499/ft2_4FGL_J0105.1+3929_daily_bin1620.fits outfile=/scratch/kocevski/135499/cmap_HighResolution_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.773       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.1104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7649       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.398       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    9.9463       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5640       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.935       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11450E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.0229       1.0000         .10000E-03   10000.    
    14 'norm      '    2.0109       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    67.103       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .14947E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10231E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .13519E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    94.244       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2082       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .65553       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=   3745.670     FROM MIGRAD    STATUS=CONVERGED    552 CALLS     3112 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.780        23.113        .17884E-06    .38824E-05
   2  Prefactor     2.1088        10.344        .53950E-06   -.69051E-05
   3  Prefactor     3.7654        4.0521        .15575E-08   -.26504E-04
   4  Prefactor     10.398        15.016        .49791E-06   -.49490E-05
   5  Prefactor     .10000E-03    17.274       -.38735E-06** at limit **
   6  Prefactor     .10000E-03    15.150        .27087E-05** at limit **
   7  norm          9.9466        4.4705        .95367E-08    .26958E-05
   8  Prefactor     .10000E-03    3.8054       -.23748E-07** at limit **
   9  Prefactor     .10000E-03    9.2944        .22283E-07** at limit **
  10  Prefactor     8.5702        19.167        .28123E-06   -.81090E-06
  11  Prefactor     20.935        34.944        .29850E-06    .10783E-05
  12  Prefactor     .10000E-03    45.394       -.25527E-05** at limit **
  13  norm          6.0229        3.4155        .10710E-06    .13807E-03
  14  norm          2.0099        4.0168        .21949E-05   -.32139E-04
  15  Prefactor     .10000E-03    14.176       -.15218E-05** at limit **
  16  Prefactor     67.090        71.075        .63768E-06    .60119E-05
  17  Prefactor     .10000E-03    239.27        .66497E-05** at limit **
  18  norm          .10000E-03    2.2080        .75299E-07** at limit **
  19  norm          .10000E-03    1.1883       -.20237E-06** at limit **
  20  Prefactor     .10000E-03    37.002        .23790E-05** at limit **
  21  Prefactor     .10000E-03    17.572       -.46707E-06** at limit **
  22  Prefactor     94.322        315.79       -.98435E-05   -.26572E-06
  23  Normalizat    1.2078        .29409        .29606E-06   -.82225E-05
  24  Prefactor     .65571        .13316       -.84000E-06    .10627E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.7799
  Prefactor  = 2.1088
  Prefactor  = 3.76537
  Prefactor  = 10.3984
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.94659
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.57022
  Prefactor  = 20.9347
  Prefactor  = 0.0001
  norm       = 6.02294
  norm       = 2.00987
  Prefactor  = 0.0001
  Prefactor  = 67.0896
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 94.322
  Normalizat = 1.20784
  Prefactor  = 0.655705
 **********
 **   18 **HESSE 
 **********

 FCN=   3745.670     FROM HESSE     STATUS=OK           397 CALLS     3509 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.780        22.935        .83936E-04   -1.4753    
   2  Prefactor     2.1088        10.025        .28399E-03   -1.5418    
   3  Prefactor     3.7654        4.0408        .11227E-03   -1.5320    
   4  Prefactor     10.398        14.971        .62128E-03   -1.5063    
   5  Prefactor     .10000E-03    17.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          9.9466        4.4763        .82927E-04   -1.5077    
   8  Prefactor     .10000E-03    3.8195        .11657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.3113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.5702        19.346        .13698E-03   -1.5122    
  11  Prefactor     20.935        34.909        .87539E-04   -1.4793    
  12  Prefactor     .10000E-03    45.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.0229        3.4289        .80609E-04   -1.5217    
  14  norm          2.0099        4.0194        .82344E-03   -1.5424    
  15  Prefactor     .10000E-03    14.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     67.090        70.965        .48996E-04   -1.4068    
  17  Prefactor     .10000E-03    240.27        .20474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2363        .88803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.2253        .12991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    37.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     94.322        315.20        .20700E-03   -1.3763    
  23  Normalizat    1.2078        .34426        .29918E-03   -.86361    
  24  Prefactor     .65571        .15399        .18850E-03   -1.0529    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.90803e-11
Minuit parameter uncertainties:
  1  22.9434
  2  9.1982
  3  4.04112
  4  14.9764
  5  2.68378e-06
  6  1.92078e-05
  7  4.47644
  8  1.08525e-06
  9  1.85306e-07
  10  19.3605
  11  34.9435
  12  4.81491e-05
  13  3.42904
  14  4.01992
  15  6.56771e-06
  16  71.0549
  17  6.1852e-05
  18  4.80761e-06
  19  8.27181e-06
  20  5.63556e-05
  21  9.64356e-05
  22  321.075
  23  0.344914
  24  0.154092
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.093e+01  3.494e+01  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.557e-01  1.541e-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.208e+00  3.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: 1.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.46e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/135499/likelihoodResults_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.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) = 3745.66805736
delta logL = 0.00145261696434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3745.66646603
delta logL = 0.0030439437196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.288       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4391       1.0000          .0000       10.000    
     3 'Normalizat'    1.2021       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3745.666     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      261 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.334        58.827        .93658E-04    .56080E-04
   2  Index         2.4377        2.1630        .82855E-02    .15291E-04
   3  Normalizat    1.2022        .32402        .29978E-03   -.42023E-03
   4  Prefactor     .65787        .15294        .18822E-03    .49239E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.3341
  Index      = 2.4377
  Normalizat = 1.20224
  Prefactor  = 0.657873
 **********
 **   18 **HESSE 
 **********

 FCN=   3745.666     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.334        48.487        .37463E-05   -1.4851    
   2  Index         2.4377        1.8051        .33142E-03   -.53805    
   3  Normalizat    1.2022        .32088        .59955E-04   -.86534    
   4  Prefactor     .65787        .15150        .37644E-04   -1.0520    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84275e-09
Minuit parameter uncertainties:
  1  48.591
  2  1.86302
  3  0.321403
  4  0.151592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135499': 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) = 3745.66646526
delta logL = 0.00304471216987

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.833e+01  4.859e+01  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.438e+00  1.863e+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:  6.579e-01  1.516e-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.202e+00  3.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
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/135499/cmap_HighResolution_659232001_659491201_4FGL_J0105.1+3929_daily_bin1620.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-02', job_status='DONE', photon_flux_upper_limit='1.91e-07', time_completed='2021-12-07 12:04:46.755958', job_id='135499', GAL2='0.66', fit_tolerance='1e-08', EG2='1.20', EG='1.21', time_epoch_completed='1638907486.76', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='3.04e-03', ts2='0.49', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1620' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:04:46 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 135499: <4FGL_J0105.1+3929_daily_bin1620> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1620> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 11:50:27 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:53:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 11:53:10 2021
Terminated at Tue Dec  7 12:04:47 2021
Results reported at Tue Dec  7 12:04:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1620 16.2913 39.4963 659232001 659491201 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 :                                   539.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            860 sec.

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

