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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1232
RA = 169.986, Dec = -10.1288
tmin = 558662401, tmax = 558921601
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='677075', job_status='RUN', time_executed='2021-09-03 16:25:14.449545', time_epoch_executed='1630711514.45' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677075

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677075/ft1_4FGL_J1119.9-1007_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677075/ft1_4FGL_J1119.9-1007_daily_bin1232.fits outfile=/scratch/kocevski/677075/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1232.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=558662401.0 tmax=558921601.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 4.04
user 3.72
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.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/677075/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1232.fits evtable="EVENTS" outfile="/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.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.55
user 0.38
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/677075/ltcube_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.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/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits
.....................!
real 19.77
user 18.90
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/677075/ltcube_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits outfile=/scratch/kocevski/677075/expmap_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.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/677075/ltcube_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits
.....................!
real 217.03
user 209.14
sys 5.12

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/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits outfile=/scratch/kocevski/677075/cmap_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.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.66
user 0.47
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits outfile=/scratch/kocevski/677075/cmap_HighResolution_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.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.58
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677075/Model_4FGL_J1119.9-1007_daily_bin1232.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/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits.....................!
real 25.75
user 24.04
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits', '/scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits', expMap='/scratch/kocevski/677075/expmap_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits', expCube='/scratch/kocevski/677075/ltcube_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/677075/Model_4FGL_J1119.9-1007_daily_bin1232.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/677075/ft1_filtered_4FGL_J1119.9-1007_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/677075/ft2_4FGL_J1119.9-1007_daily_bin1232.fits
Exposure map: /scratch/kocevski/677075/expmap_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits
Exposure cube: /scratch/kocevski/677075/ltcube_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/677075/Model_4FGL_J1119.9-1007_daily_bin1232.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1072.21576374

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1068.17435631

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72716E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.2077       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.8236       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .15302E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12903E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.802       1.0000         .10000E-03   10000.    
     7 'Prefactor '    200.32       1.0000         .10000E-03   10000.    
     8 'norm      '    .40821       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.2234       1.0000         .10000E-03   10000.    
    10 'norm      '    .29008E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.302       1.0000         .10000E-03   10000.    
    12 'Prefactor '    99.957       1.0000         .10000E-03   10000.    
    13 'norm      '    .14182E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.9480       1.0000         .10000E-03   10000.    
    15 'Prefactor '    86.616       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .58495       1.0000         .10000E-03   10000.    
    17 'norm      '    .40520E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.8747       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .70543       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.7351       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .23965       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3853       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75839       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91221       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1068.142     FROM MIGRAD    STATUS=CONVERGED    319 CALLS      628 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10003E-03    17.281       -.34749E-05** at limit **
   2  Prefactor     .27289E-03    591.21       -.21454E-03** at limit **
   3  Prefactor     .28797E-01    717.08        .35703E-03   -.26248E-02
   4  Prefactor     .10014E-03    25.330        .12715E-04** at limit **
   5  Prefactor     .10002E-03    14.936       -.22947E-05** at limit **
   6  Prefactor     38.623        22.184        .22197E-04   -.88730E-03
   7  Prefactor     220.52        120.01       -.48811E-04    .99228E-02
   8  norm          .10001E-03    135.37       -.32617E-04** at limit **
   9  Prefactor     7.2234        1.0024         .0000         .0000    
  10  norm          .10002E-03    52.275       -.10565E-04** at limit **
  11  Prefactor     12.694        33.496       -.26859E-04   -.49434E-03
  12  Prefactor     103.31        133.14        .55752E-05   -.15097E-01
  13  norm          .10569E-03    82.380       -.19809E-04** at limit **
  14  Prefactor     9.9760        5.8920        .98707E-06    .14068E-02
  15  Prefactor     73.880        138.10        .12849E-03    .51434E-02
  16  Prefactor     .11456E-03    721.73        .42236E-03** at limit **
  17  norm          .10003E-03    23.098        .49450E-06** at limit **
  18  Prefactor     .48725E-03    347.49        .23501E-03** at limit **
  19  Prefactor     .31317E-03    528.97       -.21308E-04** at limit **
  20  Prefactor     124.03        273.21        .16580E-03   -.30879E-03
  21  Prefactor     .24916E-03    348.86       -.67261E-04** at limit **
  22  Prefactor     .10004E-03    216.57       -.53061E-04** at limit **
  23  Normalizat    .77189        .62101        .50821E-05    .31705E-03
  24  Prefactor     .90333        .41983       -.87823E-04   -.10683E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100027
  Prefactor  = 0.000272887
  Prefactor  = 0.0287975
  Prefactor  = 0.00010014
  Prefactor  = 0.00010002
  Prefactor  = 38.6228
  Prefactor  = 220.524
  norm       = 0.000100007
  Prefactor  = 7.2234
  norm       = 0.000100022
  Prefactor  = 12.6941
  Prefactor  = 103.306
  norm       = 0.000105691
  Prefactor  = 9.97598
  Prefactor  = 73.8802
  Prefactor  = 0.000114562
  norm       = 0.000100034
  Prefactor  = 0.000487249
  Prefactor  = 0.000313173
  Prefactor  = 124.03
  Prefactor  = 0.000249155
  Prefactor  = 0.000100043
  Normalizat = 0.771893
  Prefactor  = 0.903328
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1068.142     FROM HESSE     STATUS=FAILED        43 CALLS      671 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10003E-03    17.174        .93188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27289E-03    600.40        .10303E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .28797E-01    6454.9        .41606E-02   -1.5742    
   4  Prefactor     .10014E-03    25.156        .90993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10002E-03    14.870        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     38.623        19.445        .16086E-02   -1.4464    
   7  Prefactor     220.52        306.68        .71373E-03   -1.2727    
   8  norm          .10001E-03    134.12        .10890E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     511.43        504.17         .0000       -1.5170    
  10  norm          .10002E-03    .21009       -.10565E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.694        1.1112       -.26859E-04   -1.4995    
  12  Prefactor     103.31        1.0165        .55752E-05   -1.3672    
  13  norm          .10569E-03    .20674       -.19809E-04   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.9760        1.0027        .98707E-06   -1.5076    
  15  Prefactor     73.880        .92417        .12849E-03   -1.3987    
  16  Prefactor     .11456E-03    .33714        .42236E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10003E-03    .28243        .49450E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .48725E-03    .28285E-01    .23501E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .31317E-03    .36497       -.21308E-04   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     124.03        4.2779        .16580E-03   -1.3476    
  21  Prefactor     .24916E-03    .25792       -.67261E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10004E-03    .21337       -.53061E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77189        1.1069        .50821E-05   -1.0112    
  24  Prefactor     .90333        1.2510       -.87823E-04   -.96025    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 3.76719e-10
