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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1229
RA = 169.986, Dec = -10.1288
tmin = 557884801, tmax = 558144001
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='677071', job_status='RUN', time_executed='2021-09-03 16:23:58.314694', time_epoch_executed='1630711438.31' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677071

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677071/ft1_4FGL_J1119.9-1007_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677071/ft1_4FGL_J1119.9-1007_daily_bin1229.fits outfile=/scratch/kocevski/677071/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1229.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=557884801.0 tmax=558144001.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.14
user 3.89
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/677071/ltcube_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.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/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits
.....................!
real 16.20
user 15.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/677071/ltcube_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.fits outfile=/scratch/kocevski/677071/expmap_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.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/677071/ltcube_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.fits
.....................!
real 193.08
user 187.49
sys 5.21

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/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits scfile=/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits outfile=/scratch/kocevski/677071/cmap_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.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 1.46
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits scfile=/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits outfile=/scratch/kocevski/677071/cmap_HighResolution_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.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.66
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/677071/ft2_4FGL_J1119.9-1007_daily_bin1229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677071/Model_4FGL_J1119.9-1007_daily_bin1229.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/677071/ft1_filtered_4FGL_J1119.9-1007_daily_bin1229.fits.....................!
real 50.67
user 49.32
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.516       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2684       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15800E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.7880       1.0000         .10000E-03   10000.    
     9 'Prefactor '    48.039       1.0000         .10000E-03   10000.    
    10 'norm      '    .47115       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.0305       1.0000         .10000E-03   10000.    
    15 'Prefactor '    117.14       1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.817       1.0000         .10000E-03   10000.    
    17 'norm      '    16.861       1.0000         .10000E-03   10000.    
    18 'Prefactor '    22.218       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10970E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2385       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .85157       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=   5041.764     FROM MIGRAD    STATUS=CONVERGED    526 CALLS     2756 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1222       -.18274E-07** at limit **
   2  Prefactor     .10000E-03    15.044       -.20133E-06** at limit **
   3  Prefactor     52.455        114.37       -.78343E-04   -.78601E-06
   4  Prefactor     .10000E-03    7.4317       -.16015E-06** at limit **
   5  Prefactor     3.2938        47.175        .13975E-04    .36750E-03
   6  Prefactor     .10000E-03    9.5194       -.57559E-05** at limit **
   7  Prefactor     .10000E-03    29.309        .15728E-06** at limit **
   8  norm          2.8105        26.439       -.10529E-04    .22055E-03
   9  Prefactor     48.036        51.032       -.93658E-06   -.44453E-05
  10  norm          .47139        .70225        .59105E-06    .19603E-02
  11  Prefactor     .10000E-03    2.8394       -.42427E-06** at limit **
  12  Prefactor     .10000E-03    8.9324       -.13824E-06** at limit **
  13  norm          .10000E-03    17.867        .26797E-05** at limit **
  14  Prefactor     4.0314        5.7943       -.21944E-05   -.78022E-04
  15  Prefactor     117.17        55.168        .20231E-04    .40646E-03
  16  Prefactor     32.814        28.665       -.13322E-05    .30533E-04
  17  norm          16.861        10.442       -.13659E-05    .11775E-03
  18  Prefactor     22.215        7.1357       -.56147E-06    .35593E-03
  19  Prefactor     .10000E-03    69.097       -.97777E-05** at limit **
  20  Prefactor     .10000E-03    67.754        .12536E-04** at limit **
  21  Prefactor     .10000E-03    7.0565       -.17659E-06** at limit **
  22  Prefactor     .10000E-03    70.304       -.63185E-05** at limit **
  23  Normalizat    1.2388        .26301        .14380E-05    .52558E-03
  24  Prefactor     .85148        .16464        .25968E-05    .53357E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 52.4549
  Prefactor  = 0.0001
  Prefactor  = 3.29384
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.81051
  Prefactor  = 48.0364
  norm       = 0.471387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 4.0314
  Prefactor  = 117.174
  Prefactor  = 32.8143
  norm       = 16.8605
  Prefactor  = 22.2151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23876
  Prefactor  = 0.851482
 **********
 **   18 **HESSE 
 **********

 FCN=   5041.764     FROM HESSE     STATUS=OK           391 CALLS     3147 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1338        .12252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.455        114.31        .55345E-04   -1.4258    
   4  Prefactor     .10000E-03    7.4348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2938        40.988        .22400E-03   -1.5345    
   6  Prefactor     .10000E-03    29.209        .38570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    29.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8105        21.894        .24368E-03   -1.5373    
   9  Prefactor     48.036        50.878        .57854E-04   -1.4321    
  10  norm          .47139        .65038        .69125E-03   -1.5571    
  11  Prefactor     .10000E-03    2.8465        .11679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    9.0419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    17.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.0314        5.7842        .19739E-03   -1.5306    
  15  Prefactor     117.17        55.418        .18588E-03   -1.3539    
  16  Prefactor     32.814        28.671        .69948E-04   -1.4562    
  17  norm          16.861        10.440        .97538E-04   -1.4887    
  18  Prefactor     22.215        7.1354        .84977E-04   -1.4765    
  19  Prefactor     .10000E-03    71.947        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    68.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.0604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    71.300        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2388        .31384        .30156E-03   -.85413    
  24  Prefactor     .85148        .19656        .22992E-03   -.97858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60163e-09
