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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1527
RA = 166.502, Dec = 28.2254
tmin = 635126401, tmax = 635385601
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='522194', job_status='RUN', time_executed='2021-09-03 08:22:15.034793', time_epoch_executed='1630682535.03' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1527'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/522194

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/522194/ft1_4FGL_J1106.0+2813_daily_bin1527.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/522194/ft2_4FGL_J1106.0+2813_daily_bin1527.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/522194/ft1_4FGL_J1106.0+2813_daily_bin1527.fits outfile=/scratch/kocevski/522194/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1527.fits ra=166.502 dec=28.2254 rad=12.0 tmin=635126401.0 tmax=635385601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.98
user 2.76
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/522194/ft2_4FGL_J1106.0+2813_daily_bin1527.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/522194/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1527.fits evtable="EVENTS" outfile="/scratch/kocevski/522194/ft1_filtered_4FGL_J1106.0+2813_daily_bin1527.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.34
sys 0.17

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/522194/ft1_filtered_4FGL_J1106.0+2813_daily_bin1527.fits evtable="EVENTS" scfile=/scratch/kocevski/522194/ft2_4FGL_J1106.0+2813_daily_bin1527.fits sctable="SC_DATA" expcube=/scratch/kocevski/522194/ltcube_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.fits outfile=/scratch/kocevski/522194/expmap_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.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/522194/ltcube_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.fits
.....................!
real 193.79
user 188.56
sys 4.84

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/522194/ft1_filtered_4FGL_J1106.0+2813_daily_bin1527.fits scfile=/scratch/kocevski/522194/ft2_4FGL_J1106.0+2813_daily_bin1527.fits outfile=/scratch/kocevski/522194/cmap_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/522194/ft1_filtered_4FGL_J1106.0+2813_daily_bin1527.fits scfile=/scratch/kocevski/522194/ft2_4FGL_J1106.0+2813_daily_bin1527.fits outfile=/scratch/kocevski/522194/cmap_HighResolution_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13553E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13353E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10690E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    92.342       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11053E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    139.45       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    70.318       1.0000         .10000E-03   10000.    
     9 'Prefactor '    67.416       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11364E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9811       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.336       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11117E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.461       1.0000         .10000E-03   10000.    
    15 'norm      '    50.947       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.252       1.0000         .10000E-03   10000.    
    17 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.6582       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10765E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.1970       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    10.639       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.6413       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=   708.5224     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     4550 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6235.3       -.23722E-05** at limit **
   2  Prefactor     .10000E-03    690.32        .29224E-06** at limit **
   3  Prefactor     .10000E-03    100.86        .78954E-07** at limit **
   4  Prefactor     92.274        395.82       -.47354E-06   -.51890E-05
   5  Prefactor     .10000E-03    123.32       -.56470E-06** at limit **
   6  Prefactor     139.45        347.91        .17413E-05   -.12824E-04
   7  Prefactor     .10000E-03    232.59        .90746E-07** at limit **
   8  Prefactor     70.356        224.55        .32537E-06   -.80258E-05
   9  Prefactor     67.394        181.68        .10136E-05   -.98640E-05
  10  Prefactor     .10000E-03    264.51        .14188E-05** at limit **
  11  norm          1.9808        1.8254        .15079E-06   -.27318E-03
  12  Prefactor     15.337        23.731       -.10956E-06   -.21209E-04
  13  Prefactor     .10000E-03    171.52        .23566E-06** at limit **
  14  Prefactor     33.452        111.02       -.30561E-05    .28013E-04
  15  norm          50.966        78.599       -.15278E-05    .96341E-05
  16  Prefactor     23.230        60.055       -.41282E-05    .34548E-04
  17  norm          .10000E-03    94.451        .38944E-07** at limit **
  18  Prefactor     .10003E-03    932.48        .56447E-05** at limit **
  19  Prefactor     .10000E-03    3.7536        .60081E-07** at limit **
  20  Prefactor     .10000E-03    44.890        .25084E-07** at limit **
  21  Prefactor     .10000E-03    17.647        .64691E-08** at limit **
  22  norm          .10000E-03    2.7804        .18040E-07** at limit **
  23  Prefactor     .10000E-03    28.023        .41717E-07** at limit **
  24  Prefactor     3.6566        12.978        .56353E-06   -.57289E-04
  25  Prefactor     .10000E-03    100.64        .14466E-06** at limit **
  26  Prefactor     1.1968        4.2591        .38809E-06   -.87289E-04
  27  Prefactor     .10000E-03    31.886       -.72492E-08** at limit **
  28  norm          10.639        4.6151        .42576E-07   -.26215E-03
  29  Normalizat    .10000E-01    .27638        .61245E-05** at limit **
  30  Prefactor     1.6413        .45963       -.30134E-05   -.33596E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 92.2741
  Prefactor  = 0.0001
  Prefactor  = 139.455
  Prefactor  = 0.0001
  Prefactor  = 70.3556
  Prefactor  = 67.3937
  Prefactor  = 0.0001
  norm       = 1.98078
  Prefactor  = 15.337
  Prefactor  = 0.0001
  Prefactor  = 33.4518
  norm       = 50.9661
  Prefactor  = 23.2302
  norm       = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65662
  Prefactor  = 0.0001
  Prefactor  = 1.19685
  Prefactor  = 0.0001
  norm       = 10.6386
  Normalizat = 0.01
  Prefactor  = 1.64132
 **********
 **   18 **HESSE 
 **********

 FCN=   708.5224     FROM HESSE     STATUS=OK           570 CALLS     5120 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    6235.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    690.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    100.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     92.274        397.22        .20910E-03   -1.3784    
   5  Prefactor     .10000E-03    123.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     139.45        348.30        .34112E-04   -1.3341    
   7  Prefactor     .10000E-03    232.62        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     70.356        225.18        .47871E-04   -1.4028    
   9  Prefactor     67.394        182.53        .48883E-04   -1.4064    
  10  Prefactor     .10000E-03    264.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.9808        2.0632        .24572E-04   -1.5426    
  12  Prefactor     15.337        23.793        .10228E-03   -1.4925    
  13  Prefactor     .10000E-03    171.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.452        124.64        .69273E-04   -1.4551    
  15  norm          50.966        78.904        .56187E-04   -1.4279    
  16  Prefactor     23.230        59.588        .83069E-04   -1.4744    
  17  norm          .10000E-03    94.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10003E-03    977.11        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.7675        .50343E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.893        .17435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.648        .10927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    2.7884        .43354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    28.051        .13770E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.6566        12.956        .16434E-03   -1.5325    
  25  Prefactor     .10000E-03    100.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.1968        4.1992        .94530E-04   -1.5489    
  27  Prefactor     .10000E-03    31.895        .14690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          10.639        4.6277        .17610E-03   -1.5056    
  29  Normalizat    .10000E-01    .37011        .85547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.6413        .47325        .25104E-03   -.73655    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13183e-10
