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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1199
RA = 169.766, Dec = 12.5866
tmin = 550108801, tmax = 550368001
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='668218', job_status='RUN', time_executed='2021-09-03 15:59:44.061805', time_epoch_executed='1630709984.06' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1199'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668218

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668218/ft1_4FGL_J1119.0+1235_daily_bin1199.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668218/ft1_4FGL_J1119.0+1235_daily_bin1199.fits outfile=/scratch/kocevski/668218/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1199.fits ra=169.766 dec=12.5866 rad=12.0 tmin=550108801.0 tmax=550368001.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.07
user 2.71
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.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/668218/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1199.fits evtable="EVENTS" outfile="/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits" evtable="EVENTS" scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits sctable="SC_DATA" outfile=/scratch/kocevski/668218/ltcube_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.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/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits
.....................!
real 17.16
user 16.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits evtable="EVENTS" scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits sctable="SC_DATA" expcube=/scratch/kocevski/668218/ltcube_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits outfile=/scratch/kocevski/668218/expmap_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.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/668218/ltcube_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits
.....................!
real 192.27
user 186.32
sys 4.61

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

Setting source of interest to:
4FGL J1119.0+1235 @ 169.766 12.5866

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits outfile=/scratch/kocevski/668218/cmap_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.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.766 yref=12.5866 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.62
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits outfile=/scratch/kocevski/668218/cmap_HighResolution_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.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.766 yref=12.5866 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits evtable="EVENTS" scfile=/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668218/Model_4FGL_J1119.0+1235_daily_bin1199.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/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits.....................!
real 78.90
user 76.98
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits', '/scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits', expMap='/scratch/kocevski/668218/expmap_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits', expCube='/scratch/kocevski/668218/ltcube_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668218/Model_4FGL_J1119.0+1235_daily_bin1199.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.0+1235'

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  3.793e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/668218/ft1_filtered_4FGL_J1119.0+1235_daily_bin1199.fits
Spacecraft file(s): /scratch/kocevski/668218/ft2_4FGL_J1119.0+1235_daily_bin1199.fits
Exposure map: /scratch/kocevski/668218/expmap_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits
Exposure cube: /scratch/kocevski/668218/ltcube_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668218/Model_4FGL_J1119.0+1235_daily_bin1199.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) = 8914.67838543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2797       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8225       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .54177       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.8967       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.262       1.0000         .10000E-03   10000.    
     8 'norm      '    1.2804       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12795E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.807       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.201       1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.752       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    157.17       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .54938       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    58.344       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .72144       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8914.675     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2071 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2794        2.8276       -.31317E-08   -.73288E-03
   2  Prefactor     2.8226        3.3143        .14887E-06    .33391E-04
   3  Prefactor     .54265        3.0115        .29484E-06   -.67583E-04
   4  Prefactor     .10000E-03    3.7791       -.24036E-07** at limit **
   5  Prefactor     .10000E-03    3.4712       -.12709E-06** at limit **
   6  Prefactor     1.8959        7.5358       -.91212E-06   -.63106E-04
   7  Prefactor     20.265        13.242        .33137E-07   -.55218E-04
   8  norm          1.2804        .85692        .97415E-07    .23585E-03
   9  Prefactor     .10000E-03    14.774       -.22129E-07** at limit **
  10  Prefactor     .10000E-03    2.8511        .55435E-06** at limit **
  11  norm          10.807        7.8789        .24047E-06   -.48693E-04
  12  Prefactor     17.204        10.385        .18783E-06   -.18647E-03
  13  Prefactor     23.751        22.215       -.78325E-07   -.22993E-04
  14  Prefactor     .10000E-03    4.8559        .32733E-06** at limit **
  15  Prefactor     157.16        82.779       -.20866E-05    .80417E-05
  16  Prefactor     .59627        37.626        .20875E-04   -.74646E-04
  17  Prefactor     .10000E-03    13.122        .51849E-05** at limit **
  18  Prefactor     58.249        88.236       -.42542E-05   -.16397E-04
  19  Normalizat    .72141        .15477       -.10804E-05   -.36710E-03
  20  Prefactor     1.2749        .14306       -.13981E-05   -.10671E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27938
  Prefactor  = 2.8226
  Prefactor  = 0.542654
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.89592
  Prefactor  = 20.2648
  norm       = 1.28043
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 10.8074
  Prefactor  = 17.2042
  Prefactor  = 23.7514
  Prefactor  = 0.0001
  Prefactor  = 157.161
  Prefactor  = 0.596274
  Prefactor  = 0.0001
  Prefactor  = 58.2488
  Normalizat = 0.721407
  Prefactor  = 1.27489
 **********
 **   18 **HESSE 
 **********

 FCN=   8914.675     FROM HESSE     STATUS=OK           303 CALLS     2374 TOTAL
                     EDM=   .94E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2794        2.8157        .11982E-03   -1.5294    
   2  Prefactor     2.8226        3.3090        .17960E-03   -1.5372    
   3  Prefactor     .54265        15.817        .28901E-02   -1.5561    
   4  Prefactor     .10000E-03    3.8067        .17890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.4738        .17164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8959        7.4311        .30205E-03   -1.5433    
   7  Prefactor     20.265        13.242        .88979E-04   -1.4807    
   8  norm          1.2804        .85308        .68420E-04   -1.5482    
   9  Prefactor     .10000E-03    15.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.8320        .30716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.807        7.8789        .12187E-03   -1.5050    
  12  Prefactor     17.204        10.316        .96569E-04   -1.4878    
  13  Prefactor     23.751        22.229        .41095E-03   -1.4733    
  14  Prefactor     .10000E-03    4.8850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     157.16        82.714        .16080E-03   -1.3194    
  16  Prefactor     .59627        40.533        .43946E-02   -1.5554    
  17  Prefactor     .10000E-03    13.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     58.249        90.841        .26262E-03   -1.4180    
  19  Normalizat    .72141        .17949        .29008E-03   -1.0305    
  20  Prefactor     1.2749        .16959        .22299E-03   -.84057    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.39632e-08
