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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin307
RA = 166.627, Dec = -36.7723
tmin = 318902401, tmax = 319161601
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='526434', job_status='RUN', time_executed='2021-09-03 08:33:31.420280', time_epoch_executed='1630683211.42' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526434/ft1_4FGL_J1106.5-3646_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526434/ft1_4FGL_J1106.5-3646_daily_bin307.fits outfile=/scratch/kocevski/526434/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin307.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=318902401.0 tmax=319161601.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.50
user 3.24
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/526434/ltcube_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.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/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits
.....................!
real 17.50
user 17.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/526434/ltcube_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.fits outfile=/scratch/kocevski/526434/expmap_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.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/526434/ltcube_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.fits
.....................!
real 191.93
user 186.89
sys 4.27

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Added 191 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

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

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits scfile=/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits outfile=/scratch/kocevski/526434/cmap_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits scfile=/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits outfile=/scratch/kocevski/526434/cmap_HighResolution_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/526434/ft2_4FGL_J1106.5-3646_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526434/Model_4FGL_J1106.5-3646_daily_bin307.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/526434/ft1_filtered_4FGL_J1106.5-3646_daily_bin307.fits.....................!
real 76.98
user 74.33
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.4152       1.0000         .10000E-03   10000.    
     3 'norm      '    16.045       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.3106       1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.7706       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 '    .91291       1.0000         .10000E-03   10000.    
    17 'norm      '    14.613       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    37.698       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0449       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=   6940.605     FROM MIGRAD    STATUS=CONVERGED    430 CALLS     1856 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.7354       -.14005E-06** at limit **
   2  norm          2.4155        10.253        .71567E-05    .22233E-04
   3  norm          16.045        9.8409        .75441E-07    .19765E-04
   4  Prefactor     .10000E-03    10.030       -.50185E-06** at limit **
   5  norm          .10000E-03    2.0879        .49510E-07** at limit **
   6  Prefactor     .10000E-03    2.8777        .80171E-07** at limit **
   7  Prefactor     .10000E-03    24.040       -.21363E-06** at limit **
   8  Prefactor     5.3091        11.772        .36140E-06    .71704E-06
   9  norm          .10000E-03    1.1517        .45933E-07** at limit **
  10  Prefactor     .10000E-03    5.7372        .18993E-06** at limit **
  11  norm          .10000E-03    9.4856        .43821E-06** at limit **
  12  Prefactor     .10000E-03    19.568        .51802E-06** at limit **
  13  Prefactor     1.7393        54.903        .56635E-05   -.46426E-04
  14  Prefactor     .10000E-03    24.356       -.51917E-06** at limit **
  15  norm          .10000E-03    11.894        .50814E-07** at limit **
  16  Prefactor     .89575        8.0415       -.27741E-06   -.73451E-05
  17  norm          14.613        9.3165        .12301E-06   -.16932E-04
  18  Prefactor     .10000E-03    22.782       -.18811E-06** at limit **
  19  norm          37.702        25.755       -.27577E-06   -.15017E-05
  20  Normalizat    1.3093        .28535        .14544E-05   -.61733E-04
  21  Prefactor     1.0449        .11116       -.12470E-05   -.17950E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 2.41548
  norm       = 16.0451
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.30912
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.7393
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.895754
  norm       = 14.6125
  Prefactor  = 0.0001
  norm       = 37.7016
  Normalizat = 1.30928
  Prefactor  = 1.0449
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.605     FROM HESSE     STATUS=OK           311 CALLS     2167 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.7468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.4155        10.299        .13170E-02   -1.5397    
   3  norm          16.045        9.8475        .99990E-04   -1.4907    
   4  Prefactor     .10000E-03    10.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.1063        .11754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.9304        .13797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    24.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.3091        11.769        .17440E-03   -1.5247    
   9  norm          .10000E-03    1.1651        .87260E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.7524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.5012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.511        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7393        55.422        .31470E-03   -1.5444    
  14  Prefactor     .10000E-03    24.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    11.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .89575        39.146        .44769E-02   -1.5519    
  17  norm          14.613        9.2747        .10478E-03   -1.4943    
  18  Prefactor     .10000E-03    22.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          37.702        25.760        .65277E-04   -1.4479    
  20  Normalizat    1.3093        .33035        .39324E-03   -.83290    
  21  Prefactor     1.0449        .12944        .17011E-03   -.91248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56847e-08
Minuit parameter uncertainties:
  1  4.18347e-06
  2  9.97804
  3  9.84844
  4  1.68376e-05
  5  3.32636e-06
  6  5.09466e-06
  7  9.0983e-05
  8  11.7743
  9  3.30897e-06
  10  2.53069e-06
  11  1.27252e-06
  12  0.000154849
  13  19.6555
  14  1.52522e-05
  15  1.28336e-06
  16  11.8508
  17  9.27564
  18  2.77429e-05
  19  25.7676
  20  0.330889
  21  0.129483
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  5.309e+00  1.177e+01  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.045e+00  1.295e-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.309e+00  3.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 166.627 -36.772
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526434/likelihoodResults_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.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) = 6940.36922865
delta logL = 0.235629274011

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6940.32815425
delta logL = 0.276703677319

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97142       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3133       1.0000          .0000       10.000    
     3 'Normalizat'    1.2524       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0589       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=   6940.328     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      270 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96429        18.157        .13064E-01    .22038E-02
   2  Index         3.3167        2.1105        .15047        .25827E-03
   3  Normalizat    1.2520        .55219E-01    .90488E-01    .85288E-04
   4  Prefactor     1.0591        .21702E-01    .39416E-01   -.46314E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.964287
  Index      = 3.31669
  Normalizat = 1.252
  Prefactor  = 1.05908
 **********
 **   18 **HESSE 
 **********

 FCN=   6940.328     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      301 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96429        69.581        .97041E-04   -1.5512    
   2  Index         3.3167        6.5784        .52903E-02   -.34337    
   3  Normalizat    1.2520        .28295        .40076E-03   -.85011    
   4  Prefactor     1.0591        .11178        .16907E-03   -.90785    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.77523e-09
Minuit parameter uncertainties:
  1  16.4014
  2  6.9731
  3  0.283302
  4  0.1118
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526434': 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) = 6940.32815215
delta logL = 0.276705775193

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  9.643e-01  1.640e+01  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  3.317e+00  6.973e+00  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.059e+00  1.118e-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.252e+00  2.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
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/526434/cmap_HighResolution_318902401_319161601_4FGL_J1106.5-3646_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-03 08:44:57.205187', job_id='526434', GAL2='1.06', fit_tolerance='1e-08', EG2='1.25', EG='1.31', time_epoch_completed='1630683897.21', return_code2='102', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.77e-01', ts2='0.82', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='307' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:44:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 526434: <4FGL_J1106.5-3646_daily_bin307> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin307> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 08:31:21 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:31:40 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:31:40 2021
Terminated at Fri Sep  3 08:44:58 2021
Results reported at Fri Sep  3 08:44:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin307 166.627 -36.7723 318902401 319161601 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 :                                   682.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            817 sec.

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

