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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1156
RA = 169.766, Dec = 12.5866
tmin = 538963201, tmax = 539222401
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='666696', job_status='RUN', time_executed='2021-09-03 15:55:54.585252', time_epoch_executed='1630709754.59' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666696

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666696/ft1_4FGL_J1119.0+1235_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666696/ft1_4FGL_J1119.0+1235_daily_bin1156.fits outfile=/scratch/kocevski/666696/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1156.fits ra=169.766 dec=12.5866 rad=12.0 tmin=538963201.0 tmax=539222401.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.68
user 4.42
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/666696/ltcube_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.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/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits
.....................!
real 15.65
user 15.31
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/666696/ltcube_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits outfile=/scratch/kocevski/666696/expmap_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.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/666696/ltcube_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits
.....................!
real 190.29
user 186.08
sys 3.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 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/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits scfile=/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits outfile=/scratch/kocevski/666696/cmap_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits scfile=/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits outfile=/scratch/kocevski/666696/cmap_HighResolution_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.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.55
user 0.41
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits', '/scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits', expMap='/scratch/kocevski/666696/expmap_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits', expCube='/scratch/kocevski/666696/ltcube_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666696/Model_4FGL_J1119.0+1235_daily_bin1156.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/666696/ft1_filtered_4FGL_J1119.0+1235_daily_bin1156.fits
Spacecraft file(s): /scratch/kocevski/666696/ft2_4FGL_J1119.0+1235_daily_bin1156.fits
Exposure map: /scratch/kocevski/666696/expmap_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits
Exposure cube: /scratch/kocevski/666696/ltcube_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666696/Model_4FGL_J1119.0+1235_daily_bin1156.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) = 2951.45056895

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1147       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.1727       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.395       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.5409       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.230       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.1118       1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.941       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.734       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10417E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.986       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0906       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .67063       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=   2951.448     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1979 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1145        4.8330        .11291E-06    .36077E-04
   2  Prefactor     .10000E-03    4.4016        .45843E-06** at limit **
   3  Prefactor     2.1730        5.6048        .52925E-06    .34741E-04
   4  Prefactor     .10000E-03    2.7437        .87590E-07** at limit **
   5  Prefactor     .10000E-03    3.5782        .23527E-07** at limit **
   6  Prefactor     14.395        11.301       -.25224E-07   -.28700E-06
   7  Prefactor     3.5401        9.2380        .19563E-06    .22649E-04
   8  norm          .10000E-03    .51571        .16635E-06** at limit **
   9  Prefactor     .10000E-03    6.5874        .12379E-06** at limit **
  10  Prefactor     .10000E-03    5.5746        .82088E-07** at limit **
  11  norm          18.231        19.524       -.38998E-06   -.36127E-04
  12  Prefactor     6.1115        9.9345        .20481E-05    .21748E-03
  13  Prefactor     19.849        73.470       -.48089E-05   -.38232E-04
  14  Prefactor     .10000E-03    5.5929       -.78892E-07** at limit **
  15  Prefactor     .10000E-03    44.680        .56650E-07** at limit **
  16  Prefactor     13.733        10.901       -.10608E-06    .20824E-05
  17  Prefactor     .10000E-03    19.269       -.32289E-05** at limit **
  18  Prefactor     28.901        88.378       -.14625E-05   -.23171E-04
  19  Normalizat    1.0909        .25922        .69236E-05   -.95323E-04
  20  Prefactor     .67038        .23120       -.80085E-05    .35062E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11449
  Prefactor  = 0.0001
  Prefactor  = 2.17304
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3951
  Prefactor  = 3.54014
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.2307
  Prefactor  = 6.11147
  Prefactor  = 19.8489
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.7332
  Prefactor  = 0.000100001
  Prefactor  = 28.9012
  Normalizat = 1.09088
  Prefactor  = 0.670378
 **********
 **   18 **HESSE 
 **********

 FCN=   2951.448     FROM HESSE     STATUS=OK           287 CALLS     2266 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1145        4.8174        .14167E-03   -1.5355    
   2  Prefactor     .10000E-03    4.4201        .11130E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.1730        5.5641        .19886E-03   -1.5413    
   4  Prefactor     .10000E-03    2.7453        .87885E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5782        .10037E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.395        11.296        .10557E-03   -1.4949    
   7  Prefactor     3.5401        9.2229        .21481E-03   -1.5332    
   8  norm          .10000E-03    .52056        .38103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.5940        .13620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.6057        .12523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.231        19.496        .93806E-04   -1.4854    
  12  Prefactor     6.1115        10.152        .81199E-03   -1.5213    
  13  Prefactor     19.849        73.855        .89693E-04   -1.4817    
  14  Prefactor     .10000E-03    5.6009        .12549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    44.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.733        10.899        .10808E-03   -1.4967    
  17  Prefactor     .10000E-03    19.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.901        88.602        .74415E-04   -1.4632    
  19  Normalizat    1.0909        .26412        .21604E-03   -.90045    
  20  Prefactor     .67038        .23483        .25068E-03   -1.0470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64828e-10
