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


Performing analysis on: 4FGL_J1113.6-1920_daily_bin755
RA = 168.405, Dec = -19.3359
tmin = 435024001, tmax = 435283201
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='614126', job_status='RUN', time_executed='2021-09-03 13:18:57.296293', time_epoch_executed='1630700337.3' WHERE source_name='4FGL J1113.6-1920' and cadence='daily' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614126

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614126/ft1_4FGL_J1113.6-1920_daily_bin755.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614126/ft1_4FGL_J1113.6-1920_daily_bin755.fits outfile=/scratch/kocevski/614126/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin755.fits ra=168.405 dec=-19.3359 rad=12.0 tmin=435024001.0 tmax=435283201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.07
user 4.81
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.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/614126/ft1_filteredMKT_4FGL_J1113.6-1920_daily_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.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.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/614126/ltcube_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.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/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits
.....................!
real 17.24
user 16.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/614126/ltcube_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits outfile=/scratch/kocevski/614126/expmap_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.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/614126/ltcube_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits
.....................!
real 199.99
user 194.42
sys 4.99

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/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits outfile=/scratch/kocevski/614126/cmap_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits outfile=/scratch/kocevski/614126/cmap_HighResolution_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.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.57
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614126/Model_4FGL_J1113.6-1920_daily_bin755.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/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits.....................!
real 56.89
user 55.19
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits', '/scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits', expMap='/scratch/kocevski/614126/expmap_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits', expCube='/scratch/kocevski/614126/ltcube_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/614126/Model_4FGL_J1113.6-1920_daily_bin755.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/614126/ft1_filtered_4FGL_J1113.6-1920_daily_bin755.fits
Spacecraft file(s): /scratch/kocevski/614126/ft2_4FGL_J1113.6-1920_daily_bin755.fits
Exposure map: /scratch/kocevski/614126/expmap_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits
Exposure cube: /scratch/kocevski/614126/ltcube_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/614126/Model_4FGL_J1113.6-1920_daily_bin755.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) = 5975.87953085

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19785       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10406E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5626       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7775       1.0000         .10000E-03   10000.    
     6 'norm      '    10.354       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .37677       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15766E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.730       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.329       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5261       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4741       1.0000         .10000E-03   10000.    
    16 'Prefactor '    33.668       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.8718       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.3870       1.0000         .10000E-03   10000.    
    20 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .82298       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1052       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5975.876     FROM MIGRAD    STATUS=CONVERGED    842 CALLS     2743 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22223        41.538        .35723E-02   -.36731E-03
   2  Prefactor     .10000E-03    19.531        .18142E-02** at limit **
   3  Prefactor     4.5643        9.0117        .18846E-03    .35230E-04
   4  Prefactor     .10000E-03    2.1269        .10968E-02** at limit **
   5  Prefactor     3.7777        5.3949        .20187E-03    .17262E-03
   6  norm          10.354        7.5355        .12452E-03    .12426E-03
   7  Prefactor     .22438        19.126        .11377        .26059E-03
   8  Prefactor     .10002E-03    170.11        .18142E-02** at limit **
   9  Prefactor     14.732        18.840        .10436E-03    .72990E-04
  10  Prefactor     .10000E-03    30.398        .18142E-02** at limit **
  11  Prefactor     .10000E-03    30.548        .18142E-02** at limit **
  12  Prefactor     10.329        9.4433        .12467E-03    .45685E-04
  13  Prefactor     .10000E-03    26.718        .18142E-02** at limit **
  14  norm          3.5258        1.4267        .55895E-04    .55771E-03
  15  Prefactor     4.4736        8.6375        .19036E-03    .85881E-04
  16  Prefactor     33.667        34.593        .69061E-04    .50900E-04
  17  Prefactor     3.8720        5.0014        .18870E-03    .96637E-04
  18  Prefactor     .10000E-03    11.533        .18142E-02** at limit **
  19  Prefactor     6.3953        13.430        .15882E-03   -.37653E-04
  20  norm          .10000E-03    3.0480        .13035E-02** at limit **
  21  Normalizat    .82295        .26279        .33342E-03    .18593E-03
  22  Prefactor     1.1053        .15975        .18451E-03   -.60052E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.222227
  Prefactor  = 0.0001
  Prefactor  = 4.56425
  Prefactor  = 0.0001
  Prefactor  = 3.77773
  norm       = 10.3539
  Prefactor  = 0.224381
  Prefactor  = 0.000100015
  Prefactor  = 14.7316
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3292
  Prefactor  = 0.0001
  norm       = 3.5258
  Prefactor  = 4.4736
  Prefactor  = 33.6666
  Prefactor  = 3.87198
  Prefactor  = 0.0001
  Prefactor  = 6.39529
  norm       = 0.0001
  Normalizat = 0.822951
  Prefactor  = 1.10525
 **********
 **   18 **HESSE 
 **********

 FCN=   5975.876     FROM HESSE     STATUS=OK           332 CALLS     3075 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22223        42.414        .14289E-03   -1.5614    
   2  Prefactor     .10000E-03    19.545        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.5643        9.0110        .75383E-05   -1.5281    
   4  Prefactor     .10000E-03    2.1271        .21936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7777        5.3938        .80746E-05   -1.5319    
   6  norm          10.354        7.5351        .49809E-05   -1.5064    
   7  Prefactor     .22438        19.285        .11290       -1.5613    
   8  Prefactor     .10002E-03    170.15        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.732        18.839        .41743E-05   -1.4940    
  10  Prefactor     .10000E-03    30.398        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    30.552        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.329        9.4428        .49869E-05   -1.5065    
  13  Prefactor     .10000E-03    26.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5258        1.4267        .22358E-05   -1.5332    
  15  Prefactor     4.4736        8.6361        .76144E-05   -1.5285    
  16  Prefactor     33.667        34.590        .13812E-04   -1.4547    
  17  Prefactor     3.8720        5.0007        .75480E-05   -1.5314    
  18  Prefactor     .10000E-03    11.533        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.3953        13.427        .63527E-05   -1.5202    
  20  norm          .10000E-03    3.0488        .26070E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .82295        .26289        .13337E-04   -.99223    
  22  Prefactor     1.1053        .15951        .36901E-04   -.89299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96988e-09
