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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1008
RA = 169.986, Dec = -10.1288
tmin = 500601601, tmax = 500860801
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='675600', job_status='RUN', time_executed='2021-09-03 16:19:25.800445', time_epoch_executed='1630711165.8' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1008'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675600/ft1_4FGL_J1119.9-1007_daily_bin1008.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675600/ft1_4FGL_J1119.9-1007_daily_bin1008.fits outfile=/scratch/kocevski/675600/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1008.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=500601601.0 tmax=500860801.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.28
user 5.01
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.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/675600/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1008.fits evtable="EVENTS" outfile="/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.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.54
user 0.36
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits" evtable="EVENTS" scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits sctable="SC_DATA" outfile=/scratch/kocevski/675600/ltcube_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.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/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits
.....................!
real 17.67
user 17.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits sctable="SC_DATA" expcube=/scratch/kocevski/675600/ltcube_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits outfile=/scratch/kocevski/675600/expmap_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.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/675600/ltcube_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits
.....................!
real 193.06
user 187.47
sys 4.80

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

Setting source of interest to:
4FGL J1119.9-1007 @ 169.986 -10.1288

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits outfile=/scratch/kocevski/675600/cmap_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.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=169.986 yref=-10.1288 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.61
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits outfile=/scratch/kocevski/675600/cmap_HighResolution_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.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=169.986 yref=-10.1288 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.71
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits evtable="EVENTS" scfile=/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675600/Model_4FGL_J1119.9-1007_daily_bin1008.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/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits.....................!
real 50.45
user 49.01
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits', '/scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits', expMap='/scratch/kocevski/675600/expmap_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits', expCube='/scratch/kocevski/675600/ltcube_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675600/Model_4FGL_J1119.9-1007_daily_bin1008.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.9-1007'

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  4.961e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/675600/ft1_filtered_4FGL_J1119.9-1007_daily_bin1008.fits
Spacecraft file(s): /scratch/kocevski/675600/ft2_4FGL_J1119.9-1007_daily_bin1008.fits
Exposure map: /scratch/kocevski/675600/expmap_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits
Exposure cube: /scratch/kocevski/675600/ltcube_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675600/Model_4FGL_J1119.9-1007_daily_bin1008.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) = 5302.78342784

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.741       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    48.064       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.466       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6637       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.4055       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0542       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5446       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.5831       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.1906       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .44658       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6942       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .34218       1.0000         .10000E-03   10000.    
    21 'Prefactor '    22.857       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .77782       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5302.779     FROM MIGRAD    STATUS=CONVERGED    603 CALLS     2770 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.741        6.3619       -.73058E-07   -.28257E-04
   2  Prefactor     .10001E-03    35.277       -.11719E-05** at limit **
   3  Prefactor     47.991        79.420        .49049E-04    .24430E-05
   4  Prefactor     .10000E-03    5.1589       -.12440E-07** at limit **
   5  Prefactor     .10000E-03    2.8947       -.19378E-08** at limit **
   6  Prefactor     .10000E-03    1.3926        .22487E-07** at limit **
   7  Prefactor     34.455        60.471        .33673E-05   -.30830E-05
   8  norm          4.6640        6.0729       -.79169E-07   -.11920E-03
   9  Prefactor     .10000E-03    49.146        .34400E-05** at limit **
  10  norm          1.4055        1.0190       -.37194E-06   -.83270E-03
  11  Prefactor     9.0538        5.4961        .36022E-06   -.32948E-04
  12  Prefactor     .10000E-03    2.2196       -.17693E-07** at limit **
  13  norm          .10000E-03    42.873       -.34143E-05** at limit **
  14  Prefactor     3.5450        2.7291        .13538E-06   -.11711E-03
  15  Prefactor     7.5892        22.814       -.34769E-05   -.14391E-04
  16  Prefactor     .10000E-03    18.514        .77825E-07** at limit **
  17  norm          7.2052        8.4143        .19342E-05   -.24294E-03
  18  Prefactor     .44290        4.6261       -.35175E-06   -.97636E-04
  19  Prefactor     4.7369        30.663        .26128E-05   -.45612E-04
  20  Prefactor     .57963E-01    65.378        .56007E-05    .11541E-03
  21  Prefactor     22.870        19.470       -.12193E-04   -.18828E-03
  22  Prefactor     .10000E-03    18.026        .50487E-06** at limit **
  23  Normalizat    .77768        .21383       -.22636E-06   -.11360E-03
  24  Prefactor     1.0182        .14896       -.12380E-05   -.84511E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7412
  Prefactor  = 0.000100009
  Prefactor  = 47.9912
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.455
  norm       = 4.66401
  Prefactor  = 0.0001
  norm       = 1.40547
  Prefactor  = 9.05375
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.54497
  Prefactor  = 7.58918
  Prefactor  = 0.0001
  norm       = 7.20522
  Prefactor  = 0.442896
  Prefactor  = 4.73687
  Prefactor  = 0.0579627
  Prefactor  = 22.87
  Prefactor  = 0.0001
  Normalizat = 0.777676
  Prefactor  = 1.0182
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.779     FROM HESSE     STATUS=OK           409 CALLS     3179 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.741        6.3665        .11691E-03   -1.5023    
   2  Prefactor     .10001E-03    35.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.991        79.216        .57839E-04   -1.4321    
   4  Prefactor     .10000E-03    5.1712        .16150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.8980        .12099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.4005        .83876E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.455        60.477        .68260E-04   -1.4533    
   8  norm          4.6640        6.0598        .18635E-03   -1.5276    
   9  Prefactor     .10000E-03    49.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.4055        1.0062        .60112E-04   -1.5471    
  11  Prefactor     9.0538        5.4772        .12082E-03   -1.5106    
  12  Prefactor     .10000E-03    2.2235        .10594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    43.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5450        2.7278        .10185E-03   -1.5331    
  15  Prefactor     7.5892        22.747        .14563E-03   -1.5157    
  16  Prefactor     .10000E-03    18.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.2052        8.8174        .14959E-03   -1.5171    
  18  Prefactor     .44290        29.312        .21266E-02   -1.5575    
  19  Prefactor     4.7369        33.523        .18573E-03   -1.5273    
  20  Prefactor     .57963E-01    73.211        .14471       -1.5660    
  21  Prefactor     22.870        19.625        .83782E-04   -1.4751    
  22  Prefactor     .10000E-03    18.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77768        .25317        .30279E-03   -1.0090    
  24  Prefactor     1.0182        .17752        .19295E-03   -.92125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06489e-08
