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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin203
RA = 166.627, Dec = -36.7723
tmin = 291945601, tmax = 292204801
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='525197', job_status='RUN', time_executed='2021-09-03 08:28:43.091081', time_epoch_executed='1630682923.09' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='203'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/525197

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/525197/ft1_4FGL_J1106.5-3646_daily_bin203.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/525197/ft1_4FGL_J1106.5-3646_daily_bin203.fits outfile=/scratch/kocevski/525197/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin203.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=291945601.0 tmax=292204801.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.86
user 3.61
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits" evtable="EVENTS" scfile=/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits sctable="SC_DATA" outfile=/scratch/kocevski/525197/ltcube_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.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/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits
.....................!
real 15.33
user 14.93
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits sctable="SC_DATA" expcube=/scratch/kocevski/525197/ltcube_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.fits outfile=/scratch/kocevski/525197/expmap_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.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/525197/ltcube_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.fits
.....................!
real 192.53
user 187.43
sys 4.61

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/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits scfile=/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits outfile=/scratch/kocevski/525197/cmap_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits scfile=/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits outfile=/scratch/kocevski/525197/cmap_HighResolution_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.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.58
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits evtable="EVENTS" scfile=/scratch/kocevski/525197/ft2_4FGL_J1106.5-3646_daily_bin203.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/525197/Model_4FGL_J1106.5-3646_daily_bin203.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/525197/ft1_filtered_4FGL_J1106.5-3646_daily_bin203.fits.....................!
real 91.28
user 89.63
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.003       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.8086       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.162       1.0000         .10000E-03   10000.    
    11 'norm      '    32.366       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2705       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.3151       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5061       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80741       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=   8343.326     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     1867 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0425        .34001E-06** at limit **
   2  norm          .10000E-03    4.7797       -.97920E-06** at limit **
   3  norm          .10000E-03    7.8717       -.79364E-06** at limit **
   4  Prefactor     .10000E-03    5.2632        .14833E-06** at limit **
   5  norm          .10000E-03    2.5374        .23999E-07** at limit **
   6  Prefactor     .10000E-03    1.2430       -.23111E-07** at limit **
   7  Prefactor     14.003        11.442        .74177E-06   -.32792E-03
   8  Prefactor     .10000E-03    2.9619       -.34080E-07** at limit **
   9  norm          7.8087        2.9535        .56086E-07   -.58674E-04
  10  Prefactor     13.161        12.293        .25070E-08   -.35632E-04
  11  norm          32.366        25.264       -.24456E-06   -.56944E-04
  12  Prefactor     .10000E-03    17.583       -.20601E-05** at limit **
  13  Prefactor     1.2719        15.159        .15454E-05   -.11397E-03
  14  Prefactor     .10000E-03    11.653       -.42301E-06** at limit **
  15  norm          .10000E-03    12.980        .12777E-05** at limit **
  16  Prefactor     .10000E-03    8.3696       -.15706E-05** at limit **
  17  norm          6.3151        5.5211        .11462E-05   -.95155E-03
  18  Prefactor     .10000E-03    6.2906        .18079E-05** at limit **
  19  norm          .10000E-03    13.756        .19768E-05** at limit **
  20  Normalizat    1.5060        .22799       -.46666E-06    .15092E-04
  21  Prefactor     .80744        .89648E-01   -.96538E-07    .49806E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0027
  Prefactor  = 0.0001
  norm       = 7.80874
  Prefactor  = 13.1612
  norm       = 32.3657
  Prefactor  = 0.000100001
  Prefactor  = 1.27191
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.31507
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Normalizat = 1.50598
  Prefactor  = 0.807444
 **********
 **   18 **HESSE 
 **********

 FCN=   8343.326     FROM HESSE     STATUS=OK           311 CALLS     2178 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0641        .17962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.9107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.1646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.2767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.6387        .28407E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.2493        .99410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.003        11.718        .53518E-03   -1.4959    
   8  Prefactor     .10000E-03    2.9728        .15352E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.8087        2.9524        .90462E-04   -1.5149    
  10  Prefactor     13.161        12.290        .11041E-03   -1.4982    
  11  norm          32.366        25.334        .70432E-04   -1.4570    
  12  Prefactor     .10000E-03    18.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2719        15.737        .39474E-03   -1.5482    
  14  Prefactor     .10000E-03    11.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    13.144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.6401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.3151        6.0664        .79864E-03   -1.5205    
  18  Prefactor     .10000E-03    6.6110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    14.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.5060        .27175        .33453E-03   -.77610    
  21  Prefactor     .80744        .10691        .17360E-03   -.99455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26473e-09
Minuit parameter uncertainties:
  1  2.47199e-05
  2  7.2067e-05
  3  6.86744e-05
  4  1.17381e-05
  5  9.41986e-07
  6  9.93425e-07
  7  11.7198
  8  2.08688e-06
  9  2.95249
  10  12.2927
  11  25.3423
  12  0.000300926
  13  8.95045
  14  5.01766e-05
  15  0.000161714
  16  0.000158014
  17  6.067
  18  0.000161382
  19  0.000256817
  20  0.272016
  21  0.106939
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  2.087e-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:  8.074e-01  1.069e-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.506e+00  2.720e-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: 5.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/525197/likelihoodResults_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.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) = 8343.32770213
delta logL = -0.00160023328317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8343.32610154
delta logL = 3.63810613635e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0784       1.0000          .0000       10.000    
     3 'Normalizat'    1.5060       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80742       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8343.326     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      240 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10348E-03    1.1469        .15743E-01** at limit **
   2  Index         1.9683        5.4042        .50000        .52877E-04
   3  Normalizat    1.5060        .34911E-02    .33453E-03   -.52591E-03
   4  Prefactor     .80744        .13858E-02    .17360E-03   -.93214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103479
  Index      = 1.96828
  Normalizat = 1.50598
  Prefactor  = 0.807444
 **********
 **   18 **HESSE 
 **********

 FCN=   8343.326     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      269 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10348E-03    46.998        .16328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9683        8.6340        .50000       -.65146    
   3  Normalizat    1.5060        .22572E-01    .66906E-04   -.77610    
   4  Prefactor     .80744        .89599E-02    .34719E-04   -.99455    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.84214e-07
Minuit parameter uncertainties:
  1  0.0255952
  2  313.704
  3  0.0225726
  4  0.00895992
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/525197': 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) = 8343.32610038
delta logL = 1.52357097249e-06

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.035e-04  2.560e-02  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  1.968e+00  3.137e+02  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:  8.074e-01  8.960e-03  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.506e+00  2.257e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/525197/cmap_HighResolution_291945601_292204801_4FGL_J1106.5-3646_daily_bin203.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2021-09-03 08:41:37.057759', job_id='525197', GAL2='0.81', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1630683697.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.52e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='203' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:41:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 525197: <4FGL_J1106.5-3646_daily_bin203> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin203 166.627 -36.7723 291945601 292204801 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 :                                   771.12 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            919 sec.

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

