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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1207
RA = 167.641, Dec = -18.6058
tmin = 552182401, tmax = 552441601
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='588370', job_status='RUN', time_executed='2021-09-03 11:53:15.829046', time_epoch_executed='1630695195.83' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1207'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588370

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588370/ft1_4FGL_J1110.5-1836_daily_bin1207.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588370/ft1_4FGL_J1110.5-1836_daily_bin1207.fits outfile=/scratch/kocevski/588370/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1207.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=552182401.0 tmax=552441601.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.74
user 3.50
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588370/ft1_filtered_4FGL_J1110.5-1836_daily_bin1207.fits" evtable="EVENTS" scfile=/scratch/kocevski/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits sctable="SC_DATA" outfile=/scratch/kocevski/588370/ltcube_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.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/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits
.....................!
real 16.52
user 16.10
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588370/ft1_filtered_4FGL_J1110.5-1836_daily_bin1207.fits evtable="EVENTS" scfile=/scratch/kocevski/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits sctable="SC_DATA" expcube=/scratch/kocevski/588370/ltcube_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.fits outfile=/scratch/kocevski/588370/expmap_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.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/588370/ltcube_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.fits
.....................!
real 192.45
user 187.04
sys 4.98

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/588370/ft1_filtered_4FGL_J1110.5-1836_daily_bin1207.fits scfile=/scratch/kocevski/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits outfile=/scratch/kocevski/588370/cmap_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588370/ft1_filtered_4FGL_J1110.5-1836_daily_bin1207.fits scfile=/scratch/kocevski/588370/ft2_4FGL_J1110.5-1836_daily_bin1207.fits outfile=/scratch/kocevski/588370/cmap_HighResolution_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.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.60
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3280       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.118       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.0556       1.0000         .10000E-03   10000.    
     5 'norm      '    11.410       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .48779       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.6572       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.6526       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .91019       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=   4769.933     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2015 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3274        8.8852       -.14283E-06   -.66309E-04
   2  Prefactor     16.123        16.390       -.51623E-06    .34012E-04
   3  Prefactor     .10000E-03    12.440       -.44574E-05** at limit **
   4  Prefactor     2.0535        5.6302       -.85204E-06   -.57710E-03
   5  norm          11.409        10.013       -.28384E-08    .19915E-04
   6  Prefactor     .10000E-03    22.058        .43943E-05** at limit **
   7  Prefactor     .10000E-03    94.443        .11705E-04** at limit **
   8  Prefactor     .10000E-03    13.134        .88491E-05** at limit **
   9  Prefactor     .10000E-03    15.506       -.69820E-05** at limit **
  10  Prefactor     .10000E-03    113.39       -.89137E-04** at limit **
  11  Prefactor     .10000E-03    18.944        .36645E-05** at limit **
  12  Prefactor     .10000E-03    22.437        .93474E-06** at limit **
  13  Prefactor     .10000E-03    33.858       -.12547E-04** at limit **
  14  norm          .48711        1.1401       -.26752E-06   -.13894E-02
  15  Prefactor     .10000E-03    14.475       -.15098E-05** at limit **
  16  Prefactor     .10000E-03    82.671        .63528E-04** at limit **
  17  Prefactor     .10000E-03    3.3908       -.14463E-07** at limit **
  18  norm          4.6567        8.7766       -.33797E-06   -.16310E-03
  19  Normalizat    1.6527        .28922        .35254E-06   -.38220E-06
  20  Prefactor     .91017        .16373        .15607E-06    .29409E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.3274
  Prefactor  = 16.1227
  Prefactor  = 0.0001
  Prefactor  = 2.0535
  norm       = 11.409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.487113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.65669
  Normalizat = 1.65275
  Prefactor  = 0.910166
 **********
 **   18 **HESSE 
 **********

 FCN=   4769.933     FROM HESSE     STATUS=OK           289 CALLS     2304 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3274        8.8826        .15956E-03   -1.5205    
   2  Prefactor     16.123        16.381        .99762E-04   -1.4905    
   3  Prefactor     .10000E-03    12.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.0535        5.6144        .25676E-03   -1.5421    
   5  norm          11.409        10.022        .11860E-03   -1.5032    
   6  Prefactor     .10000E-03    22.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    94.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    113.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    23.195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    33.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .48711        .94329        .10839E-02   -1.5568    
  15  Prefactor     .10000E-03    14.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    82.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.4152        .12419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.6567        8.7698        .18649E-03   -1.5276    
  19  Normalizat    1.6527        .34324        .30282E-03   -.73572    
  20  Prefactor     .91017        .19528        .22284E-03   -.95787    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.76325e-10
Minuit parameter uncertainties:
  1  8.88444
  2  16.3858
  3  1.72065e-05
  4  5.61589
  5  10.0237
  6  2.0648e-06
  7  3.14233e-06
  8  5.56146e-07
  9  4.07321e-07
  10  4.04833e-05
  11  3.44118e-06
  12  2.69925e-05
  13  1.11628e-05
  14  0.94332
  15  9.82199e-06
  16  0.000136775
  17  7.39153e-07
  18  8.77225
  19  0.343733
  20  0.195432
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.065e-06  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:  9.102e-01  1.954e-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.653e+00  3.437e-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: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588370/likelihoodResults_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.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) = 4769.93315861
delta logL = -0.000215651879444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4769.93294309
delta logL = -1.32103195938e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0311       1.0000          .0000       10.000    
     3 'Normalizat'    1.6527       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91017       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=   4769.933     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      235 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1288.9        .90712E-02** at limit **
   2  Index         2.0153        5.2498        .50000        .58923E-05
   3  Normalizat    1.6527        .64172E-01    .68457E-01    .26746E-05
   4  Prefactor     .91017        .36697E-01    .45134E-01    .74035E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.01533
  Normalizat = 1.65275
  Prefactor  = 0.910166
 **********
 **   18 **HESSE 
 **********

 FCN=   4769.933     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1203.4        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0153        5.6862        .50000       -.63967    
   3  Normalizat    1.6527        .61465E-01    .30282E-03   -.73572    
   4  Prefactor     .91017        .35163E-01    .22284E-03   -.95787    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40857e-09
Minuit parameter uncertainties:
  1  0.000339594
  2  30.9966
  3  0.0614678
  4  0.0351641
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588370': 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) = 4769.93294305
delta logL = -9.54423740041e-08

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  3.396e-04  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  2.015e+00  3.100e+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:  9.102e-01  3.516e-02  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.653e+00  6.147e-02  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/588370/cmap_HighResolution_552182401_552441601_4FGL_J1110.5-1836_daily_bin1207.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.44e-08', time_completed='2021-09-03 12:03:04.406627', job_id='588370', GAL2='0.91', fit_tolerance='1e-08', EG2='1.65', EG='1.65', time_epoch_completed='1630695784.41', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-9.54e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1207' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:03:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 588370: <4FGL_J1110.5-1836_daily_bin1207> in cluster <slac> Done

Job <4FGL_J1110.5-1836_daily_bin1207> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 11:51:02 2021
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 11:51:56 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:51:56 2021
Terminated at Fri Sep  3 12:03:05 2021
Results reported at Fri Sep  3 12:03:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1207 167.641 -18.6058 552182401 552441601 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 :                                   557.47 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            723 sec.

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

