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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin468
RA = 166.627, Dec = -36.7723
tmin = 360633601, tmax = 360892801
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='526699', job_status='RUN', time_executed='2021-09-03 08:35:46.364515', time_epoch_executed='1630683346.36' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526699/ft1_4FGL_J1106.5-3646_daily_bin468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526699/ft1_4FGL_J1106.5-3646_daily_bin468.fits outfile=/scratch/kocevski/526699/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin468.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=360633601.0 tmax=360892801.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.39
user 3.18
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.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/526699/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin468.fits evtable="EVENTS" outfile="/scratch/kocevski/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits" evtable="EVENTS" scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits sctable="SC_DATA" outfile=/scratch/kocevski/526699/ltcube_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.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/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits
.....................!
real 17.64
user 17.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits sctable="SC_DATA" expcube=/scratch/kocevski/526699/ltcube_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.fits outfile=/scratch/kocevski/526699/expmap_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.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/526699/ltcube_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.fits
.....................!
real 191.49
user 186.72
sys 4.40

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/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits outfile=/scratch/kocevski/526699/cmap_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.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.64
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits outfile=/scratch/kocevski/526699/cmap_HighResolution_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.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.62
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits evtable="EVENTS" scfile=/scratch/kocevski/526699/ft2_4FGL_J1106.5-3646_daily_bin468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526699/Model_4FGL_J1106.5-3646_daily_bin468.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/526699/ft1_filtered_4FGL_J1106.5-3646_daily_bin468.fits.....................!
real 78.96
user 77.63
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.392       1.0000         .10000E-03   10000.    
     2 'norm      '    4.7342       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7367       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.167       1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1810       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8478       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.2389       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .27366E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.266       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.246       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.576       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .19082E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    8.6947       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1263       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .99371       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=   7094.528     FROM MIGRAD    STATUS=CONVERGED    423 CALLS     2165 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.395        18.020        .74615E-07    .15871E-04
   2  norm          4.7339        5.0588        .11466E-06    .32840E-04
   3  norm          4.7362        8.3202       -.90604E-07    .44635E-04
   4  Prefactor     21.171        18.359        .82287E-06    .12179E-03
   5  norm          .10000E-03    1.2228       -.23951E-07** at limit **
   6  Prefactor     1.1804        3.9023       -.19606E-05   -.49331E-04
   7  Prefactor     8.8510        11.290       -.17237E-05    .68680E-04
   8  Prefactor     .10000E-03    6.2414        .31892E-06** at limit **
   9  norm          3.2397        2.5283       -.13671E-07    .29515E-03
  10  Prefactor     .10001E-03    60.863       -.22066E-04** at limit **
  11  norm          13.271        20.795       -.22098E-07    .27021E-04
  12  Prefactor     .10000E-03    19.656       -.80231E-06** at limit **
  13  Prefactor     13.249        15.954       -.12537E-06   -.16619E-04
  14  Prefactor     53.520        53.127        .37983E-05    .24870E-03
  15  norm          .10000E-03    12.546        .70245E-06** at limit **
  16  Prefactor     .10000E-03    23.377        .26861E-05** at limit **
  17  norm          8.6920        9.6971       -.15752E-06   -.56929E-04
  18  Prefactor     .10000E-03    15.859       -.36974E-06** at limit **
  19  norm          .10000E-03    10.586       -.37211E-06** at limit **
  20  Normalizat    1.1259        .27372        .10391E-05    .25222E-03
  21  Prefactor     .99387        .10536       -.49001E-06   -.23535E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.395
  norm       = 4.73386
  norm       = 4.73619
  Prefactor  = 21.1713
  norm       = 0.0001
  Prefactor  = 1.18037
  Prefactor  = 8.85101
  Prefactor  = 0.0001
  norm       = 3.23971
  Prefactor  = 0.000100007
  norm       = 13.2712
  Prefactor  = 0.0001
  Prefactor  = 13.2486
  Prefactor  = 53.5201
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.69204
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.12591
  Prefactor  = 0.993873
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.528     FROM HESSE     STATUS=OK           319 CALLS     2484 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.395        18.002        .67363E-04   -1.4517    
   2  norm          4.7339        5.0630        .18493E-03   -1.5273    
   3  norm          4.7362        8.2935        .18488E-03   -1.5273    
   4  Prefactor     21.171        18.345        .87059E-04   -1.4787    
   5  norm          .10000E-03    1.2245        .90877E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.1804        3.8662        .28704E-03   -1.5491    
   7  Prefactor     8.8510        11.312        .67376E-03   -1.5113    
   8  Prefactor     .10000E-03    6.2686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.2397        2.5034        .11160E-03   -1.5348    
  10  Prefactor     .10001E-03    61.052        .51933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.271        20.675        .10997E-03   -1.4979    
  12  Prefactor     .10000E-03    19.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.249        15.986        .11006E-03   -1.4980    
  14  Prefactor     53.520        53.871        .27399E-03   -1.4244    
  15  norm          .10000E-03    12.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          8.6920        9.6893        .13594E-03   -1.5118    
  18  Prefactor     .10000E-03    15.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    10.598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1259        .31912        .19981E-02   -.88924    
  21  Prefactor     .99387        .12298        .16583E-03   -.92934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6279e-09
