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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin1036
RA = 166.627, Dec = -36.7723
tmin = 507859201, tmax = 508118401
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='530257', job_status='RUN', time_executed='2021-09-03 08:45:07.872564', time_epoch_executed='1630683907.87' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='1036'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530257

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530257/ft1_4FGL_J1106.5-3646_daily_bin1036.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530257/ft1_4FGL_J1106.5-3646_daily_bin1036.fits outfile=/scratch/kocevski/530257/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin1036.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=507859201.0 tmax=508118401.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.27
user 4.02
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.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/530257/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin1036.fits evtable="EVENTS" outfile="/scratch/kocevski/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.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/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits" evtable="EVENTS" scfile=/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits sctable="SC_DATA" outfile=/scratch/kocevski/530257/ltcube_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.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/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits
.....................!
real 17.78
user 17.37
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits sctable="SC_DATA" expcube=/scratch/kocevski/530257/ltcube_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits outfile=/scratch/kocevski/530257/expmap_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.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/530257/ltcube_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits
.....................!
real 192.81
user 187.05
sys 4.59

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/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits scfile=/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits outfile=/scratch/kocevski/530257/cmap_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=166.627 yref=-36.7723 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits evtable="EVENTS" scfile=/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/530257/Model_4FGL_J1106.5-3646_daily_bin1036.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/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits.....................!
real 85.36
user 83.89
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits', '/scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits', expMap='/scratch/kocevski/530257/expmap_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits', expCube='/scratch/kocevski/530257/ltcube_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/530257/Model_4FGL_J1106.5-3646_daily_bin1036.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/530257/ft1_filtered_4FGL_J1106.5-3646_daily_bin1036.fits
Spacecraft file(s): /scratch/kocevski/530257/ft2_4FGL_J1106.5-3646_daily_bin1036.fits
Exposure map: /scratch/kocevski/530257/expmap_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits
Exposure cube: /scratch/kocevski/530257/ltcube_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/530257/Model_4FGL_J1106.5-3646_daily_bin1036.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 8328.50259995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .75412       1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2806       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 '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.2981       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6821       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8848       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8771       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .17557E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1028       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.638       1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95360       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0181       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=   8328.411     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     1909 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75686        8.0203       -.31734E-05   -.10268E-03
   2  norm          .10000E-03    3.1069        .41694E-08** at limit **
   3  norm          1.2789        8.3301        .47748E-05   -.77165E-03
   4  Prefactor     .10000E-03    12.379        .14640E-05** at limit **
   5  norm          .10000E-03    1.0511        .10889E-07** at limit **
   6  Prefactor     .10000E-03    2.5937       -.21628E-07** at limit **
   7  Prefactor     5.2972        9.3010       -.15620E-05   -.98987E-04
   8  Prefactor     4.6863        12.203       -.11564E-04   -.97558E-04
   9  norm          1.8846        1.8076       -.27014E-06   -.75800E-03
  10  Prefactor     .10000E-03    3.6299        .18307E-07** at limit **
  11  norm          .10000E-03    9.3793       -.20864E-05** at limit **
  12  Prefactor     5.8721        31.750        .84452E-05   -.40443E-05
  13  Prefactor     .10000E-03    15.731       -.27207E-05** at limit **
  14  Prefactor     .10000E-03    254.40       -.12366E-04** at limit **
  15  norm          .10000E-03    9.6585       -.30949E-05** at limit **
  16  Prefactor     .10000E-03    9.0765        .25300E-05** at limit **
  17  norm          4.1026        3.6054        .15633E-06    .11267E-03
  18  Prefactor     10.646        11.408       -.10727E-04   -.12517E-04
  19  norm          .10000E-03    10.305        .23162E-05** at limit **
  20  Normalizat    .95357        .22675        .40338E-05    .12377E-03
  21  Prefactor     1.0181        .89620E-01    .21656E-06    .42985E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.756864
  norm       = 0.0001
  norm       = 1.27888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.29719
  Prefactor  = 4.68625
  norm       = 1.88463
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.87212
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.10261
  Prefactor  = 10.6462
  norm       = 0.0001
  Normalizat = 0.953569
  Prefactor  = 1.0181
 **********
 **   18 **HESSE 
 **********

 FCN=   8328.411     FROM HESSE     STATUS=OK           315 CALLS     2224 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75686        33.945        .47051E-02   -1.5534    
   2  norm          .10000E-03    3.1362        .15709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2789        7.7936        .39222E-03   -1.5482    
   4  Prefactor     .10000E-03    12.479        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.0560        .91354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.6443        .14322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.2972        9.3375        .17461E-03   -1.5248    
   8  Prefactor     4.6863        12.339        .18598E-03   -1.5275    
   9  norm          1.8846        1.8001        .11533E-03   -1.5433    
  10  Prefactor     .10000E-03    3.6425        .16980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.4008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8721        31.608        .16565E-03   -1.5223    
  13  Prefactor     .10000E-03    15.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    263.30        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.6618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.1569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1026        3.6071        .15765E-03   -1.5303    
  18  Prefactor     10.646        11.439        .12284E-03   -1.5055    
  19  norm          .10000E-03    10.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .95357        .26547        .38510E-03   -.94603    
  21  Prefactor     1.0181        .10580        .15355E-03   -.92129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.28758e-08
