/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 28 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 = 7399
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2110.3+0808_daily_bin155
RA = 317.576, Dec = 8.1498
tmin = 279504001, tmax = 279763201
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='347356', job_status='RUN', time_executed='2021-09-26 05:17:06.451940', time_epoch_executed='1632658626.45' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='155'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/347356

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/347356/ft1_4FGL_J2110.3+0808_daily_bin155.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/347356/ft1_4FGL_J2110.3+0808_daily_bin155.fits outfile=/scratch/kocevski/347356/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin155.fits ra=317.576 dec=8.1498 rad=12.0 tmin=279504001.0 tmax=279763201.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.64
user 3.39
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.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/347356/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin155.fits evtable="EVENTS" outfile="/scratch/kocevski/347356/ft1_filtered_4FGL_J2110.3+0808_daily_bin155.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.57
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/347356/ft1_filtered_4FGL_J2110.3+0808_daily_bin155.fits" evtable="EVENTS" scfile=/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits sctable="SC_DATA" outfile=/scratch/kocevski/347356/ltcube_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.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/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits
.....................!
real 14.44
user 13.96
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/347356/ft1_filtered_4FGL_J2110.3+0808_daily_bin155.fits evtable="EVENTS" scfile=/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits sctable="SC_DATA" expcube=/scratch/kocevski/347356/ltcube_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.fits outfile=/scratch/kocevski/347356/expmap_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.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/347356/ltcube_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.fits
.....................!
real 193.71
user 187.81
sys 5.51

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/347356/ft1_filtered_4FGL_J2110.3+0808_daily_bin155.fits scfile=/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits outfile=/scratch/kocevski/347356/cmap_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.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.57
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/347356/ft1_filtered_4FGL_J2110.3+0808_daily_bin155.fits scfile=/scratch/kocevski/347356/ft2_4FGL_J2110.3+0808_daily_bin155.fits outfile=/scratch/kocevski/347356/cmap_HighResolution_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.904       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .28051       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    44.717       1.0000         .10000E-03   10000.    
    11 'Prefactor '    70.415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6019       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.096       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3527       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.7742       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15908E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6471       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .80850E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.915       1.0000         .10000E-03   10000.    
    24 'norm      '    4.0752       1.0000         .10000E-03   10000.    
    25 'norm      '    24.062       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.8616       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1481       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .88244       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=   8410.985     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3508 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.896        10.867       -.11179E-07   -.18034E-04
   2  Prefactor     .10000E-03    7.1874        .75876E-07** at limit **
   3  norm          .28029        .32954        .17362E-08    .92323E-05
   4  Prefactor     .10000E-03    19.493        .98499E-06** at limit **
   5  norm          .10000E-03    2.2644        .16406E-06** at limit **
   6  norm          .10000E-03    17.790       -.85319E-06** at limit **
   7  Prefactor     .10000E-03    12.955       -.97960E-06** at limit **
   8  Prefactor     .10000E-03    2.8327       -.87168E-07** at limit **
   9  Prefactor     .10000E-03    30.193       -.30686E-05** at limit **
  10  Prefactor     44.730        17.785       -.28581E-06   -.32510E-03
  11  Prefactor     70.494        43.608       -.18471E-05   -.30245E-03
  12  Prefactor     4.5249        108.14        .55434E-05   -.23016E-04
  13  Prefactor     .10000E-03    19.592        .11281E-05** at limit **
  14  Prefactor     41.042        63.208       -.79685E-05   -.24993E-03
  15  norm          3.3520        3.7476        .26211E-06    .13553E-03
  16  Prefactor     7.7861        20.312       -.26397E-06   -.67014E-04
  17  Prefactor     .10000E-03    22.532        .12887E-06** at limit **
  18  Prefactor     .10004E-03    5.9789        .28677E-05** at limit **
  19  Prefactor     6.6628        8.4618        .57424E-07   -.52393E-03
  20  Prefactor     .10018E-03    1.5393       -.72132E-06** at limit **
  21  Prefactor     .10000E-03    38.397        .67919E-06** at limit **
  22  Prefactor     .10000E-03    87.966        .27712E-05** at limit **
  23  Prefactor     10.924        34.427        .14984E-05    .33876E-04
  24  norm          4.0772        2.5922        .56664E-07   -.33951E-03
  25  norm          24.069        21.426       -.78890E-07   -.52544E-04
  26  Prefactor     3.8621        5.2098        .28912E-07    .21288E-04
  27  Normalizat    1.1470        .26270       -.83001E-06   -.44149E-03
  28  Prefactor     .88291        .98071E-01    .32644E-06   -.67408E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8961
  Prefactor  = 0.0001
  norm       = 0.280285
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 44.7297
  Prefactor  = 70.4939
  Prefactor  = 4.52494
  Prefactor  = 0.0001
  Prefactor  = 41.0424
  norm       = 3.35205
  Prefactor  = 7.78607
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 6.66284
  Prefactor  = 0.000100183
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 10.9237
  norm       = 4.07723
  norm       = 24.0692
  Prefactor  = 3.86207
  Normalizat = 1.14698
  Prefactor  = 0.882915
 **********
 **   18 **HESSE 
 **********

 FCN=   8410.985     FROM HESSE     STATUS=OK           521 CALLS     4029 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.896        10.792        .97414E-04   -1.4886    
   2  Prefactor     .10000E-03    7.2096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .28029        .30751        .54761E-03   -1.5602    
   4  Prefactor     .10000E-03    19.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.2710        .13479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    17.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8894        .15068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    30.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     44.730        17.835        .59955E-04   -1.4369    
  11  Prefactor     70.494        44.013        .47838E-04   -1.4027    
  12  Prefactor     4.5249        110.39        .18763E-03   -1.5282    
  13  Prefactor     .10000E-03    19.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.042        64.977        .62530E-04   -1.4426    
  15  norm          3.3520        3.7433        .18200E-03   -1.5342    
  16  Prefactor     7.7861        20.334        .14382E-03   -1.5150    
  17  Prefactor     .10000E-03    22.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10004E-03    12.732        .33846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.6628        8.2260        .15564E-03   -1.5192    
  20  Prefactor     .10018E-03    17.773        .20224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    38.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    88.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.924        34.396        .12127E-03   -1.5047    
  24  norm          4.0772        2.5907        .10966E-03   -1.5304    
  25  norm          24.069        21.480        .81661E-04   -1.4726    
  26  Prefactor     3.8621        5.1959        .20535E-03   -1.5315    
  27  Normalizat    1.1470        .31711        .37543E-03   -.88257    
  28  Prefactor     .88291        .11930        .17300E-03   -.96741    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43965e-08
