/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 6 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 5262
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1106.0+2813_daily_bin73
RA = 166.502, Dec = 28.2254
tmin = 258249601, tmax = 258508801
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='511579', job_status='RUN', time_executed='2021-09-03 07:47:38.077119', time_epoch_executed='1630680458.08' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='73'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/511579

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

Retrieving the FT1 file...

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

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

Retrieving 33 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/511579/ft1_4FGL_J1106.0+2813_daily_bin73.fits


Retrieving the FT1 file...

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

Retrieving 33 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/511579/ft1_4FGL_J1106.0+2813_daily_bin73.fits outfile=/scratch/kocevski/511579/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin73.fits ra=166.502 dec=28.2254 rad=12.0 tmin=258249601.0 tmax=258508801.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.21
user 1.01
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/511579/ft1_filtered_4FGL_J1106.0+2813_daily_bin73.fits" evtable="EVENTS" scfile=/scratch/kocevski/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits sctable="SC_DATA" outfile=/scratch/kocevski/511579/ltcube_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.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/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits
.....................!
real 13.52
user 13.14
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/511579/ft1_filtered_4FGL_J1106.0+2813_daily_bin73.fits evtable="EVENTS" scfile=/scratch/kocevski/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits sctable="SC_DATA" expcube=/scratch/kocevski/511579/ltcube_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.fits outfile=/scratch/kocevski/511579/expmap_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.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/511579/ltcube_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.fits
.....................!
real 194.26
user 188.54
sys 4.86

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/511579/ft1_filtered_4FGL_J1106.0+2813_daily_bin73.fits scfile=/scratch/kocevski/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits outfile=/scratch/kocevski/511579/cmap_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/511579/ft1_filtered_4FGL_J1106.0+2813_daily_bin73.fits scfile=/scratch/kocevski/511579/ft2_4FGL_J1106.0+2813_daily_bin73.fits outfile=/scratch/kocevski/511579/cmap_HighResolution_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.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.67
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    188.02       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.7204       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.884       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .67279E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.413       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2077       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7989       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.7277       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.037       1.0000         .10000E-03   10000.    
    17 'norm      '    3.7798       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.064       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.5170       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.8715       1.0000         .10000E-03   10000.    
    22 'norm      '    5.9890       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.3527       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    38.220       1.0000         .10000E-03   10000.    
    28 'norm      '    5.7183       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .71245       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0041       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=   3594.771     FROM MIGRAD    STATUS=CONVERGED    765 CALLS     4003 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     188.10        100.47        .19400E-05    .23645E-03
   2  Prefactor     .10000E-03    44.240        .28633E-06** at limit **
   3  Prefactor     7.7202        8.0133        .32791E-06   -.22781E-04
   4  Prefactor     .10000E-03    7.8299       -.31841E-06** at limit **
   5  Prefactor     .10000E-03    1.2308       -.77073E-07** at limit **
   6  Prefactor     14.885        14.515        .10857E-05   -.22666E-03
   7  Prefactor     .10000E-03    20.694       -.50167E-07** at limit **
   8  Prefactor     .10022E-03    14.922        .72990E-06** at limit **
   9  Prefactor     .10000E-03    4.3464       -.29246E-07** at limit **
  10  Prefactor     15.414        17.562        .24149E-06   -.81202E-04
  11  norm          1.2077        .39998       -.27551E-07    .96921E-04
  12  Prefactor     1.7989        2.2107        .44564E-07   -.36421E-04
  13  Prefactor     .10000E-03    36.570       -.24161E-05** at limit **
  14  Prefactor     .10000E-03    7.0314       -.86395E-07** at limit **
  15  norm          4.7276        15.939        .79737E-05   -.75310E-04
  16  Prefactor     18.036        12.956        .13363E-06   -.21052E-04
  17  norm          3.7806        11.910        .84054E-06   -.94118E-05
  18  Prefactor     32.067        19.592        .17590E-06   -.61398E-05
  19  Prefactor     1.5170        2.2278       -.13281E-06   -.91307E-04
  20  Prefactor     .10000E-03    71.951       -.61485E-06** at limit **
  21  Prefactor     6.8719        18.572        .27931E-06   -.62480E-05
  22  norm          5.9893        3.6455       -.57812E-07   -.23367E-05
  23  Prefactor     .10000E-03    5.6376       -.26931E-07** at limit **
  24  Prefactor     3.3527        4.5211        .11268E-06    .10495E-03
  25  Prefactor     .10000E-03    12.460       -.93372E-07** at limit **
  26  Prefactor     .10000E-03    1.6722       -.25593E-06** at limit **
  27  Prefactor     38.231        39.252        .57535E-06    .57778E-04
  28  norm          5.7182        2.4363       -.43412E-08    .45619E-04
  29  Normalizat    .71254        .23200       -.27667E-05    .18482E-04
  30  Prefactor     1.0040        .25074        .10937E-05   -.60705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 188.095
  Prefactor  = 0.0001
  Prefactor  = 7.72022
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8847
  Prefactor  = 0.0001
  Prefactor  = 0.000100223
  Prefactor  = 0.0001
  Prefactor  = 15.414
  norm       = 1.20771
  Prefactor  = 1.79885
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 4.72762
  Prefactor  = 18.0361
  norm       = 3.78056
  Prefactor  = 32.067
  Prefactor  = 1.51704
  Prefactor  = 0.0001
  Prefactor  = 6.87189
  norm       = 5.98929
  Prefactor  = 0.0001
  Prefactor  = 3.3527
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 38.2309
  norm       = 5.71824
  Normalizat = 0.712539
  Prefactor  = 1.00402
 **********
 **   18 **HESSE 
 **********

 FCN=   3594.771     FROM HESSE     STATUS=OK           592 CALLS     4595 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     188.10        101.99        .14725E-03   -1.2956    
   2  Prefactor     .10000E-03    44.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.7202        8.0040        .14432E-03   -1.5152    
   4  Prefactor     .10000E-03    8.0155        .32732E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.2433        .64884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.885        13.152        .10382E-03   -1.4936    
   7  Prefactor     .10000E-03    20.740        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10022E-03    67.937        .38818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.3498        .12207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.414        17.509        .10202E-03   -1.4923    
  11  norm          1.2077        .40035        .21073E-04   -1.5488    
  12  Prefactor     1.7989        2.1996        .95417E-04   -1.5440    
  13  Prefactor     .10000E-03    38.297        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.0352        .15528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.7276        15.912        .92530E-03   -1.5273    
  16  Prefactor     18.036        12.952        .94307E-04   -1.4858    
  17  norm          3.7806        11.889        .20764E-03   -1.5319    
  18  Prefactor     32.067        19.590        .70762E-04   -1.4575    
  19  Prefactor     1.5170        2.1931        .10349E-03   -1.5462    
  20  Prefactor     .10000E-03    72.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.8719        18.554        .15305E-03   -1.5184    
  22  norm          5.9893        3.6369        .85678E-04   -1.5218    
  23  Prefactor     .10000E-03    5.6418        .13900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.3527        4.5093        .14270E-03   -1.5342    
  25  Prefactor     .10000E-03    12.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    3.0701        .14943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     38.231        39.251        .64831E-04   -1.4471    
  28  norm          5.7182        2.4369        .29426E-03   -1.5230    
  29  Normalizat    .71254        .25828        .26703E-03   -1.0340    
  30  Prefactor     1.0040        .28277        .26622E-03   -.92596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82531e-09
