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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin711
RA = 317.576, Dec = 8.1498
tmin = 423619201, tmax = 423878401
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='351401', job_status='RUN', time_executed='2021-09-26 05:33:47.538621', time_epoch_executed='1632659627.54' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/351401

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/351401/ft1_4FGL_J2110.3+0808_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/351401/ft2_4FGL_J2110.3+0808_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/351401/ft1_4FGL_J2110.3+0808_daily_bin711.fits outfile=/scratch/kocevski/351401/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin711.fits ra=317.576 dec=8.1498 rad=12.0 tmin=423619201.0 tmax=423878401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.78
user 5.48
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/351401/ft1_filtered_4FGL_J2110.3+0808_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/351401/ft2_4FGL_J2110.3+0808_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/351401/ltcube_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.fits outfile=/scratch/kocevski/351401/expmap_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.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/351401/ltcube_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.fits
.....................!
real 190.97
user 185.49
sys 4.93

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/351401/ft1_filtered_4FGL_J2110.3+0808_daily_bin711.fits scfile=/scratch/kocevski/351401/ft2_4FGL_J2110.3+0808_daily_bin711.fits outfile=/scratch/kocevski/351401/cmap_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.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 4.04
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/351401/ft1_filtered_4FGL_J2110.3+0808_daily_bin711.fits scfile=/scratch/kocevski/351401/ft2_4FGL_J2110.3+0808_daily_bin711.fits outfile=/scratch/kocevski/351401/cmap_HighResolution_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.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.64
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.911       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.6778       1.0000         .10000E-03   10000.    
     6 'norm      '    42.301       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5527       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.406       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11460E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .33385       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1202       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    32.994       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.349       1.0000         .10000E-03   10000.    
    24 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    15.268       1.0000         .10000E-03   10000.    
    26 'Prefactor '    8.3708       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0163       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .90495       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=   4988.556     FROM MIGRAD    STATUS=CONVERGED    699 CALLS     3514 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.916        14.382        .27354E-07   -.42033E-04
   2  Prefactor     .10000E-03    8.1973        .87562E-07** at limit **
   3  norm          .10000E-03    .41526        .16722E-06** at limit **
   4  Prefactor     .10000E-03    21.910        .93409E-07** at limit **
   5  norm          1.6865        23.232        .33648E-05    .60502E-04
   6  norm          42.283        90.103       -.32327E-06   -.34026E-04
   7  Prefactor     3.5724        48.930        .84103E-06   -.28379E-05
   8  Prefactor     2.7651        9.2180        .15241E-05    .72809E-04
   9  Prefactor     .10000E-03    63.000        .26246E-08** at limit **
  10  Prefactor     11.404        21.738        .44022E-06    .66092E-04
  11  Prefactor     .10000E-03    12.871        .19480E-06** at limit **
  12  Prefactor     .10000E-03    8.1603        .49495E-07** at limit **
  13  Prefactor     .10000E-03    20.586       -.76176E-07** at limit **
  14  Prefactor     .10000E-03    42.764       -.34471E-06** at limit **
  15  norm          .10000E-03    2.0225       -.16083E-07** at limit **
  16  Prefactor     .10000E-03    12.243       -.52386E-07** at limit **
  17  Prefactor     .10002E-03    206.36       -.31448E-05** at limit **
  18  Prefactor     .45361        9.8170       -.38718E-05    .95559E-03
  19  Prefactor     1.0973        18.029        .75148E-05    .37486E-03
  20  Prefactor     .10000E-03    3.0224        .11005E-06** at limit **
  21  Prefactor     .10002E-03    143.37        .40274E-05** at limit **
  22  Prefactor     33.035        59.323       -.17309E-05   -.54425E-04
  23  Prefactor     15.356        58.009        .16666E-05   -.56369E-05
  24  norm          .10000E-03    2.1955        .16995E-05** at limit **
  25  norm          15.286        24.611       -.97598E-06   -.21054E-03
  26  Prefactor     8.3712        8.0489        .71592E-07   -.47820E-05
  27  Normalizat    1.0158        .30977       -.20297E-05   -.43681E-04
  28  Prefactor     .90490        .11880       -.30846E-06   -.16520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9158
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.68648
  norm       = 42.2828
  Prefactor  = 3.57238
  Prefactor  = 2.76506
  Prefactor  = 0.0001
  Prefactor  = 11.4039
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.453608
  Prefactor  = 1.09727
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 33.0353
  Prefactor  = 15.3562
  norm       = 0.0001
  norm       = 15.2859
  Prefactor  = 8.37121
  Normalizat = 1.01581
  Prefactor  = 0.9049
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.556     FROM HESSE     STATUS=OK           519 CALLS     4033 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.916        14.244        .10372E-03   -1.4935    
   2  Prefactor     .10000E-03    8.2053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .57164        .87238E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    21.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.6865        23.519        .32529E-03   -1.5448    
   6  norm          42.283        89.365        .61637E-04   -1.4407    
   7  Prefactor     3.5724        47.602        .21444E-03   -1.5330    
   8  Prefactor     2.7651        9.2938        .24508E-03   -1.5375    
   9  Prefactor     .10000E-03    63.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.404        21.711        .11862E-03   -1.5032    
  11  Prefactor     .10000E-03    12.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.1624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    42.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0299        .98087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    207.68        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .45361        48.293        .29374E-02   -1.5573    
  19  Prefactor     1.0973        18.146        .44381E-03   -1.5498    
  20  Prefactor     .10000E-03    3.0806        .11985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    145.51        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     33.035        58.753        .69761E-04   -1.4558    
  23  Prefactor     15.356        58.092        .10223E-03   -1.4924    
  24  norm          .10000E-03    3.3711        .18420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          15.286        24.531        .10250E-03   -1.4926    
  26  Prefactor     8.3712        8.0388        .13856E-03   -1.5129    
  27  Normalizat    1.0158        .37679        .37251E-03   -.92503    
  28  Prefactor     .90490        .14454        .16231E-03   -.95970    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78873e-08