Minuit parameter uncertainties:
  1  10.1429
  2  3.27838e-06
  3  6.31513
  4  2.76088e-05
  5  2.03524e-06
  6  4.26013e-06
  7  9.3401
  8  12.3455
  9  1.80019
  10  3.41313e-06
  11  6.25524e-06
  12  27.2695
  13  0.000133853
  14  0.00186836
  15  5.35912e-07
  16  1.02336e-05
  17  3.60733
  18  11.4409
  19  1.32053e-05
  20  0.265833
  21  0.105817
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  4.686e+00  1.235e+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.018e+00  1.058e-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:  9.536e-01  2.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 166.627 -36.772
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/530257/likelihoodResults_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.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) = 8326.60957066
delta logL = 1.80189986109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8326.60935949
delta logL = 1.80211102896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6027       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4086       1.0000          .0000       10.000    
     3 'Normalizat'    .81516       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0460       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=   8326.609     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      301 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6089        11.835        .83705E-02    .81318E-03
   2  Index         3.4071        1.7395        .91087E-01    .25051E-03
   3  Normalizat    .81516        .65389E-01    .93190E-01   -.11613E-04
   4  Prefactor     1.0460        .26603E-01    .40149E-01   -.15083E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.60892
  Index      = 3.40711
  Normalizat = 0.815159
  Prefactor  = 1.04601
 **********
 **   18 **HESSE 
 **********

 FCN=   8326.609     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      332 TOTAL
                     EDM=   .46E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6089        23.716        .62026E-04   -1.5454    
   2  Index         3.4071        2.8486        .33841E-02   -.32423    
   3  Normalizat    .81516        .25916        .41282E-03   -.99509    
   4  Prefactor     1.0460        .10613        .15153E-03   -.91211    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.60773e-07
Minuit parameter uncertainties:
  1  12.3597
  2  3.05599
  3  0.259552
  4  0.106153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530257': 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) = 8326.60935734
delta logL = 1.80211318204

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.609e+00  1.236e+01  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  3.407e+00  3.056e+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.046e+00  1.062e-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:  8.152e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.07
Ra Dec: 166.627 -36.772
Photon Index (Free Index): 3.41 +/- 3.06
Photon Flux (Free Index): 1.35e-07 +/- 7.83e-08
Energy Flux (Free Index): 2.30e-05 +/- 2.55e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/530257/cmap_HighResolution_507859201_508118401_4FGL_J1106.5-3646_daily_bin1036.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.58e-03', comment='SUCCESS', energy_flux2='2.30e-05', dlogl='1.80e+00', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-03 08:58:18.976103', photon_index_error2='3.06', photon_index2='3.41', ts='0.16', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='2.55e-05', EG='0.95', time_epoch_completed='1630684698.98', return_code='0', job_id='530257', GAL2='1.05', EG2='0.82', return_code2='102', photon_flux_error2='7.83e-08', ts2='4.07', photon_index='2.10' WHERE bin_id='1036' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:58:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 530257: <4FGL_J1106.5-3646_daily_bin1036> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin1036 166.627 -36.7723 507859201 508118401 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 :                                   775.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            952 sec.

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