Minuit parameter uncertainties:
  1  10.7933
  2  6.8738e-06
  3  0.307509
  4  0.000130726
  5  7.37586e-06
  6  0.000108242
  7  0.000100475
  8  6.57362e-07
  9  0.000471086
  10  17.8374
  11  44.033
  12  44.7922
  13  0.000141791
  14  65.0889
  15  3.74359
  16  20.3525
  17  5.1341e-05
  18  0.00150607
  19  8.22736
  20  0.00360431
  21  0.000238197
  22  0.000748781
  23  34.4584
  24  2.59074
  25  21.4868
  26  5.19654
  27  0.317642
  28  0.119334
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  7.049e+01  4.403e+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.829e-01  1.193e-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.147e+00  3.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.99
Ra Dec: 317.576 8.150
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.41e-07 +/- 8.81e-08
Energy Flux (Fixed Index): 4.65e-05 +/- 2.90e-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) = 8410.97767973
delta logL = 0.00728748391157

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8410.97143381
delta logL = 0.0135333971266

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    74.613       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3312       1.0000          .0000       10.000    
     3 'Normalizat'    1.1563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88049       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=   8410.971     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      262 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     74.614        41.242        .46482E-04   -.14195E-03
   2  Index         2.3311        .40712        .51147E-02   -.79272E-04
   3  Normalizat    1.1565        .28904        .37412E-03   -.32818E-03
   4  Prefactor     .88038        .11678        .17323E-03   -.78341E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 74.6135
  Index      = 2.33113
  Normalizat = 1.15651
  Prefactor  = 0.880384
 **********
 **   18 **HESSE 
 **********

 FCN=   8410.971     FROM HESSE     STATUS=OK            25 CALLS      287 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     74.614        39.764        .92965E-05   -1.3978    
   2  Index         2.3311        .39208        .20459E-03   -.56306    
   3  Normalizat    1.1565        .28891        .14965E-04   -.87958    
   4  Prefactor     .88038        .11678        .34646E-04   -.96830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48443e-10
Minuit parameter uncertainties:
  1  39.7779
  2  0.392642
  3  0.289307
  4  0.116811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/347356': 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) = 8410.9714334
delta logL = 0.0135338069413

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  7.461e+01  3.978e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.331e+00  3.926e-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.804e-01  1.168e-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.157e+00  2.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.00
Ra Dec: 317.576 8.150
Photon Index (Free Index): 2.33 +/- 0.39
Photon Flux (Free Index): 1.34e-07 +/- 7.13e-08
Energy Flux (Free Index): 4.85e-05 +/- 2.47e-05

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/347356/cmap_HighResolution_279504001_279763201_4FGL_J2110.3+0808_daily_bin155.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-07', energy_flux2='4.85e-05', photon_flux_error='8.81e-08', dlogl='1.35e-02', energy_flux='4.65e-05', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-09-26 05:31:53.067532', photon_index_error2='0.39', photon_index2='2.33', ts='9.99', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.15', time_epoch_completed='1632659513.07', return_code='0', job_id='347356', GAL2='0.88', EG2='1.16', return_code2='0', energy_flux_error='2.90e-05', photon_flux_error2='7.13e-08', ts2='10.00', photon_index='2.40' WHERE bin_id='155' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:31:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 347356: <4FGL_J2110.3+0808_daily_bin155> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin155> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sun Sep 26 05:15:30 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:16:29 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:16:29 2021
Terminated at Sun Sep 26 05:31:53 2021
Results reported at Sun Sep 26 05:31:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin155 317.576 8.1498 279504001 279763201 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 :                                   883.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             330.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   924 sec.
    Turnaround time :                            983 sec.

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

