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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin592
RA = 166.502, Dec = 28.2254
tmin = 392774401, tmax = 393033601
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='514886', job_status='RUN', time_executed='2021-09-03 07:57:06.950492', time_epoch_executed='1630681026.95' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='592'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/514886

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/514886/ft1_4FGL_J1106.0+2813_daily_bin592.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/514886/ft1_4FGL_J1106.0+2813_daily_bin592.fits outfile=/scratch/kocevski/514886/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin592.fits ra=166.502 dec=28.2254 rad=12.0 tmin=392774401.0 tmax=393033601.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 5.13
user 4.88
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/514886/ft1_filtered_4FGL_J1106.0+2813_daily_bin592.fits" evtable="EVENTS" scfile=/scratch/kocevski/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits sctable="SC_DATA" outfile=/scratch/kocevski/514886/ltcube_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.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/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits
.....................!
real 13.17
user 12.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/514886/ft1_filtered_4FGL_J1106.0+2813_daily_bin592.fits evtable="EVENTS" scfile=/scratch/kocevski/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits sctable="SC_DATA" expcube=/scratch/kocevski/514886/ltcube_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.fits outfile=/scratch/kocevski/514886/expmap_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.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/514886/ltcube_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.fits
.....................!
real 190.36
user 185.73
sys 4.25

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/514886/ft1_filtered_4FGL_J1106.0+2813_daily_bin592.fits scfile=/scratch/kocevski/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits outfile=/scratch/kocevski/514886/cmap_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=166.502 yref=28.2254 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/514886/ft1_filtered_4FGL_J1106.0+2813_daily_bin592.fits scfile=/scratch/kocevski/514886/ft2_4FGL_J1106.0+2813_daily_bin592.fits outfile=/scratch/kocevski/514886/cmap_HighResolution_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.378       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0289       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2864       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.5718       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4326       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.552       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.836       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8621       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9143       1.0000         .10000E-03   10000.    
    11 'norm      '    2.8295       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8026       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6889       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.9786       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.0407       1.0000         .10000E-03   10000.    
    17 'norm      '    12.659       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .93567E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .25032E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    1.1477       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .98050       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1529       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .86641       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=   6461.048     FROM MIGRAD    STATUS=CONVERGED    763 CALLS     3984 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.367        44.097       -.14754E-04   -.21895E-04
   2  Prefactor     .10000E-03    16.205       -.65696E-05** at limit **
   3  Prefactor     5.0286        3.8915        .36627E-06    .10739E-03
   4  Prefactor     2.2850        5.6334        .43817E-06   -.87419E-03
   5  Prefactor     4.5714        2.8586       -.52479E-07    .25077E-05
   6  Prefactor     7.4310        9.4679       -.13700E-06    .85757E-06
   7  Prefactor     14.550        16.718       -.34924E-06    .93506E-06
   8  Prefactor     11.836        10.804       -.59737E-07    .64275E-05
   9  Prefactor     5.8612        12.441        .16304E-06   -.22292E-03
  10  Prefactor     9.9143        16.036       -.35543E-06    .61522E-05
  11  norm          2.8295        .44817       -.80486E-08    .49400E-04
  12  Prefactor     5.8021        3.5524       -.36752E-07   -.42619E-03
  13  Prefactor     2.6869        8.8058        .36219E-06   -.52642E-03
  14  Prefactor     .10000E-03    5.6060        .88141E-07** at limit **
  15  norm          8.9780        9.2459       -.12772E-06   -.59447E-05
  16  Prefactor     9.0461        6.9895       -.17965E-06    .93988E-04
  17  norm          12.658        12.181       -.15179E-06   -.13579E-03
  18  Prefactor     .10001E-03    5.8792       -.77574E-06** at limit **
  19  Prefactor     .10000E-03    .66490       -.16950E-06** at limit **
  20  Prefactor     .10000E-03    12.012        .17719E-05** at limit **
  21  Prefactor     .10000E-03    18.184        .65859E-05** at limit **
  22  norm          .10022E-03    .95884        .19442E-06** at limit **
  23  Prefactor     .10000E-03    7.9695        .11467E-05** at limit **
  24  Prefactor     .10000E-03    3.7391       -.18241E-06** at limit **
  25  Prefactor     .10000E-03    7.8649       -.13472E-05** at limit **
  26  Prefactor     1.1468        2.1267       -.13623E-06   -.98974E-04
  27  Prefactor     .10000E-03    43.582       -.51327E-06** at limit **
  28  norm          .98037        .94674       -.31506E-07   -.36710E-04
  29  Normalizat    1.1530        .18158        .77937E-06   -.42060E-04
  30  Prefactor     .86643        .19918        .15453E-06    .41896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.3674
  Prefactor  = 0.0001
  Prefactor  = 5.02863
  Prefactor  = 2.28502
  Prefactor  = 4.57144
  Prefactor  = 7.43101
  Prefactor  = 14.5504
  Prefactor  = 11.8357
  Prefactor  = 5.86125
  Prefactor  = 9.91426
  norm       = 2.82946
  Prefactor  = 5.80209
  Prefactor  = 2.68694
  Prefactor  = 0.0001
  norm       = 8.97799
  Prefactor  = 9.04613
  norm       = 12.6577
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100224
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.14679
  Prefactor  = 0.0001
  norm       = 0.98037
  Normalizat = 1.15298
  Prefactor  = 0.866427
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.048     FROM HESSE     STATUS=OK           608 CALLS     4592 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.367        44.295        .79518E-04   -1.4700    
   2  Prefactor     .10000E-03    16.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0286        3.8955        .13584E-03   -1.5259    
   4  Prefactor     2.2850        9.8095        .13575E-02   -1.5406    
   5  Prefactor     4.5714        2.8792        .10034E-03   -1.5280    
   6  Prefactor     7.4310        9.4667        .14711E-03   -1.5163    
   7  Prefactor     14.550        16.726        .10500E-03   -1.4945    
   8  Prefactor     11.836        10.786        .11644E-03   -1.5020    
   9  Prefactor     5.8612        12.560        .82934E-03   -1.5224    
  10  Prefactor     9.9143        16.003        .12726E-03   -1.5078    
  11  norm          2.8295        .45012        .20293E-04   -1.5372    
  12  Prefactor     5.8021        3.5509        .51569E-03   -1.5226    
  13  Prefactor     2.6869        9.9858        .12423E-02   -1.5380    
  14  Prefactor     .10000E-03    5.6101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.9780        9.2363        .13376E-03   -1.5109    
  16  Prefactor     9.0461        6.9425        .13330E-03   -1.5106    
  17  norm          12.658        12.321        .56292E-03   -1.4996    
  18  Prefactor     .10001E-03    20.544        .37428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    1.0968        .12683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    12.019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    18.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10022E-03    2.0651        .28580E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.9992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.8796        .30332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.8788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     1.1468        2.1220        .15078E-03   -1.5494    
  27  Prefactor     .10000E-03    44.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .98037        .93538        .74623E-04   -1.5510    
  29  Normalizat    1.1530        .22238        .23988E-03   -.88069    
  30  Prefactor     .86643        .23866        .31136E-03   -.97324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0096e-09
