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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin658
RA = 317.576, Dec = 8.1498
tmin = 409881601, tmax = 410140801
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='350323', job_status='RUN', time_executed='2021-09-26 05:26:35.618640', time_epoch_executed='1632659195.62' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='658'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350323

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350323/ft1_4FGL_J2110.3+0808_daily_bin658.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350323/ft1_4FGL_J2110.3+0808_daily_bin658.fits outfile=/scratch/kocevski/350323/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin658.fits ra=317.576 dec=8.1498 rad=12.0 tmin=409881601.0 tmax=410140801.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.24
user 5.92
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.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/350323/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin658.fits evtable="EVENTS" outfile="/scratch/kocevski/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.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.61
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits" evtable="EVENTS" scfile=/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits sctable="SC_DATA" outfile=/scratch/kocevski/350323/ltcube_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.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/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits
.....................!
real 13.39
user 13.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits evtable="EVENTS" scfile=/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits sctable="SC_DATA" expcube=/scratch/kocevski/350323/ltcube_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits outfile=/scratch/kocevski/350323/expmap_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.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/350323/ltcube_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits
.....................!
real 194.24
user 187.22
sys 5.46

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/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits scfile=/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits outfile=/scratch/kocevski/350323/cmap_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits scfile=/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits outfile=/scratch/kocevski/350323/cmap_HighResolution_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits', '/scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits', expMap='/scratch/kocevski/350323/expmap_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits', expCube='/scratch/kocevski/350323/ltcube_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350323/Model_4FGL_J2110.3+0808_daily_bin658.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/350323/ft1_filtered_4FGL_J2110.3+0808_daily_bin658.fits
Spacecraft file(s): /scratch/kocevski/350323/ft2_4FGL_J2110.3+0808_daily_bin658.fits
Exposure map: /scratch/kocevski/350323/expmap_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits
Exposure cube: /scratch/kocevski/350323/ltcube_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350323/Model_4FGL_J2110.3+0808_daily_bin658.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) = 7505.20854295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.190       1.0000         .10000E-03   10000.    
     3 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.353       1.0000         .10000E-03   10000.    
     5 'norm      '    4.7892       1.0000         .10000E-03   10000.    
     6 'norm      '    76.255       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    41.155       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    78.794       1.0000         .10000E-03   10000.    
    15 'norm      '    6.0063       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10260E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.8876       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11056E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10295E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    17.341       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.6303       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .71681       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=   7505.140     FROM MIGRAD    STATUS=CONVERGED    678 CALLS     3475 TOTAL
                     EDM=   .95E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5550        .26045E-05** at limit **
   2  Prefactor     13.189        13.435       -.66746E-06   -.59950E-04
   3  norm          .10000E-03    .20066       -.39353E-07** at limit **
   4  Prefactor     35.364        39.023        .77728E-05    .79888E-05
   5  norm          4.7844        9.0975       -.22039E-05   -.22247E-03
   6  norm          76.233        78.702       -.20451E-04   -.10891E-04
   7  Prefactor     .10000E-03    28.390        .38183E-05** at limit **
   8  Prefactor     .10000E-03    1.5079        .95725E-07** at limit **
   9  Prefactor     .10000E-03    16.832       -.31492E-05** at limit **
  10  Prefactor     41.176        24.419        .70254E-06   -.12949E-04
  11  Prefactor     .10000E-03    13.980        .14309E-05** at limit **
  12  Prefactor     .10000E-03    10.529        .93517E-06** at limit **
  13  Prefactor     .10000E-03    9.7999       -.35166E-05** at limit **
  14  Prefactor     78.787        86.683       -.63653E-05   -.15399E-04
  15  norm          6.0074        7.5630       -.27734E-06   -.15587E-03
  16  Prefactor     .10000E-03    7.1166        .23901E-07** at limit **
  17  Prefactor     .10000E-03    47.771        .19632E-04** at limit **
  18  Prefactor     .10000E-03    2.7632       -.86471E-07** at limit **
  19  Prefactor     9.8912        10.628       -.32872E-06   -.32308E-04
  20  Prefactor     .10000E-03    1.6252       -.32534E-07** at limit **
  21  Prefactor     .10000E-03    26.934        .10568E-04** at limit **
  22  Prefactor     .10000E-03    36.377       -.14120E-04** at limit **
  23  Prefactor     .10000E-03    115.16       -.91746E-05** at limit **
  24  norm          .10000E-03    1.7934       -.17086E-06** at limit **
  25  norm          .10000E-03    33.905       -.13034E-04** at limit **
  26  Prefactor     17.335        12.149       -.27511E-07    .46632E-04
  27  Normalizat    1.6287        .28066        .59741E-06   -.22187E-04
  28  Prefactor     .71738        .10092        .40586E-06   -.51964E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.1891
  norm       = 0.0001
  Prefactor  = 35.3637
  norm       = 4.78441
  norm       = 76.2329
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.1758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.7874
  norm       = 6.00741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.89118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 17.335
  Normalizat = 1.62872
  Prefactor  = 0.71738
 **********
 **   18 **HESSE 
 **********

 FCN=   7505.140     FROM HESSE     STATUS=OK           513 CALLS     3988 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.189        13.180        .11029E-03   -1.4981    
   3  norm          .10000E-03    .26478        .73765E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     35.364        38.961        .67400E-04   -1.4518    
   5  norm          4.7844        9.0929        .18384E-03   -1.5270    
   6  norm          76.233        78.799        .45983E-04   -1.3960    
   7  Prefactor     .10000E-03    28.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.5136        .10387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     41.176        24.493        .62485E-04   -1.4424    
  11  Prefactor     .10000E-03    14.010        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.8001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     78.787        87.855        .45242E-04   -1.3930    
  15  norm          6.0074        7.5610        .16384E-03   -1.5218    
  16  Prefactor     .10000E-03    7.1194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    47.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7774        .14062E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.8912        10.637        .12744E-03   -1.5079    
  20  Prefactor     .10000E-03    2.9988        .21428E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    26.948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    36.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    115.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.8192        .11325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    34.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     17.335        12.158        .96180E-04   -1.4875    
  27  Normalizat    1.6287        .34926        .34612E-03   -.74223    
  28  Prefactor     .71738        .12516        .18450E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11283e-10
