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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin762
RA = 166.627, Dec = -36.7723
tmin = 436838401, tmax = 437097601
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='529859', job_status='RUN', time_executed='2021-09-03 08:44:04.605796', time_epoch_executed='1630683844.61' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/529859

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/529859/ft1_4FGL_J1106.5-3646_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/529859/ft1_4FGL_J1106.5-3646_daily_bin762.fits outfile=/scratch/kocevski/529859/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin762.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=436838401.0 tmax=437097601.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 5.12
user 4.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.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/529859/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.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.79
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/529859/ltcube_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.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/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits
.....................!
real 18.43
user 17.75
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/529859/ltcube_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits outfile=/scratch/kocevski/529859/expmap_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.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/529859/ltcube_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits
.....................!
real 193.45
user 187.56
sys 5.27

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Added 191 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1106.5-3646 @ 166.627 -36.7723

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits outfile=/scratch/kocevski/529859/cmap_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.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=166.627 yref=-36.7723 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 2.82
user 0.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits outfile=/scratch/kocevski/529859/cmap_HighResolution_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.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=166.627 yref=-36.7723 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.95
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/529859/Model_4FGL_J1106.5-3646_daily_bin762.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 G296.5+10.0
adding source GAL_V02
Working on...
/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits.....................!
real 85.08
user 78.39
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits', '/scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits', expMap='/scratch/kocevski/529859/expmap_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits', expCube='/scratch/kocevski/529859/ltcube_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/529859/Model_4FGL_J1106.5-3646_daily_bin762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.5-3646'

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.758e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.104e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.833e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/529859/ft1_filtered_4FGL_J1106.5-3646_daily_bin762.fits
Spacecraft file(s): /scratch/kocevski/529859/ft2_4FGL_J1106.5-3646_daily_bin762.fits
Exposure map: /scratch/kocevski/529859/expmap_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits
Exposure cube: /scratch/kocevski/529859/ltcube_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/529859/Model_4FGL_J1106.5-3646_daily_bin762.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) = 7441.45296387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.680       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .20445E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.2817       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.5122       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.2811       1.0000         .10000E-03   10000.    
     9 'norm      '    .27291       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5085       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.7016       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11253E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0941       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7441.352     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1872 TOTAL
                     EDM=   .97E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.688        10.360       -.73256E-06   -.10878E-03
   2  norm          .10000E-03    2.4020       -.11049E-07** at limit **
   3  norm          .10000E-03    5.0774        .31214E-06** at limit **
   4  Prefactor     .10000E-03    4.9939       -.49835E-07** at limit **
   5  norm          .10000E-03    1.2202       -.10111E-06** at limit **
   6  Prefactor     5.2806        2.5020        .15152E-06   -.16400E-02
   7  Prefactor     1.5070        16.091       -.45701E-06   -.76869E-04
   8  Prefactor     6.2805        5.9122        .11669E-06    .13457E-04
   9  norm          .27289        1.7176        .26270E-07   -.45212E-03
  10  Prefactor     3.5085        8.8937       -.87799E-07   -.31635E-04
  11  norm          .10000E-03    16.115        .17621E-06** at limit **
  12  Prefactor     .10000E-03    16.623       -.16359E-05** at limit **
  13  Prefactor     .10000E-03    15.058        .41544E-05** at limit **
  14  Prefactor     8.6995        30.133       -.22492E-05   -.71152E-05
  15  norm          .10000E-03    17.058       -.31376E-05** at limit **
  16  Prefactor     .10000E-03    6.8578       -.31119E-07** at limit **
  17  norm          .10000E-03    11.090       -.10544E-05** at limit **
  18  Prefactor     .10000E-03    9.6582        .29068E-06** at limit **
  19  norm          .10000E-03    21.325        .11236E-05** at limit **
  20  Normalizat    1.0944        .23230        .23382E-06   -.38723E-04
  21  Prefactor     .97055        .93961E-01   -.58096E-07   -.21828E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6881
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.28064
  Prefactor  = 1.50701
  Prefactor  = 6.28051
  norm       = 0.272893
  Prefactor  = 3.50846
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.69954
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09441
  Prefactor  = 0.970547
 **********
 **   18 **HESSE 
 **********

 FCN=   7441.352     FROM HESSE     STATUS=OK           323 CALLS     2195 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.688        10.500        .11249E-03   -1.4995    
   2  norm          .10000E-03    2.4074        .13057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.8869        .57929E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.0025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2348        .93037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.2806        4.5483        .78494E-03   -1.5248    
   7  Prefactor     1.5070        15.984        .34776E-03   -1.5462    
   8  Prefactor     6.2805        5.9158        .16017E-03   -1.5207    
   9  norm          .27289        1.9692        .23114E-03   -1.5604    
  10  Prefactor     3.5085        8.8805        .21584E-03   -1.5333    
  11  norm          .10000E-03    16.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.6995        30.139        .13589E-03   -1.5118    
  15  norm          .10000E-03    17.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.6769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    21.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0944        .27889        .36142E-03   -.89932    
  21  Prefactor     .97055        .11277        .15729E-03   -.93718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13697e-09