Minuit parameter uncertainties:
  1  102.081
  2  0.000215721
  3  8.0051
  4  3.43489e-06
  5  9.2368e-07
  6  13.1542
  7  4.73152e-07
  8  0.00779186
  9  6.34293e-07
  10  17.5147
  11  0.400347
  12  2.19974
  13  0.000542548
  14  2.5257e-06
  15  15.9258
  16  12.9535
  17  11.8969
  18  19.5935
  19  2.1932
  20  0.000310156
  21  18.5698
  22  3.637
  23  7.35836e-07
  24  4.50971
  25  1.81791e-05
  26  7.58447e-05
  27  39.2774
  28  2.43698
  29  0.258718
  30  0.283192
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.799e+00  2.200e+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.004e+00  2.832e-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:  7.125e-01  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 2.12e-08 +/- 2.60e-08
Energy Flux (Fixed Index): 7.20e-06 +/- 8.80e-06

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

Saving results to:
/scratch/kocevski/511579/likelihoodResults_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.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) = 3594.689458
delta logL = 0.0817869946609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3594.68498388
delta logL = 0.0862611091356

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9994       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8989       1.0000          .0000       10.000    
     3 'Normalizat'    .72551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99457       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=   3594.685     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      190 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9985        2.4620        .73227E-02   -.28835E-04
   2  Index         1.8977        1.0109        .26406E-01   -.30201E-03
   3  Normalizat    .72557        .21158        .42630E-01    .56682E-05
   4  Prefactor     .99450        .24722        .46199E-01    .78562E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.99853
  Index      = 1.89772
  Normalizat = 0.725568
  Prefactor  = 0.994505
 **********
 **   18 **HESSE 
 **********

 FCN=   3594.685     FROM HESSE     STATUS=OK            31 CALLS      221 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9985        2.4652        .10168E-03   -1.5425    
   2  Index         1.8977        1.0173        .52811E-02   -.66932    
   3  Normalizat    .72557        .24037        .26471E-03   -1.0289    
   4  Prefactor     .99450        .28095        .26725E-03   -.92913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04015e-12
Minuit parameter uncertainties:
  1  2.46533
  2  1.02904
  3  0.240722
  4  0.281369
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/511579': 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) = 3594.68498322
delta logL = 0.086261770608

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.999e+00  2.465e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  1.898e+00  1.029e+00  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:  9.945e-01  2.814e-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:  7.256e-01  2.407e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 166.502 28.225
Photon Index (Free Index): 1.90 +/- 1.03
Photon Flux (Free Index): 1.30e-08 +/- 2.21e-08
Energy Flux (Free Index): 1.17e-05 +/- 2.41e-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/511579/cmap_HighResolution_258249601_258508801_4FGL_J1106.0+2813_daily_bin73.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.70e-03', comment='SUCCESS', photon_flux='2.12e-08', energy_flux2='1.17e-05', photon_flux_error='2.60e-08', dlogl='8.63e-02', energy_flux='7.20e-06', photon_flux2='1.30e-08', job_status='DONE', time_completed='2021-09-03 07:58:09.254278', photon_index_error2='1.03', photon_index2='1.90', ts='1.47', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='9.98e-08', energy_flux_error2='2.41e-05', EG='0.71', time_epoch_completed='1630681089.25', return_code='0', job_id='511579', GAL2='0.99', EG2='0.73', return_code2='0', energy_flux_error='8.80e-06', photon_flux_error2='2.21e-08', ts2='1.64', photon_index='2.37' WHERE bin_id='73' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 07:58:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 511579: <4FGL_J1106.0+2813_daily_bin73> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin73 166.502 28.2254 258249601 258508801 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 :                                   626.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            667 sec.

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

