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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1285
RA = 169.986, Dec = -10.1288
tmin = 572400001, tmax = 572659201
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='677153', job_status='RUN', time_executed='2021-09-03 16:22:33.472275', time_epoch_executed='1630711353.47' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677153

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677153/ft1_4FGL_J1119.9-1007_daily_bin1285.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677153/ft1_4FGL_J1119.9-1007_daily_bin1285.fits outfile=/scratch/kocevski/677153/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1285.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=572400001.0 tmax=572659201.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.73
user 3.47
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.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/677153/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1285.fits evtable="EVENTS" outfile="/scratch/kocevski/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.36
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits" evtable="EVENTS" scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits sctable="SC_DATA" outfile=/scratch/kocevski/677153/ltcube_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.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/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits
.....................!
real 15.49
user 15.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits sctable="SC_DATA" expcube=/scratch/kocevski/677153/ltcube_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.fits outfile=/scratch/kocevski/677153/expmap_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.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/677153/ltcube_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.fits
.....................!
real 191.41
user 186.24
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/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits outfile=/scratch/kocevski/677153/cmap_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.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.58
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits outfile=/scratch/kocevski/677153/cmap_HighResolution_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits evtable="EVENTS" scfile=/scratch/kocevski/677153/ft2_4FGL_J1119.9-1007_daily_bin1285.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677153/Model_4FGL_J1119.9-1007_daily_bin1285.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/677153/ft1_filtered_4FGL_J1119.9-1007_daily_bin1285.fits.....................!
real 66.81
user 65.48
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.8297       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .29911E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2913       1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.431       1.0000         .10000E-03   10000.    
     7 'Prefactor '    146.23       1.0000         .10000E-03   10000.    
     8 'norm      '    2.9077       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10741E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.419       1.0000         .10000E-03   10000.    
    13 'norm      '    .19824E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.4094       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.1889       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.058       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.683       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.627       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1692       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86737       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=   7144.240     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     3189 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.8297        4.2921        .21974E-07    .29888E-04
   2  Prefactor     .10000E-03    6.0331        .11009E-07** at limit **
   3  Prefactor     .10000E-03    16.812       -.12073E-05** at limit **
   4  Prefactor     .10007E-03    15.503       -.13445E-05** at limit **
   5  Prefactor     4.2705        13.191       -.74327E-06    .15187E-03
   6  Prefactor     34.430        7.8039       -.53985E-07    .19029E-03
   7  Prefactor     146.13        80.861        .55850E-05    .38127E-04
   8  norm          2.9099        7.1451        .29112E-05    .66442E-05
   9  Prefactor     .10000E-03    43.730        .34714E-06** at limit **
  10  norm          .10000E-03    .32812        .90788E-07** at limit **
  11  Prefactor     .10000E-03    1.0128        .30241E-07** at limit **
  12  Prefactor     16.417        9.0073       -.99491E-07    .45407E-05
  13  norm          .10008E-03    10.918        .65954E-06** at limit **
  14  Prefactor     3.4091        2.5894        .68500E-08   -.11826E-04
  15  Prefactor     .10000E-03    18.172        .83402E-06** at limit **
  16  Prefactor     .10000E-03    15.697        .56853E-06** at limit **
  17  norm          2.1898        4.4975        .11034E-06   -.21448E-04
  18  Prefactor     13.058        4.5774       -.12609E-07   -.57349E-04
  19  Prefactor     29.687        16.041        .49354E-08   -.59214E-05
  20  Prefactor     .10000E-03    10.944        .16411E-09** at limit **
  21  Prefactor     .10002E-03    6.7185        .49382E-06** at limit **
  22  Prefactor     28.618        27.518       -.14248E-06   -.13699E-04
  23  Normalizat    1.1692        .20544        .40004E-06    .41363E-04
  24  Prefactor     .86729        .13509       -.73339E-06    .43297E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.82972
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 4.27053
  Prefactor  = 34.43
  Prefactor  = 146.128
  norm       = 2.90991
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4171
  norm       = 0.000100082
  Prefactor  = 3.40914
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.18981
  Prefactor  = 13.0582
  Prefactor  = 29.6865
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 28.6177
  Normalizat = 1.16924
  Prefactor  = 0.867292
 **********
 **   18 **HESSE 
 **********

 FCN=   7144.240     FROM HESSE     STATUS=OK           421 CALLS     3610 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.8297        4.2872        .17970E-03   -1.5317    
   2  Prefactor     .10000E-03    6.0345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    18.708        .81841E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.2705        12.927        .19448E-03   -1.5295    
   6  Prefactor     34.430        7.8130        .68294E-04   -1.4534    
   7  Prefactor     146.13        82.845        .16661E-03   -1.3284    
   8  norm          2.9099        7.1024        .11914E-02   -1.5367    
   9  Prefactor     .10000E-03    43.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .55719        .93631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0150        .83054E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     16.417        9.0294        .98844E-04   -1.4897    
  13  norm          .10008E-03    10.772        .10095       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.4091        2.5913        .11434E-03   -1.5339    
  15  Prefactor     .10000E-03    18.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1898        4.4531        .24186E-03   -1.5412    
  18  Prefactor     13.058        4.5560        .98011E-04   -1.4985    
  19  Prefactor     29.687        16.043        .73538E-04   -1.4618    
  20  Prefactor     .10000E-03    10.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    54.607        .42025E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.618        27.426        .74879E-04   -1.4638    
  23  Normalizat    1.1692        .24138        .29149E-03   -.87559    
  24  Prefactor     .86729        .15853        .22814E-03   -.97294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25323e-10
