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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin1305
RA = 166.627, Dec = -36.7723
tmin = 577584001, tmax = 577843201
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='531543', job_status='RUN', time_executed='2021-09-03 08:49:09.384548', time_epoch_executed='1630684149.38' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='1305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/531543

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/531543/ft1_4FGL_J1106.5-3646_daily_bin1305.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/531543/ft1_4FGL_J1106.5-3646_daily_bin1305.fits outfile=/scratch/kocevski/531543/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin1305.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=577584001.0 tmax=577843201.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 2.97
user 2.66
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits" evtable="EVENTS" scfile=/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits sctable="SC_DATA" outfile=/scratch/kocevski/531543/ltcube_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.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/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits
.....................!
real 18.33
user 17.85
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits sctable="SC_DATA" expcube=/scratch/kocevski/531543/ltcube_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.fits outfile=/scratch/kocevski/531543/expmap_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.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/531543/ltcube_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.fits
.....................!
real 192.02
user 186.63
sys 4.47

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/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits scfile=/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits outfile=/scratch/kocevski/531543/cmap_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.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 1.15
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits scfile=/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits outfile=/scratch/kocevski/531543/cmap_HighResolution_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.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.86
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits evtable="EVENTS" scfile=/scratch/kocevski/531543/ft2_4FGL_J1106.5-3646_daily_bin1305.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/531543/Model_4FGL_J1106.5-3646_daily_bin1305.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/531543/ft1_filtered_4FGL_J1106.5-3646_daily_bin1305.fits.....................!
real 45.11
user 41.20
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.379       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.8939       1.0000         .10000E-03   10000.    
     5 'norm      '    3.6892       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.6594       1.0000         .10000E-03   10000.    
     9 'norm      '    14.855       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11618E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    58.283       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2162       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    49.650       1.0000         .10000E-03   10000.    
    17 'norm      '    10.937       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10521E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78743       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94654       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=   2986.642     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2238 TOTAL
                     EDM=   .76E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.379        12.488        .24636E-07   -.49836E-06
   2  norm          .10000E-03    7.6440        .24499E-07** at limit **
   3  norm          .10000E-03    8.2581        .59495E-07** at limit **
   4  Prefactor     5.8952        25.651        .25469E-06   -.12897E-05
   5  norm          3.6894        4.8803        .29009E-07   -.49022E-05
   6  Prefactor     .10000E-03    2.7811        .32307E-08** at limit **
   7  Prefactor     .10000E-03    17.141        .37313E-07** at limit **
   8  Prefactor     3.6585        29.927        .87869E-06    .36231E-06
   9  norm          14.855        7.9577       -.10726E-07   -.50275E-05
  10  Prefactor     .10000E-03    94.879        .19941E-06** at limit **
  11  norm          58.292        70.679       -.17439E-06    .26169E-05
  12  Prefactor     2.2110        377.92        .72146E-05    .16030E-06
  13  Prefactor     .10000E-03    59.166       -.72051E-06** at limit **
  14  Prefactor     .10000E-03    186.75        .76086E-06** at limit **
  15  norm          .10000E-03    35.411        .35759E-08** at limit **
  16  Prefactor     49.638        86.793        .48939E-05    .76733E-05
  17  norm          10.930        89.443       -.16613E-04   -.35461E-06
  18  Prefactor     .10000E-03    550.50        .54960E-06** at limit **
  19  norm          .10000E-03    87.067       -.22149E-06** at limit **
  20  Normalizat    .78726        .41259       -.10681E-06   -.83695E-06
  21  Prefactor     .94661        .15739       -.96402E-07   -.10753E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.3789
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.89523
  norm       = 3.68938
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65847
  norm       = 14.8548
  Prefactor  = 0.0001
  norm       = 58.2918
  Prefactor  = 2.21098
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 49.6383
  norm       = 10.9304
  Prefactor  = 0.000100002
  norm       = 0.0001
  Normalizat = 0.787262
  Prefactor  = 0.94661
 **********
 **   18 **HESSE 
 **********

 FCN=   2986.642     FROM HESSE     STATUS=OK           315 CALLS     2553 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.379        12.498        .11385E-03   -1.5004    
   2  norm          .10000E-03    7.7586        .14754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    8.3017        .15322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.8952        25.238        .16541E-03   -1.5222    
   5  norm          3.6894        4.8381        .12524E-03   -1.5324    
   6  Prefactor     .10000E-03    2.7910        .88942E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    17.284        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6585        29.796        .21116E-03   -1.5325    
   9  norm          14.855        7.9754        .10264E-03   -1.4937    
  10  Prefactor     .10000E-03    97.226        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          58.292        70.773        .52550E-04   -1.4179    
  12  Prefactor     2.2110        378.39        .27626E-03   -1.5411    
  13  Prefactor     .10000E-03    59.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    187.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    35.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     49.638        86.642        .56912E-04   -1.4298    
  17  norm          10.930        89.264        .12114E-03   -1.5047    
  18  Prefactor     .10000E-03    552.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    87.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78726        .48134        .44141E-03   -1.0054    
  21  Prefactor     .94661        .18764        .15747E-03   -.94531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51e-11
