/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 24 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 = 7342
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1528
RA = 166.688, Dec = 36.3995
tmin = 635385601, tmax = 635644801
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='549325', job_status='RUN', time_executed='2021-09-03 09:38:28.238937', time_epoch_executed='1630687108.24' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1528'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549325

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549325/ft1_4FGL_J1106.7+3623_daily_bin1528.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549325/ft1_4FGL_J1106.7+3623_daily_bin1528.fits outfile=/scratch/kocevski/549325/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1528.fits ra=166.688 dec=36.3995 rad=12.0 tmin=635385601.0 tmax=635644801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.01
user 2.59
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.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/549325/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1528.fits evtable="EVENTS" outfile="/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.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.53
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits" evtable="EVENTS" scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits sctable="SC_DATA" outfile=/scratch/kocevski/549325/ltcube_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.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/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits
.....................!
real 15.77
user 15.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits sctable="SC_DATA" expcube=/scratch/kocevski/549325/ltcube_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits outfile=/scratch/kocevski/549325/expmap_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.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/549325/ltcube_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits
.....................!
real 194.76
user 188.80
sys 5.04

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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1106.7+3623 @ 166.688 36.3995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits outfile=/scratch/kocevski/549325/cmap_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.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.688 yref=36.3995 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.72
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits outfile=/scratch/kocevski/549325/cmap_HighResolution_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.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.688 yref=36.3995 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 1.48
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits evtable="EVENTS" scfile=/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549325/Model_4FGL_J1106.7+3623_daily_bin1528.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/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits.....................!
real 22.11
user 18.13
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits', '/scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits', expMap='/scratch/kocevski/549325/expmap_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits', expCube='/scratch/kocevski/549325/ltcube_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549325/Model_4FGL_J1106.7+3623_daily_bin1528.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.7+3623'

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  2.571e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/549325/ft1_filtered_4FGL_J1106.7+3623_daily_bin1528.fits
Spacecraft file(s): /scratch/kocevski/549325/ft2_4FGL_J1106.7+3623_daily_bin1528.fits
Exposure map: /scratch/kocevski/549325/expmap_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits
Exposure cube: /scratch/kocevski/549325/ltcube_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549325/Model_4FGL_J1106.7+3623_daily_bin1528.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 718.606993473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 713.706645222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2004       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0142       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1543       1.0000         .10000E-03   10000.    
     4 'norm      '    .11280E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .96121       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11149E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17071E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22136       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .88780E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2369       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .45409E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21796E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2929       1.0000         .10000E-03   10000.    
    18 'norm      '    140.99       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.718       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45631       1.0000         .10000E-03   10000.    
    21 'Prefactor '    97.611       1.0000         .10000E-03   10000.    
    22 'norm      '    .10378E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .47072E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .18685E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    147.09       1.0000         .10000E-03   10000.    
    26 'norm      '    3.8068       1.0000         .10000E-03   10000.    
    27 'norm      '    43.869       1.0000         .10000E-03   10000.    
    28 'Prefactor '    276.35       1.0000         .10000E-03   10000.    
    29 'Prefactor '    1.2255       1.0000         .10000E-03   10000.    
    30 'Normalizat'    1.3073       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .26030       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   713.4959     FROM MIGRAD    STATUS=CONVERGED    478 CALLS      937 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     347.37        680.13        .48800E-05   -.37469E-02
   2  Prefactor     .24887E-03    8113.8        .47032E-04** at limit **
   3  Prefactor     9999.9        9948.4        .43830E-04    .42339E-03
   4  norm          .10101E-03    275.15        .24955E-05** at limit **
   5  Prefactor     4.5719        1.0061         .0000         .0000    
   6  Prefactor     .10000E-03    598.94       -.47570E-07** at limit **
   7  Prefactor     .10000E-03    31.218        .11431E-07** at limit **
   8  Prefactor     .10000E-03    97.277       -.37085E-07** at limit **
   9  Prefactor     .10000E-03    195.69       -.86992E-06** at limit **
  10  Prefactor     .10005E-03    245.10       -.14005E-05** at limit **
  11  Prefactor     .10000E-03    167.38        .18338E-06** at limit **
  12  Prefactor     .10007E-03    167.09       -.66478E-06** at limit **
  13  norm          .10000E-03    .51047        .52345E-10** at limit **
  14  Prefactor     .10000E-03    31.936        .89092E-07** at limit **
  15  Prefactor     .10000E-03    43.621        .84495E-07** at limit **
  16  Prefactor     .10000E-03    42.251        .46865E-08** at limit **
  17  norm          .10000E-03    81.142       -.10370E-06** at limit **
  18  norm          140.05        182.78        .41418E-05    .24288E-03
  19  Prefactor     10.751        13.292       -.85915E-06   -.60818E-03
  20  Prefactor     .10002E-03    234.01        .47652E-05** at limit **
  21  Prefactor     98.543        106.26       -.24257E-05   -.13414E-03
  22  norm          .10000E-03    7.9597       -.10806E-06** at limit **
  23  Prefactor     .10000E-03    44.341       -.49678E-06** at limit **
  24  Prefactor     .10002E-03    162.97       -.77266E-05** at limit **
  25  Prefactor     161.66        239.26       -.31150E-05    .51728E-04
  26  norm          3.6161        4.5426        .32745E-06    .87023E-04
  27  norm          43.958        31.219        .22348E-06    .91727E-03
  28  Prefactor     281.10        177.51       -.18049E-05   -.17326E-03
  29  Prefactor     .10000E-03    139.80        .33547E-06** at limit **
  30  Normalizat    1.2614        .96135       -.26997E-05    .69444E-05
  31  Prefactor     .28918        .88054       -.33066E-06    .19257E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 347.368
  Prefactor  = 0.000248869
  Prefactor  = 9999.95
  norm       = 0.000101006
  Prefactor  = 4.57191
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100047
  Prefactor  = 0.0001
  Prefactor  = 0.000100069
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 140.052
  Prefactor  = 10.7507
  Prefactor  = 0.000100023
  Prefactor  = 98.5431
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.00010002
  Prefactor  = 161.659
  norm       = 3.61611
  norm       = 43.9582
  Prefactor  = 281.101
  Prefactor  = 0.0001
  Normalizat = 1.26138
  Prefactor  = 0.289181
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   713.4959     FROM HESSE     STATUS=FAILED        27 CALLS      964 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     347.37        2138.8        .10359E-01   -1.1958    
   2  Prefactor     .24887E-03    8072.1        .44896E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9999.9        9973.9        .70174E-02    1.5754    
   4  norm          .10101E-03    273.83        .10341E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     535.91        531.28         .0000       -1.5280    
   6  Prefactor     .10000E-03    .42431       -.47570E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .26753        .11431E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .25923       -.37085E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .25375       -.86992E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10005E-03    .20915       -.14005E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .25453        .18338E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10007E-03    .21380       -.66478E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    .20571        .52345E-10   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    .20571        .89092E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .25377        .84495E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    .20571        .46865E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .23676       -.10370E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          140.05        .99673        .41418E-05   -1.3336    
  19  Prefactor     10.751        1.0026       -.85915E-06   -1.5052    
  20  Prefactor     .10002E-03    .30753        .47652E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     98.543        1.0047       -.24257E-05   -1.3719    
  22  norm          .10000E-03    .20571       -.10806E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    .23243       -.49678E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10002E-03    .20571       -.77266E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     161.66        1.0476       -.31150E-05   -1.3158    
  26  norm          3.6161        .98331        .32745E-06   -1.5328    
  27  norm          43.958        1.0011        .22348E-06   -1.4381    
  28  Prefactor     281.10        1.0083       -.18049E-05   -1.2339    
  29  Prefactor     .10000E-03    .25859        .33547E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.2614        1.0614       -.26997E-05   -.84727    
  31  Prefactor     .28918        .59338       -.33066E-06   -1.2290    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.30886e-09
