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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin504
RA = 166.502, Dec = 28.2254
tmin = 369964801, tmax = 370224001
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='514744', job_status='RUN', time_executed='2021-09-03 07:56:50.521335', time_epoch_executed='1630681010.52' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='504'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514744

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514744/ft1_4FGL_J1106.0+2813_daily_bin504.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514744/ft1_4FGL_J1106.0+2813_daily_bin504.fits outfile=/scratch/kocevski/514744/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin504.fits ra=166.502 dec=28.2254 rad=12.0 tmin=369964801.0 tmax=370224001.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 7.65
user 7.37
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.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/514744/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin504.fits evtable="EVENTS" outfile="/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits" evtable="EVENTS" scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits sctable="SC_DATA" outfile=/scratch/kocevski/514744/ltcube_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.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/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits
.....................!
real 11.65
user 11.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits sctable="SC_DATA" expcube=/scratch/kocevski/514744/ltcube_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits outfile=/scratch/kocevski/514744/expmap_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.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/514744/ltcube_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits
.....................!
real 189.63
user 184.83
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
Added 178 point sources and 0 extended sources

Setting source of interest to:
4FGL J1106.0+2813 @ 166.502 28.2254

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits outfile=/scratch/kocevski/514744/cmap_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.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.502 yref=28.2254 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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits outfile=/scratch/kocevski/514744/cmap_HighResolution_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.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.502 yref=28.2254 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits evtable="EVENTS" scfile=/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/514744/Model_4FGL_J1106.0+2813_daily_bin504.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 GAL_V02
Working on...
/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits.....................!
real 55.56
user 54.05
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits', '/scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits', expMap='/scratch/kocevski/514744/expmap_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits', expCube='/scratch/kocevski/514744/ltcube_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/514744/Model_4FGL_J1106.0+2813_daily_bin504.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.0+2813'

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.558e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/514744/ft1_filtered_4FGL_J1106.0+2813_daily_bin504.fits
Spacecraft file(s): /scratch/kocevski/514744/ft2_4FGL_J1106.0+2813_daily_bin504.fits
Exposure map: /scratch/kocevski/514744/expmap_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits
Exposure cube: /scratch/kocevski/514744/ltcube_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/514744/Model_4FGL_J1106.0+2813_daily_bin504.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) = 6357.97843974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .35652       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4637       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5205       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7767       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8690       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.4719       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4754       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.714       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3481       1.0000         .10000E-03   10000.    
    15 'norm      '    .59395E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.3710       1.0000         .10000E-03   10000.    
    17 'norm      '    7.0753       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.6269       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.5398       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.5717       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.3037       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.4318       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    3.5460       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .88725       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.2226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6357.976     FROM MIGRAD    STATUS=CONVERGED    785 CALLS     4614 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.379       -.12084E-05** at limit **
   2  Prefactor     .10000E-03    20.728       -.66580E-06** at limit **
   3  Prefactor     .10000E-03    2.5305        .15364E-07** at limit **
   4  Prefactor     .39228        4.3803        .84860E-06   -.50382E-03
   5  Prefactor     1.4632        2.1130        .60404E-08   -.42944E-03
   6  Prefactor     2.5155        11.168       -.63550E-08   -.17880E-03
   7  Prefactor     .10000E-03    7.0768        .17142E-07** at limit **
   8  Prefactor     5.7797        10.958       -.24119E-06   -.95928E-04
   9  Prefactor     5.8699        6.4670        .92427E-06   -.88138E-03
  10  Prefactor     .10000E-03    7.2990       -.42218E-07** at limit **
  11  norm          1.4719        .34953        .16561E-07    .29255E-03
  12  Prefactor     1.4755        1.6679       -.62219E-07   -.15545E-04
  13  Prefactor     26.693        18.030        .17196E-05    .35641E-03
  14  Prefactor     3.3515        16.644       -.42701E-05   -.90747E-04
  15  norm          .10001E-03    13.386       -.73152E-06** at limit **
  16  Prefactor     6.3715        6.2225        .84796E-07   -.94840E-05
  17  norm          7.0764        7.1453       -.90126E-07   -.42717E-04
  18  Prefactor     .10000E-03    7.8043        .33451E-07** at limit **
  19  Prefactor     5.6268        2.5837       -.26210E-07    .13555E-03
  20  Prefactor     .10000E-03    15.239        .30114E-06** at limit **
  21  Prefactor     .10000E-03    28.799        .26822E-07** at limit **
  22  norm          1.5399        1.6242        .59654E-08   -.51894E-05
  23  Prefactor     .10000E-03    10.618       -.34252E-07** at limit **
  24  Prefactor     1.5725        3.9580        .23350E-06   -.25439E-03
  25  Prefactor     9.3073        16.065        .54958E-06    .98599E-05
  26  Prefactor     2.4319        1.6763       -.68554E-08   -.44269E-04
  27  Prefactor     .10000E-03    21.131        .14248E-05** at limit **
  28  norm          3.5463        1.6555        .33269E-08   -.47080E-04
  29  Normalizat    .88708        .18017       -.70399E-06   -.90100E-05
  30  Prefactor     1.2227        .20168        .12375E-06   -.39839E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.392283
  Prefactor  = 1.46316
  Prefactor  = 2.51553
  Prefactor  = 0.0001
  Prefactor  = 5.77966
  Prefactor  = 5.86991
  Prefactor  = 0.0001
  norm       = 1.47191
  Prefactor  = 1.47546
  Prefactor  = 26.6934
  Prefactor  = 3.35154
  norm       = 0.000100013
  Prefactor  = 6.37148
  norm       = 7.07639
  Prefactor  = 0.0001
  Prefactor  = 5.6268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5399
  Prefactor  = 0.0001
  Prefactor  = 1.57247
  Prefactor  = 9.30726
  Prefactor  = 2.43192
  Prefactor  = 0.0001
  norm       = 3.54629
  Normalizat = 0.887083
  Prefactor  = 1.22266
 **********
 **   18 **HESSE 
 **********

 FCN=   6357.976     FROM HESSE     STATUS=OK           604 CALLS     5218 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.5483        .12384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .39228        25.229        .29384E-02   -1.5583    
   5  Prefactor     1.4632        2.0738        .13005E-03   -1.5466    
   6  Prefactor     2.5155        10.527        .25732E-03   -1.5391    
   7  Prefactor     .10000E-03    7.0826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.7797        10.622        .16711E-03   -1.5227    
   9  Prefactor     5.8699        9.1395        .82884E-03   -1.5223    
  10  Prefactor     .10000E-03    7.3116        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4719        .35131        .21151E-04   -1.5465    
  12  Prefactor     1.4755        1.6720        .10510E-03   -1.5465    
  13  Prefactor     26.693        19.309        .77508E-04   -1.4674    
  14  Prefactor     3.3515        17.403        .22118E-03   -1.5342    
  15  norm          .10001E-03    19.107        .75379E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.3715        6.2223        .15902E-03   -1.5203    
  17  norm          7.0764        7.1493        .15081E-03   -1.5176    
  18  Prefactor     .10000E-03    7.9118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.6268        2.5730        .81866E-04   -1.5234    
  20  Prefactor     .10000E-03    15.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    29.833        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.5399        1.6134        .10095E-03   -1.5460    
  23  Prefactor     .10000E-03    10.748        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.5725        4.0237        .24412E-03   -1.5457    
  25  Prefactor     9.3073        16.018        .13139E-03   -1.5098    
  26  Prefactor     2.4319        1.6714        .81505E-04   -1.5396    
  27  Prefactor     .10000E-03    21.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          3.5463        1.6550        .67353E-04   -1.5331    
  29  Normalizat    .88708        .21166        .26309E-03   -.96916    
  30  Prefactor     1.2227        .23860        .27001E-03   -.85637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.52595e-09
