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


Performing analysis on: 4FGL_J0105.1+3929_daily_bin1604
RA = 16.2913, Dec = 39.4963
tmin = 655084801, tmax = 655344001
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='4138', job_status='RUN', time_executed='2021-10-08 00:04:19.015038', time_epoch_executed='1633676659.02' WHERE source_name='4FGL J0105.1+3929' and cadence='daily' and bin_id='1604'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/4138

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/4138/ft1_4FGL_J0105.1+3929_daily_bin1604.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/4138/ft1_4FGL_J0105.1+3929_daily_bin1604.fits outfile=/scratch/kocevski/4138/ft1_filteredMKT_4FGL_J0105.1+3929_daily_bin1604.fits ra=16.2913 dec=39.4963 rad=12.0 tmin=655084801.0 tmax=655344001.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.94
user 2.71
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/4138/ft1_filtered_4FGL_J0105.1+3929_daily_bin1604.fits evtable="EVENTS" scfile=/scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits sctable="SC_DATA" expcube=/scratch/kocevski/4138/ltcube_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits outfile=/scratch/kocevski/4138/expmap_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.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/4138/ltcube_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits
.....................!
real 193.70
user 186.92
sys 5.72

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/4138/ft1_filtered_4FGL_J0105.1+3929_daily_bin1604.fits scfile=/scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits outfile=/scratch/kocevski/4138/cmap_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/4138/ft1_filtered_4FGL_J0105.1+3929_daily_bin1604.fits scfile=/scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits outfile=/scratch/kocevski/4138/cmap_HighResolution_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/4138/ft1_filtered_4FGL_J0105.1+3929_daily_bin1604.fits', '/scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits', expMap='/scratch/kocevski/4138/expmap_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits', expCube='/scratch/kocevski/4138/ltcube_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/4138/Model_4FGL_J0105.1+3929_daily_bin1604.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/4138/ft1_filtered_4FGL_J0105.1+3929_daily_bin1604.fits
Spacecraft file(s): /scratch/kocevski/4138/ft2_4FGL_J0105.1+3929_daily_bin1604.fits
Exposure map: /scratch/kocevski/4138/expmap_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits
Exposure cube: /scratch/kocevski/4138/ltcube_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/4138/Model_4FGL_J0105.1+3929_daily_bin1604.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 177.26745936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 175.654087879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    764.00       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15277E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19954       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .27661E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4900       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2406       1.0000         .10000E-03   10000.    
     7 'norm      '    1.7859       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7792       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5960       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .38372       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4051       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .96608       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4835       1.0000         .10000E-03   10000.    
    14 'norm      '    .20113E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .38021       1.0000         .10000E-03   10000.    
    16 'Prefactor '    195.32       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.576       1.0000         .10000E-03   10000.    
    18 'norm      '    .62046E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    .22236E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    199.18       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .25353       1.0000         .10000E-03   10000.    
    22 'Prefactor '    72.077       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .36102       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .34574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   175.4316     FROM MIGRAD    STATUS=CONVERGED    559 CALLS      959 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          859.24        918.84        .70586E-04    .31450E-03
   2  Prefactor     .10000E-03    224.98        .16081E-05** at limit **
   3  Prefactor     .10000E-03    235.13       -.77725E-05** at limit **
   4  Prefactor     .10000E-03    1033.8       -.29737E-06** at limit **
   5  Prefactor     4.4900        1.0063         .0000         .0000    
   6  Prefactor     6.0509        5.2248        .61381E-05   -.48213E-04
   7  norm          1.7859        1.0458         .0000         .0000    
   8  Prefactor     122.48        324.08        .83637E-04   -.15178E-02
   9  Prefactor     1.5960        1.0602         .0000         .0000    
  10  Prefactor     .10000E-03    6347.7       -.15126E-04** at limit **
  11  Prefactor     .10002E-03    7372.1        .22063E-03** at limit **
  12  Prefactor     .10000E-03    6151.2       -.36809E-04** at limit **
  13  norm         10000.0        7138.6        .11332E-02    .95781E-04
  14  norm          .10000E-03    31.430       -.13041E-05** at limit **
  15  Prefactor     .10000E-03    472.58        .96074E-05** at limit **
  16  Prefactor     227.00        283.09        .29754E-04   -.91831E-04
  17  Prefactor     322.17        657.86        .67445E-04   -.55556E-04
  18  norm          .10000E-03    20.453       -.11207E-04** at limit **
  19  norm          .10000E-03    5.1793        .89213E-06** at limit **
  20  Prefactor     222.99        192.76        .28525E-04   -.20003E-04
  21  Prefactor     .10018E-03    153.28        .68109E-04** at limit **
  22  Prefactor     86.051        186.63        .34441E-04   -.98426E-05
  23  Normalizat    .43524        .79757        .70604E-04   -.98501E-04
  24  Prefactor     .20151        .50975       -.46116E-04   -.41446E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 859.239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.49002
  Prefactor  = 6.05091
  norm       = 1.78589
  Prefactor  = 122.479
  Prefactor  = 1.59596
  Prefactor  = 0.000100003
  Prefactor  = 0.000100016
  Prefactor  = 0.000100002
  norm       = 9999.99
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 226.998
  Prefactor  = 322.17
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 222.991
  Prefactor  = 0.000100175
  Prefactor  = 86.0508
  Normalizat = 0.435244
  Prefactor  = 0.201513
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   175.4316     FROM HESSE     STATUS=FAILED        27 CALLS      986 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          859.24        905.61        .37645E-03   -.97580    
   2  Prefactor     .10000E-03    219.77        .90992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    234.67        .99755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1032.7        .99574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     536.78        532.23         .0000       -1.5284    
   6  Prefactor     6.0509        1.3833        .61381E-05   -1.5216    
   7  norm          1.7859        1.0458         .0000       -1.5441    
   8  Prefactor     122.48        8.6282        .83637E-04   -1.3490    
   9  Prefactor     1.5960        1.0602         .0000       -1.5455    
  10  Prefactor     .10000E-03    .29087       -.15126E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    .10891        .22063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    .42544       -.36809E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm         10000.0        .10514        .11332E-02    1.5730    
  14  norm          .10000E-03    .25562       -.13041E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .29006        .96074E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     227.00        1.0763        .29754E-04   -1.2683    
  17  Prefactor     322.17        4.1022        .67445E-04   -1.2099    
  18  norm          .10000E-03    .22300       -.11207E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .20571        .89213E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     222.99        1.0568        .28525E-04   -1.2710    
  21  Prefactor     .10018E-03    .26109        .68109E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     86.051        1.0919        .34441E-04   -1.3850    
  23  Normalizat    .43524        .73983        .70604E-04   -1.1552    
  24  Prefactor     .20151        .51420       -.46116E-04   -1.2859    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.81175e-09