Minuit parameter uncertainties:
  1  1831.12
  2  2.19797
  3  75.434
  4  0.0333523
  5  1.00611
  6  2.87346e-05
  7  2.73334e-06
  8  7.49502e-06
  9  6.14428e-05
  10  0.000198933
  11  1.55281e-05
  12  0.000242389
  13  3.08855e-07
  14  1.04495e-05
  15  8.7062e-06
  16  1.5337e-06
  17  6.31954e-06
  18  0.996735
  19  1.00264
  20  0.000167486
  21  1.00473
  22  2.82754e-06
  23  2.38003e-05
  24  0.000127279
  25  1.0476
  26  0.983315
  27  1.00107
  28  1.00832
  29  6.07498e-06
  30  1.08054
  31  0.606534
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 713.495879518

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.000e-04  8.706e-06  1.000e-04  1.000e+04 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  2.892e-01  6.065e-01  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.261e+00  1.081e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.688 36.400
Photon Flux Upper Limit: 5.63e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.38e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549325/likelihoodResults_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 713.495974849
delta logL = -9.53314547587e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 713.49588095
delta logL = -1.4321595927e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14462E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9412       1.0000          .0000       10.000    
     3 'Normalizat'    1.2614       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28915       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+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=   713.4959     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      282 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10507E-03    36.345        .14067E-01** at limit **
   2  Index         2.8260        6.3889        .50000        .82701E-05
   3  Normalizat    1.2614        .16993E-01    .28169E-03   -.65163E-04
   4  Prefactor     .28917        .17661E-01    .57910E-03   -.29568E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105067
  Index      = 2.82598
  Normalizat = 1.26138
  Prefactor  = 0.289172
 **********
 **   18 **HESSE 
 **********

 FCN=   713.4959     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10507E-03    355.32        .14779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8260        8.2104        .50000       -.44982    
   3  Normalizat    1.2614        .53951E-01    .56338E-04   -.84727    
   4  Prefactor     .28917        .56063E-01    .23164E-04   -1.2290    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.72715e-09
Minuit parameter uncertainties:
  1  0.0853776
  2  728.967
  3  0.053953
  4  0.056073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549325': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 713.49588001
delta logL = -4.92434992339e-07

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.051e-04  8.538e-02  1.000e-04  1.000e+04 ( 1.000e-13)
332        Index:  2.826e+00  7.290e+02  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  2.892e-01  5.607e-02  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.261e+00  5.395e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.688 36.400

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/549325/cmap_HighResolution_635385601_635644801_4FGL_J1106.7+3623_daily_bin1528.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.38e-02', job_status='DONE', photon_flux_upper_limit='5.63e-07', time_completed='2021-09-03 09:44:58.728887', job_id='549325', GAL2='0.29', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630687498.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.29', dlogl='-4.92e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1528' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 09:44:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 549325: <4FGL_J1106.7+3623_daily_bin1528> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1528> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 09:36:38 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 09:37:44 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 09:37:44 2021
Terminated at Fri Sep  3 09:44:59 2021
Results reported at Fri Sep  3 09:44:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1528 166.688 36.3995 635385601 635644801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.7+3623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   354.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             310.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   435 sec.
    Turnaround time :                            501 sec.

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