Minuit parameter uncertainties:
  1  2.81576
  2  3.30923
  3  5.86055
  4  3.74442e-05
  5  1.34828e-05
  6  7.43472
  7  13.2439
  8  0.853093
  9  0.000174287
  10  6.55383e-05
  11  7.87967
  12  10.3166
  13  22.2367
  14  4.24983e-05
  15  82.775
  16  9.83841
  17  0.000150093
  18  91.0577
  19  0.179635
  20  0.169663
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.081e+01  7.880e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.405e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.275e+00  1.697e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.214e-01  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.67
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.23e-08 +/- 2.36e-08
Energy Flux (Fixed Index): 9.76e-06 +/- 7.11e-06

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) = 8914.64559483
delta logL = 0.0296242889399

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8914.64528025
delta logL = 0.0299388615113

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.842       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2229       1.0000          .0000       5.0000    
     3 'Normalizat'    .72696       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2719       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8914.645     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      267 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.854        8.1533        .60838E-03   -.68581E-04
   2  alpha         2.2243        .73731        .23928E-01    .16780E-04
   3  Normalizat    .72688        .17083        .28908E-03   -.25327E-03
   4  Prefactor     1.2719        .16925        .22323E-03   -.40584E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.8539
  alpha      = 2.22434
  Normalizat = 0.726883
  Prefactor  = 1.27193
 **********
 **   18 **HESSE 
 **********

 FCN=   8914.645     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.854        8.1844        .24335E-04   -1.5049    
   2  alpha         2.2243        .73991        .95713E-03   -.11049    
   3  Normalizat    .72688        .17096        .11563E-04   -1.0284    
   4  Prefactor     1.2719        .16936        .44645E-04   -.84146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26262e-10
Minuit parameter uncertainties:
  1  8.18525
  2  0.751304
  3  0.171085
  4  0.169432
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668218': 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) = 8914.6452776
delta logL = 0.029941517796

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.085e+01  8.185e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.224e+00  7.513e-01  0.000e+00  5.000e+00 ( 1.000e+00)
289         beta:  2.294e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
290           Eb:  5.376e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
593    Prefactor:  1.272e+00  1.694e-01  0.000e+00  1.000e+01 ( 1.000e+00)
594        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
595        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
592   Normalization:  7.269e-01  1.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.73
Ra Dec: 169.766 12.587
Photon Index (Free Index): 2.22 +/- 0.75
Photon Flux (Free Index): 2.79e-08 +/- 2.82e-08
Energy Flux (Free Index): 9.69e-06 +/- 7.28e-06

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/668218/cmap_HighResolution_550108801_550368001_4FGL_J1119.0+1235_daily_bin1199.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.23e-08', energy_flux2='9.69e-06', photon_flux_error='2.36e-08', dlogl='2.99e-02', energy_flux='9.76e-06', photon_flux2='2.79e-08', job_status='DONE', time_completed='2021-09-03 16:11:19.531323', photon_index_error2='0.75', photon_index2='2.22', ts='4.67', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', energy_flux_error2='7.28e-06', EG='0.72', time_epoch_completed='1630710679.53', return_code='0', job_id='668218', GAL2='1.27', EG2='0.73', return_code2='0', energy_flux_error='7.11e-06', photon_flux_error2='2.82e-08', ts2='4.73', photon_index='2.41' WHERE bin_id='1199' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:11:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 668218: <4FGL_J1119.0+1235_daily_bin1199> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1199> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:56:01 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:56:17 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 15:56:17 2021
Terminated at Fri Sep  3 16:11:19 2021
Results reported at Fri Sep  3 16:11:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1199 169.766 12.5866 550108801 550368001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.0+1235 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   689.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   902 sec.
    Turnaround time :                            918 sec.

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

