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


Performing analysis on: 4FGL_J1110.5-1836_daily_bin1032
RA = 167.641, Dec = -18.6058
tmin = 506822401, tmax = 507081601
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='587129', job_status='RUN', time_executed='2021-09-03 11:51:18.749579', time_epoch_executed='1630695078.75' WHERE source_name='4FGL J1110.5-1836' and cadence='daily' and bin_id='1032'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/587129

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/587129/ft1_4FGL_J1110.5-1836_daily_bin1032.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/587129/ft1_4FGL_J1110.5-1836_daily_bin1032.fits outfile=/scratch/kocevski/587129/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1032.fits ra=167.641 dec=-18.6058 rad=12.0 tmin=506822401.0 tmax=507081601.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 2.97
user 2.74
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.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/587129/ft1_filteredMKT_4FGL_J1110.5-1836_daily_bin1032.fits evtable="EVENTS" outfile="/scratch/kocevski/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.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.47
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits" evtable="EVENTS" scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits sctable="SC_DATA" outfile=/scratch/kocevski/587129/ltcube_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.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/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits
.....................!
real 16.43
user 16.09
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits sctable="SC_DATA" expcube=/scratch/kocevski/587129/ltcube_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.fits outfile=/scratch/kocevski/587129/expmap_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.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/587129/ltcube_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.fits
.....................!
real 160.41
user 155.82
sys 3.88

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/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits outfile=/scratch/kocevski/587129/cmap_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.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.51
user 0.35
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits outfile=/scratch/kocevski/587129/cmap_HighResolution_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.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.52
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits evtable="EVENTS" scfile=/scratch/kocevski/587129/ft2_4FGL_J1110.5-1836_daily_bin1032.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/587129/Model_4FGL_J1110.5-1836_daily_bin1032.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/587129/ft1_filtered_4FGL_J1110.5-1836_daily_bin1032.fits.....................!
real 39.79
user 38.50
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .30858E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.5392       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18389E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    120.49       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.209       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.6083       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .32665E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .67599       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25928E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .21428       1.0000         .10000E-03   10000.    
    18 'norm      '    7.9130       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .94253       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97041       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=   4511.456     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2164 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10062E-03    7.7783        .20892E-05** at limit **
   2  Prefactor     .10000E-03    6.3701        .61878E-07** at limit **
   3  Prefactor     3.5381        13.306       -.44509E-06   -.98477E-04
   4  Prefactor     .10000E-03    4.3135        .13212E-06** at limit **
   5  norm          .10000E-03    9.4834       -.17774E-06** at limit **
   6  Prefactor     .10002E-03    96.907       -.80353E-05** at limit **
   7  Prefactor     120.44        117.90       -.17702E-04    .38303E-05
   8  Prefactor     11.210        13.882        .23310E-04   -.25138E-04
   9  Prefactor     .10000E-03    4.4909       -.25995E-06** at limit **
  10  Prefactor     .10000E-03    37.279       -.12747E-05** at limit **
  11  Prefactor     9.6218        27.347        .13175E-04   -.10486E-04
  12  Prefactor     .10000E-03    4.0861       -.38509E-07** at limit **
  13  Prefactor     .12365E-03    57.724       -.34812E-08** at limit **
  14  norm          .67652        1.1121        .35753E-06    .59890E-03
  15  Prefactor     .10000E-03    3.8717       -.67342E-07** at limit **
  16  Prefactor     .10492E-03    32.356        .61223E-05** at limit **
  17  Prefactor     .24065        7.9509       -.38278E-06   -.69922E-04
  18  norm          7.9092        7.6054        .30205E-06   -.65616E-04
  19  Normalizat    .94254        .23930       -.29556E-05   -.26465E-03
  20  Prefactor     .97036        .14610       -.40805E-06   -.49789E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100621
  Prefactor  = 0.0001
  Prefactor  = 3.53809
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 120.44
  Prefactor  = 11.2104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.62184
  Prefactor  = 0.0001
  Prefactor  = 0.000123645
  norm       = 0.676522
  Prefactor  = 0.0001
  Prefactor  = 0.000104925
  Prefactor  = 0.240646
  norm       = 7.90916
  Normalizat = 0.942537
  Prefactor  = 0.970358
 **********
 **   18 **HESSE 
 **********

 FCN=   4511.456     FROM HESSE     STATUS=OK           313 CALLS     2477 TOTAL
                     EDM=   .47E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10062E-03    8.6434        .59454E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3744        .16555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.5381        13.292        .21486E-03   -1.5332    
   4  Prefactor     .10000E-03    4.3534        .13617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    9.6348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    98.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     120.44        117.69        .18331E-03   -1.3509    
   8  Prefactor     11.210        13.897        .11966E-03   -1.5038    
   9  Prefactor     .10000E-03    4.4931        .13903E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    37.304        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.6218        27.383        .12928E-03   -1.5087    
  12  Prefactor     .10000E-03    4.0886        .13260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .12365E-03    55.773        .15112       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .67652        .96306        .85153E-03   -1.5543    
  15  Prefactor     .10000E-03    3.8836        .12905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10492E-03    279.47        .73559E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .24065        55.295        .36184E-02   -1.5610    
  18  norm          7.9092        7.6028        .14254E-03   -1.5145    
  19  Normalizat    .94254        .28658        .30415E-03   -.94981    
  20  Prefactor     .97036        .17607        .18538E-03   -.93724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66594e-08
