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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin682
RA = 317.576, Dec = 8.1498
tmin = 416102401, tmax = 416361601
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='351360', job_status='RUN', time_executed='2021-09-26 05:34:04.423277', time_epoch_executed='1632659644.42' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351360/ft1_4FGL_J2110.3+0808_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351360/ft1_4FGL_J2110.3+0808_daily_bin682.fits outfile=/scratch/kocevski/351360/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin682.fits ra=317.576 dec=8.1498 rad=12.0 tmin=416102401.0 tmax=416361601.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 6.58
user 6.27
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.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/351360/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin682.fits evtable="EVENTS" outfile="/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.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.49
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/351360/ltcube_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.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/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits
.....................!
real 13.45
user 13.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/351360/ltcube_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits outfile=/scratch/kocevski/351360/expmap_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.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/351360/ltcube_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits
.....................!
real 191.56
user 186.00
sys 4.85

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

Setting source of interest to:
4FGL J2110.3+0808 @ 317.576 8.1498

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits outfile=/scratch/kocevski/351360/cmap_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.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=317.576 yref=8.1498 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.66
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits outfile=/scratch/kocevski/351360/cmap_HighResolution_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.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=317.576 yref=8.1498 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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/351360/Model_4FGL_J2110.3+0808_daily_bin682.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/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits.....................!
real 71.01
user 69.60
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits', '/scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits', expMap='/scratch/kocevski/351360/expmap_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits', expCube='/scratch/kocevski/351360/ltcube_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/351360/Model_4FGL_J2110.3+0808_daily_bin682.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2110.3+0808'

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  5.908e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/351360/ft1_filtered_4FGL_J2110.3+0808_daily_bin682.fits
Spacecraft file(s): /scratch/kocevski/351360/ft2_4FGL_J2110.3+0808_daily_bin682.fits
Exposure map: /scratch/kocevski/351360/expmap_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits
Exposure cube: /scratch/kocevski/351360/ltcube_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/351360/Model_4FGL_J2110.3+0808_daily_bin682.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) = 6707.25019619

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6174       1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.119       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2801       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.2267       1.0000         .10000E-03   10000.    
     6 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.370       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.040       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.827       1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.790       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11678E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.890       1.0000         .10000E-03   10000.    
    15 'norm      '    7.2752       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9671       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.1260       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10594E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.497       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10333E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.2202       1.0000         .10000E-03   10000.    
    25 'norm      '    6.8397       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.0758       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0141       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .81095       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6707.207     FROM MIGRAD    STATUS=CONVERGED    659 CALLS     3478 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6150        10.719        .15563E-06   -.13738E-04
   2  Prefactor     18.121        18.912       -.41000E-07   -.34047E-04
   3  norm          3.2798        1.0979        .37631E-07   -.24603E-03
   4  Prefactor     .10000E-03    13.377        .18717E-06** at limit **
   5  norm          3.2251        5.8389        .41601E-06   -.64044E-04
   6  norm          .10000E-03    28.621       -.12589E-05** at limit **
   7  Prefactor     10.367        21.992       -.26993E-06   -.49806E-04
   8  Prefactor     11.041        7.0315       -.16763E-06   -.35919E-03
   9  Prefactor     .10000E-03    15.250       -.64639E-06** at limit **
  10  Prefactor     36.837        27.016       -.24662E-06    .25527E-04
  11  Prefactor     50.787        31.294        .74946E-07   -.25441E-04
  12  Prefactor     .10000E-03    22.568        .45470E-06** at limit **
  13  Prefactor     .10000E-03    36.815        .29093E-06** at limit **
  14  Prefactor     17.851        44.507       -.23948E-05   -.21108E-03
  15  norm          7.2734        8.5984        .24885E-06   -.11683E-04
  16  Prefactor     8.9066        34.515       -.44077E-05   -.26371E-03
  17  Prefactor     .10000E-03    16.826        .35515E-06** at limit **
  18  Prefactor     .10000E-03    3.7447        .88893E-07** at limit **
  19  Prefactor     5.1307        12.125       -.36698E-06   -.15102E-04
  20  Prefactor     .10000E-03    1.9963       -.78490E-06** at limit **
  21  Prefactor     11.432        38.189       -.68188E-05   -.30562E-03
  22  Prefactor     .10000E-03    39.748        .62056E-06** at limit **
  23  Prefactor     .10000E-03    81.631       -.10796E-05** at limit **
  24  norm          1.2217        3.5600        .12215E-05   -.49696E-04
  25  norm          6.8555        25.510       -.38961E-05    .94341E-06
  26  Prefactor     3.0831        8.8024        .12674E-04   -.18131E-03
  27  Normalizat    1.0132        .30712        .55595E-05   -.15784E-03
  28  Prefactor     .81134        .10698       -.26990E-05    .26348E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.61504
  Prefactor  = 18.1208
  norm       = 3.27985
  Prefactor  = 0.0001
  norm       = 3.22515
  norm       = 0.000100003
  Prefactor  = 10.367
  Prefactor  = 11.0411
  Prefactor  = 0.000100001
  Prefactor  = 36.8366
  Prefactor  = 50.7869
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 17.851
  norm       = 7.27341
  Prefactor  = 8.9066
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.13074
  Prefactor  = 0.0001
  Prefactor  = 11.4323
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.22169
  norm       = 6.85554
  Prefactor  = 3.08313
  Normalizat = 1.01317
  Prefactor  = 0.811341
 **********
 **   18 **HESSE 
 **********

 FCN=   6707.207     FROM HESSE     STATUS=OK           519 CALLS     3997 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6150        10.687        .13655E-03   -1.5121    
   2  Prefactor     18.121        18.978        .94093E-04   -1.4856    
   3  norm          3.2798        1.1038        .42781E-04   -1.5346    
   4  Prefactor     .10000E-03    13.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.2251        5.8219        .22551E-03   -1.5349    
   6  norm          .10000E-03    28.640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.367        21.956        .12442E-03   -1.5064    
   8  Prefactor     11.041        7.0386        .12058E-03   -1.5043    
   9  Prefactor     .10000E-03    15.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     36.837        27.047        .66041E-04   -1.4493    
  11  Prefactor     50.787        31.293        .56273E-04   -1.4281    
  12  Prefactor     .10000E-03    22.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    36.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.851        44.581        .94693E-04   -1.4863    
  15  norm          7.2734        8.5907        .14871E-03   -1.5169    
  16  Prefactor     8.9066        34.703        .13385E-03   -1.5111    
  17  Prefactor     .10000E-03    16.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.7553        .15467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.1307        12.143        .17758E-03   -1.5255    
  20  Prefactor     .10000E-03    2.0359        .11276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.432        38.464        .11815E-03   -1.5032    
  22  Prefactor     .10000E-03    39.752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    81.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.2217        3.5154        .23593E-03   -1.5487    
  25  norm          6.8555        25.251        .15341E-03   -1.5184    
  26  Prefactor     3.0831        8.9044        .11564E-02   -1.5357    
  27  Normalizat    1.0132        .35867        .40396E-03   -.92590    
  28  Prefactor     .81134        .12561        .17165E-03   -.99312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20113e-09
