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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1606
RA = 16.2913, Dec = 39.4963
tmin = 655603201, tmax = 655862401
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='135480', job_status='RUN', time_executed='2021-12-07 11:53:02.890413', time_epoch_executed='1638906782.89' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1606'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/135480

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/135480/ft1_4FGL_J0105.1+3929_daily_bin1606.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/135480/ft2_4FGL_J0105.1+3929_daily_bin1606.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/135480/ft1_4FGL_J0105.1+3929_daily_bin1606.fits outfile=/scratch/kocevski/135480/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1606.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=655603201.0 tmax=655862401.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 4.34
user 4.09
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/135480/ft1_filtered_4FGL_J0105.1+3929_daily_bin1606.fits evtable="EVENTS" scfile=/scratch/kocevski/135480/ft2_4FGL_J0105.1+3929_daily_bin1606.fits sctable="SC_DATA" expcube=/scratch/kocevski/135480/ltcube_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.fits outfile=/scratch/kocevski/135480/expmap_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.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/135480/ltcube_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.fits
.....................!
real 194.14
user 188.28
sys 4.64

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/135480/ft1_filtered_4FGL_J0105.1+3929_daily_bin1606.fits scfile=/scratch/kocevski/135480/ft2_4FGL_J0105.1+3929_daily_bin1606.fits outfile=/scratch/kocevski/135480/cmap_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/135480/ft1_filtered_4FGL_J0105.1+3929_daily_bin1606.fits scfile=/scratch/kocevski/135480/ft2_4FGL_J0105.1+3929_daily_bin1606.fits outfile=/scratch/kocevski/135480/cmap_HighResolution_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.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.41
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.851       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.0608       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.2384       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.826       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.251       1.0000         .10000E-03   10000.    
    13 'norm      '    1.6185       1.0000         .10000E-03   10000.    
    14 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.1606       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.5897       1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.5717       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .68637       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0213       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=   5134.916     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2712 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    23.462        .12579E-05** at limit **
   2  Prefactor     .10000E-03    3.9785        .97393E-07** at limit **
   3  Prefactor     .10000E-03    1.6400        .67310E-07** at limit **
   4  Prefactor     21.858        20.923        .26451E-06    .95654E-05
   5  Prefactor     .10000E-03    9.7398        .80499E-07** at limit **
   6  Prefactor     .10000E-03    39.847        .73722E-06** at limit **
   7  norm          1.0603        1.8542       -.18263E-08   -.15007E-03
   8  Prefactor     .10000E-03    5.1190        .80448E-07** at limit **
   9  Prefactor     5.2406        12.774        .53001E-05   -.21778E-03
  10  Prefactor     .10000E-03    4.1768       -.23965E-06** at limit **
  11  Prefactor     12.828        23.318        .39319E-06    .82260E-05
  12  Prefactor     51.206        60.148       -.55036E-05   -.30753E-03
  13  norm          1.6187        1.4829       -.32872E-06   -.26132E-03
  14  norm          .10000E-03    2.0508        .38155E-07** at limit **
  15  Prefactor     8.1617        7.9241        .19556E-05   -.33112E-03
  16  Prefactor     .10000E-03    27.264       -.13309E-05** at limit **
  17  Prefactor     .10000E-03    73.043       -.29526E-06** at limit **
  18  norm          2.5899        1.7243        .18003E-07   -.46246E-05
  19  norm          .10000E-03    .33566        .43777E-07** at limit **
  20  Prefactor     .10000E-03    7.2086        .45363E-07** at limit **
  21  Prefactor     4.5724        3.8883        .12030E-06   -.32473E-04
  22  Prefactor     .10000E-03    14.394       -.66172E-07** at limit **
  23  Normalizat    .68625        .22522       -.10191E-05   -.17045E-04
  24  Prefactor     1.0213        .11875       -.38845E-07   -.54676E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.8582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.06034
  Prefactor  = 0.0001
  Prefactor  = 5.24056
  Prefactor  = 0.0001
  Prefactor  = 12.8283
  Prefactor  = 51.2062
  norm       = 1.61869
  norm       = 0.0001
  Prefactor  = 8.16167
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.58985
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.57242
  Prefactor  = 0.0001
  Normalizat = 0.686249
  Prefactor  = 1.02128
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.916     FROM HESSE     STATUS=OK           395 CALLS     3107 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    23.701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0059        .13958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.6546        .89470E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     21.858        20.891        .85687E-04   -1.4773    
   5  Prefactor     .10000E-03    9.7524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    39.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.0603        1.5287        .12506E-02   -1.5502    
   8  Prefactor     .10000E-03    5.1527        .15830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.2406        12.963        .87812E-03   -1.5250    
  10  Prefactor     .10000E-03    4.1868        .14293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.828        23.309        .11185E-03   -1.4991    
  12  Prefactor     51.206        64.164        .56020E-04   -1.4276    
  13  norm          1.6187        1.4736        .78360E-04   -1.5454    
  14  norm          .10000E-03    2.0848        .10019E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.1617        7.9872        .70173E-03   -1.5137    
  16  Prefactor     .10000E-03    27.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    73.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.5899        1.7240        .74552E-04   -1.5386    
  19  norm          .10000E-03    .52051        .80505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.2278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.5724        3.8876        .12420E-03   -1.5280    
  22  Prefactor     .10000E-03    14.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .68625        .25594        .34928E-03   -1.0444    
  24  Prefactor     1.0213        .13553        .16055E-03   -.92024    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08198e-09
