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


Performing analysis on: 4FGL_J2110.3+0808_daily_bin623
RA = 317.576, Dec = 8.1498
tmin = 400809601, tmax = 401068801
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='350258', job_status='RUN', time_executed='2021-09-26 05:27:18.390009', time_epoch_executed='1632659238.39' WHERE source_name='4FGL J2110.3+0808' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350258

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350258/ft1_4FGL_J2110.3+0808_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350258/ft2_4FGL_J2110.3+0808_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350258/ft1_4FGL_J2110.3+0808_daily_bin623.fits outfile=/scratch/kocevski/350258/ft1_filteredMKT_4FGL_J2110.3+0808_daily_bin623.fits ra=317.576 dec=8.1498 rad=12.0 tmin=400809601.0 tmax=401068801.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.54
user 3.29
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350258/ft1_filtered_4FGL_J2110.3+0808_daily_bin623.fits" evtable="EVENTS" scfile=/scratch/kocevski/350258/ft2_4FGL_J2110.3+0808_daily_bin623.fits sctable="SC_DATA" outfile=/scratch/kocevski/350258/ltcube_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.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/350258/ft2_4FGL_J2110.3+0808_daily_bin623.fits
.....................!
real 17.73
user 16.49
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350258/ft1_filtered_4FGL_J2110.3+0808_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/350258/ft2_4FGL_J2110.3+0808_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/350258/ltcube_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.fits outfile=/scratch/kocevski/350258/expmap_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.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/350258/ltcube_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.fits
.....................!
real 192.79
user 187.18
sys 4.88

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/350258/ft1_filtered_4FGL_J2110.3+0808_daily_bin623.fits scfile=/scratch/kocevski/350258/ft2_4FGL_J2110.3+0808_daily_bin623.fits outfile=/scratch/kocevski/350258/cmap_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.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.56
user 0.39
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .89494       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8110       1.0000         .10000E-03   10000.    
     6 'norm      '    102.36       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.074       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11980E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.221       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.6618       1.0000         .10000E-03   10000.    
    11 'Prefactor '    74.020       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13867E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .43265E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.6552       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.286       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5086       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1305       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1651       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.724       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .73570       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .91106       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=   7637.367     FROM MIGRAD    STATUS=CONVERGED    702 CALLS     3587 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3909        .19099E-07** at limit **
   2  Prefactor     .10000E-03    14.724       -.31781E-06** at limit **
   3  norm          .89448        .67756        .40382E-07    .13703E-03
   4  Prefactor     .10000E-03    18.215        .72516E-06** at limit **
   5  norm          3.8090        8.9515        .22202E-05    .95897E-07
   6  norm          102.40        86.415       -.19487E-05    .69571E-05
   7  Prefactor     25.070        22.249        .42743E-06   -.20718E-05
   8  Prefactor     .10000E-03    3.9554       -.18231E-06** at limit **
   9  Prefactor     48.222        63.273        .44293E-06    .24119E-04
  10  Prefactor     8.6607        14.757        .10127E-06   -.39197E-05
  11  Prefactor     74.038        34.655        .91313E-06   -.29015E-05
  12  Prefactor     .10000E-03    20.689       -.80020E-06** at limit **
  13  Prefactor     .10000E-03    12.797       -.17858E-06** at limit **
  14  Prefactor     .10000E-03    342.16       -.10041E-04** at limit **
  15  norm          1.6549        3.0172        .10977E-06    .20824E-05
  16  Prefactor     42.293        34.107        .92340E-06    .62169E-05
  17  Prefactor     2.3744        245.26        .94678E-05    .49839E-05
  18  Prefactor     .10000E-03    2.6694       -.13838E-07** at limit **
  19  Prefactor     4.1290        9.3206        .25917E-06   -.45648E-06
  20  Prefactor     2.1694        2.8084       -.23180E-06   -.81174E-04
  21  Prefactor     23.729        37.562       -.30603E-06    .11812E-04
  22  Prefactor     .10000E-03    21.389       -.36734E-06** at limit **
  23  Prefactor     .10000E-03    51.136        .10449E-06** at limit **
  24  norm          .10000E-03    1.6652        .33358E-07** at limit **
  25  norm          .10000E-03    13.360        .35358E-06** at limit **
  26  Prefactor     .10000E-03    4.8521        .27297E-07** at limit **
  27  Normalizat    .73565        .27384        .19896E-06    .29260E-04
  28  Prefactor     .91111        .10128       -.54573E-06    .89792E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.894477
  Prefactor  = 0.0001
  norm       = 3.80901
  norm       = 102.397
  Prefactor  = 25.0702
  Prefactor  = 0.000100002
  Prefactor  = 48.2219
  Prefactor  = 8.66066
  Prefactor  = 74.0384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.65488
  Prefactor  = 42.2932
  Prefactor  = 2.37439
  Prefactor  = 0.0001
  Prefactor  = 4.12902
  Prefactor  = 2.16936
  Prefactor  = 23.7289
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.73565
  Prefactor  = 0.911107
 **********
 **   18 **HESSE 
 **********

 FCN=   7637.367     FROM HESSE     STATUS=OK           521 CALLS     4108 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4027        .17879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .89448        .65523        .59570E-03   -1.5519    
   4  Prefactor     .10000E-03    18.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8090        9.0014        .10338E-02   -1.5318    
   6  norm          102.40        86.430        .19870E-03   -1.3681    
   7  Prefactor     25.070        22.206        .79998E-04   -1.4706    
   8  Prefactor     .10000E-03    23.436        .32943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.222        62.832        .57745E-04   -1.4318    
  10  Prefactor     8.6607        14.724        .13620E-03   -1.5119    
  11  Prefactor     74.038        34.607        .46667E-04   -1.3985    
  12  Prefactor     .10000E-03    20.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    346.74        .21227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.6549        2.9831        .19883E-03   -1.5451    
  16  Prefactor     42.293        34.164        .61647E-04   -1.4406    
  17  Prefactor     2.3744        243.35        .25799E-03   -1.5400    
  18  Prefactor     .10000E-03    2.6829        .13934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.1290        9.3007        .19834E-03   -1.5302    
  20  Prefactor     2.1694        2.7453        .14186E-03   -1.5413    
  21  Prefactor     23.729        37.601        .82239E-04   -1.4733    
  22  Prefactor     .10000E-03    21.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    51.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    1.7340        .21972E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    13.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    4.9045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .73565        .31472        .42559E-03   -1.0250    
  28  Prefactor     .91111        .11902        .15765E-03   -.95754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07768e-10