Minuit parameter uncertainties:
  1  6.33885e-06
  2  0.000313075
  3  114.793
  4  4.24392e-05
  5  23.258
  6  8.29084e-05
  7  4.05843e-05
  8  15.6963
  9  50.9239
  10  0.650394
  11  6.96121e-05
  12  2.91298e-05
  13  0.000218532
  14  5.78503
  15  55.4424
  16  28.6832
  17  10.4411
  18  7.13564
  19  0.000114859
  20  0.000112306
  21  1.9845e-05
  22  9.73635e-05
  23  0.314319
  24  0.196728
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.058e-05  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:  8.515e-01  1.967e-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.239e+00  3.143e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/677071/likelihoodResults_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.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) = 5041.76404552
delta logL = -0.000162451387041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5041.76388415
delta logL = -1.08755739348e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11666E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4386       1.0000          .0000       10.000    
     3 'Normalizat'    1.2388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85148       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=   5041.764     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      279 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10242E-03    8.0666        .18142E-01** at limit **
   2  Index         2.3667        8.7536        .50000        .12266E-04
   3  Normalizat    1.2388        .37768E-02    .30156E-03    .30159E-05
   4  Prefactor     .85148        .24511E-02    .22991E-03   -.10087E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102419
  Index      = 2.3667
  Normalizat = 1.23875
  Prefactor  = 0.851483
 **********
 **   18 **HESSE 
 **********

 FCN=   5041.764     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10242E-03    77.184        .33219E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3667        6.1150        .50000       -.55467    
   3  Normalizat    1.2388        .11721E-01    .12063E-04   -.85414    
   4  Prefactor     .85148        .76067E-02    .91966E-05   -.97858    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.71801e-09
Minuit parameter uncertainties:
  1  0.0273621
  2  216.97
  3  0.0117209
  4  0.00760666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677071': 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) = 5041.76388359
delta logL = -5.23072230862e-07

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.024e-04  2.736e-02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.367e+00  2.170e+02  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:  8.515e-01  7.607e-03  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.239e+00  1.172e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/677071/cmap_HighResolution_557884801_558144001_4FGL_J1119.9-1007_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2021-09-03 16:35:01.723045', job_id='677071', GAL2='0.85', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630712101.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-5.23e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1229' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:35:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 677071: <4FGL_J1119.9-1007_daily_bin1229> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1229> 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) <bullet0137>, 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:35:02 2021
Results reported at Fri Sep  3 16:35:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1229 169.986 -10.1288 557884801 558144001 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 :                                   657.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            827 sec.

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