Minuit parameter uncertainties:
  1  0.000110959
  2  4.21771e-05
  3  6.32954e-07
  4  6.29382
  5  2.07389
  6  10.2948
  7  2.92724e-08
  8  10.625
  9  9.14169
  10  3.97058e-06
  11  0.351308
  12  1.67207
  13  19.3133
  14  15.2813
  15  0.000978872
  16  6.22295
  17  7.15018
  18  2.96989e-06
  19  2.57302
  20  1.77435e-05
  21  1.84558e-05
  22  1.61344
  23  2.00819e-06
  24  4.02443
  25  16.0254
  26  1.67147
  27  9.44068e-05
  28  1.65503
  29  0.211857
  30  0.238813
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.475e+00  1.672e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.223e+00  2.388e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  8.871e-01  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.08
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 1.74e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 5.91e-06 +/- 6.69e-06

TS (Fixed Index): 2.08
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 7.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/514744/likelihoodResults_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.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) = 6357.17905775
delta logL = 0.796615517064

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6357.17063687
delta logL = 0.805036397964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6851       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4509       1.0000          .0000       10.000    
     3 'Normalizat'    .90166       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2108       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6357.171     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      209 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6852        1.7361        .81102E-02   -.20282E-03
   2  Index         1.4509        .43795        .26421       -.54551E-04
   3  Normalizat    .90166        .16841        .44923E-01    .15350E-04
   4  Prefactor     1.2108        .20014        .61284E-01    .64060E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.6852
  Index      = 1.4509
  Normalizat = 0.901663
  Prefactor  = 1.21075
 **********
 **   18 **HESSE 
 **********

 FCN=   6357.171     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6852        1.9527        .10296E-03   -1.5448    
   2  Index         1.4509        .59588        .95972E-02   -.78924    
   3  Normalizat    .90166        .19861        .26112E-03   -.96402    
   4  Prefactor     1.2108        .23604        .27103E-03   -.86001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38992e-09
