/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 100 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 = 7393
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1119.9-1007_daily_bin307
RA = 169.986, Dec = -10.1288
tmin = 318902401, tmax = 319161601
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='670669', job_status='RUN', time_executed='2021-09-03 16:06:01.055299', time_epoch_executed='1630710361.06' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='307'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670669

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670669/ft1_4FGL_J1119.9-1007_daily_bin307.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670669/ft1_4FGL_J1119.9-1007_daily_bin307.fits outfile=/scratch/kocevski/670669/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin307.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=318902401.0 tmax=319161601.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.41
user 3.19
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.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/670669/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin307.fits evtable="EVENTS" outfile="/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.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.50
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits" evtable="EVENTS" scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits sctable="SC_DATA" outfile=/scratch/kocevski/670669/ltcube_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.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/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits
.....................!
real 16.21
user 15.81
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits sctable="SC_DATA" expcube=/scratch/kocevski/670669/ltcube_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits outfile=/scratch/kocevski/670669/expmap_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.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/670669/ltcube_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits
.....................!
real 194.37
user 188.84
sys 5.16

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/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits outfile=/scratch/kocevski/670669/cmap_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits outfile=/scratch/kocevski/670669/cmap_HighResolution_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits evtable="EVENTS" scfile=/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670669/Model_4FGL_J1119.9-1007_daily_bin307.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/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits.....................!
real 51.52
user 50.15
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits', '/scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits', expMap='/scratch/kocevski/670669/expmap_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits', expCube='/scratch/kocevski/670669/ltcube_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670669/Model_4FGL_J1119.9-1007_daily_bin307.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/670669/ft1_filtered_4FGL_J1119.9-1007_daily_bin307.fits
Spacecraft file(s): /scratch/kocevski/670669/ft2_4FGL_J1119.9-1007_daily_bin307.fits
Exposure map: /scratch/kocevski/670669/expmap_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits
Exposure cube: /scratch/kocevski/670669/ltcube_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670669/Model_4FGL_J1119.9-1007_daily_bin307.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) = 5148.42925045

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0393       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.789       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6138       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4562       1.0000         .10000E-03   10000.    
     7 'Prefactor '    84.251       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17929E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.4127       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4514       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10247E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8743       1.0000         .10000E-03   10000.    
    17 'norm      '    5.7099       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.960       1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.874       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0382       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0248       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=   5148.414     FROM MIGRAD    STATUS=CONVERGED    565 CALLS     3149 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0397        6.2965        .27120E-05   -.72163E-04
   2  Prefactor     .10000E-03    11.400       -.70764E-06** at limit **
   3  Prefactor     .10000E-03    31.962       -.19983E-06** at limit **
   4  Prefactor     19.792        23.332        .59588E-05   -.25149E-05
   5  Prefactor     9.6132        9.6731       -.13438E-05    .22383E-04
   6  Prefactor     1.4595        5.5637       -.13972E-05   -.86553E-03
   7  Prefactor     84.259        103.67        .51256E-05   -.50289E-05
   8  norm          .10000E-03    8.2022        .82285E-07** at limit **
   9  Prefactor     .10000E-03    628.46       -.11009E-04** at limit **
  10  norm          6.4126        1.9837       -.18707E-07    .36243E-04
  11  Prefactor     3.4497        6.2136       -.52234E-06   -.47152E-03
  12  Prefactor     .10000E-03    10.615        .11038E-05** at limit **
  13  norm          .10000E-03    9.0022        .46935E-05** at limit **
  14  Prefactor     .10000E-03    1.2790        .65925E-07** at limit **
  15  Prefactor     .10000E-03    9.1247       -.49330E-05** at limit **
  16  Prefactor     8.8802        65.250       -.53673E-05   -.14374E-04
  17  norm          5.7097        5.7012        .80450E-06   -.17411E-05
  18  Prefactor     .10000E-03    1.9478        .21840E-08** at limit **
  19  Prefactor     .10000E-03    11.535        .48093E-06** at limit **
  20  Prefactor     .10000E-03    19.896        .91807E-07** at limit **
  21  Prefactor     30.962        25.802       -.60408E-06   -.20600E-04
  22  Prefactor     18.871        38.975        .26864E-05   -.62172E-05
  23  Normalizat    1.0378        .25417       -.10970E-05   -.20626E-04
  24  Prefactor     1.0249        .16836       -.48717E-06   -.41553E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.03971
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7917
  Prefactor  = 9.61319
  Prefactor  = 1.45952
  Prefactor  = 84.2587
  norm       = 0.0001
  Prefactor  = 0.000100003
  norm       = 6.41262
  Prefactor  = 3.44968
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.88021
  norm       = 5.70972
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 30.9615
  Prefactor  = 18.8707
  Normalizat = 1.03781
  Prefactor  = 1.02494
 **********
 **   18 **HESSE 
 **********

 FCN=   5148.414     FROM HESSE     STATUS=OK           403 CALLS     3552 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0397        6.2196        .17913E-03   -1.5259    
   2  Prefactor     .10000E-03    11.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.792        23.323        .90036E-04   -1.4818    
   5  Prefactor     9.6132        9.6114        .12924E-03   -1.5088    
   6  Prefactor     1.4595        5.6191        .29919E-03   -1.5466    
   7  Prefactor     84.259        103.35        .43764E-04   -1.3870    
   8  norm          .10000E-03    8.3083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    655.40        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.4126        1.9821        .53891E-04   -1.5201    
  11  Prefactor     3.4497        6.1052        .21183E-03   -1.5336    
  12  Prefactor     .10000E-03    10.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    8.9543        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.7087        .15804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    9.0396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8802        65.418        .13455E-03   -1.5112    
  17  norm          5.7097        5.6859        .16453E-03   -1.5230    
  18  Prefactor     .10000E-03    1.9611        .97663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    156.34        .46366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     30.962        25.862        .72010E-04   -1.4595    
  22  Prefactor     18.871        38.938        .92192E-04   -1.4839    
  23  Normalizat    1.0378        .30024        .30966E-03   -.91774    
  24  Prefactor     1.0249        .20040        .21619E-03   -.91903    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60296e-09
