/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 167 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 = 7404
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1106.0+2813_daily_bin60
RA = 166.502, Dec = 28.2254
tmin = 254880001, tmax = 255139201
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='511564', job_status='RUN', time_executed='2021-09-03 07:50:15.580582', time_epoch_executed='1630680615.58' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='60'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511564

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511564/ft1_4FGL_J1106.0+2813_daily_bin60.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511564/ft1_4FGL_J1106.0+2813_daily_bin60.fits outfile=/scratch/kocevski/511564/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin60.fits ra=166.502 dec=28.2254 rad=12.0 tmin=254880001.0 tmax=255139201.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 1.46
user 1.28
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.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/511564/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin60.fits evtable="EVENTS" outfile="/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.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.54
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits" evtable="EVENTS" scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits sctable="SC_DATA" outfile=/scratch/kocevski/511564/ltcube_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.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/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits
.....................!
real 17.88
user 17.31
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits evtable="EVENTS" scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits sctable="SC_DATA" expcube=/scratch/kocevski/511564/ltcube_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits outfile=/scratch/kocevski/511564/expmap_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.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/511564/ltcube_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits
.....................!
real 191.06
user 184.76
sys 5.28

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/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits outfile=/scratch/kocevski/511564/cmap_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.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.59
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits outfile=/scratch/kocevski/511564/cmap_HighResolution_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.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.62
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits evtable="EVENTS" scfile=/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/511564/Model_4FGL_J1106.0+2813_daily_bin60.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/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits.....................!
real 52.72
user 49.86
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits', '/scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits', expMap='/scratch/kocevski/511564/expmap_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits', expCube='/scratch/kocevski/511564/ltcube_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/511564/Model_4FGL_J1106.0+2813_daily_bin60.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/511564/ft1_filtered_4FGL_J1106.0+2813_daily_bin60.fits
Spacecraft file(s): /scratch/kocevski/511564/ft2_4FGL_J1106.0+2813_daily_bin60.fits
Exposure map: /scratch/kocevski/511564/expmap_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits
Exposure cube: /scratch/kocevski/511564/ltcube_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/511564/Model_4FGL_J1106.0+2813_daily_bin60.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) = 5703.77378358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.111       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.6460       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.139       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.796       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3740       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.4091       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3393       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2167       1.0000         .10000E-03   10000.    
    17 'norm      '    9.4906       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1978       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .43712       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.0918       1.0000         .10000E-03   10000.    
    27 'Prefactor '    42.125       1.0000         .10000E-03   10000.    
    28 'norm      '    1.0461       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .62373       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1738       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=   5703.748     FROM MIGRAD    STATUS=CONVERGED    754 CALLS     3889 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.131        32.122       -.42695E-05    .33269E-05
   2  Prefactor     .10000E-03    13.390       -.70751E-07** at limit **
   3  Prefactor     .10000E-03    1.9111       -.23482E-07** at limit **
   4  Prefactor     6.6490        5.2452        .16501E-07    .23543E-04
   5  Prefactor     .10000E-03    1.6590       -.12496E-06** at limit **
   6  Prefactor     .10000E-03    2.5685       -.43231E-07** at limit **
   7  Prefactor     15.151        23.085       -.13381E-05    .66659E-05
   8  Prefactor     15.803        10.392        .51919E-07    .25837E-04
   9  Prefactor     .10000E-03    7.7108       -.46069E-06** at limit **
  10  Prefactor     .10000E-03    8.6854       -.22787E-06** at limit **
  11  norm          1.3741        .32447        .25124E-08    .69699E-04
  12  Prefactor     4.4095        2.5098        .37203E-07    .79414E-04
  13  Prefactor     9.3381        11.071        .19061E-07   -.75047E-06
  14  Prefactor     .10000E-03    3.5373        .47713E-08** at limit **
  15  norm          .10000E-03    6.6458        .17389E-06** at limit **
  16  Prefactor     4.2176        7.8105        .21476E-05    .22158E-04
  17  norm          9.4886        9.3416       -.73206E-07    .49884E-05
  18  Prefactor     .10000E-03    6.7976        .11201E-06** at limit **
  19  Prefactor     5.1945        2.7328       -.45889E-08    .12850E-04
  20  Prefactor     .10000E-03    36.622       -.23809E-06** at limit **
  21  Prefactor     .10000E-03    9.6763        .33568E-06** at limit **
  22  norm          .10000E-03    .75370       -.17169E-07** at limit **
  23  Prefactor     .10000E-03    4.6895       -.15303E-06** at limit **
  24  Prefactor     .41564        3.3488       -.18034E-06    .20695E-03
  25  Prefactor     .10000E-03    4.7745        .77149E-07** at limit **
  26  Prefactor     3.0921        1.8354        .10513E-07    .11900E-04
  27  Prefactor     42.134        33.747       -.13408E-05   -.10811E-05
  28  norm          1.0465        .95014        .30695E-07    .65873E-04
  29  Normalizat    .62329        .16884       -.30672E-06    .20816E-04
  30  Prefactor     1.1742        .18924        .28163E-06    .12428E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.131
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.64903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1509
  Prefactor  = 15.8032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.37409
  Prefactor  = 4.40949
  Prefactor  = 9.33806
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.2176
  norm       = 9.48864
  Prefactor  = 0.0001
  Prefactor  = 5.19446
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.41564
  Prefactor  = 0.0001
  Prefactor  = 3.0921
  Prefactor  = 42.1338
  norm       = 1.0465
  Normalizat = 0.62329
  Prefactor  = 1.17418
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.748     FROM HESSE     STATUS=OK           592 CALLS     4481 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.131        32.023        .12019E-03   -1.5041    
   2  Prefactor     .10000E-03    13.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.9219        .10195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.6490        5.2402        .14788E-03   -1.5192    
   5  Prefactor     .10000E-03    1.7301        .18933E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.5740        .11815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.151        23.066        .10294E-03   -1.4929    
   8  Prefactor     15.803        10.389        .10077E-03   -1.4913    
   9  Prefactor     .10000E-03    7.7709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.7339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3741        .32510        .20094E-04   -1.5474    
  12  Prefactor     4.4095        2.5072        .86713E-04   -1.5288    
  13  Prefactor     9.3381        11.071        .13114E-03   -1.5097    
  14  Prefactor     .10000E-03    3.5380        .13872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    6.6906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2176        7.8400        .98120E-03   -1.5297    
  17  norm          9.4886        9.3510        .13008E-03   -1.5092    
  18  Prefactor     .10000E-03    6.8626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1945        2.7302        .83424E-04   -1.5252    
  20  Prefactor     .10000E-03    36.674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.7533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .75821        .63979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    4.7022        .15969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .41564        19.923        .23764E-02   -1.5579    
  25  Prefactor     .10000E-03    4.7807        .16115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     3.0921        1.8325        .75740E-04   -1.5356    
  27  Prefactor     42.134        33.952        .61765E-04   -1.4409    
  28  norm          1.0465        .96516        .67860E-04   -1.5503    
  29  Normalizat    .62329        .19988        .27081E-03   -1.0700    
  30  Prefactor     1.1742        .22626        .23972E-03   -.87129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.44701e-10
