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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1279
RA = 167.641, Dec = -18.6058
tmin = 570844801, tmax = 571104001
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='588473', job_status='RUN', time_executed='2021-09-03 11:55:33.281771', time_epoch_executed='1630695333.28' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1279'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588473

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588473/ft1_4FGL_J1110.5-1836_daily_bin1279.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588473/ft1_4FGL_J1110.5-1836_daily_bin1279.fits outfile=/scratch/kocevski/588473/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1279.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=570844801.0 tmax=571104001.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 2.57
user 2.34
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.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/588473/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1279.fits evtable="EVENTS" outfile="/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.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.45
user 0.29
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits" evtable="EVENTS" scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits sctable="SC_DATA" outfile=/scratch/kocevski/588473/ltcube_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.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/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits
.....................!
real 14.03
user 13.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits sctable="SC_DATA" expcube=/scratch/kocevski/588473/ltcube_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits outfile=/scratch/kocevski/588473/expmap_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.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/588473/ltcube_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits
.....................!
real 156.46
user 150.94
sys 5.06

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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J1110.5-1836 @ 167.641 -18.6058

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits outfile=/scratch/kocevski/588473/cmap_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.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=167.641 yref=-18.6058 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.48
user 0.32
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits outfile=/scratch/kocevski/588473/cmap_HighResolution_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.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=167.641 yref=-18.6058 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.49
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits evtable="EVENTS" scfile=/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588473/Model_4FGL_J1110.5-1836_daily_bin1279.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/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits.....................!
real 38.10
user 36.86
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits', '/scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits', expMap='/scratch/kocevski/588473/expmap_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits', expCube='/scratch/kocevski/588473/ltcube_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/588473/Model_4FGL_J1110.5-1836_daily_bin1279.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1110.5-1836'

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  4.578e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/588473/ft1_filtered_4FGL_J1110.5-1836_daily_bin1279.fits
Spacecraft file(s): /scratch/kocevski/588473/ft2_4FGL_J1110.5-1836_daily_bin1279.fits
Exposure map: /scratch/kocevski/588473/expmap_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits
Exposure cube: /scratch/kocevski/588473/ltcube_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/588473/Model_4FGL_J1110.5-1836_daily_bin1279.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) = 4228.83517504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.006       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .75784       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9860       1.0000         .10000E-03   10000.    
     8 'Prefactor '    17.851       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.166       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6753       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .29549       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.665       1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.752       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.9353       1.0000         .10000E-03   10000.    
    18 'norm      '    8.6041       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5261       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .73155       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4228.820     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2764 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.7162       -.70136E-07** at limit **
   2  Prefactor     28.009        21.732        .53653E-06    .84913E-04
   3  Prefactor     .10000E-03    18.114       -.27103E-06** at limit **
   4  Prefactor     .74590        5.0101        .87722E-06   -.14058E-03
   5  norm          .10000E-03    18.454        .57517E-06** at limit **
   6  Prefactor     26.561        28.436        .64221E-06    .39197E-05
   7  Prefactor     2.9893        533.94        .10826E-05    .18736E-05
   8  Prefactor     17.890        63.553       -.69995E-05    .22221E-04
   9  Prefactor     23.138        59.083        .54274E-05   -.64076E-05
  10  Prefactor     .10000E-03    43.612        .38246E-06** at limit **
  11  Prefactor     1.6834        98.121       -.82098E-06    .13087E-04
  12  Prefactor     .10000E-03    3.7428        .80977E-07** at limit **
  13  Prefactor     .10000E-03    23.440       -.49308E-07** at limit **
  14  norm          .29519        1.2374        .18974E-06   -.17333E-03
  15  Prefactor     28.663        18.369        .54936E-06    .50907E-04
  16  Prefactor     57.750        45.836        .40541E-06   -.11834E-05
  17  Prefactor     1.9337        11.664        .12973E-04    .40609E-04
  18  norm          8.6036        8.4802       -.26507E-06    .27591E-04
  19  Normalizat    1.5263        .32375       -.45225E-05    .14397E-03
  20  Prefactor     .73152        .16773        .17174E-05    .24066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.0085
  Prefactor  = 0.0001
  Prefactor  = 0.745902
  norm       = 0.0001
  Prefactor  = 26.5605
  Prefactor  = 2.98932
  Prefactor  = 17.8898
  Prefactor  = 23.138
  Prefactor  = 0.0001
  Prefactor  = 1.68335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.295195
  Prefactor  = 28.6627
  Prefactor  = 57.7501
  Prefactor  = 1.93368
  norm       = 8.60357
  Normalizat = 1.52631
  Prefactor  = 0.731523
 **********
 **   18 **HESSE 
 **********

 FCN=   4228.820     FROM HESSE     STATUS=OK           295 CALLS     3059 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.7233        .13793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.009        21.751        .75703E-04   -1.4649    
   3  Prefactor     .10000E-03    18.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .74590        19.579        .26004E-02   -1.5535    
   5  norm          .10000E-03    18.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.561        28.421        .77726E-04   -1.4677    
   7  Prefactor     2.9893        531.73        .23493E-03   -1.5362    
   8  Prefactor     17.890        63.690        .94797E-04   -1.4862    
   9  Prefactor     23.138        59.064        .83222E-04   -1.4746    
  10  Prefactor     .10000E-03    43.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.6834        99.032        .32558E-03   -1.5448    
  12  Prefactor     .10000E-03    3.7457        .12285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .29519        1.2004        .13625E-03   -1.5599    
  15  Prefactor     28.663        18.400        .74829E-04   -1.4637    
  16  Prefactor     57.750        45.837        .52790E-04   -1.4187    
  17  Prefactor     1.9337        11.774        .14925E-02   -1.5430    
  18  norm          8.6036        8.4839        .13666E-03   -1.5121    
  19  Normalizat    1.5263        .39405        .29017E-03   -.77042    
  20  Prefactor     .73152        .20591        .22416E-03   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46963e-10
