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


Performing analysis on: 4FGL_J1106.5-3646_daily_bin365
RA = 166.627, Dec = -36.7723
tmin = 333936001, tmax = 334195201
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='526523', job_status='RUN', time_executed='2021-09-03 08:32:33.207758', time_epoch_executed='1630683153.21' WHERE source_name='4FGL J1106.5-3646' and cadence='daily' and bin_id='365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/526523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/526523/ft1_4FGL_J1106.5-3646_daily_bin365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/526523/ft1_4FGL_J1106.5-3646_daily_bin365.fits outfile=/scratch/kocevski/526523/ft1_filteredMKT_4FGL_J1106.5-3646_daily_bin365.fits ra=166.627 dec=-36.7723 rad=12.0 tmin=333936001.0 tmax=334195201.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.72
user 3.42
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits" evtable="EVENTS" scfile=/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits sctable="SC_DATA" outfile=/scratch/kocevski/526523/ltcube_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.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/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits
.....................!
real 16.46
user 16.09
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits sctable="SC_DATA" expcube=/scratch/kocevski/526523/ltcube_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.fits outfile=/scratch/kocevski/526523/expmap_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.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/526523/ltcube_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.fits
.....................!
real 192.42
user 186.94
sys 5.10

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/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits scfile=/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits outfile=/scratch/kocevski/526523/cmap_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits scfile=/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits outfile=/scratch/kocevski/526523/cmap_HighResolution_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/526523/ft2_4FGL_J1106.5-3646_daily_bin365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/526523/Model_4FGL_J1106.5-3646_daily_bin365.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/526523/ft1_filtered_4FGL_J1106.5-3646_daily_bin365.fits.....................!
real 103.64
user 102.17
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10184E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .53356       1.0000         .10000E-03   10000.    
     3 'norm      '    18.884       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .11005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.7212       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.5048       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0578       1.0000         .10000E-03   10000.    
    11 'norm      '    6.9761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .62830       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 '    7.6675       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5774       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .63820       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1569       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=   10384.72     FROM MIGRAD    STATUS=CONVERGED    437 CALLS     1929 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.9476       -.67883E-06** at limit **
   2  norm          .53355        .71070       -.25958E-06   -.52871E-03
   3  norm          18.885        9.2085        .57286E-07   -.24189E-04
   4  Prefactor     .10000E-03    18.223       -.99153E-05** at limit **
   5  norm          .10000E-03    1.5122        .45869E-06** at limit **
   6  Prefactor     3.7208        3.2161       -.19745E-06   -.52892E-03
   7  Prefactor     .10000E-03    15.805        .13973E-04** at limit **
   8  Prefactor     .10000E-03    6.7795        .25833E-05** at limit **
   9  norm          2.5046        2.0702        .18594E-06    .71490E-04
  10  Prefactor     2.0588        14.109        .25061E-05   -.13023E-04
  11  norm          6.9710        19.580       -.10273E-04   -.12172E-04
  12  Prefactor     .10000E-03    9.7886       -.18552E-05** at limit **
  13  Prefactor     .63778        5.0562       -.25237E-06    .10208E-03
  14  Prefactor     .10000E-03    10.189        .71327E-06** at limit **
  15  norm          .10000E-03    7.1757        .12580E-05** at limit **
  16  Prefactor     7.6678        9.6774        .16762E-07   -.23088E-04
  17  norm          .10000E-03    2.5300       -.51732E-07** at limit **
  18  Prefactor     .10000E-03    7.8652       -.41894E-05** at limit **
  19  norm          3.5776        15.544       -.12008E-06    .98541E-06
  20  Normalizat    .63818        .20938       -.10425E-05   -.16927E-03
  21  Prefactor     1.1569        .87995E-01    .44748E-06   -.48947E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.533546
  norm       = 18.8855
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.72079
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.50464
  Prefactor  = 2.05881
  norm       = 6.97097
  Prefactor  = 0.0001
  Prefactor  = 0.637776
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.66782
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.57762
  Normalizat = 0.638176
  Prefactor  = 1.15686
 **********
 **   18 **HESSE 
 **********

 FCN=   10384.72     FROM HESSE     STATUS=OK           321 CALLS     2250 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.9675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .53355        6.9398        .22814E-02   -1.5562    
   3  norm          18.885        9.1935        .92167E-04   -1.4839    
   4  Prefactor     .10000E-03    18.619        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.3064        .24053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7208        3.1806        .16075E-03   -1.5322    
   7  Prefactor     .10000E-03    15.993        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.0361        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.5046        2.0565        .12496E-03   -1.5391    
  10  Prefactor     2.0588        14.473        .14405E-02   -1.5421    
  11  norm          6.9710        19.601        .15189E-03   -1.5180    
  12  Prefactor     .10000E-03    9.7959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .63778        23.862        .44313E-02   -1.5548    
  14  Prefactor     .10000E-03    10.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.1779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6678        9.6723        .72411E-03   -1.5154    
  17  norm          .10000E-03    2.5842        .15824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.9065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5776        15.552        .21366E-03   -1.5330    
  20  Normalizat    .63818        .22762        .45525E-03   -1.0639    
  21  Prefactor     1.1569        .97798E-01    .14861E-03   -.87669    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50611e-09
