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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1000
RA = 167.641, Dec = -18.6058
tmin = 498528001, tmax = 498787201
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='587078', job_status='RUN', time_executed='2021-09-03 11:48:19.131825', time_epoch_executed='1630694899.13' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587078/ft1_4FGL_J1110.5-1836_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587078/ft1_4FGL_J1110.5-1836_daily_bin1000.fits outfile=/scratch/kocevski/587078/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1000.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=498528001.0 tmax=498787201.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.00
user 4.75
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/587078/ltcube_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.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/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits
.....................!
real 18.11
user 17.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/587078/ltcube_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits outfile=/scratch/kocevski/587078/expmap_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.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/587078/ltcube_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits
.....................!
real 193.92
user 189.13
sys 4.24

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/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits scfile=/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits outfile=/scratch/kocevski/587078/cmap_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits scfile=/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits outfile=/scratch/kocevski/587078/cmap_HighResolution_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587078/Model_4FGL_J1110.5-1836_daily_bin1000.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/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits.....................!
real 34.93
user 33.55
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits', '/scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits', expMap='/scratch/kocevski/587078/expmap_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits', expCube='/scratch/kocevski/587078/ltcube_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/587078/Model_4FGL_J1110.5-1836_daily_bin1000.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/587078/ft1_filtered_4FGL_J1110.5-1836_daily_bin1000.fits
Spacecraft file(s): /scratch/kocevski/587078/ft2_4FGL_J1110.5-1836_daily_bin1000.fits
Exposure map: /scratch/kocevski/587078/expmap_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits
Exposure cube: /scratch/kocevski/587078/ltcube_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/587078/Model_4FGL_J1110.5-1836_daily_bin1000.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) = 2881.80876138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0265       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10798E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    97.548       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .34053E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.204       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .52515       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8840       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.7858       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.638       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .35767       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3345       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=   2881.802     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     2002 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0296        19.262        .14612E-05   -.24148E-04
   2  Prefactor     .10000E-03    9.1805       -.11985E-04** at limit **
   3  Prefactor     .10000E-03    8.7549        .54150E-05** at limit **
   4  Prefactor     .10000E-03    3.2281        .76429E-07** at limit **
   5  norm          .10000E-03    26.115        .46100E-05** at limit **
   6  Prefactor     97.488        71.407       -.50393E-04    .40430E-04
   7  Prefactor     .10009E-03    258.06       -.82529E-04** at limit **
   8  Prefactor     .10000E-03    9.5036        .72392E-05** at limit **
   9  Prefactor     .10000E-03    38.954        .10810E-04** at limit **
  10  Prefactor     .10000E-03    92.625        .25519E-05** at limit **
  11  Prefactor     .10000E-03    40.202        .16183E-04** at limit **
  12  Prefactor     17.202        20.250        .18686E-05   -.39065E-04
  13  Prefactor     .10000E-03    34.517       -.27073E-04** at limit **
  14  norm          .52450        1.8084        .25376E-05    .42884E-03
  15  Prefactor     4.8837        11.503       -.48117E-05   -.28530E-03
  16  Prefactor     6.8498        144.32        .18860E-03    .13110E-04
  17  Prefactor     .10000E-03    7.1247        .15082E-06** at limit **
  18  norm          16.638        11.066       -.37570E-07   -.66786E-04
  19  Normalizat    .35746        .43115       -.35392E-05   -.17997E-03
  20  Prefactor     1.3346        .25924       -.19864E-05   -.20230E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.02956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 97.4876
  Prefactor  = 0.000100094
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.2017
  Prefactor  = 0.0001
  norm       = 0.524502
  Prefactor  = 4.88372
  Prefactor  = 6.84978
  Prefactor  = 0.0001
  norm       = 16.6379
  Normalizat = 0.357456
  Prefactor  = 1.33463
 **********
 **   18 **HESSE 
 **********

 FCN=   2881.802     FROM HESSE     STATUS=OK           287 CALLS     2289 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0296        19.246        .14152E-03   -1.5141    
   2  Prefactor     .10000E-03    9.1816        .15886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.7613        .15516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.2353        .94187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    27.289        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     97.488        70.544        .20350E-03   -1.3730    
   7  Prefactor     .10009E-03    256.74        .21336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5124        .16165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    39.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    92.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    40.238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.202        20.136        .96563E-04   -1.4878    
  13  Prefactor     .10000E-03    34.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .52450        1.7722        .12174E-03   -1.5563    
  15  Prefactor     4.8837        11.433        .18201E-03   -1.5266    
  16  Prefactor     6.8498        142.27        .15403E-03   -1.5184    
  17  Prefactor     .10000E-03    7.3362        .27985E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.638        11.033        .98191E-04   -1.4892    
  19  Normalizat    .35746        .39932        .49683E-03   -1.1956    
  20  Prefactor     1.3346        .25037        .17186E-03   -.82283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.5859e-09
