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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1531
RA = 16.2913, Dec = 39.4963
tmin = 636163201, tmax = 636422401
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='342764', job_status='RUN', time_executed='2021-08-13 12:18:56.242230', time_epoch_executed='1628882336.24' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/342764

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/342764/ft1_4FGL_J0105.1+3929_daily_bin1531.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/342764/ft1_4FGL_J0105.1+3929_daily_bin1531.fits outfile=/scratch/kocevski/342764/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1531.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=636163201.0 tmax=636422401.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.65
user 3.48
sys 1.12

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/342764/ft1_filtered_4FGL_J0105.1+3929_daily_bin1531.fits" evtable="EVENTS" scfile=/scratch/kocevski/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits sctable="SC_DATA" outfile=/scratch/kocevski/342764/ltcube_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.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/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits
.....................!
real 14.14
user 12.76
sys 1.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/342764/ft1_filtered_4FGL_J0105.1+3929_daily_bin1531.fits evtable="EVENTS" scfile=/scratch/kocevski/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits sctable="SC_DATA" expcube=/scratch/kocevski/342764/ltcube_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.fits outfile=/scratch/kocevski/342764/expmap_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.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/342764/ltcube_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.fits
.....................!
real 192.24
user 186.50
sys 5.35

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/342764/ft1_filtered_4FGL_J0105.1+3929_daily_bin1531.fits scfile=/scratch/kocevski/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits outfile=/scratch/kocevski/342764/cmap_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.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 1.43
user 0.39
sys 1.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/342764/ft1_filtered_4FGL_J0105.1+3929_daily_bin1531.fits scfile=/scratch/kocevski/342764/ft2_4FGL_J0105.1+3929_daily_bin1531.fits outfile=/scratch/kocevski/342764/cmap_HighResolution_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.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 1.43
user 0.39
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.1877       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19387       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.6324       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9103       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.499       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .14985       1.0000         .10000E-03   10000.    
    14 'norm      '    1.0565       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    52.536       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .16276       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.3843       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94098       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0378       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=   8740.003     FROM MIGRAD    STATUS=CONVERGED    553 CALLS     2464 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9637       -.22046E-06** at limit **
   2  Prefactor     3.1879        4.8478        .29465E-05    .43114E-04
   3  Prefactor     .19294        1.0610       -.66556E-07   -.93691E-04
   4  Prefactor     .10000E-03    13.684        .45764E-06** at limit **
   5  Prefactor     .10000E-03    14.434        .24879E-06** at limit **
   6  Prefactor     .10000E-03    8.2894        .14446E-07** at limit **
   7  norm          1.6324        1.5101        .12681E-07   -.18513E-04
   8  Prefactor     .10000E-03    3.3109       -.99754E-08** at limit **
   9  Prefactor     2.9103        6.4520        .16612E-06   -.13729E-04
  10  Prefactor     .10000E-03    4.8745        .15561E-06** at limit **
  11  Prefactor     33.498        16.606        .57129E-07   -.23812E-04
  12  Prefactor     .10000E-03    20.627       -.22739E-05** at limit **
  13  norm          .14993        .67489        .21101E-06   -.29684E-03
  14  norm          1.0565        3.0025        .49727E-06   -.71395E-05
  15  Prefactor     .10000E-03    4.3412       -.16169E-06** at limit **
  16  Prefactor     52.537        35.420       -.24242E-06   -.49880E-04
  17  Prefactor     .10000E-03    27.859        .15897E-05** at limit **
  18  norm          .10000E-03    .63635        .91516E-08** at limit **
  19  norm          .16272        .54543        .18572E-06   -.28651E-03
  20  Prefactor     .10000E-03    2.6209       -.12817E-08** at limit **
  21  Prefactor     .10000E-03    .55539       -.70145E-08** at limit **
  22  Prefactor     4.3837        92.574        .81237E-06   -.17593E-05
  23  Normalizat    .94097        .17354       -.15031E-07   -.11116E-03
  24  Prefactor     1.0378        .98041E-01   -.43499E-06   -.16966E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.18789
  Prefactor  = 0.192941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.63243
  Prefactor  = 0.0001
  Prefactor  = 2.91033
  Prefactor  = 0.0001
  Prefactor  = 33.4983
  Prefactor  = 0.0001
  norm       = 0.149932
  norm       = 1.05653
  Prefactor  = 0.0001
  Prefactor  = 52.5366
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.162721
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.38371
  Normalizat = 0.940969
  Prefactor  = 1.03782
 **********
 **   18 **HESSE 
 **********

 FCN=   8740.003     FROM HESSE     STATUS=OK           401 CALLS     2865 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.1879        4.8517        .11348E-02   -1.5351    
   3  Prefactor     .19294        5.8046        .18488E-02   -1.5620    
   4  Prefactor     .10000E-03    13.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.2947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.6324        1.5103        .10737E-03   -1.5452    
   8  Prefactor     .10000E-03    3.4060        .33217E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9103        6.4179        .23816E-03   -1.5367    
  10  Prefactor     .10000E-03    4.9332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.498        16.618        .69235E-04   -1.4550    
  12  Prefactor     .10000E-03    20.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .14993        1.2435        .14433E-02   -1.5631    
  14  norm          1.0565        2.9830        .25668E-03   -1.5502    
  15  Prefactor     .10000E-03    4.4060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     52.537        34.365        .55334E-04   -1.4257    
  17  Prefactor     .10000E-03    27.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6016        .14506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .16272        .70262        .11128E-02   -1.5627    
  20  Prefactor     .10000E-03    2.6240        .14781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    .55718        .68030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.3837        92.673        .19235E-03   -1.5289    
  23  Normalizat    .94097        .19876        .31954E-03   -.95035    
  24  Prefactor     1.0378        .11375        .17027E-03   -.91479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01334e-07