Minuit parameter uncertainties:
  1  2.669e-07
  2  3.84868
  3  9.19414
  4  9.72558e-05
  5  5.29755e-05
  6  3.1807
  7  0.000256746
  8  3.25251e-05
  9  2.05657
  10  10.9209
  11  19.6191
  12  1.21495e-06
  13  7.80497
  14  6.92081e-07
  15  3.88399e-07
  16  9.67425
  17  2.69894e-07
  18  4.65742e-06
  19  14.9245
  20  0.227957
  21  0.0978129
Done.

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

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  3.253e-05  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.157e+00  9.781e-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:  6.382e-01  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.627 -36.772
Photon Flux Upper Limit: 5.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/526523/likelihoodResults_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.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) = 10384.721
delta logL = -0.000678681170029

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10384.7203248
delta logL = -3.56232339982e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11416E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1292       1.0000          .0000       10.000    
     3 'Normalizat'    .63766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1571       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=   10384.72     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      214 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.453        .90712E-02** at limit **
   2  Index         2.1541        5.4798        .50000       -.28731E-04
   3  Normalizat    .63818        .10693E-01    .10271        .58123E-04
   4  Prefactor     1.1569        .46082E-02    .35735E-01   -.13030E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15406
  Normalizat = 0.638176
  Prefactor  = 1.15686
 **********
 **   18 **HESSE 
 **********

 FCN=   10384.72     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      249 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    418.84        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1541        5.9111        .50000       -.60552    
   3  Normalizat    .63818        .40238E-01    .45525E-03   -1.0639    
   4  Prefactor     1.1569        .17399E-01    .14861E-03   -.87669    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.41671e-08
Minuit parameter uncertainties:
  1  0.000503171
  2  31.3051
  3  0.0402399
  4  0.0173995
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/526523': 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) = 10384.7203209
delta logL = 3.54211806552e-07

Extracting fit parameters...

4FGL J1106.5-3646
   Spectrum: PowerLaw
327    Prefactor:  1.000e-04  5.032e-04  1.000e-04  1.000e+04 ( 1.000e-13)
328        Index:  2.154e+00  3.131e+01  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.157e+00  1.740e-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:  6.382e-01  4.024e-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/526523/cmap_HighResolution_333936001_334195201_4FGL_J1106.5-3646_daily_bin365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-03', job_status='DONE', photon_flux_upper_limit='5.50e-08', time_completed='2021-09-03 08:47:25.452808', job_id='526523', GAL2='1.16', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1630684045.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='3.54e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.10' WHERE bin_id='365' AND source_name='4FGL J1106.5-3646' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:47:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 526523: <4FGL_J1106.5-3646_daily_bin365> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.5-3646_daily_bin365 166.627 -36.7723 333936001 334195201 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 :                                   889.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             384.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            958 sec.

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