Minuit parameter uncertainties:
  1  32.0721
  2  9.21396e-07
  3  3.64085e-07
  4  5.24054
  5  3.5149e-06
  6  2.41574e-06
  7  23.0797
  8  10.3897
  9  1.29918e-06
  10  1.0421e-05
  11  0.325098
  12  2.50728
  13  11.0739
  14  8.6238e-08
  15  1.95594e-06
  16  7.84195
  17  9.35241
  18  1.0496e-05
  19  2.73027
  20  2.19122e-06
  21  1.63269e-06
  22  4.11426e-08
  23  1.57439e-06
  24  5.75659
  25  6.17146e-07
  26  1.83252
  27  33.9681
  28  0.965175
  29  0.200111
  30  0.226444
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.409e+00  2.507e+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.174e+00  2.264e-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:  6.233e-01  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.03
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.21e-08 +/- 2.96e-08
Energy Flux (Fixed Index): 1.76e-05 +/- 1.00e-05

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) = 5703.40493828
delta logL = 0.342618195212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5703.40475078
delta logL = 0.342805692053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.6207       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0083       1.0000          .0000       10.000    
     3 'Normalizat'    .63649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1640       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=   5703.405     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      264 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.6134        94.479        .42361E-02    .41086E-04
   2  Index         2.0071        5.8240        .17099        .35558E-04
   3  Normalizat    .63653        .14123        .60614E-01    .25418E-04
   4  Prefactor     1.1641        .14497        .54409E-01    .46880E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.61343
  Index      = 2.00707
  Normalizat = 0.636532
  Prefactor  = 1.16406
 **********
 **   18 **HESSE 
 **********

 FCN=   5703.405     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.6134        3.3151        .99226E-04   -1.5234    
   2  Index         2.0071        .42695        .66430E-02   -.64173    
   3  Normalizat    .63653        .18899        .26814E-03   -1.0645    
   4  Prefactor     1.1641        .22403        .24056E-03   -.87445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.22766e-13
Minuit parameter uncertainties:
  1  3.31517
  2  0.427763
  3  0.189183
  4  0.224216
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511564': 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) = 5703.40474257
delta logL = 0.342813905492

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  5.613e+00  3.315e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.007e+00  4.278e-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.164e+00  2.242e-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:  6.365e-01  1.892e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.70
Ra Dec: 166.502 28.225
Photon Index (Free Index): 2.01 +/- 0.43
Photon Flux (Free Index): 4.11e-08 +/- 2.76e-08
Energy Flux (Free Index): 2.79e-05 +/- 2.51e-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/511564/cmap_HighResolution_254880001_255139201_4FGL_J1106.0+2813_daily_bin60.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.21e-08', energy_flux2='2.79e-05', photon_flux_error='2.96e-08', dlogl='3.43e-01', energy_flux='1.76e-05', photon_flux2='4.11e-08', job_status='DONE', time_completed='2021-09-03 08:02:02.783717', photon_index_error2='0.43', photon_index2='2.01', ts='7.03', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.51e-05', EG='0.62', time_epoch_completed='1630681322.78', return_code='0', job_id='511564', GAL2='1.16', EG2='0.64', return_code2='0', energy_flux_error='1.00e-05', photon_flux_error2='2.76e-08', ts2='7.70', photon_index='2.37' WHERE bin_id='60' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:02:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 511564: <4FGL_J1106.0+2813_daily_bin60> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin60> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 07:47:00 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 07:47:19 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:47:19 2021
Terminated at Fri Sep  3 08:02:03 2021
Results reported at Fri Sep  3 08:02:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin60 166.502 28.2254 254880001 255139201 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 :                                   703.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            903 sec.

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

