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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin1028
RA = 168.405, Dec = -19.3359
tmin = 505785601, tmax = 506044801
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='615668', job_status='RUN', time_executed='2021-09-03 13:22:03.142579', time_epoch_executed='1630700523.14' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='1028'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/615668

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/615668/ft1_4FGL_J1113.6-1920_daily_bin1028.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/615668/ft1_4FGL_J1113.6-1920_daily_bin1028.fits outfile=/scratch/kocevski/615668/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1028.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=505785601.0 tmax=506044801.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.64
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.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/615668/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin1028.fits evtable="EVENTS" outfile="/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.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.51
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits" evtable="EVENTS" scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits sctable="SC_DATA" outfile=/scratch/kocevski/615668/ltcube_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.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/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits
.....................!
real 16.89
user 16.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits sctable="SC_DATA" expcube=/scratch/kocevski/615668/ltcube_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits outfile=/scratch/kocevski/615668/expmap_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.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/615668/ltcube_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits
.....................!
real 191.94
user 187.39
sys 4.19

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1113.6-1920 @ 168.405 -19.3359

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits outfile=/scratch/kocevski/615668/cmap_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.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=168.405 yref=-19.3359 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits outfile=/scratch/kocevski/615668/cmap_HighResolution_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.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=168.405 yref=-19.3359 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits evtable="EVENTS" scfile=/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/615668/Model_4FGL_J1113.6-1920_daily_bin1028.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/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits.....................!
real 58.19
user 56.91
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits', '/scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits', expMap='/scratch/kocevski/615668/expmap_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits', expCube='/scratch/kocevski/615668/ltcube_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/615668/Model_4FGL_J1113.6-1920_daily_bin1028.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1113.6-1920'

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  6.769e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/615668/ft1_filtered_4FGL_J1113.6-1920_daily_bin1028.fits
Spacecraft file(s): /scratch/kocevski/615668/ft2_4FGL_J1113.6-1920_daily_bin1028.fits
Exposure map: /scratch/kocevski/615668/expmap_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits
Exposure cube: /scratch/kocevski/615668/ltcube_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/615668/Model_4FGL_J1113.6-1920_daily_bin1028.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) = 6149.79587344

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.8414       1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.215       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4507       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .57114       1.0000         .10000E-03   10000.    
     6 'norm      '    4.6340       1.0000         .10000E-03   10000.    
     7 'Prefactor '    28.922       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13451E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .15813E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.536       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .42990       1.0000         .10000E-03   10000.    
    14 'norm      '    .26978       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.352       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.907       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91807       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0555       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6149.788     FROM MIGRAD    STATUS=CONVERGED    549 CALLS     2451 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2687        .41722E-07** at limit **
   2  Prefactor     6.8392        13.044       -.18596E-05   -.16077E-03
   3  Prefactor     13.210        15.305        .34775E-05    .30865E-03
   4  Prefactor     9.4492        7.4005        .13201E-05   -.59587E-03
   5  Prefactor     .57151        4.6448        .19108E-05   -.30734E-03
   6  norm          4.6322        5.7856        .33606E-05   -.11725E-02
   7  Prefactor     28.825        41.730       -.13118E-05    .87836E-04
   8  Prefactor     .11054E-03    172.05        .10177E-04** at limit **
   9  Prefactor     .10000E-03    7.7918        .17921E-08** at limit **
  10  Prefactor     .10000E-03    43.973       -.16859E-06** at limit **
  11  Prefactor     35.607        31.001        .50862E-05    .33455E-03
  12  Prefactor     .10000E-03    7.9839        .24779E-06** at limit **
  13  Prefactor     .11013        66.188       -.18439E-05    .13165E-03
  14  norm          .27245        1.0286        .23936E-06   -.24063E-03
  15  Prefactor     14.354        11.935        .67781E-06   -.25844E-04
  16  Prefactor     .10000E-03    35.776        .25308E-06** at limit **
  17  Prefactor     .10000E-03    3.8850       -.65975E-07** at limit **
  18  Prefactor     18.911        23.042       -.62347E-05   -.45014E-03
  19  Prefactor     .10000E-03    9.9741        .55926E-07** at limit **
  20  norm          .10000E-03    2.2073        .33872E-07** at limit **
  21  Normalizat    .91786        .22836       -.45017E-05   -.12328E-03
  22  Prefactor     1.0556        .13443       -.22223E-06   -.34611E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.83925
  Prefactor  = 13.2099
  Prefactor  = 9.44925
  Prefactor  = 0.571506
  norm       = 4.63223
  Prefactor  = 28.8249
  Prefactor  = 0.000110544
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.6071
  Prefactor  = 0.0001
  Prefactor  = 0.110133
  norm       = 0.272446
  Prefactor  = 14.3536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.9108
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.917863
  Prefactor  = 1.05565
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.788     FROM HESSE     STATUS=OK           356 CALLS     2807 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2892        .13846E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.8392        13.067        .15339E-03   -1.5185    
   3  Prefactor     13.210        15.445        .11019E-03   -1.4981    
   4  Prefactor     9.4492        7.4505        .65180E-03   -1.5093    
   5  Prefactor     .57151        4.7939        .32540E-03   -1.5557    
   6  norm          4.6322        6.0008        .93483E-03   -1.5277    
   7  Prefactor     28.825        44.401        .74498E-04   -1.4634    
   8  Prefactor     .11054E-03    162.37        .22102       -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.8180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    44.024        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     35.607        31.419        .67227E-04   -1.4514    
  12  Prefactor     .10000E-03    8.0757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11013        62.208        .16277       -1.5642    
  14  norm          .27245        1.0119        .13799E-03   -1.5604    
  15  Prefactor     14.354        11.996        .10573E-03   -1.4950    
  16  Prefactor     .10000E-03    35.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.9385        .15089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.911        23.621        .92112E-04   -1.4838    
  19  Prefactor     .10000E-03    10.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    2.2229        .11377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91786        .26969        .32385E-03   -.95835    
  22  Prefactor     1.0556        .15961        .18741E-03   -.90897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.21952e-09