Minuit parameter uncertainties:
  1  8.80369e-06
  2  4.85226
  3  2.11623
  4  7.00215e-05
  5  1.74e-05
  6  1.15388e-06
  7  1.51032
  8  2.39764e-06
  9  6.41945
  10  8.46867e-06
  11  16.6199
  12  7.93744e-05
  13  0.863309
  14  2.98345
  15  2.77794e-06
  16  34.3775
  17  9.12264e-05
  18  2.67448e-06
  19  0.676065
  20  4.06537e-07
  21  2.62873e-07
  22  40.3823
  23  0.198912
  24  0.113773
Done.

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

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  3.350e+01  1.662e+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.038e+00  1.138e-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:  9.410e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.43
Ra Dec: 16.291 39.496
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 6.22e-08 +/- 3.08e-08
Energy Flux (Fixed Index): 2.34e-05 +/- 1.16e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8739.85320329
delta logL = 0.150123406969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8739.85297912
delta logL = 0.150347576842

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.278       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0786       1.0000          .0000       10.000    
     3 'Normalizat'    .95386       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0334       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=   8739.853     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      271 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.253        418.52        .15790E-02    .46316E-04
   2  Index         2.0779        3.2465        .18026        .80918E-04
   3  Normalizat    .95394        .11940        .71781E-01    .19086E-04
   4  Prefactor     1.0334        .46751E-01    .40997E-01   -.61955E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.2526
  Index      = 2.07788
  Normalizat = 0.953944
  Prefactor  = 1.03344
 **********
 **   18 **HESSE 
 **********

 FCN=   8739.853     FROM HESSE     STATUS=OK            33 CALLS      304 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.253        22.847        .31580E-03   -1.4438    
   2  Index         2.0779        .40586        .64601E-02   -.62417    
   3  Normalizat    .95394        .19715        .31760E-03   -.94590    
   4  Prefactor     1.0334        .10956        .17058E-03   -.91623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08481e-09
Minuit parameter uncertainties:
  1  22.8516
  2  0.406536
  3  0.197297
  4  0.109583
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/342764': 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) = 8739.85297491
delta logL = 0.150351781833

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  4.025e+01  2.285e+01  1.000e-04  1.000e+04 ( 1.000e-13)
195        Index:  2.078e+00  4.065e-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.033e+00  1.096e-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:  9.539e-01  1.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.71
Ra Dec: 16.291 39.496
Photon Index (Free Index): 2.08 +/- 0.41
Photon Flux (Free Index): 5.27e-08 +/- 3.19e-08
Energy Flux (Free Index): 3.04e-05 +/- 2.31e-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/342764/cmap_HighResolution_636163201_636422401_4FGL_J0105.1+3929_daily_bin1531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.22e-08', energy_flux2='3.04e-05', photon_flux_error='3.08e-08', dlogl='1.50e-01', energy_flux='2.34e-05', photon_flux2='5.27e-08', job_status='DONE', time_completed='2021-08-13 12:31:36.487691', photon_index_error2='0.41', photon_index2='2.08', ts='9.43', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='0.94', time_epoch_completed='1628883096.49', return_code='0', job_id='342764', GAL2='1.03', EG2='0.95', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.19e-08', ts2='9.71', photon_index='2.30' WHERE bin_id='1531' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 12:31:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 342764: <4FGL_J0105.1+3929_daily_bin1531> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1531> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 13 12:15:38 2021
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 12:16:33 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:33 2021
Terminated at Fri Aug 13 12:31:37 2021
Results reported at Fri Aug 13 12:31:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1531 16.2913 39.4963 636163201 636422401 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 :                                   763.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            959 sec.

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