Minuit parameter uncertainties:
  1  14.2471
  2  2.0178e-06
  3  2.52463e-07
  4  2.39449e-05
  5  12.6015
  6  89.6504
  7  26.1058
  8  9.29862
  9  4.08741e-05
  10  21.7265
  11  5.88935e-05
  12  1.18337e-05
  13  1.87656e-05
  14  0.000249051
  15  3.93208e-07
  16  2.66963e-05
  17  0.00361361
  18  9.36751
  19  8.92725
  20  1.03867e-05
  21  0.00314942
  22  58.8564
  23  58.307
  24  2.8248e-05
  25  24.5469
  26  8.03988
  27  0.377782
  28  0.144597
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.000e-04  5.889e-05  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:  9.049e-01  1.446e-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.016e+00  3.778e-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.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/351401/likelihoodResults_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.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) = 4988.55650031
delta logL = -0.000369435220819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4988.55613392
delta logL = -3.04433888232e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15232E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3589       1.0000          .0000       10.000    
     3 'Normalizat'    1.0153       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90511       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=   4988.556     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10404E-03    12.031        .18142E-01** at limit **
   2  Index         2.2665        5.8031        .50000        .18553E-04
   3  Normalizat    1.0158        .64266E-02    .37251E-03   -.32472E-03
   4  Prefactor     .90490        .26776E-02    .16231E-03   -.36929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104038
  Index      = 2.26652
  Normalizat = 1.0158
  Prefactor  = 0.904902
 **********
 **   18 **HESSE 
 **********

 FCN=   4988.556     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10404E-03    84.292        .26968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2665        6.4491        .50000       -.57841    
   3  Normalizat    1.0158        .17048E-01    .74502E-04   -.92503    
   4  Prefactor     .90490        .71030E-02    .32462E-04   -.95970    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.1542e-09
Minuit parameter uncertainties:
  1  0.0369517
  2  273.924
  3  0.0170485
  4  0.00710298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/351401': 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) = 4988.55613038
delta logL = 4.97805558552e-07

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.040e-04  3.695e-02  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  2.267e+00  2.739e+02  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:  9.049e-01  7.103e-03  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.016e+00  1.705e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/351401/cmap_HighResolution_423619201_423878401_4FGL_J2110.3+0808_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.71e-03', job_status='DONE', photon_flux_upper_limit='9.99e-08', time_completed='2021-09-26 05:45:50.047250', job_id='351401', GAL2='0.90', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632660350.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='4.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='711' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:45:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 351401: <4FGL_J2110.3+0808_daily_bin711> in cluster <slac> Done

Job <4FGL_J2110.3+0808_daily_bin711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 05:30:15 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 05:30:28 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:28 2021
Terminated at Sun Sep 26 05:45:50 2021
Results reported at Sun Sep 26 05:45:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin711 317.576 8.1498 423619201 423878401 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 :                                   717.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   922 sec.
    Turnaround time :                            935 sec.

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