Minuit parameter uncertainties:
  1  0.00463549
  2  8.1924e-06
  3  13.3031
  4  3.18857e-05
  5  5.09407e-05
  6  0.00262927
  7  117.916
  8  13.9014
  9  5.31565e-05
  10  0.000258485
  11  27.4187
  12  2.90988e-06
  13  0.0726972
  14  0.963083
  15  4.27861e-06
  16  0.074548
  17  7.30097
  18  7.60374
  19  0.287049
  20  0.176178
Done.

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

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  2.629e-03  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.704e-01  1.762e-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:  9.425e-01  2.870e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/587129/likelihoodResults_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.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) = 4511.45644404
delta logL = -4.84594474983e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4511.10253137
delta logL = 0.353864215541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56409       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6009       1.0000          .0000       10.000    
     3 'Normalizat'    .87748       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99183       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=   4511.103     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      276 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55646        14.783        .11530E-01    .94700E-03
   2  Index         3.6047        2.5587        .78242E-01    .16841E-03
   3  Normalizat    .87730        .52185E-01    .70923E-01    .16585E-04
   4  Prefactor     .99197        .32241E-01    .46165E-01    .18249E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.556456
  Index      = 3.60467
  Normalizat = 0.877298
  Prefactor  = 0.991966
 **********
 **   18 **HESSE 
 **********

 FCN=   4511.103     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      311 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55646        43.493        .63301E-03   -1.5559    
   2  Index         3.6047        6.8002        .46241E-02   -.28282    
   3  Normalizat    .87730        .20748        .31382E-03   -.97262    
   4  Prefactor     .99197        .12465        .18340E-03   -.92998    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.25236e-07
Minuit parameter uncertainties:
  1  9.84561
  2  5.98598
  3  0.207664
  4  0.124686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/587129': 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) = 4511.10252616
delta logL = 0.353869420998

Extracting fit parameters...

4FGL J1110.5-1836
   Spectrum: PowerLaw
285    Prefactor:  5.565e-01  9.846e+00  1.000e-04  1.000e+04 ( 1.000e-14)
286        Index:  3.605e+00  5.986e+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:  9.920e-01  1.247e-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:  8.773e-01  2.077e-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/587129/cmap_HighResolution_506822401_507081601_4FGL_J1110.5-1836_daily_bin1032.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.38e-03', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2021-09-03 11:59:15.570765', job_id='587129', GAL2='0.99', fit_tolerance='1e-08', EG2='0.88', EG='0.94', time_epoch_completed='1630695555.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.54e-01', ts2='0.75', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='1032' AND source_name='4FGL J1110.5-1836' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 11:59:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 587129: <4FGL_J1110.5-1836_daily_bin1032> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1110.5-1836_daily_bin1032 167.641 -18.6058 506822401 507081601 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 :                                   472.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            755 sec.

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