Minuit parameter uncertainties:
  1  4.81797
  2  7.70755e-06
  3  5.56546
  4  2.20768e-07
  5  3.86281e-07
  6  11.2981
  7  9.22663
  8  1.45965e-06
  9  6.97049e-06
  10  9.46743e-06
  11  19.5026
  12  10.1549
  13  74.1987
  14  6.45595e-06
  15  6.76166e-06
  16  10.9007
  17  0.000228136
  18  89.0093
  19  0.264441
  20  0.235179
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.823e+01  1.950e+01  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:  6.704e-01  2.352e-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:  1.091e+00  2.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.31
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.45e-08 +/- 5.83e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.76e-05

TS (Fixed Index): 1.31
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.36e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666696/likelihoodResults_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.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) = 2951.2004918
delta logL = 0.247701459803

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2951.1920936
delta logL = 0.256099662971

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.279       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1702       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69466       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2951.192     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      300 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.308        19.489        .54960E-03   -.75119E-04
   2  alpha         3.1722        1.2100        .14197E-01   -.39139E-05
   3  Normalizat    1.0522        .25706        .21928E-03   -.34451E-04
   4  Prefactor     .69414        .23550        .24675E-03   -.19029E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3082
  alpha      = 3.1722
  Normalizat = 1.05218
  Prefactor  = 0.69414
 **********
 **   18 **HESSE 
 **********

 FCN=   2951.192     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.308        17.418        .21984E-04   -1.4978    
   2  alpha         3.1722        1.0908        .56787E-03    .27223    
   3  Normalizat    1.0522        .25719        .87714E-05   -.91302    
   4  Prefactor     .69414        .23535        .98699E-05   -1.0376    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46657e-12
Minuit parameter uncertainties:
  1  17.4247
  2  1.132
  3  0.257496
  4  0.235688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666696': 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) = 2951.19207633
delta logL = 0.25611692546

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.331e+01  1.742e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  3.172e+00  1.132e+00  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:  6.941e-01  2.357e-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:  1.052e+00  2.575e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.86
Ra Dec: 169.766 12.587
Photon Index (Free Index): 3.17 +/- 1.13
Photon Flux (Free Index): 8.77e-08 +/- 7.92e-08
Energy Flux (Free Index): 1.76e-05 +/- 1.52e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/666696/cmap_HighResolution_538963201_539222401_4FGL_J1119.0+1235_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-05', comment='SUCCESS', photon_flux='5.45e-08', energy_flux2='1.76e-05', photon_flux_error='5.83e-08', dlogl='2.56e-01', energy_flux='1.65e-05', photon_flux2='8.77e-08', job_status='DONE', time_completed='2021-09-03 16:03:50.257323', photon_index_error2='1.13', photon_index2='3.17', ts='1.31', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.52e-05', EG='1.09', time_epoch_completed='1630710230.26', return_code='0', job_id='666696', GAL2='0.69', EG2='1.05', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='7.92e-08', ts2='1.86', photon_index='2.41' WHERE bin_id='1156' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:03:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 666696: <4FGL_J1119.0+1235_daily_bin1156> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1156> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:51:25 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:53:04 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:53:04 2021
Terminated at Fri Sep  3 16:03:50 2021
Results reported at Fri Sep  3 16:03:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1156 169.766 12.5866 538963201 539222401 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 :                                   471.56 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            745 sec.

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

