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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1384
RA = 167.641, Dec = -18.6058
tmin = 598060801, tmax = 598320001
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='588624', job_status='RUN', time_executed='2021-09-03 11:55:37.113277', time_epoch_executed='1630695337.11' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1384'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588624/ft1_4FGL_J1110.5-1836_daily_bin1384.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588624/ft1_4FGL_J1110.5-1836_daily_bin1384.fits outfile=/scratch/kocevski/588624/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1384.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=598060801.0 tmax=598320001.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 4.98
user 4.68
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588624/ft1_filtered_4FGL_J1110.5-1836_daily_bin1384.fits" evtable="EVENTS" scfile=/scratch/kocevski/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits sctable="SC_DATA" outfile=/scratch/kocevski/588624/ltcube_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.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/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits
.....................!
real 16.69
user 16.28
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588624/ft1_filtered_4FGL_J1110.5-1836_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits sctable="SC_DATA" expcube=/scratch/kocevski/588624/ltcube_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.fits outfile=/scratch/kocevski/588624/expmap_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.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/588624/ltcube_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.fits
.....................!
real 192.17
user 187.50
sys 4.17

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/588624/ft1_filtered_4FGL_J1110.5-1836_daily_bin1384.fits scfile=/scratch/kocevski/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits outfile=/scratch/kocevski/588624/cmap_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.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.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/588624/ft1_filtered_4FGL_J1110.5-1836_daily_bin1384.fits evtable="EVENTS" scfile=/scratch/kocevski/588624/ft2_4FGL_J1110.5-1836_daily_bin1384.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/588624/Model_4FGL_J1110.5-1836_daily_bin1384.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/588624/ft1_filtered_4FGL_J1110.5-1836_daily_bin1384.fits.....................!
real 56.81
user 55.34
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16942E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13311E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.0327       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11861E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.763       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5063       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.5705       1.0000         .10000E-03   10000.    
    14 'norm      '    .45985       1.0000         .10000E-03   10000.    
    15 'Prefactor '    51.276       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5571       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .78355       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=   5646.392     FROM MIGRAD    STATUS=CONVERGED    397 CALLS     2006 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4643        .25571E-06** at limit **
   2  Prefactor     .10000E-03    39.237        .12770E-05** at limit **
   3  Prefactor     .10000E-03    31.883        .12531E-05** at limit **
   4  Prefactor     .10000E-03    4.1802       -.30480E-06** at limit **
   5  norm          9.0342        6.7952       -.98985E-07    .16725E-04
   6  Prefactor     .10000E-03    14.831       -.39317E-05** at limit **
   7  Prefactor     47.460        94.237       -.42063E-06   -.13037E-05
   8  Prefactor     .10000E-03    13.259        .55643E-06** at limit **
   9  Prefactor     .10000E-03    10.183        .33323E-06** at limit **
  10  Prefactor     .10000E-03    37.259        .28180E-06** at limit **
  11  Prefactor     .10000E-03    19.111       -.47503E-07** at limit **
  12  Prefactor     1.5054        24.550        .14205E-05    .14514E-05
  13  Prefactor     9.5662        51.799        .23625E-05    .23314E-04
  14  norm          .46200        1.1497       -.10557E-05   -.29100E-03
  15  Prefactor     51.280        15.432        .71012E-07    .14413E-03
  16  Prefactor     .10000E-03    13.937        .14005E-06** at limit **
  17  Prefactor     .10000E-03    10.093        .35929E-06** at limit **
  18  norm          .10000E-03    9.4325        .92722E-06** at limit **
  19  Normalizat    1.5566        .25925        .35222E-05   -.84659E-04
  20  Prefactor     .78377        .15066       -.23385E-05    .18714E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.03422
  Prefactor  = 0.0001
  Prefactor  = 47.4599
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.50543
  Prefactor  = 9.56619
  norm       = 0.462003
  Prefactor  = 51.2799
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.5566
  Prefactor  = 0.783772
 **********
 **   18 **HESSE 
 **********

 FCN=   5646.392     FROM HESSE     STATUS=OK           283 CALLS     2289 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4758        .15502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    40.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.2481        .15003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.0342        6.7956        .13336E-03   -1.5107    
   6  Prefactor     .10000E-03    14.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.460        94.367        .29010E-03   -1.4329    
   8  Prefactor     .10000E-03    13.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    19.128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5054        24.794        .34868E-03   -1.5463    
  13  Prefactor     9.5662        51.625        .12954E-03   -1.5089    
  14  norm          .46200        1.1526        .12304E-03   -1.5572    
  15  Prefactor     51.280        15.523        .56007E-04   -1.4275    
  16  Prefactor     .10000E-03    13.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.7288        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5566        .28545        .27902E-03   -.76200    
  20  Prefactor     .78377        .16675        .22541E-03   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84654e-10
Minuit parameter uncertainties:
  1  2.93956e-06
  2  7.24619e-05
  3  3.99595e-05
  4  4.29136e-06
  5  6.79616
  6  5.94672e-06
  7  94.6664
  8  1.60355e-05
  9  1.41658e-05
  10  8.73746e-06
  11  1.97045e-05
  12  12.2246
  13  44.5053
  14  1.15263
  15  15.5245
  16  1.98445e-06
  17  2.30981e-05
  18  9.12507e-06
  19  0.285744
  20  0.166852
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  5.947e-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:  7.838e-01  1.669e-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.557e+00  2.857e-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: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588624/likelihoodResults_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.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) = 5646.39270267
delta logL = -0.000319743542605

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5646.37414163
delta logL = 0.018241296948

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5646.392     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      308 TOTAL
                     EDM=   .81E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.948       -.51330E-05** at limit **
   2  Index         .97430        1.0767        .14431E-04   -.11232E-04
   3  Normalizat    1.5566        .27551       -.11842E-04   -.11101E-04
   4  Prefactor     .78377        .16579        .64460E-05   -.22292E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 0.974295
  Normalizat = 1.5566
  Prefactor  = 0.783769
 **********
 **   18 **HESSE 
 **********

 FCN=   5646.392     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      343 TOTAL
                     EDM=   .10E-03    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    997.91        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .97430        5.0901        .20487       -.93591    
   3  Normalizat    1.5566        .57336E-01    .63086E-01   -.76200    
   4  Prefactor     .78377        .34451E-01    .43610E-01   -1.0033    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.96229e-05
Minuit parameter uncertainties:
  1  0.000352289
  2  2631.09
  3  0.0573385
  4  0.0344524
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588624': 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) = 5646.3923831
delta logL = -1.78448317456e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
609    Prefactor:  7.838e-01  3.445e-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.557e+00  5.734e-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/588624/cmap_HighResolution_598060801_598320001_4FGL_J1110.5-1836_daily_bin1384.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.98e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-09-03 12:06:16.302982', job_id='588624', GAL2='0.78', fit_tolerance='1e-08', EG2='1.56', EG='1.56', time_epoch_completed='1630695976.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='-1.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1384' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 12:06:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 588624: <4FGL_J1110.5-1836_daily_bin1384> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1384 167.641 -18.6058 598060801 598320001 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 :                                   623.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             319.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   682 sec.
    Turnaround time :                            897 sec.

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

