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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin662
RA = 317.576, Dec = 8.1498
tmin = 410918401, tmax = 411177601
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='350329', job_status='RUN', time_executed='2021-09-26 05:30:25.672021', time_epoch_executed='1632659425.67' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='662'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350329

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350329/ft1_4FGL_J2110.3+0808_daily_bin662.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350329/ft1_4FGL_J2110.3+0808_daily_bin662.fits outfile=/scratch/kocevski/350329/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin662.fits ra=317.576 dec=8.1498 rad=12.0 tmin=410918401.0 tmax=411177601.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.98
user 6.71
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350329/ft1_filtered_4FGL_J2110.3+0808_daily_bin662.fits" evtable="EVENTS" scfile=/scratch/kocevski/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits sctable="SC_DATA" outfile=/scratch/kocevski/350329/ltcube_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.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/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits
.....................!
real 15.11
user 14.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350329/ft1_filtered_4FGL_J2110.3+0808_daily_bin662.fits evtable="EVENTS" scfile=/scratch/kocevski/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits sctable="SC_DATA" expcube=/scratch/kocevski/350329/ltcube_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.fits outfile=/scratch/kocevski/350329/expmap_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.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/350329/ltcube_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.fits
.....................!
real 191.15
user 185.68
sys 5.00

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/350329/ft1_filtered_4FGL_J2110.3+0808_daily_bin662.fits scfile=/scratch/kocevski/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits outfile=/scratch/kocevski/350329/cmap_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350329/ft1_filtered_4FGL_J2110.3+0808_daily_bin662.fits scfile=/scratch/kocevski/350329/ft2_4FGL_J2110.3+0808_daily_bin662.fits outfile=/scratch/kocevski/350329/cmap_HighResolution_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22985E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.809       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2338       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25446E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .15355E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    93.367       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20953E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.2910       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .35491E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.854       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .47614E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.226       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19474E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    137.84       1.0000         .10000E-03   10000.    
    15 'norm      '    .11232E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12637E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    107.19       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10493E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10541E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .93482       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .88940E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15052       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .36857E-01   1.0000         .10000E-03   10000.    
    24 'norm      '    1.0505       1.0000         .10000E-03   10000.    
    25 'norm      '    .18751E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .49983E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10014E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0643       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4267.610     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     2710 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.273        .68889E-06** at limit **
   2  Prefactor     34.319        29.852       -.78926E-07    .43958E-02
   3  norm          1.2247        1.3192       -.33310E-06   -.11882E-03
   4  Prefactor     .10000E-03    28.491        .19786E-05** at limit **
   5  norm          .10000E-03    34.884        .10082E-05** at limit **
   6  norm          87.541        92.399        .11067E-05    .14928E-01
   7  Prefactor     .10000E-03    43.959        .16981E-05** at limit **
   8  Prefactor     3.2092        7.7153       -.29571E-05   -.21135E-04
   9  Prefactor     .10000E-03    63.930        .48163E-06** at limit **
  10  Prefactor     22.847        36.580        .11342E-05    .57813E-02
  11  Prefactor     .10004E-03    128.42       -.53803E-05** at limit **
  12  Prefactor     38.608        42.681        .47330E-07    .21148E-02
  13  Prefactor     .10000E-03    23.814        .33697E-06** at limit **
  14  Prefactor     143.70        50.762       -.16990E-05    .37856E-01
  15  norm          .10000E-03    4.9493        .87687E-06** at limit **
  16  Prefactor     .10000E-03    23.157       -.28510E-06** at limit **
  17  Prefactor     122.64        127.01       -.57650E-05   -.71391E-02
  18  Prefactor     .10000E-03    3.5156        .13487E-05** at limit **
  19  Prefactor     .10000E-03    9.8573       -.68454E-06** at limit **
  20  Prefactor     .58541        12.511        .11258E-04    .91281E-04
  21  Prefactor     .10000E-03    25.113        .11902E-05** at limit **
  22  Prefactor     .10044E-03    172.21       -.80788E-05** at limit **
  23  Prefactor     .10000E-03    76.974        .10840E-04** at limit **
  24  norm          1.0901        5.6783       -.64438E-06    .18094E-04
  25  norm          .10000E-03    26.299       -.49030E-05** at limit **
  26  Prefactor     .10000E-03    7.5897       -.10402E-05** at limit **
  27  Normalizat    .10000E-01    2.1058        .35623E-04** at limit **
  28  Prefactor     1.0629        .78847E-01    .11658E-05    .76823E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 34.3187
  norm       = 1.22466
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 87.5414
  Prefactor  = 0.0001
  Prefactor  = 3.20921
  Prefactor  = 0.0001
  Prefactor  = 22.8473
  Prefactor  = 0.000100035
  Prefactor  = 38.6079
  Prefactor  = 0.0001
  Prefactor  = 143.697
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 122.641
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.585411
  Prefactor  = 0.0001
  Prefactor  = 0.000100439
  Prefactor  = 0.0001
  norm       = 1.09005
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.06287
 **********
 **   18 **HESSE 
 **********

 FCN=   4267.610     FROM HESSE     STATUS=OK           571 CALLS     3281 TOTAL
                     EDM=   .31E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.059        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.319        30.480        .17229E-02   -1.4536    
   3  norm          1.2247        1.3642        .10112E-01   -1.5487    
   4  Prefactor     .10000E-03    28.524        .10000E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    33.425        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          87.541        96.735        .10398E-02   -1.3834    
   7  Prefactor     .10000E-03    43.456        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.2092        7.7942        .55797E-02   -1.5350    
   9  Prefactor     .10000E-03    63.918        .10659E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.847        36.920        .20947E-02   -1.4752    
  11  Prefactor     .10004E-03    126.64        .92584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     38.608        42.909        .16422E-02   -1.4464    
  13  Prefactor     .10000E-03    23.811        .10126E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     143.70        155.74        .85768E-03   -1.3305    
  15  norm          .10000E-03    4.9551        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.189        .10300E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     122.64        142.26        .97112E-03   -1.3489    
  18  Prefactor     .10000E-03    3.5108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.8065        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .58541        6.8151        .49639E-01   -1.5555    
  21  Prefactor     .10000E-03    25.109        .10419E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10044E-03    172.07        .97494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    76.785        .92057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.0901        5.9118        .12075E-01   -1.5499    
  25  norm          .10000E-03    26.321        .10143E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    7.5742        .10579E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .33755        .32094       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.0629        .10819        .39136E-01   -.90662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11085e-05