Minuit parameter uncertainties:
  1  6.36692
  2  0.00114124
  3  79.3907
  4  1.10907e-06
  5  2.97653e-07
  6  1.96159e-06
  7  60.5852
  8  6.06059
  9  0.000195742
  10  1.00618
  11  5.47751
  12  2.46877e-06
  13  0.000109742
  14  2.72788
  15  22.7731
  16  6.43725e-06
  17  8.819
  18  7.20903
  19  25.2224
  20  4.12146
  21  19.6306
  22  8.26115e-05
  23  0.253552
  24  0.177626
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  3.446e+01  6.059e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.018e+00  1.776e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  7.777e-01  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 169.986 -10.129
Photon Flux Upper Limit: 9.48e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675600/likelihoodResults_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.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): 0
logL (Free Index) = 5302.58124914
delta logL = 0.197869755863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5302.57248037
delta logL = 0.20663852044

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.043       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8717       1.0000          .0000       10.000    
     3 'Normalizat'    .75694       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0268       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+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=   5302.572     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      308 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.032        290.39        .11091E-03   -.35958E-03
   2  Index         2.8733        3.5442        .66052E-02   -.11165E-03
   3  Normalizat    .75661        .25664        .30654E-03    .38630E-03
   4  Prefactor     1.0268        .18408        .19217E-03    .47456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0316
  Index      = 2.87326
  Normalizat = 0.756605
  Prefactor  = 1.02684
 **********
 **   18 **HESSE 
 **********

 FCN=   5302.572     FROM HESSE     STATUS=OK            25 CALLS      333 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.032        38.456        .44364E-05   -1.4986    
   2  Index         2.8733        1.2506        .26421E-03   -.43935    
   3  Normalizat    .75661        .24561        .12262E-04   -1.0170    
   4  Prefactor     1.0268        .17649        .38433E-04   -.91840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.19103e-10
Minuit parameter uncertainties:
  1  38.529
  2  1.26709
  3  0.245969
  4  0.176588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675600': 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): 0
logL (Free Index) = 5302.57247588
delta logL = 0.206643011655

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.303e+01  3.853e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.873e+00  1.267e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  1.027e+00  1.766e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  7.566e-01  2.460e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
Ra Dec: 169.986 -10.129

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/675600/cmap_HighResolution_500601601_500860801_4FGL_J1119.9-1007_daily_bin1008.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-09-03 16:31:25.915068', job_id='675600', GAL2='1.03', fit_tolerance='1e-08', EG2='0.76', EG='0.78', time_epoch_completed='1630711885.92', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.07e-01', ts2='0.81', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1008' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:31:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 675600: <4FGL_J1119.9-1007_daily_bin1008> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1008> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 16:16:29 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:17:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:17:02 2021
Terminated at Fri Sep  3 16:31:26 2021
Results reported at Fri Sep  3 16:31:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1008 169.986 -10.1288 500601601 500860801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.9-1007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   695.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            897 sec.

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