Minuit parameter uncertainties:
  1  6.14322
  2  7.47906e-05
  3  9.01367
  4  1.55509e-06
  5  5.39454
  6  7.53579
  7  4.1608
  8  0.00322889
  9  18.8466
  10  4.89485e-05
  11  4.51782e-05
  12  9.44413
  13  0.000112789
  14  1.42667
  15  8.63852
  16  34.6109
  17  5.0012
  18  1.86651e-05
  19  13.4332
  20  3.89228e-06
  21  0.263297
  22  0.159581
Done.

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

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  3.229e-03  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.105e+00  1.596e-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.230e-01  2.633e-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: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/614126/likelihoodResults_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.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) = 5975.87639204
delta logL = -2.78726092802e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5975.87636416
delta logL = 8.13906808617e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2528       1.0000          .0000       10.000    
     3 'Normalizat'    .82295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1053       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=   5975.876     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      224 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10297E-03    1382.0        .90712E-02** at limit **
   2  Index         2.2309        8.3138        .24512        .94081E-06
   3  Normalizat    .82295        .15478E-01    .75332E-01    .50387E-03
   4  Prefactor     1.1053        .98323E-02    .37390E-01    .76017E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102972
  Index      = 2.23091
  Normalizat = 0.822949
  Prefactor  = 1.10526
 **********
 **   18 **HESSE 
 **********

 FCN=   5975.876     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      247 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10297E-03    9984.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2309        8.8058        .98049E-02   -.58694    
   3  Normalizat    .82295        .83199E-01    .33342E-03   -.99223    
   4  Prefactor     1.1053        .52959E-01    .18450E-03   -.89299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.39921e-07
Minuit parameter uncertainties:
  1  0.560743
  2  9040.67
  3  0.0832123
  4  0.0529616
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614126': 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) = 5975.87636416
delta logL = 6.18365447735e-09

Extracting fit parameters...

4FGL J1113.6-1920
   Spectrum: PowerLaw
274    Prefactor:  1.030e-04  5.607e-01  1.000e-04  1.000e+04 ( 1.000e-14)
275        Index:  2.231e+00  9.041e+03  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.105e+00  5.296e-02  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.229e-01  8.321e-02  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/614126/cmap_HighResolution_435024001_435283201_4FGL_J1113.6-1920_daily_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.06e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-03 13:30:54.009732', job_id='614126', GAL2='1.11', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630701054.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='6.18e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='755' AND source_name='4FGL J1113.6-1920' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 13:30:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 614126: <4FGL_J1113.6-1920_daily_bin755> in cluster <slac> Done

Job <4FGL_J1113.6-1920_daily_bin755> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep  3 13:16:11 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 13:16:55 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:16:55 2021
Terminated at Fri Sep  3 13:30:54 2021
Results reported at Fri Sep  3 13:30:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1113.6-1920_daily_bin755 168.405 -19.3359 435024001 435283201 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 :                                   715.00 sec.
    Max Memory :                                 1130 MB
    Average Memory :                             303.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            883 sec.

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

