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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin852
RA = 167.641, Dec = -18.6058
tmin = 460166401, tmax = 460425601
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='586839', job_status='RUN', time_executed='2021-09-03 11:49:58.924118', time_epoch_executed='1630694998.92' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='852'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586839/ft1_4FGL_J1110.5-1836_daily_bin852.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586839/ft1_4FGL_J1110.5-1836_daily_bin852.fits outfile=/scratch/kocevski/586839/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin852.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=460166401.0 tmax=460425601.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.45
user 3.18
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits" evtable="EVENTS" scfile=/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits sctable="SC_DATA" outfile=/scratch/kocevski/586839/ltcube_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.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/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits
.....................!
real 17.41
user 16.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits sctable="SC_DATA" expcube=/scratch/kocevski/586839/ltcube_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.fits outfile=/scratch/kocevski/586839/expmap_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.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/586839/ltcube_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.fits
.....................!
real 193.15
user 188.17
sys 4.14

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/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits scfile=/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits outfile=/scratch/kocevski/586839/cmap_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.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.57
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits scfile=/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits outfile=/scratch/kocevski/586839/cmap_HighResolution_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits evtable="EVENTS" scfile=/scratch/kocevski/586839/ft2_4FGL_J1110.5-1836_daily_bin852.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/586839/Model_4FGL_J1110.5-1836_daily_bin852.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/586839/ft1_filtered_4FGL_J1110.5-1836_daily_bin852.fits.....................!
real 61.85
user 60.28
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.492       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1606       1.0000         .10000E-03   10000.    
     5 'norm      '    15.357       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .83351E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11208E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1480       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0407       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.9497       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .75269       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1887       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=   6255.661     FROM MIGRAD    STATUS=CONVERGED    408 CALLS     1698 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.493        7.8817        .40947E-07   -.14230E-04
   2  Prefactor     .10000E-03    6.2548       -.37761E-07** at limit **
   3  Prefactor     .10000E-03    6.5840        .99862E-07** at limit **
   4  Prefactor     3.1607        4.5181        .10541E-06   -.13218E-03
   5  norm          15.358        7.7839        .39121E-07   -.25828E-04
   6  Prefactor     .10000E-03    18.521       -.14186E-05** at limit **
   7  Prefactor     .10000E-03    27.716        .20091E-05** at limit **
   8  Prefactor     .10000E-03    9.9298       -.13295E-06** at limit **
   9  Prefactor     .10000E-03    8.8338        .49706E-06** at limit **
  10  Prefactor     .10000E-03    31.214        .15849E-05** at limit **
  11  Prefactor     .10000E-03    35.331       -.33462E-05** at limit **
  12  Prefactor     .10000E-03    31.661        .76986E-06** at limit **
  13  Prefactor     .10000E-03    14.795        .15478E-05** at limit **
  14  norm          2.1482        1.2363        .15941E-07   -.71088E-04
  15  Prefactor     4.0418        7.2328        .23909E-06   -.49620E-04
  16  Prefactor     .10000E-03    17.997       -.12463E-05** at limit **
  17  Prefactor     8.9492        8.5222        .15969E-05   -.54197E-03
  18  norm          .10000E-03    3.2842       -.32006E-07** at limit **
  19  Normalizat    .75265        .23432       -.51061E-06   -.36589E-04
  20  Prefactor     1.1887        .14388       -.10437E-06   -.42397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.1607
  norm       = 15.3578
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.14818
  Prefactor  = 4.04175
  Prefactor  = 0.000100001
  Prefactor  = 8.94922
  norm       = 0.0001
  Normalizat = 0.752655
  Prefactor  = 1.18866
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.661     FROM HESSE     STATUS=OK           289 CALLS     1987 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.493        7.8820        .11817E-03   -1.5030    
   2  Prefactor     .10000E-03    6.2741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.5977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1607        4.5195        .19261E-03   -1.5352    
   5  norm          15.358        7.7918        .10220E-03   -1.4924    
   6  Prefactor     .10000E-03    18.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    28.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.9622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    40.094        .45194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    31.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    37.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.173        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1482        1.2307        .64036E-04   -1.5415    
  15  Prefactor     4.0418        7.2254        .20060E-03   -1.5306    
  16  Prefactor     .10000E-03    18.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.9492        9.1535        .66989E-03   -1.5110    
  18  norm          .10000E-03    3.2987        .13997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .75265        .26785        .36159E-03   -1.0185    
  20  Prefactor     1.1887        .16612        .18493E-03   -.86681    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41024e-10
Minuit parameter uncertainties:
  1  7.88275
  2  3.33891e-06
  3  1.08089e-05
  4  4.52004
  5  7.79232
  6  0.000237343
  7  0.000424172
  8  2.08738e-05
  9  0.000889845
  10  0.0003497
  11  0.000803981
  12  0.00015549
  13  0.000238533
  14  1.2307
  15  7.22697
  16  0.000208758
  17  9.15494
  18  2.32139e-06
  19  0.268317
  20  0.166196
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.373e-04  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.189e+00  1.662e-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:  7.527e-01  2.683e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 167.641 -18.606
Photon Flux Upper Limit: 5.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/586839/likelihoodResults_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.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) = 6255.66127878
delta logL = -0.000251030989602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6255.66102816
delta logL = -4.12708686781e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0633       1.0000          .0000       10.000    
     3 'Normalizat'    .75265       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1887       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=   6255.661     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      240 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.1333        .90712E-02** at limit **
   2  Index         2.0272        5.9594        .50000        .15719E-04
   3  Normalizat    .75266        .35356E-02    .81662E-01   -.12024E-04
   4  Prefactor     1.1887        .22331E-02    .34905E-01   -.80644E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.02717
  Normalizat = 0.752655
  Prefactor  = 1.18866
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.661     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      271 TOTAL
                     EDM=   .88E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0272        6.3860        .50000       -.63673    
   3  Normalizat    .75266        .92058E-02    .36159E-03   -1.0185    
   4  Prefactor     1.1887        .58284E-02    .18493E-03   -.86681    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.81679e-08
Minuit parameter uncertainties:
  1  0.000346298
  2  73.3814
  3  0.00920579
  4  0.00582845
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586839': 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) = 6255.66102801
delta logL = -2.61095010501e-07

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.463e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.027e+00  7.338e+01  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.189e+00  5.828e-03  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:  7.527e-01  9.206e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 167.641 -18.606

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/586839/cmap_HighResolution_460166401_460425601_4FGL_J1110.5-1836_daily_bin852.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.01e-03', job_status='DONE', photon_flux_upper_limit='5.38e-08', time_completed='2021-09-03 12:00:10.116453', job_id='586839', GAL2='1.19', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630695610.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='-2.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='852' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:00:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 586839: <4FGL_J1110.5-1836_daily_bin852> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin852> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Sep  3 11:46:16 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:46:31 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:46:31 2021
Terminated at Fri Sep  3 12:00:10 2021
Results reported at Fri Sep  3 12:00:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin852 167.641 -18.6058 460166401 460425601 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 :                                   608.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            834 sec.

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