Minuit parameter uncertainties:
  1  1.95273
  2  0.598764
  3  0.198768
  4  0.236247
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514744': 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) = 6357.17063687
delta logL = 0.805036400645

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.685e+00  1.953e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  1.451e+00  5.988e-01  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.211e+00  2.362e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  9.017e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 166.502 28.225
Photon Index (Free Index): 1.45 +/- 0.60
Photon Flux (Free Index): 8.00e-09 +/- 9.87e-09
Energy Flux (Free Index): 2.98e-05 +/- 4.98e-05

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/514744/cmap_HighResolution_369964801_370224001_4FGL_J1106.0+2813_daily_bin504.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.85e-03', comment='SUCCESS', photon_flux='1.74e-08', energy_flux2='2.98e-05', photon_flux_error='1.97e-08', dlogl='8.05e-01', energy_flux='5.91e-06', photon_flux2='8.00e-09', job_status='DONE', time_completed='2021-09-03 08:12:44.905053', photon_index_error2='0.60', photon_index2='1.45', ts='2.08', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='7.59e-08', energy_flux_error2='4.98e-05', EG='0.89', time_epoch_completed='1630681964.91', return_code='0', job_id='514744', GAL2='1.21', EG2='0.90', return_code2='0', energy_flux_error='6.69e-06', photon_flux_error2='9.87e-09', ts2='3.70', photon_index='2.37' WHERE bin_id='504' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:12:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 514744: <4FGL_J1106.0+2813_daily_bin504> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin504> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 07:56:23 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 07:56:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 07:56:32 2021
Terminated at Fri Sep  3 08:12:45 2021
Results reported at Fri Sep  3 08:12:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin504 166.502 28.2254 369964801 370224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.0+2813 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   949.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            982 sec.

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