Minuit parameter uncertainties:
  1  4.28755
  2  6.5732e-07
  3  2.05169e-05
  4  0.00235235
  5  12.9351
  6  7.81318
  7  82.9112
  8  7.10449
  9  8.47294e-06
  10  1.09308e-06
  11  9.54251e-07
  12  9.03017
  13  0.00187494
  14  2.59137
  15  2.24515e-05
  16  5.04846e-06
  17  4.45376
  18  4.55608
  19  16.0453
  20  6.96153e-07
  21  0.001939
  22  27.438
  23  0.241612
  24  0.158609
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.461e+02  8.291e+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:  8.673e-01  1.586e-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.169e+00  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.92
Ra Dec: 169.986 -10.129
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 7.61e-08 +/- 4.32e-08
Energy Flux (Fixed Index): 3.74e-05 +/- 2.12e-05

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) = 7143.75597125
delta logL = 0.484349563211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7143.74587107
delta logL = 0.494449741244

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.615       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6552       1.0000          .0000       10.000    
     3 'Normalizat'    1.1220       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88787       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=   7143.746     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      304 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.553        103.30        .47438E-04    .37429E-03
   2  Index         2.6558        .70419        .36149E-02    .37257E-03
   3  Normalizat    1.1215        .23794        .29643E-03    .93005E-04
   4  Prefactor     .88816        .16067        .22565E-03   -.58283E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.5529
  Index      = 2.65583
  Normalizat = 1.12146
  Prefactor  = 0.888161
 **********
 **   18 **HESSE 
 **********

 FCN=   7143.746     FROM HESSE     STATUS=OK            25 CALLS      329 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.553        80.828        .94877E-05   -1.4014    
   2  Index         2.6558        .55084        .14460E-03   -.48797    
   3  Normalizat    1.1215        .23541        .11857E-04   -.89066    
   4  Prefactor     .88816        .15945        .45131E-04   -.96556    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66058e-09
Minuit parameter uncertainties:
  1  80.9519
  2  0.552275
  3  0.235631
  4  0.159532
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677153': 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) = 7143.74586793
delta logL = 0.494452884142

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  7.155e+01  8.095e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.656e+00  5.523e-01  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.882e-01  1.595e-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.121e+00  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.91
Ra Dec: 169.986 -10.129
Photon Index (Free Index): 2.66 +/- 0.55
Photon Flux (Free Index): 1.16e-07 +/- 6.52e-08
Energy Flux (Free Index): 2.88e-05 +/- 1.50e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/677153/cmap_HighResolution_572400001_572659201_4FGL_J1119.9-1007_daily_bin1285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.61e-08', energy_flux2='2.88e-05', photon_flux_error='4.32e-08', dlogl='4.94e-01', energy_flux='3.74e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-03 16:36:29.750654', photon_index_error2='0.55', photon_index2='2.66', ts='5.92', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='1.17', time_epoch_completed='1630712189.75', return_code='0', job_id='677153', GAL2='0.89', EG2='1.12', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='6.52e-08', ts2='6.91', photon_index='2.15' WHERE bin_id='1285' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:36:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 677153: <4FGL_J1119.9-1007_daily_bin1285> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1285> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 16:21:20 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:21:35 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:35 2021
Terminated at Fri Sep  3 16:36:30 2021
Results reported at Fri Sep  3 16:36:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1285 169.986 -10.1288 572400001 572659201 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 :                                   770.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             281.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            910 sec.

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