Minuit parameter uncertainties:
  1  0.000195557
  2  7.36335e-07
  3  4.58474e-07
  4  20.8982
  5  3.51576e-06
  6  0.000180101
  7  1.52876
  8  2.07479e-06
  9  12.9699
  10  1.54615e-05
  11  23.3257
  12  64.2504
  13  1.47361
  14  2.94014e-06
  15  7.98826
  16  0.000272026
  17  0.000135328
  18  1.72402
  19  2.1028e-06
  20  7.85221e-07
  21  3.88783
  22  1.17234e-05
  23  0.25639
  24  0.135573
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.283e+01  2.333e+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:  1.021e+00  1.356e-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:  6.862e-01  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/135480/likelihoodResults_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.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) = 5134.76509859
delta logL = 0.150999807902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5134.7605596
delta logL = 0.155538789885

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.931       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8967       1.0000          .0000       10.000    
     3 'Normalizat'    .69290       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0172       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=   5134.761     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      299 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.932        31.668        .85530E-04    .24723E-04
   2  Index         1.8967        .65799        .97378E-02    .84589E-04
   3  Normalizat    .69297        .24222        .34764E-03    .36137E-04
   4  Prefactor     1.0171        .13466        .16080E-03    .10294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9321
  Index      = 1.89673
  Normalizat = 0.692974
  Prefactor  = 1.01715
 **********
 **   18 **HESSE 
 **********

 FCN=   5134.761     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.932        31.497        .34212E-05   -1.4771    
   2  Index         1.8967        .65449        .19476E-02   -.66958    
   3  Normalizat    .69297        .24234        .13905E-04   -1.0417    
   4  Prefactor     1.0171        .13472        .32159E-04   -.92160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.97246e-12
Minuit parameter uncertainties:
  1  31.5208
  2  0.657573
  3  0.242713
  4  0.134764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/135480': 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) = 5134.76055954
delta logL = 0.155538850998

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  2.193e+01  3.152e+01  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  1.897e+00  6.576e-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:  1.017e+00  1.348e-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:  6.930e-01  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
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/135480/cmap_HighResolution_655603201_655862401_4FGL_J0105.1+3929_daily_bin1606.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.83e-03', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2021-12-07 12:03:33.568229', job_id='135480', GAL2='1.02', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1638907413.57', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.56e-01', ts2='0.68', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1606' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 12:03:33 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 135480: <4FGL_J0105.1+3929_daily_bin1606> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1606> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 11:50:26 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 11:52:55 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:52:55 2021
Terminated at Tue Dec  7 12:03:34 2021
Results reported at Tue Dec  7 12:03:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1606 16.2913 39.4963 655603201 655862401 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 :                                   629.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            788 sec.

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