Minuit parameter uncertainties:
  1  12.5011
  2  7.14417e-07
  3  1.30831e-07
  4  24.4127
  5  4.83862
  6  3.95669e-07
  7  3.16636e-07
  8  20.8952
  9  7.97596
  10  2.30407e-05
  11  70.8752
  12  58.2247
  13  0.000161699
  14  0.00101119
  15  4.68521e-06
  16  86.8629
  17  62.5998
  18  0.00211679
  19  0.000172765
  20  0.483976
  21  0.187771
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  3.658e+00  2.090e+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:  9.466e-01  1.878e-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:  7.873e-01  4.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/531543/likelihoodResults_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.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) = 2986.57231681
delta logL = 0.0695519167534

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2986.57083655
delta logL = 0.0710321786423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1905       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5749       1.0000          .0000       10.000    
     3 'Normalizat'    .76824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94671       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=   2986.571     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      262 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1873        15.141        .19687E-03    .38869E-03
   2  Index         2.5749        1.2828        .78919E-02    .13770E-03
   3  Normalizat    .76817        .46372        .44639E-03   -.48547E-03
   4  Prefactor     .94674        .18080        .15743E-03   -.13710E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.18732
  Index      = 2.57489
  Normalizat = 0.768171
  Prefactor  = 0.946738
 **********
 **   18 **HESSE 
 **********

 FCN=   2986.571     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1873        13.441        .78749E-05   -1.5299    
   2  Index         2.5749        1.1415        .31568E-03   -.50639    
   3  Normalizat    .76817        .46402        .89277E-04   -1.0126    
   4  Prefactor     .94674        .18079        .31487E-04   -.94527    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20893e-09
Minuit parameter uncertainties:
  1  13.4509
  2  1.15487
  3  0.46643
  4  0.180907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/531543': 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): 0
logL (Free Index) = 2986.57083648
delta logL = 0.0710322476266

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  4.187e+00  1.345e+01  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.575e+00  1.155e+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:  9.467e-01  1.809e-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:  7.682e-01  4.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/531543/cmap_HighResolution_577584001_577843201_4FGL_J1106.5-3646_daily_bin1305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', job_status='DONE', photon_flux_upper_limit='2.33e-07', time_completed='2021-09-03 08:58:16.597081', job_id='531543', GAL2='0.95', fit_tolerance='1e-08', EG2='0.77', EG='0.79', time_epoch_completed='1630684696.6', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='7.10e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='1305' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:58:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 531543: <4FGL_J1106.5-3646_daily_bin1305> in cluster <slac> Done

Job <4FGL_J1106.5-3646_daily_bin1305> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 08:46:26 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:47:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 08:47:34 2021
Terminated at Fri Sep  3 08:58:17 2021
Results reported at Fri Sep  3 08:58:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin1305 166.627 -36.7723 577584001 577843201 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 :                                   493.25 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            711 sec.

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