Minuit parameter uncertainties:
  1  1.21814e-05
  2  13.1832
  3  4.05661e-06
  4  38.989
  5  9.09555
  6  78.9075
  7  0.000306202
  8  1.47502e-07
  9  9.21535e-06
  10  24.499
  11  7.7574e-06
  12  3.86364e-06
  13  2.28979e-06
  14  87.9998
  15  7.56219
  16  5.11084e-07
  17  1.59642e-05
  18  9.29778e-07
  19  10.639
  20  8.2247e-06
  21  9.8396e-06
  22  1.68611e-07
  23  3.86251e-05
  24  9.43989e-07
  25  3.38757e-05
  26  12.1594
  27  0.349782
  28  0.125214
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  7.757e-06  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:  7.174e-01  1.252e-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.629e+00  3.498e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.576 8.150
Photon Flux Upper Limit: 9.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350323/likelihoodResults_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.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) = 7505.14006154
delta logL = -0.000340154286278

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7505.13972176
delta logL = -3.73991497327e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7505.140     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      243 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10021E-03    274.65        .18142E-02** at limit **
   2  Index         2.3601        8.4496        .50000        .24456E-05
   3  Normalizat    1.6287        .30405E-01    .34612E-03    .45984E-06
   4  Prefactor     .71738        .11370E-01    .18450E-03    .10475E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100214
  Index      = 2.36013
  Normalizat = 1.62872
  Prefactor  = 0.71738
 **********
 **   18 **HESSE 
 **********

 FCN=   7505.140     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      272 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10021E-03    1131.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3601        8.8031        .50000       -.55621    
   3  Normalizat    1.6287        .68292E-01    .13845E-04   -.74223    
   4  Prefactor     .71738        .25536E-01    .73799E-05   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.11657e-09
Minuit parameter uncertainties:
  1  0.0316987
  2  1964.82
  3  0.0682958
  4  0.025536
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350323': 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) = 7505.13972137
delta logL = 1.5864316083e-08

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.002e-04  3.170e-02  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.360e+00  1.965e+03  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:  7.174e-01  2.554e-02  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.629e+00  6.830e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 317.576 8.150

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/350323/cmap_HighResolution_409881601_410140801_4FGL_J2110.3+0808_daily_bin658.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', job_status='DONE', photon_flux_upper_limit='9.95e-08', time_completed='2021-09-26 05:42:06.487220', job_id='350323', GAL2='0.72', fit_tolerance='1e-08', EG2='1.63', EG='1.63', time_epoch_completed='1632660126.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.59e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='658' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:42:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 350323: <4FGL_J2110.3+0808_daily_bin658> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin658> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 05:25:39 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:26:22 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:26:22 2021
Terminated at Sun Sep 26 05:42:07 2021
Results reported at Sun Sep 26 05:42:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin658 317.576 8.1498 409881601 410140801 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 :                                   924.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            988 sec.

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

