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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin762
RA = 167.641, Dec = -18.6058
tmin = 436838401, tmax = 437097601
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='585610', job_status='RUN', time_executed='2021-09-03 11:43:24.664680', time_epoch_executed='1630694604.66' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585610

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585610/ft1_4FGL_J1110.5-1836_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585610/ft1_4FGL_J1110.5-1836_daily_bin762.fits outfile=/scratch/kocevski/585610/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin762.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=436838401.0 tmax=437097601.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.20
user 4.73
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/585610/ltcube_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.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/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits
.....................!
real 16.96
user 16.33
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/585610/ltcube_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.fits outfile=/scratch/kocevski/585610/expmap_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.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/585610/ltcube_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.fits
.....................!
real 191.91
user 185.57
sys 5.62

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/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits scfile=/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits outfile=/scratch/kocevski/585610/cmap_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits scfile=/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits outfile=/scratch/kocevski/585610/cmap_HighResolution_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/585610/ft2_4FGL_J1110.5-1836_daily_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585610/Model_4FGL_J1110.5-1836_daily_bin762.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/585610/ft1_filtered_4FGL_J1110.5-1836_daily_bin762.fits.....................!
real 53.36
user 52.01
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .91030       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.9629       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10650E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    17.196       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.260       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10920E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.131       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.3832       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.5429       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2344       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .87351       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=   5491.152     FROM MIGRAD    STATUS=CONVERGED    418 CALLS     2059 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .94241        6.9216       -.38637E-05    .40390E-03
   2  Prefactor     5.9608        14.941        .10273E-05    .10136E-03
   3  Prefactor     .10000E-03    28.214       -.16751E-05** at limit **
   4  Prefactor     .10000E-03    1.9368        .81606E-08** at limit **
   5  norm          17.196        9.1712        .29148E-07    .88423E-06
   6  Prefactor     .10000E-03    55.614       -.56268E-05** at limit **
   7  Prefactor     .10000E-03    67.158        .69294E-05** at limit **
   8  Prefactor     10.241        20.364       -.55291E-07   -.84771E-05
   9  Prefactor     .10000E-03    7.1708        .29423E-07** at limit **
  10  Prefactor     40.112        76.446        .43885E-05    .11992E-04
  11  Prefactor     .10000E-03    17.331        .10060E-05** at limit **
  12  Prefactor     .10000E-03    10.990        .45566E-06** at limit **
  13  Prefactor     .10000E-03    24.835        .20005E-05** at limit **
  14  norm          2.3830        1.3030        .13757E-07   -.11744E-04
  15  Prefactor     .10000E-03    4.8036       -.18003E-07** at limit **
  16  Prefactor     .10000E-03    14.706       -.14288E-05** at limit **
  17  Prefactor     .10000E-03    1.8846        .15471E-07** at limit **
  18  norm          3.5433        7.6552        .42001E-05    .32794E-03
  19  Normalizat    1.2348        .22373       -.10214E-05    .11798E-03
  20  Prefactor     .87323        .13560        .15746E-06    .10804E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.942415
  Prefactor  = 5.96084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.1956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.2406
  Prefactor  = 0.0001
  Prefactor  = 40.1116
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.38304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.54333
  Normalizat = 1.23475
  Prefactor  = 0.873235
 **********
 **   18 **HESSE 
 **********

 FCN=   5491.152     FROM HESSE     STATUS=OK           291 CALLS     2350 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .94241        15.313        .29920E-02   -1.5514    
   2  Prefactor     5.9608        14.958        .16444E-03   -1.5220    
   3  Prefactor     .10000E-03    28.559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9451        .10069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          17.196        9.1809        .96585E-04   -1.4878    
   6  Prefactor     .10000E-03    55.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    67.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.241        20.373        .12509E-03   -1.5068    
   9  Prefactor     .10000E-03    7.1755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     40.112        76.456        .63274E-04   -1.4440    
  11  Prefactor     .10000E-03    17.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.3830        1.3040        .60119E-04   -1.5399    
  15  Prefactor     .10000E-03    4.8290        .15859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.8874        .99347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.5433        8.1924        .10737E-02   -1.5331    
  19  Normalizat    1.2348        .26498        .27876E-03   -.85536    
  20  Prefactor     .87323        .16112        .20255E-03   -.97083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56848e-09
Minuit parameter uncertainties:
  1  7.59949
  2  14.9675
  3  1.36579e-05
  4  1.67009e-06
  5  9.18163
  6  3.62089e-05
  7  0.000257337
  8  20.3873
  9  9.41062e-06
  10  76.6433
  11  1.86691e-05
  12  1.08489e-05
  13  4.05378e-05
  14  1.304
  15  4.54415e-07
  16  2.0001e-05
  17  6.58157e-07
  18  8.19495
  19  0.265271
  20  0.161205
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.621e-05  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:  8.732e-01  1.612e-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.235e+00  2.653e-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: 7.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585610/likelihoodResults_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.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) = 5491.15240091
delta logL = -8.51203940329e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5490.96800375
delta logL = 0.184312034249

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40335       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5347       1.0000          .0000       10.000    
     3 'Normalizat'    1.1929       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88642       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=   5490.968     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      277 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40237        26.432        .10870E-02    .72112E-03
   2  Index         3.5361        3.4944        .91266E-01    .19878E-03
   3  Normalizat    1.1928        .65584E-01    .63960E-01    .16529E-04
   4  Prefactor     .88642        .38782E-01    .44832E-01   -.49960E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.402367
  Index      = 3.53608
  Normalizat = 1.19281
  Prefactor  = 0.886422
 **********
 **   18 **HESSE 
 **********

 FCN=   5490.968     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      310 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40237        57.415        .43478E-04   -1.5581    
   2  Index         3.5361        6.5749        .61760E-02   -.29714    
   3  Normalizat    1.1928        .21059        .28293E-03   -.86825    
   4  Prefactor     .88642        .12651        .20116E-03   -.96617    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15213e-09
Minuit parameter uncertainties:
  1  9.62114
  2  7.9808
  3  0.21074
  4  0.126552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585610': 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) = 5490.96800306
delta logL = 0.184312722216

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  4.024e-01  9.621e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.536e+00  7.981e+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:  8.864e-01  1.266e-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.193e+00  2.107e-01  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/585610/cmap_HighResolution_436838401_437097601_4FGL_J1110.5-1836_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.65e-03', job_status='DONE', photon_flux_upper_limit='7.57e-08', time_completed='2021-09-03 11:53:42.568238', job_id='585610', GAL2='0.89', fit_tolerance='1e-08', EG2='1.19', EG='1.23', time_epoch_completed='1630695222.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.84e-01', ts2='0.39', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='762' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:53:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 585610: <4FGL_J1110.5-1836_daily_bin762> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin762> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:41:32 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:43:07 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:43:07 2021
Terminated at Fri Sep  3 11:53:43 2021
Results reported at Fri Sep  3 11:53:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin762 167.641 -18.6058 436838401 437097601 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 :                                   614.57 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   635 sec.
    Turnaround time :                            731 sec.

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