Minuit parameter uncertainties:
  1  8.76069e-06
  2  21.7571
  3  1.09934e-05
  4  7.64538
  5  5.68298e-05
  6  28.4355
  7  80.4728
  8  63.9337
  9  59.2135
  10  0.000195651
  11  25.8672
  12  7.80256e-06
  13  1.11208e-05
  14  1.1904
  15  18.4034
  16  45.8648
  17  9.54551
  18  8.48508
  19  0.394849
  20  0.206122
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  2.656e+01  2.844e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.947e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  7.315e-01  2.061e-01  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.526e+00  3.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.15
Ra Dec: 167.641 -18.606
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 2.48e-08 +/- 2.66e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 2.10e-05

TS (Fixed Index): 3.15
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588473/likelihoodResults_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.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): 0
logL (Free Index) = 4225.70198744
delta logL = 3.1182586261

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4225.25325563
delta logL = 3.56699044328

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0597       1.0000         .10000E-03   10000.    
     2 'Index     '    .70532E-07   1.0000          .0000       10.000    
     3 'Normalizat'    1.5388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73152       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4225.253     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      242 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0631        6.0585        .44689E-02   -.15027E-03
   2  Index         .16931E-11    .45720        .50000    ** at limit **
   3  Normalizat    1.5387        .29568        .65326E-01    .16304E-05
   4  Prefactor     .73159        .16609        .42819E-01    .12936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.06305
  Index      = 1.69309e-12
  Normalizat = 1.5387
  Prefactor  = 0.731592
 **********
 **   18 **HESSE 
 **********

 FCN=   4225.253     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0631        5.1081        .14301E-03   -1.5258    
   2  Index         .16931E-11    1.6017        .22883E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.5387        .36195        .28895E-03   -.76697    
   4  Prefactor     .73159        .20341        .22408E-03   -1.0230    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12355e-12
Minuit parameter uncertainties:
  1  5.10852
  2  3.38825e-06
  3  0.362565
  4  0.203622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588473': 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) = 4225.2532553
delta logL = 3.56699077382

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  5.063e+00  5.109e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  1.693e-12  3.388e-06  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  3.264e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  7.316e-01  2.036e-01  0.000e+00  1.000e+01 ( 1.000e+00)
610        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
611        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
608   Normalization:  1.539e+00  3.626e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.28
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 5.06e-09 +/- 5.10e-09
Energy Flux (Free Index): 2.54e-04 +/- 2.55e-04

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/588473/cmap_HighResolution_570844801_571104001_4FGL_J1110.5-1836_daily_bin1279.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', comment='SUCCESS', photon_flux='2.48e-08', energy_flux2='2.54e-04', photon_flux_error='2.66e-08', dlogl='3.57e+00', energy_flux='1.96e-05', photon_flux2='5.06e-09', job_status='DONE', time_completed='2021-09-03 12:03:39.735737', photon_index_error2='0.00', photon_index2='0.00', ts='3.15', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='2.55e-04', EG='1.53', time_epoch_completed='1630695819.74', return_code='0', job_id='588473', GAL2='0.73', EG2='1.54', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='5.10e-09', ts2='10.28', photon_index='1.95' WHERE bin_id='1279' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:03:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 588473: <4FGL_J1110.5-1836_daily_bin1279> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1279> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:51:09 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:53:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 11:53:01 2021
Terminated at Fri Sep  3 12:03:40 2021
Results reported at Fri Sep  3 12:03:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1279 167.641 -18.6058 570844801 571104001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1110.5-1836 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   469.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             223.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            751 sec.

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