Minuit parameter uncertainties:
  1  6.22038
  2  1.75033e-06
  3  3.72377e-06
  4  23.3336
  5  9.6129
  6  5.62115
  7  103.571
  8  1.32009e-05
  9  0.0025927
  10  1.98212
  11  6.1063
  12  1.8154e-05
  13  5.5341e-06
  14  1.93293e-05
  15  8.0021e-06
  16  48.2788
  17  5.68644
  18  9.59774e-07
  19  0.00170985
  20  2.61584e-06
  21  25.8712
  22  38.9901
  23  0.300727
  24  0.200551
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  8.426e+01  1.036e+02  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.025e+00  2.006e-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:  1.038e+00  3.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.96
Ra Dec: 169.986 -10.129
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670669/likelihoodResults_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.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) = 5148.18535296
delta logL = 0.229130828845

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5148.17492007
delta logL = 0.239563719038

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    39.997       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7435       1.0000          .0000       10.000    
     3 'Normalizat'    .99691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0421       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.

 FCN=   5148.175     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      248 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     39.779        1050.6        .15845E-02    .64081E-04
   2  Index         2.7455        3.4287        .99064E-01    .14720E-03
   3  Normalizat    .99701        .10479        .71193E-01    .22755E-04
   4  Prefactor     1.0421        .59956E-01    .40393E-01    .13451E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 39.7791
  Index      = 2.7455
  Normalizat = 0.997009
  Prefactor  = 1.0421
 **********
 **   18 **HESSE 
 **********

 FCN=   5148.175     FROM HESSE     STATUS=OK            33 CALLS      281 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     39.779        135.40        .31690E-03   -1.4446    
   2  Index         2.7455        1.5462        .53887E-02   -.46777    
   3  Normalizat    .99701        .29967        .31497E-03   -.93131    
   4  Prefactor     1.0421        .20501        .21451E-03   -.91339    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13824e-10
Minuit parameter uncertainties:
  1  136.469
  2  1.5789
  3  0.300173
  4  0.205167
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670669': 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) = 5148.17491632
delta logL = 0.239567472519

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  3.978e+01  1.365e+02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.745e+00  1.579e+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.042e+00  2.052e-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:  9.970e-01  3.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 169.986 -10.129
Photon Index (Free Index): 2.75 +/- 1.58
Photon Flux (Free Index): 7.96e-08 +/- 8.65e-08
Energy Flux (Free Index): 1.85e-05 +/- 2.16e-05

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/670669/cmap_HighResolution_318902401_319161601_4FGL_J1119.9-1007_daily_bin307.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', comment='SUCCESS', energy_flux2='1.85e-05', dlogl='2.40e-01', photon_flux2='7.96e-08', job_status='DONE', time_completed='2021-09-03 16:17:36.814251', photon_index_error2='1.58', photon_index2='2.75', ts='0.96', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='2.16e-05', EG='1.04', time_epoch_completed='1630711056.81', return_code='0', job_id='670669', GAL2='1.04', EG2='1.00', return_code2='0', photon_flux_error2='8.65e-08', ts2='1.45', photon_index='2.15' WHERE bin_id='307' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:17:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 670669: <4FGL_J1119.9-1007_daily_bin307> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin307> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep  3 16:02:13 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:04:11 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:04:11 2021
Terminated at Fri Sep  3 16:17:37 2021
Results reported at Fri Sep  3 16:17:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin307 169.986 -10.1288 318902401 319161601 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 :                                   692.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             295.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            924 sec.

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