Minuit parameter uncertainties:
  1  0.0123817
  2  0.000758347
  3  6.97463e-05
  4  387.34
  5  0.000222818
  6  353.637
  7  0.000100343
  8  227.999
  9  184.076
  10  5.96048e-07
  11  2.06329
  12  23.8077
  13  0.000269421
  14  125.628
  15  79.0663
  16  59.7412
  17  8.83522e-05
  18  0.0114058
  19  6.52396e-06
  20  1.08638e-05
  21  3.87037e-06
  22  2.26595e-06
  23  1.58117e-05
  24  12.9659
  25  7.13989e-05
  26  4.20019
  27  8.05552e-06
  28  4.62789
  29  1.10776e-05
  30  0.474547
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.534e+01  2.381e+01  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.641e+00  4.745e-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:  1.000e-02  1.108e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.85
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 8.45e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.52e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/522194/likelihoodResults_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.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) = 708.519274803
delta logL = 0.00310450927259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 708.518370063
delta logL = 0.00400924932421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.321       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2945       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6416       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   708.5184     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      261 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.319        24.233        .99140E-04    .70257E-03
   2  Index         2.2946        .88899        .47299E-02    .20528E-03
   3  Normalizat    .10000E-01    .37129        .85601E-02** at limit **
   4  Prefactor     1.6416        .36581        .25103E-03   -.23210E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3191
  Index      = 2.29465
  Normalizat = 0.01
  Prefactor  = 1.64162
 **********
 **   18 **HESSE 
 **********

 FCN=   708.5184     FROM HESSE     STATUS=OK            23 CALLS      284 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.319        23.970        .19828E-04   -1.4900    
   2  Index         2.2946        .87948        .18920E-03   -.57171    
   3  Normalizat    .10000E-01    .37132        .17120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6416        .36576        .50205E-04   -.73647    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16077e-09
Minuit parameter uncertainties:
  1  23.9841
  2  0.886024
  3  2.46175e-07
  4  0.366353
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/522194': 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) = 708.518370056
delta logL = 0.00400925587951

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.632e+01  2.398e+01  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.295e+00  8.860e-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.642e+00  3.664e-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:  1.000e-02  2.462e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.85
Ra Dec: 166.502 28.225

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/522194/cmap_HighResolution_635126401_635385601_4FGL_J1106.0+2813_daily_bin1527.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.52e-02', job_status='DONE', photon_flux_upper_limit='8.45e-07', time_completed='2021-09-03 08:30:08.418595', job_id='522194', GAL2='1.64', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630683008.42', return_code2='0', ts='0.85', comment='SUCCESS', return_code='0', GAL='1.64', dlogl='4.01e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1527' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:30:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 522194: <4FGL_J1106.0+2813_daily_bin1527> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1527> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 08:16:16 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 08:21:52 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:21:52 2021
Terminated at Fri Sep  3 08:30:11 2021
Results reported at Fri Sep  3 08:30:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1527 166.502 28.2254 635126401 635385601 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 :                                   395.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             315.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   496 sec.
    Turnaround time :                            835 sec.

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