Minuit parameter uncertainties:
  1  10.5017
  2  8.37452e-08
  3  4.5179e-05
  4  6.73844e-08
  5  1.70985e-07
  6  4.54863
  7  9.81908
  8  5.91637
  9  1.46594
  10  8.88381
  11  2.29731e-06
  12  2.11268e-05
  13  3.4406e-05
  14  30.1921
  15  3.42243e-05
  16  1.97584e-06
  17  2.17085e-06
  18  2.87474e-06
  19  1.07305e-05
  20  0.279269
  21  0.112797
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  6.281e+00  5.916e+00  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.104e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
329        Scale:  1.833e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  9.705e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.094e+00  2.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.78
Ra Dec: 166.627 -36.772
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.33e-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) = 7440.78295976
delta logL = 0.569243622043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7440.7752208
delta logL = 0.576982580775

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7440.775     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      234 TOTAL
                     EDM=   .87E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4178        9.6742        .39620E-02   -.26549E-02
   2  Index         1.3216        .74288        .32251       -.49744E-04
   3  Normalizat    1.1090        .22544        .81168E-01    .20593E-03
   4  Prefactor     .96921        .92914E-01    .45882E-01    .72726E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.41784
  Index      = 1.32163
  Normalizat = 1.10899
  Prefactor  = 0.969205
 **********
 **   18 **HESSE 
 **********

 FCN=   7440.775     FROM HESSE     STATUS=OK            31 CALLS      265 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4178        7.4221        .79240E-03   -1.5201    
   2  Index         1.3216        .69421        .12377E-01   -.82666    
   3  Normalizat    1.1090        .26699        .35933E-03   -.89464    
   4  Prefactor     .96921        .11097        .15740E-03   -.93763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96373e-10
Minuit parameter uncertainties:
  1  7.42319
  2  0.699166
  3  0.267312
  4  0.110991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/529859': 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) = 7440.77521607
delta logL = 0.576987311023

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  6.418e+00  7.423e+00  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  1.322e+00  6.992e-01  0.000e+00  1.000e+01 (-1.000e+00)
329        Scale:  1.833e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  9.692e-01  1.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
635   Normalization:  1.109e+00  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.94
Ra Dec: 166.627 -36.772
Photon Index (Free Index): 1.32 +/- 0.70
Photon Flux (Free Index): 8.31e-09 +/- 1.19e-08
Energy Flux (Free Index): 4.75e-05 +/- 7.62e-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/529859/cmap_HighResolution_436838401_437097601_4FGL_J1106.5-3646_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='4.75e-05', photon_flux_error='2.44e-08', dlogl='5.77e-01', energy_flux='1.41e-05', photon_flux2='8.31e-09', job_status='DONE', time_completed='2021-09-03 08:55:05.658883', photon_index_error2='0.70', photon_index2='1.32', ts='4.78', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='7.62e-05', EG='1.09', time_epoch_completed='1630684505.66', return_code='0', job_id='529859', GAL2='0.97', EG2='1.11', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='1.19e-08', ts2='5.94', photon_index='2.10' WHERE bin_id='762' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:55:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0295>
Subject: Job 529859: <4FGL_J1106.5-3646_daily_bin762> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 08:41:57 2021
Job was executed on host(s) <bullet0295>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:42:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 08:42:01 2021
Terminated at Fri Sep  3 08:55:06 2021
Results reported at Fri Sep  3 08:55:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin762 166.627 -36.7723 436838401 437097601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.5-3646 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   646.31 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             308.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            789 sec.

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