Minuit parameter uncertainties:
  1  922.161
  2  0.000135663
  3  0.000509118
  4  0.000413951
  5  1.00634
  6  1.38327
  7  1.04584
  8  8.62832
  9  1.06019
  10  5.43826e-05
  11  8.37474e-05
  12  5.60958e-05
  13  0.0703124
  14  2.95383e-06
  15  5.34905e-06
  16  1.07631
  17  4.10225
  18  7.77122e-06
  19  5.32614e-06
  20  1.05681
  21  0.000427523
  22  1.0919
  23  0.757513
  24  0.526431
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 175.431621622

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  1.000e-04  8.375e-05  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:  2.015e-01  5.264e-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:  4.352e-01  7.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.876771528286

TS (Fixed Index): -0.00
Ra Dec: 16.291 39.496
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.68e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/4138/likelihoodResults_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.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) = 175.432031893
delta logL = -0.000410271079517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 175.432031892
delta logL = -0.000410270505313

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.3030       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=   175.4320     FROM MIGRAD    STATUS=CONVERGED     25 CALLS       90 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 21.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       1.6314        8.6333       -.16933        .77547E-07
                               ERR DEF=  .500    
Final values: 
  Index      = 1.63137
 **********
 **   18 **HESSE 
 **********

 FCN=   175.4320     FROM HESSE     STATUS=OK            11 CALLS      101 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       1.6314        8.8531        .50000       -.73924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43306e-10
Minuit parameter uncertainties:
  1  573.783
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/4138': 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) = 175.432031653
delta logL = -0.00041003063663

Extracting fit parameters...

4FGL J0105.1+3929
   Spectrum: PowerLaw
194    Prefactor:  9.619e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
195        Index:  1.631e+00  5.738e+02  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.967e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  4.405e-01  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


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/4138/cmap_HighResolution_655084801_655344001_4FGL_J0105.1+3929_daily_bin1604.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.68e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-10-08 00:09:42.406996', job_id='4138', GAL2='0.20', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1633676982.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.20', dlogl='-4.10e-04', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1604' AND source_name='4FGL J0105.1+3929' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct  8 00:09:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 4138: <4FGL_J0105.1+3929_daily_bin1604> in cluster <slac> Done

Job <4FGL_J0105.1+3929_daily_bin1604> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Oct  8 00:00:30 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct  8 00:01:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct  8 00:01:19 2021
Terminated at Fri Oct  8 00:09:42 2021
Results reported at Fri Oct  8 00:09:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0105.1+3929_daily_bin1604 16.2913 39.4963 655084801 655344001 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 :                                   323.42 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             390.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   503 sec.
    Turnaround time :                            552 sec.

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