Minuit parameter uncertainties:
  1  1.9674e-05
  2  30.4937
  3  1.36425
  4  7.32834e-05
  5  9.51685e-06
  6  96.9101
  7  2.55854e-05
  8  7.79669
  9  0.000311862
  10  36.9566
  11  0.00422695
  12  42.943
  13  1.37978e-05
  14  156.189
  15  5.10979e-06
  16  1.68142e-06
  17  142.657
  18  9.81957e-06
  19  1.51212e-05
  20  3.99503
  21  2.55837e-05
  22  0.0174316
  23  4.62285e-05
  24  5.0776
  25  9.3234e-05
  26  9.5309e-06
  27  3.69561e-06
  28  0.108216
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  4.227e-03  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:  1.063e+00  1.082e-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.000e-02  3.696e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 317.576 8.150
Photon Flux Upper Limit: 1.98e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350329/likelihoodResults_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.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) = 4267.61050409
delta logL = -3.93421241824e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4267.61050409
delta logL = -3.93345990233e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96361E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3962       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0629       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=   4267.504     FROM MIGRAD    STATUS=CONVERGED    122 CALLS      275 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.692        186.63        .90712E-02    .22023E-03
   2  Index         1.6489        2.0219        .23918        .38998E-04
   3  Normalizat    .10000E-01    .30698        .32095    ** at limit **
   4  Prefactor     1.0597        .10797        .39209E-01    .46002E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6924
  Index      = 1.64894
  Normalizat = 0.01
  Prefactor  = 1.05971
 **********
 **   18 **HESSE 
 **********

 FCN=   4267.504     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.692        41.270        .36285E-03   -1.4891    
   2  Index         1.6489        .91481        .13425E-01   -.73450    
   3  Normalizat    .10000E-01    6.2503        .14162E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0597        .68948E-01    .13971E-03   -.90765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.62742e-10
Minuit parameter uncertainties:
  1  41.3411
  2  0.924336
  3  2.63134e-05
  4  0.0689537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350329': 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) = 4267.50414201
delta logL = 0.106322737

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.669e+01  4.134e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  1.649e+00  9.243e-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:  1.060e+00  6.895e-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.000e-02  2.631e-05  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/350329/cmap_HighResolution_410918401_411177601_4FGL_J2110.3+0808_daily_bin662.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.98e-07', time_completed='2021-09-26 05:40:51.424605', job_id='350329', GAL2='1.06', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1632660051.42', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.06e-01', ts2='0.21', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='662' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:40:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 350329: <4FGL_J2110.3+0808_daily_bin662> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin662> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 05:25:40 2021
Job was executed on host(s) <bullet0280>, 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:40:52 2021
Results reported at Sun Sep 26 05:40:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin662 317.576 8.1498 410918401 411177601 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 :                                   624.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             221.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            912 sec.

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

