/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 9 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 = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1106.5-3646_daily_bin194
RA = 166.627, Dec = -36.7723
tmin = 289612801, tmax = 289872001
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='525183', job_status='RUN', time_executed='2021-09-03 08:26:43.650787', time_epoch_executed='1630682803.65' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/525183

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/525183/ft1_4FGL_J1106.5-3646_daily_bin194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/525183/ft1_4FGL_J1106.5-3646_daily_bin194.fits outfile=/scratch/kocevski/525183/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin194.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=289612801.0 tmax=289872001.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 3.60
user 3.31
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits" evtable="EVENTS" scfile=/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits sctable="SC_DATA" outfile=/scratch/kocevski/525183/ltcube_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.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/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits
.....................!
real 16.25
user 14.34
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits sctable="SC_DATA" expcube=/scratch/kocevski/525183/ltcube_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits outfile=/scratch/kocevski/525183/expmap_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.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/525183/ltcube_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits
.....................!
real 193.94
user 187.18
sys 4.65

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/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits scfile=/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits outfile=/scratch/kocevski/525183/cmap_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.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 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits scfile=/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits outfile=/scratch/kocevski/525183/cmap_HighResolution_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.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 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/525183/Model_4FGL_J1106.5-3646_daily_bin194.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/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits.....................!
real 115.99
user 113.38
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits', '/scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits', expMap='/scratch/kocevski/525183/expmap_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits', expCube='/scratch/kocevski/525183/ltcube_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/525183/Model_4FGL_J1106.5-3646_daily_bin194.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/525183/ft1_filtered_4FGL_J1106.5-3646_daily_bin194.fits
Spacecraft file(s): /scratch/kocevski/525183/ft2_4FGL_J1106.5-3646_daily_bin194.fits
Exposure map: /scratch/kocevski/525183/expmap_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits
Exposure cube: /scratch/kocevski/525183/ltcube_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/525183/Model_4FGL_J1106.5-3646_daily_bin194.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) = 11260.4098066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7958       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .53366E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.3793       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6544       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5054       1.0000         .10000E-03   10000.    
     9 'norm      '    4.4354       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.043       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10658E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0981       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0007       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1450       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=   11260.30     FROM MIGRAD    STATUS=CONVERGED    448 CALLS     1877 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7953        9.5474       -.18674E-06   -.73497E-04
   2  norm          .10000E-03    2.1441        .11995E-07** at limit **
   3  norm          .10000E-03    3.9158        .14602E-06** at limit **
   4  Prefactor     .10000E-03    9.6602       -.81641E-06** at limit **
   5  norm          5.3784        2.0055        .12163E-06   -.21825E-02
   6  Prefactor     3.6537        2.7484       -.20650E-07   -.48878E-04
   7  Prefactor     .10000E-03    3.3027        .13842E-06** at limit **
   8  Prefactor     6.5051        5.5440        .19473E-07   -.98723E-05
   9  norm          4.4352        1.9369       -.68845E-08   -.78400E-04
  10  Prefactor     .10000E-03    5.7358        .71039E-06** at limit **
  11  norm          .10000E-03    11.744        .21728E-06** at limit **
  12  Prefactor     .10000E-03    6.7854       -.35549E-06** at limit **
  13  Prefactor     .10000E-03    6.8396       -.57201E-08** at limit **
  14  Prefactor     27.037        29.289       -.41845E-05   -.58208E-04
  15  norm          .10000E-03    7.2688        .12833E-05** at limit **
  16  Prefactor     .10000E-03    2.9208       -.28776E-07** at limit **
  17  norm          .10000E-03    3.4216       -.11064E-06** at limit **
  18  Prefactor     6.0419        17.264        .25355E-06   -.20186E-03
  19  norm          .10000E-03    6.2718       -.11716E-05** at limit **
  20  Normalizat    1.0008        .21631       -.15648E-07   -.18371E-04
  21  Prefactor     1.1450        .88997E-01    .83075E-07   -.47674E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.79528
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.3784
  Prefactor  = 3.65373
  Prefactor  = 0.0001
  Prefactor  = 6.50514
  norm       = 4.43515
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.0369
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.04189
  norm       = 0.0001
  Normalizat = 1.0008
  Prefactor  = 1.14499
 **********
 **   18 **HESSE 
 **********

 FCN=   11260.30     FROM HESSE     STATUS=OK           315 CALLS     2192 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7953        9.0975        .20719E-03   -1.5318    
   2  norm          .10000E-03    2.1551        .15174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    11.946        .38313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.7409        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.3784        3.4032        .74797E-03   -1.5244    
   6  Prefactor     3.6537        2.7513        .14671E-03   -1.5326    
   7  Prefactor     .10000E-03    3.3240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5051        5.5441        .15735E-03   -1.5198    
   9  norm          4.4352        1.9372        .93779E-04   -1.5287    
  10  Prefactor     .10000E-03    5.7695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    11.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.7865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.8936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.037        29.416        .77037E-04   -1.4668    
  15  norm          .10000E-03    7.2748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9255        .17710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.4557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.0419        18.894        .81291E-03   -1.5216    
  19  norm          .10000E-03    6.2781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0008        .24900        .41166E-03   -.93004    
  21  Prefactor     1.1450        .10321        .16179E-03   -.88041    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30216e-09
