/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 77 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 = 7405
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1106.5-3646_daily_bin576
RA = 166.627, Dec = -36.7723
tmin = 388627201, tmax = 388886401
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='528116', job_status='RUN', time_executed='2021-09-03 08:39:13.884317', time_epoch_executed='1630683553.88' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='576'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/528116

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/528116/ft1_4FGL_J1106.5-3646_daily_bin576.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/528116/ft1_4FGL_J1106.5-3646_daily_bin576.fits outfile=/scratch/kocevski/528116/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin576.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=388627201.0 tmax=388886401.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.04
user 3.81
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.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/528116/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin576.fits evtable="EVENTS" outfile="/scratch/kocevski/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.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.55
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.fits" evtable="EVENTS" scfile=/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits sctable="SC_DATA" outfile=/scratch/kocevski/528116/ltcube_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.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/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits
.....................!
real 17.21
user 16.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.fits evtable="EVENTS" scfile=/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits sctable="SC_DATA" expcube=/scratch/kocevski/528116/ltcube_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.fits outfile=/scratch/kocevski/528116/expmap_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.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/528116/ltcube_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.fits
.....................!
real 193.93
user 186.41
sys 4.07

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/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.fits scfile=/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits outfile=/scratch/kocevski/528116/cmap_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.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.68
user 0.40
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.fits evtable="EVENTS" scfile=/scratch/kocevski/528116/ft2_4FGL_J1106.5-3646_daily_bin576.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/528116/Model_4FGL_J1106.5-3646_daily_bin576.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/528116/ft1_filtered_4FGL_J1106.5-3646_daily_bin576.fits.....................!
real 73.01
user 71.52
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.886       1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.1612       1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.713       1.0000         .10000E-03   10000.    
     5 'norm      '    .67176E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .27848       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10468E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10240E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0009       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11457E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10363E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5017       1.0000         .10000E-03   10000.    
    17 'norm      '    3.5278       1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.025       1.0000         .10000E-03   10000.    
    19 'norm      '    .10296E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99033       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=   6648.808     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2241 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.883        14.617       -.43847E-08    .44172E-04
   2  norm          .10000E-03    3.1747       -.42228E-09** at limit **
   3  norm          5.1609        7.9594       -.78569E-08    .16221E-03
   4  Prefactor     17.718        32.057        .46848E-07   -.52510E-03
   5  norm          .10006E-03    4.1228       -.17539E-07** at limit **
   6  Prefactor     .26826        3.6630       -.22767E-07    .21857E-03
   7  Prefactor     .10000E-03    17.634       -.26373E-09** at limit **
   8  Prefactor     .10000E-03    7.5290       -.65659E-09** at limit **
   9  norm          2.0024        2.1973       -.48864E-08   -.11215E-04
  10  Prefactor     .10000E-03    4.8807       -.16666E-09** at limit **
  11  norm          .10000E-03    6.9964       -.31021E-09** at limit **
  12  Prefactor     .10000E-03    106.84       -.17448E-08** at limit **
  13  Prefactor     .10000E-03    9.1193        .15889E-09** at limit **
  14  Prefactor     .10000E-03    26.704        .61730E-08** at limit **
  15  norm          .10000E-03    8.5863       -.13015E-08** at limit **
  16  Prefactor     4.5044        12.673       -.82066E-07   -.80286E-04
  17  norm          3.5315        3.1097       -.16060E-06   -.19509E-03
  18  Prefactor     20.025        16.554        .26658E-07   -.89767E-04
  19  norm          .10000E-03    40.536        .71076E-08** at limit **
  20  Normalizat    1.0173        .25252        .29362E-07    .23709E-04
  21  Prefactor     .98984        .99058E-01    .12263E-07    .43177E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.883
  norm       = 0.0001
  norm       = 5.16086
  Prefactor  = 17.7182
  norm       = 0.000100061
  Prefactor  = 0.268257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.00237
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.50437
  norm       = 3.53153
  Prefactor  = 20.0253
  norm       = 0.000100001
  Normalizat = 1.01734
  Prefactor  = 0.98984
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.808     FROM HESSE     STATUS=OK           317 CALLS     2558 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.883        14.597        .10381E-03   -1.4936    
   2  norm          .10000E-03    3.1824        .14189E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.1609        7.9404        .17696E-03   -1.5254    
   4  Prefactor     17.718        28.199        .95164E-04   -1.4866    
   5  norm          .10006E-03    43.650        .26083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .26826        28.028        .26482E-02   -1.5604    
   7  Prefactor     .10000E-03    18.147        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.0024        2.1888        .12092E-03   -1.5425    
  10  Prefactor     .10000E-03    4.8972        .17592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    7.0019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    107.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.1296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    26.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    8.5871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5044        13.238        .94880E-03   -1.5283    
  17  norm          3.5315        7.2820        .10761E-02   -1.5332    
  18  Prefactor     20.025        16.717        .89504E-04   -1.4813    
  19  norm          .10000E-03    40.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0173        .29768        .38320E-03   -.92452    
  21  Prefactor     .98984        .11783        .15706E-03   -.93069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82228e-09
Minuit parameter uncertainties:
  1  14.6004
  2  2.40879e-06
  3  7.94202
  4  28.2202
  5  0.00327004
  6  5.48565
  7  3.62475e-05
  8  5.56847e-06
  9  2.18892
  10  2.62993e-06
  11  2.57721e-06
  12  0.000109165
  13  1.36633e-05
  14  0.000210924
  15  2.87902e-05
  16  13.247
  17  7.28383
  18  16.7205
  19  0.000362385
  20  0.298171
  21  0.117856
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  5.568e-06  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.898e-01  1.179e-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.017e+00  2.982e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/528116/likelihoodResults_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.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): 102
logL (Free Index) = 6648.80905606
delta logL = -0.000626825943982

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6648.80843049
delta logL = -1.24796861201e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13077E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1515       1.0000          .0000       10.000    
     3 'Normalizat'    1.0173       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98981       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=   6648.808     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      211 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    120.58        .90712E-02** at limit **
   2  Index         2.2150        8.3891        .50000       -.74361E-04
   3  Normalizat    1.0173        .22743E-01    .86544E-01    .51533E-04
   4  Prefactor     .98984        .92626E-02    .46140E-01    .17942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Index      = 2.21499
  Normalizat = 1.01734
  Prefactor  = 0.98984
 **********
 **   18 **HESSE 
 **********

 FCN=   6648.808     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    312.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2150        6.7586        .50000       -.59077    
   3  Normalizat    1.0173        .36950E-01    .38320E-03   -.92452    
   4  Prefactor     .98984        .15082E-01    .15706E-03   -.93069    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.79181e-07
Minuit parameter uncertainties:
  1  0.00419621
  2  23.0279
  3  0.0369506
  4  0.0150818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/528116': 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): 102
logL (Free Index) = 6648.80842752
delta logL = 1.71961710294e-06

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  4.196e-03  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.215e+00  2.303e+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.898e-01  1.508e-02  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.017e+00  3.695e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.627 -36.772

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/528116/cmap_HighResolution_388627201_388886401_4FGL_J1106.5-3646_daily_bin576.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.73e-08', time_completed='2021-09-03 08:51:16.623557', job_id='528116', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630684276.62', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.72e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='576' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:51:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 528116: <4FGL_J1106.5-3646_daily_bin576> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin576> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 08:36:34 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:37:34 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:37:34 2021
Terminated at Fri Sep  3 08:51:17 2021
Results reported at Fri Sep  3 08:51:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin576 166.627 -36.7723 388627201 388886401 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 :                                   708.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             326.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            883 sec.

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