Minuit parameter uncertainties:
  1  2.26735e-07
  2  5.74313e-08
  3  0.655237
  4  9.47965e-06
  5  9.00459
  6  86.5366
  7  22.2133
  8  0.000452333
  9  62.918
  10  14.7299
  11  34.6164
  12  8.12946e-05
  13  2.70903e-06
  14  0.000546527
  15  2.98336
  16  34.1793
  17  48.2776
  18  9.83814e-07
  19  9.30394
  20  2.74543
  21  37.639
  22  5.34912e-06
  23  1.13442e-05
  24  1.37883e-06
  25  6.88307e-07
  26  2.54155e-06
  27  0.315497
  28  0.119054
Done.

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

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  7.404e+01  3.462e+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:  9.111e-01  1.191e-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:  7.357e-01  3.155e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.87
Ra Dec: 317.576 8.150
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.48e-07 +/- 6.92e-08
Energy Flux (Fixed Index): 4.88e-05 +/- 2.28e-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) = 7635.10993062
delta logL = 2.25739962461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7635.09008351
delta logL = 2.27724673448

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.687       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4609       1.0000          .0000       10.000    
     3 'Normalizat'    .58218       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95684       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7635.090     FROM MIGRAD    STATUS=FAILED       105 CALLS      308 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.666        73.815        .46326E-03    .81240E-04
   2  Index         3.4614        2.0216        .30497E-02    .86078E-03
   3  Normalizat    .58228        .31146        .47351E-03    .21609E-06
   4  Prefactor     .95682        .12978        .15403E-03    .88568E-06
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7635.090     FROM SIMPLEX   STATUS=UNCHANGED     83 CALLS      391 TOTAL
                     EDM=   .91E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.666        73.815        .19955E-03   -1.4844    
   2  Index         3.4614        2.0216        .56173E-03   -.31279    
   3  Normalizat    .58228        .31146        .35903E-03   -1.0874    
   4  Prefactor     .95682        .12978        .83371E-04   -.94183    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7635.090     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      421 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.666        25.244        .92652E-04   -.12270E-05
   2  Index         3.4614        .70778        .60993E-03    .33685E-04
   3  Normalizat    .58228        .29360        .18940E-04    .24010E-06
   4  Prefactor     .95682        .11867        .61613E-05    .11071E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.6655
  Index      = 3.46141
  Normalizat = 0.582285
  Prefactor  = 0.956818
 **********
 **   18 **HESSE 
 **********

 FCN=   7635.090     FROM HESSE     STATUS=OK            25 CALLS      446 TOTAL
                     EDM=   .31E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.666        23.258        .37061E-05   -1.4844    
   2  Index         3.4614        .65230        .12199E-03   -.31279    
   3  Normalizat    .58228        .29316        .37881E-05   -1.0874    
   4  Prefactor     .95682        .11841        .12323E-05   -.94183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07365e-15
Minuit parameter uncertainties:
  1  23.2694
  2  0.654359
  3  0.293945
  4  0.11844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350258': 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) = 7635.09008297
delta logL = 2.2772472822

Extracting fit parameters...

4FGL J2110.3+0808
   Spectrum: PowerLaw
338    Prefactor:  1.867e+01  2.327e+01  1.000e-04  1.000e+04 ( 1.000e-13)
339        Index:  3.461e+00  6.544e-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:  9.568e-01  1.184e-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:  5.823e-01  2.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.15
Ra Dec: 317.576 8.150
Photon Index (Free Index): 3.46 +/- 0.65
Photon Flux (Free Index): 2.60e-07 +/- 9.78e-08
Energy Flux (Free Index): 4.37e-05 +/- 1.67e-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/350258/cmap_HighResolution_400809601_401068801_4FGL_J2110.3+0808_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.48e-07', energy_flux2='4.37e-05', photon_flux_error='6.92e-08', dlogl='2.28e+00', energy_flux='4.88e-05', photon_flux2='2.60e-07', job_status='DONE', time_completed='2021-09-26 05:41:37.772510', photon_index_error2='0.65', photon_index2='3.46', ts='6.87', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.67e-05', EG='0.74', time_epoch_completed='1632660097.77', return_code='0', job_id='350258', GAL2='0.96', EG2='0.58', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='9.78e-08', ts2='12.15', photon_index='2.40' WHERE bin_id='623' AND source_name='4FGL J2110.3+0808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 05:41:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 350258: <4FGL_J2110.3+0808_daily_bin623> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2110.3+0808_daily_bin623 317.576 8.1498 400809601 401068801 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 :                                   853.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            964 sec.

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