Minuit parameter uncertainties:
  1  9.10083
  2  1.64462e-07
  3  9.1007e-05
  4  1.07959e-05
  5  3.40334
  6  2.75143
  7  7.29809e-07
  8  5.54449
  9  1.93719
  10  5.47515e-06
  11  1.08187e-06
  12  4.18498e-06
  13  4.54915e-07
  14  29.4321
  15  1.52127e-05
  16  1.92774e-06
  17  5.51645e-09
  18  18.9124
  19  1.29825e-05
  20  0.249291
  21  0.103228
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  6.505e+00  5.544e+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:  1.145e+00  1.032e-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.001e+00  2.493e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.34
Ra Dec: 166.627 -36.772
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 2.68e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.24e-05

TS (Fixed Index): 3.34
Ra Dec: 166.627 -36.772
Photon Flux Upper Limit: 8.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/525183/likelihoodResults_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.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) = 11260.231197
delta logL = 0.0694645605145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11260.2281674
delta logL = 0.0724942172747

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7288       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8833       1.0000          .0000       10.000    
     3 'Normalizat'    1.0075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1438       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=   11260.23     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      240 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7311        223.11        .36060E-02   -.32838E-04
   2  Index         1.8846        5.7240        .18889        .82217E-04
   3  Normalizat    1.0075        .12569        .92671E-01    .79716E-03
   4  Prefactor     1.1437        .37914E-01    .36119E-01    .19720E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.7311
  Index      = 1.88464
  Normalizat = 1.00751
  Prefactor  = 1.14371
 **********
 **   18 **HESSE 
 **********

 FCN=   11260.23     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7311        7.1833        .14424E-03   -1.5152    
   2  Index         1.8846        .57289        .10891E-01   -.67266    
   3  Normalizat    1.0075        .24371        .41042E-03   -.92779    
   4  Prefactor     1.1437        .10230        .16187E-03   -.88082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3491e-09
Minuit parameter uncertainties:
  1  7.18412
  2  0.574963
  3  0.243979
  4  0.102322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/525183': 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) = 11260.2281628
delta logL = 0.0724988279653

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  7.731e+00  7.184e+00  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  1.885e+00  5.750e-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:  1.144e+00  1.023e-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.008e+00  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.48
Ra Dec: 166.627 -36.772
Photon Index (Free Index): 1.88 +/- 0.57
Photon Flux (Free Index): 2.10e-08 +/- 2.33e-08
Energy Flux (Free Index): 1.96e-05 +/- 2.46e-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/525183/cmap_HighResolution_289612801_289872001_4FGL_J1106.5-3646_daily_bin194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.42e-03', comment='SUCCESS', photon_flux='2.68e-08', energy_flux2='1.96e-05', photon_flux_error='2.28e-08', dlogl='7.25e-02', energy_flux='1.46e-05', photon_flux2='2.10e-08', job_status='DONE', time_completed='2021-09-03 08:42:29.938261', photon_index_error2='0.57', photon_index2='1.88', ts='3.34', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.48e-08', energy_flux_error2='2.46e-05', EG='1.00', time_epoch_completed='1630683749.94', return_code='0', job_id='525183', GAL2='1.14', EG2='1.01', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.33e-08', ts2='3.48', photon_index='2.10' WHERE bin_id='194' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:42:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 525183: <4FGL_J1106.5-3646_daily_bin194> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin194> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep  3 08:26:17 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:26:24 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:26:24 2021
Terminated at Fri Sep  3 08:42:30 2021
Results reported at Fri Sep  3 08:42:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin194 166.627 -36.7723 289612801 289872001 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 :                                   930.05 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             355.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            973 sec.

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