Minuit parameter uncertainties:
  1  19.2605
  2  1.06651e-05
  3  1.36495e-05
  4  2.89011e-05
  5  0.000240108
  6  70.6048
  7  0.00987286
  8  9.88276e-08
  9  3.52824e-05
  10  1.82001e-05
  11  2.81795e-05
  12  20.1435
  13  9.49359e-05
  14  1.77236
  15  11.4385
  16  62.6057
  17  2.30973e-05
  18  11.0343
  19  0.402558
  20  0.250599
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  9.749e+01  7.060e+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:  1.335e+00  2.506e-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:  3.575e-01  4.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.82
Ra Dec: 167.641 -18.606
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 6.60e-08
Energy Flux (Fixed Index): 7.20e-05 +/- 5.22e-05

TS (Fixed Index): 3.82
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 2.36e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/587078/likelihoodResults_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.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) = 2880.08442169
delta logL = 1.71779647471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2879.98196762
delta logL = 1.82025053911

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.728       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0119       1.0000          .0000       10.000    
     3 'Normalizat'    .16350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4099       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=   2879.982     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      270 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.772        119.01        .27026E-02   -.15047E-03
   2  Index         3.0108        1.9761        .41738E-01    .11574E-04
   3  Normalizat    .16359        .18894        .16539        .31564E-04
   4  Prefactor     1.4098        .11092        .30927E-01   -.57885E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.7716
  Index      = 3.0108
  Normalizat = 0.16359
  Prefactor  = 1.40978
 **********
 **   18 **HESSE 
 **********

 FCN=   2879.982     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.772        40.720        .88932E-04   -1.4966    
   2  Index         3.0108        1.0584        .17962E-02   -.40916    
   3  Normalizat    .16359        .40269        .71673E-03   -1.3222    
   4  Prefactor     1.4098        .25801        .16729E-03   -.80099    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66782e-11
Minuit parameter uncertainties:
  1  40.802
  2  1.06804
  3  0.410267
  4  0.258244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587078': 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) = 2879.98196584
delta logL = 1.82025232544

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.377e+01  4.080e+01  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.011e+00  1.068e+00  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:  1.410e+00  2.582e-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.636e-01  4.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.91
Ra Dec: 167.641 -18.606
Photon Index (Free Index): 3.01 +/- 1.07
Photon Flux (Free Index): 2.48e-07 +/- 1.36e-07
Energy Flux (Free Index): 4.92e-05 +/- 2.66e-05

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/587078/cmap_HighResolution_498528001_498787201_4FGL_J1110.5-1836_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='4.92e-05', photon_flux_error='6.60e-08', dlogl='1.82e+00', energy_flux='7.20e-05', photon_flux2='2.48e-07', job_status='DONE', time_completed='2021-09-03 11:56:27.876893', photon_index_error2='1.07', photon_index2='3.01', ts='3.82', fit_tolerance='1e-08', GAL='1.33', photon_index_error='0.00', photon_flux_upper_limit='2.36e-07', energy_flux_error2='2.66e-05', EG='0.36', time_epoch_completed='1630695387.88', return_code='0', job_id='587078', GAL2='1.41', EG2='0.16', return_code2='0', energy_flux_error='5.22e-05', photon_flux_error2='1.36e-07', ts2='7.91', photon_index='1.95' WHERE bin_id='1000' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:56:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 587078: <4FGL_J1110.5-1836_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1000> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 11:46:36 2021
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:47:41 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:47:41 2021
Terminated at Fri Sep  3 11:56:28 2021
Results reported at Fri Sep  3 11:56:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1000 167.641 -18.6058 498528001 498787201 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 :                                   482.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   528 sec.
    Turnaround time :                            592 sec.

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