Minuit parameter uncertainties:
  1  10.6889
  2  18.984
  3  1.10382
  4  3.97266e-05
  5  5.82291
  6  0.000606065
  7  21.9732
  8  7.03915
  9  0.000233203
  10  27.0562
  11  31.3033
  12  0.000229233
  13  3.56393e-05
  14  44.6647
  15  8.59215
  16  34.7813
  17  0.000230954
  18  3.15789e-06
  19  12.1485
  20  1.20068e-05
  21  38.5474
  22  0.000402423
  23  0.000258658
  24  3.51596
  25  25.2902
  26  8.90825
  27  0.359532
  28  0.125655
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  5.079e+01  3.130e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.396e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.113e-01  1.257e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.013e+00  3.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.37
Ra Dec: 317.576 8.150
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 6.26e-08
Energy Flux (Fixed Index): 3.35e-05 +/- 2.06e-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) = 6706.94293148
delta logL = 0.264166967473

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6706.94248231
delta logL = 0.264616141961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.402       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0529       1.0000          .0000       10.000    
     3 'Normalizat'    1.0412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6706.942     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.307        1042.1        .12406E-02    .11060E-04
   2  Index         2.0514        5.9508        .19129        .55920E-04
   3  Normalizat    1.0416        .21166        .90091E-01    .51715E-04
   4  Prefactor     .80388        .57853E-01    .43769E-01    .12428E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.3071
  Index      = 2.05143
  Normalizat = 1.04162
  Prefactor  = 0.803883
 **********
 **   18 **HESSE 
 **********

 FCN=   6706.942     FROM HESSE     STATUS=OK            29 CALLS      294 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.307        42.038        .49625E-04   -1.4090    
   2  Index         2.0514        .45374        .69939E-02   -.63070    
   3  Normalizat    1.0416        .31585        .39900E-03   -.91649    
   4  Prefactor     .80388        .12185        .17235E-03   -.99585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4317e-11
Minuit parameter uncertainties:
  1  42.0568
  2  0.4547
  3  0.316417
  4  0.121894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351360': 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) = 6706.94247114
delta logL = 0.264627307667

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  6.531e+01  4.206e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.051e+00  4.547e-01  0.000e+00  1.000e+01 (-1.000e+00)
340        Scale:  1.049e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  8.039e-01  1.219e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  1.042e+00  3.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.88
Ra Dec: 317.576 8.150
Photon Index (Free Index): 2.05 +/- 0.45
Photon Flux (Free Index): 7.71e-08 +/- 5.87e-08
Energy Flux (Free Index): 4.72e-05 +/- 4.05e-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/351360/cmap_HighResolution_416102401_416361601_4FGL_J2110.3+0808_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='4.72e-05', photon_flux_error='6.26e-08', dlogl='2.65e-01', energy_flux='3.35e-05', photon_flux2='7.71e-08', job_status='DONE', time_completed='2021-09-26 05:46:43.596295', photon_index_error2='0.45', photon_index2='2.05', ts='5.37', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='4.05e-05', EG='1.01', time_epoch_completed='1632660403.6', return_code='0', job_id='351360', GAL2='0.80', EG2='1.04', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='5.87e-08', ts2='5.88', photon_index='2.40' WHERE bin_id='682' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:46:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 351360: <4FGL_J2110.3+0808_daily_bin682> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin682> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 05:30:12 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:30:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 05:30:18 2021
Terminated at Sun Sep 26 05:46:44 2021
Results reported at Sun Sep 26 05:46:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin682 317.576 8.1498 416102401 416361601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2110.3+0808 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   756.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            992 sec.

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