Minuit parameter uncertainties:
  1  44.3526
  2  4.27466e-05
  3  3.89566
  4  9.47131
  5  2.87931
  6  9.46865
  7  16.7313
  8  10.7878
  9  12.566
  10  16.01
  11  0.450117
  12  3.55099
  13  9.99195
  14  1.19664e-06
  15  9.23781
  16  6.94314
  17  12.3237
  18  0.000811433
  19  1.65069e-06
  20  2.71764e-06
  21  2.18094e-05
  22  0.00136157
  23  1.35878e-05
  24  9.75544e-06
  25  6.42482e-06
  26  2.12211
  27  7.19438e-05
  28  0.935391
  29  0.222559
  30  0.238947
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  5.802e+00  3.551e+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:  8.664e-01  2.389e-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.153e+00  2.226e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.13
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 6.85e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 1.42e-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) = 6460.76679426
delta logL = 0.281356948077

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6460.75194037
delta logL = 0.296210835974

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1134       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8253       1.0000          .0000       10.000    
     3 'Normalizat'    1.1142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89568       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=   6460.752     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      246 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1128        31.977        .49691E-02    .23457E-03
   2  Index         2.8262        3.0655        .13647        .12697E-03
   3  Normalizat    1.1141        .78177E-01    .55022E-01    .69026E-05
   4  Prefactor     .89605        .73942E-01    .69321E-01    .15930E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.11285
  Index      = 2.82624
  Normalizat = 1.11406
  Prefactor  = 0.896048
 **********
 **   18 **HESSE 
 **********

 FCN=   6460.752     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1128        3.6896        .76419E-04   -1.5302    
   2  Index         2.8262        .66463        .50317E-02   -.44976    
   3  Normalizat    1.1141        .21668        .24330E-03   -.89302    
   4  Prefactor     .89605        .24185        .30668E-03   -.96279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69256e-09
Minuit parameter uncertainties:
  1  3.68981
  2  0.667065
  3  0.216849
  4  0.242139
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/514886': 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) = 6460.75193545
delta logL = 0.296215757871

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.113e+00  3.690e+00  1.000e-04  1.000e+04 ( 1.000e-12)
254        Index:  2.826e+00  6.671e-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:  8.960e-01  2.421e-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.114e+00  2.168e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.74
Ra Dec: 166.502 28.225
Photon Index (Free Index): 2.83 +/- 0.67
Photon Flux (Free Index): 9.62e-08 +/- 5.68e-08
Energy Flux (Free Index): 2.12e-05 +/- 1.08e-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/514886/cmap_HighResolution_392774401_393033601_4FGL_J1106.0+2813_daily_bin592.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.85e-08', energy_flux2='2.12e-05', photon_flux_error='4.19e-08', dlogl='2.96e-01', energy_flux='2.32e-05', photon_flux2='9.62e-08', job_status='DONE', time_completed='2021-09-03 08:10:25.153486', photon_index_error2='0.67', photon_index2='2.83', ts='7.13', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.08e-05', EG='1.15', time_epoch_completed='1630681825.15', return_code='0', job_id='514886', GAL2='0.90', EG2='1.11', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='5.68e-08', ts2='7.74', photon_index='2.37' WHERE bin_id='592' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 08:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 514886: <4FGL_J1106.0+2813_daily_bin592> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin592 166.502 28.2254 392774401 393033601 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 :                                   794.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   812 sec.
    Turnaround time :                            832 sec.

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