Minuit parameter uncertainties:
  1  0.00136628
  2  0.650992
  3  19.2464
  4  0.00375804
  5  0.00110317
  6  19.4486
  7  308.952
  8  0.00197989
  9  1.00241
  10  0.000135798
  11  1.11123
  12  1.01645
  13  0.0021693
  14  1.00267
  15  0.92417
  16  0.00443152
  17  0.000195541
  18  0.00661922
  19  0.0176412
  20  4.27795
  21  0.0124049
  22  0.000191088
  23  1.14189
  24  1.29456
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1068.14225075

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  2.205e+02  3.090e+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:  9.033e-01  1.295e+00  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.719e-01  1.142e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/677075/likelihoodResults_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.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) = 1068.127521
delta logL = 0.0147297520259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1068.1147278
delta logL = 0.0275229551546

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    161.67       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4691       1.0000          .0000       10.000    
     3 'Normalizat'    .75416       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90892       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=   1068.115     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      260 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     161.70        367.38        .15858E-03    .88860E-05
   2  Index         2.4699        1.4535        .48790E-02    .93257E-05
   3  Normalizat    .75399        .59929        .37735E-03    .45086E-04
   4  Prefactor     .90897        .41660        .23963E-03    .10109E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 161.696
  Index      = 2.46994
  Normalizat = 0.753988
  Prefactor  = 0.908974
 **********
 **   18 **HESSE 
 **********

 FCN=   1068.115     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     161.70        342.28        .31716E-04   -1.3158    
   2  Index         2.4699        1.3543        .19516E-03   -.53056    
   3  Normalizat    .75399        .59839        .15094E-04   -1.0180    
   4  Prefactor     .90897        .41645        .47927E-04   -.95828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27588e-11
Minuit parameter uncertainties:
  1  346.625
  2  1.37761
  3  0.603702
  4  0.41792
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677075': 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) = 1068.11472728
delta logL = 0.027523469668

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.617e+02  3.466e+02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.470e+00  1.378e+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:  9.090e-01  4.179e-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.540e-01  6.037e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.94
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/677075/cmap_HighResolution_558662401_558921601_4FGL_J1119.9-1007_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-02', job_status='DONE', photon_flux_upper_limit='6.37e-07', time_completed='2021-09-03 16:32:03.973995', job_id='677075', GAL2='0.91', fit_tolerance='1e-08', EG2='0.75', EG='0.77', time_epoch_completed='1630711923.97', return_code2='0', ts='0.94', comment='SUCCESS', return_code='101', GAL='0.90', dlogl='2.75e-02', ts2='0.99', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1232' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:32:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 677075: <4FGL_J1119.9-1007_daily_bin1232> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1232> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 16:21:15 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:21:23 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:21:23 2021
Terminated at Fri Sep  3 16:32:04 2021
Results reported at Fri Sep  3 16:32:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1232 169.986 -10.1288 558662401 558921601 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 :                                   398.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.22 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   641 sec.
    Turnaround time :                            649 sec.

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