Minuit parameter uncertainties:
  1  18.0045
  2  5.06349
  3  8.29548
  4  18.3494
  5  4.96947e-06
  6  3.86703
  7  11.3148
  8  5.46562e-06
  9  2.50352
  10  0.00132468
  11  20.6857
  12  0.000119951
  13  15.9908
  14  53.9203
  15  9.80021e-05
  16  1.5244e-05
  17  9.69105
  18  3.64326e-05
  19  4.5583e-05
  20  0.319673
  21  0.123018
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  5.466e-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.939e-01  1.230e-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.126e+00  3.197e-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: 9.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526699/likelihoodResults_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.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) = 7094.52899502
delta logL = -0.00076028616877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7094.52823743
delta logL = -2.69018528343e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0979       1.0000          .0000       10.000    
     3 'Normalizat'    1.1258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99377       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=   7094.528     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      245 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10031E-03    114.73        .18142E-02** at limit **
   2  Index         2.0555        5.6545        .50000        .54580E-05
   3  Normalizat    1.1259        .29629E-01    .39962E-03   -.82501E-05
   4  Prefactor     .99388        .11712E-01    .16583E-03   -.17345E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100308
  Index      = 2.05551
  Normalizat = 1.1259
  Prefactor  = 0.993877
 **********
 **   18 **HESSE 
 **********

 FCN=   7094.528     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10031E-03    623.61        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0555        8.6090        .50000       -.62969    
   3  Normalizat    1.1259        .79108E-01    .15985E-04   -.88924    
   4  Prefactor     .99388        .31022E-01    .66331E-05   -.92934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.43132e-08
Minuit parameter uncertainties:
  1  0.0280061
  2  1669.09
  3  0.0791161
  4  0.0310223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526699': 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) = 7094.52823468
delta logL = 5.31053956365e-08

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.003e-04  2.801e-02  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.056e+00  1.669e+03  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.939e-01  3.102e-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.126e+00  7.912e-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/526699/cmap_HighResolution_360633601_360892801_4FGL_J1106.5-3646_daily_bin468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.16e-03', job_status='DONE', photon_flux_upper_limit='9.47e-08', time_completed='2021-09-03 08:47:54.149254', job_id='526699', GAL2='0.99', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1630684074.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.31e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='468' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:47:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 526699: <4FGL_J1106.5-3646_daily_bin468> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin468> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 08:31:41 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:33:28 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:33:28 2021
Terminated at Fri Sep  3 08:47:55 2021
Results reported at Fri Sep  3 08:47:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin468 166.627 -36.7723 360633601 360892801 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 :                                   724.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             303.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            974 sec.

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