Minuit parameter uncertainties:
  1  6.81908e-06
  2  13.0721
  3  15.4501
  4  7.45127
  5  3.3105
  6  6.00159
  7  44.4523
  8  0.0829779
  9  9.98647e-06
  10  1.75781e-05
  11  31.434
  12  3.28635e-05
  13  5.23804
  14  1.01201
  15  11.9983
  16  8.00575e-05
  17  5.03579e-05
  18  23.6326
  19  4.57695e-05
  20  1.15224e-05
  21  0.270086
  22  0.159684
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.105e-04  8.298e-02  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.285e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.056e+00  1.597e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  9.179e-01  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 168.405 -19.336
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/615668/likelihoodResults_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.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) = 6149.78838549
delta logL = -2.18093464355e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6149.78838549
delta logL = -2.18082095671e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96367E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2852       1.0000          .0000       10.000    
     3 'Normalizat'    .91786       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0556       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6149.684     FROM MIGRAD    STATUS=CONVERGED    124 CALLS      277 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9324        151.86        .90712E-02    .69271E-03
   2  Index         3.8645        6.8050        .11623        .18669E-03
   3  Normalizat    .88089        .48814E-01    .74553E-01    .52646E-04
   4  Prefactor     1.0687        .30053E-01    .39590E-01   -.24982E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93235
  Index      = 3.86454
  Normalizat = 0.880894
  Prefactor  = 1.06869
 **********
 **   18 **HESSE 
 **********

 FCN=   6149.684     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      308 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9324        440.95        .23056E-03   -1.5430    
   2  Index         3.8645        5.4186        .95243E-02   -.22909    
   3  Normalizat    .88089        .17924        .32993E-03   -.97135    
   4  Prefactor     1.0687        .10982        .18637E-03   -.90474    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.02451e-08
Minuit parameter uncertainties:
  1  58.8225
  2  12.2071
  3  0.179363
  4  0.109842
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/615668': 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) = 6149.68411046
delta logL = 0.104272854911

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.932e+00  5.882e+01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  3.865e+00  1.221e+01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  1.590e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
601    Prefactor:  1.069e+00  1.098e-01  0.000e+00  1.000e+01 ( 1.000e+00)
602        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
603        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
600   Normalization:  8.809e-01  1.794e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 168.405 -19.336

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/615668/cmap_HighResolution_505785601_506044801_4FGL_J1113.6-1920_daily_bin1028.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.63e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-03 13:33:35.047497', job_id='615668', GAL2='1.07', fit_tolerance='1e-08', EG2='0.88', EG='0.92', time_epoch_completed='1630701215.05', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.04e-01', ts2='0.23', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1028' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:33:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 615668: <4FGL_J1113.6-1920_daily_bin1028> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin1028> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 13:21:33 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:21: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 13:21:54 2021
Terminated at Fri Sep  3 13:33:35 2021
Results reported at Fri Sep  3 13:33:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin1028 168.405 -19.3359 505785601 506044801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1113.6-1920 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   689.57 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            722 sec.

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

