/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 148 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 = 7630
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1119.0+1235_daily_bin97
RA = 169.766, Dec = 12.5866
tmin = 264470401, tmax = 264729601
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='658496', job_status='RUN', time_executed='2021-09-03 15:35:09.925500', time_epoch_executed='1630708509.93' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='97'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658496

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658496/ft1_4FGL_J1119.0+1235_daily_bin97.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658496/ft1_4FGL_J1119.0+1235_daily_bin97.fits outfile=/scratch/kocevski/658496/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin97.fits ra=169.766 dec=12.5866 rad=12.0 tmin=264470401.0 tmax=264729601.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 1.63
user 1.37
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658496/ft1_filtered_4FGL_J1119.0+1235_daily_bin97.fits" evtable="EVENTS" scfile=/scratch/kocevski/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits sctable="SC_DATA" outfile=/scratch/kocevski/658496/ltcube_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.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/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits
.....................!
real 14.59
user 14.23
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658496/ft1_filtered_4FGL_J1119.0+1235_daily_bin97.fits evtable="EVENTS" scfile=/scratch/kocevski/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits sctable="SC_DATA" expcube=/scratch/kocevski/658496/ltcube_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.fits outfile=/scratch/kocevski/658496/expmap_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.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/658496/ltcube_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.fits
.....................!
real 190.09
user 185.64
sys 3.91

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/658496/ft1_filtered_4FGL_J1119.0+1235_daily_bin97.fits scfile=/scratch/kocevski/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits outfile=/scratch/kocevski/658496/cmap_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658496/ft1_filtered_4FGL_J1119.0+1235_daily_bin97.fits scfile=/scratch/kocevski/658496/ft2_4FGL_J1119.0+1235_daily_bin97.fits outfile=/scratch/kocevski/658496/cmap_HighResolution_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8509       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1260       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.9640       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.9036       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5396       1.0000         .10000E-03   10000.    
     8 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6632       1.0000         .10000E-03   10000.    
    11 'norm      '    12.365       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10407E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.809       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .68504       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3752       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=   8104.435     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1752 TOTAL
                     EDM=   .42E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8499        3.3325        .75664E-08   -.19733E-04
   2  Prefactor     5.1254        5.4529        .12790E-05    .42335E-05
   3  Prefactor     .10000E-03    8.6296        .13050E-06** at limit **
   4  Prefactor     3.9472        9.2828       -.16127E-06    .25249E-05
   5  Prefactor     .10000E-03    3.5323        .11409E-06** at limit **
   6  Prefactor     5.9023        6.6202        .46337E-06   -.67853E-05
   7  Prefactor     2.5349        23.208        .20267E-06    .67910E-05
   8  norm          .10000E-03    .44926       -.14914E-07** at limit **
   9  Prefactor     .10000E-03    8.6782        .19327E-06** at limit **
  10  Prefactor     9.6630        5.8206        .57158E-07    .36501E-04
  11  norm          12.365        9.2174        .89092E-07    .53873E-04
  12  Prefactor     .10000E-03    6.7931       -.43223E-06** at limit **
  13  Prefactor     .10000E-03    34.376       -.48920E-05** at limit **
  14  Prefactor     19.809        11.352        .23539E-06    .23206E-04
  15  Prefactor     .10000E-03    38.634        .39259E-05** at limit **
  16  Prefactor     .10000E-03    4.3177       -.12943E-06** at limit **
  17  Prefactor     .10000E-03    5.1079        .15944E-06** at limit **
  18  Prefactor     .10000E-03    37.619        .17267E-05** at limit **
  19  Normalizat    .68511        .15743       -.50662E-06    .43319E-04
  20  Prefactor     1.3751        .15019        .61846E-07    .37416E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.84992
  Prefactor  = 5.12541
  Prefactor  = 0.0001
  Prefactor  = 3.94722
  Prefactor  = 0.0001
  Prefactor  = 5.90234
  Prefactor  = 2.53486
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.66303
  norm       = 12.3648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.8091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.685107
  Prefactor  = 1.37513
 **********
 **   18 **HESSE 
 **********

 FCN=   8104.435     FROM HESSE     STATUS=OK           291 CALLS     2043 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8499        3.3283        .11944E-03   -1.5224    
   2  Prefactor     5.1254        5.4557        .88787E-03   -1.5255    
   3  Prefactor     .10000E-03    8.7881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.9472        8.9726        .20259E-03   -1.5311    
   5  Prefactor     .10000E-03    3.5368        .16516E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9023        6.6140        .82637E-03   -1.5222    
   7  Prefactor     2.5349        21.563        .25627E-03   -1.5390    
   8  norm          .10000E-03    .71093        .11640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6630        5.8195        .12891E-03   -1.5086    
  11  norm          12.365        9.2161        .11392E-03   -1.5005    
  12  Prefactor     .10000E-03    6.8563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.809        11.351        .44996E-03   -1.4818    
  15  Prefactor     .10000E-03    38.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.3441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.1178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    37.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .68511        .18252        .29636E-03   -1.0448    
  20  Prefactor     1.3751        .17596        .21833E-03   -.81100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48442e-11
Minuit parameter uncertainties:
  1  3.32842
  2  5.4562
  3  4.89527e-06
  4  8.97565
  5  3.07333e-06
  6  6.61481
  7  14.7932
  8  2.46521e-06
  9  1.483e-06
  10  5.81985
  11  9.2172
  12  5.23465e-07
  13  1.38045e-05
  14  11.3523
  15  1.49371e-05
  16  1.20469e-06
  17  6.12447e-07
  18  4.05e-06
  19  0.182685
  20  0.17604
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.236e+01  9.217e+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.375e+00  1.760e-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:  6.851e-01  1.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.87
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.70e-08 +/- 2.76e-08
Energy Flux (Fixed Index): 1.12e-05 +/- 8.32e-06

TS (Fixed Index): 2.87
Ra Dec: 169.766 12.587
Photon Flux Upper Limit: 9.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658496/likelihoodResults_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.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) = 8103.72301795
delta logL = 0.712411827592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8103.71905765
delta logL = 0.716372121531

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.4208       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3483       1.0000          .0000       5.0000    
     3 'Normalizat'    .64208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4021       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=   8103.719     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      278 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.4202        9.0635        .13815E-03    .82896E-03
   2  alpha         3.3487        .93022        .17085E-01    .74130E-04
   3  Normalizat    .64203        .17897        .30543E-03   -.14997E-03
   4  Prefactor     1.4021        .17746        .21651E-03   -.29292E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.4202
  alpha      = 3.34866
  Normalizat = 0.642027
  Prefactor  = 1.40207
 **********
 **   18 **HESSE 
 **********

 FCN=   8103.719     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.4202        8.0245        .55258E-05   -1.5128    
   2  alpha         3.3487        .82751        .68338E-03    .34635    
   3  Normalizat    .64203        .17884        .12217E-04   -1.0623    
   4  Prefactor     1.4021        .17729        .43303E-04   -.80320    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.1602e-10
Minuit parameter uncertainties:
  1  8.0255
  2  0.845616
  3  0.179002
  4  0.177363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658496': 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) = 8103.71905744
delta logL = 0.716372339

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  8.420e+00  8.025e+00  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  3.349e+00  8.456e-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.402e+00  1.774e-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:  6.420e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.41
Ra Dec: 169.766 12.587
Photon Index (Free Index): 3.35 +/- 0.85
Photon Flux (Free Index): 6.81e-08 +/- 4.37e-08
Energy Flux (Free Index): 1.29e-05 +/- 7.62e-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/658496/cmap_HighResolution_264470401_264729601_4FGL_J1119.0+1235_daily_bin97.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-05', comment='SUCCESS', photon_flux='3.70e-08', energy_flux2='1.29e-05', photon_flux_error='2.76e-08', dlogl='7.16e-01', energy_flux='1.12e-05', photon_flux2='6.81e-08', job_status='DONE', time_completed='2021-09-03 15:46:34.947598', photon_index_error2='0.85', photon_index2='3.35', ts='2.87', fit_tolerance='1e-08', GAL='1.38', photon_index_error='0.00', photon_flux_upper_limit='9.55e-08', energy_flux_error2='7.62e-06', EG='0.69', time_epoch_completed='1630709194.95', return_code='0', job_id='658496', GAL2='1.40', EG2='0.64', return_code2='0', energy_flux_error='8.32e-06', photon_flux_error2='4.37e-08', ts2='4.41', photon_index='2.41' WHERE bin_id='97' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 15:46:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 658496: <4FGL_J1119.0+1235_daily_bin97> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin97> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Fri Sep  3 15:31:42 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:32:32 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:32:32 2021
Terminated at Fri Sep  3 15:47:05 2021
Results reported at Fri Sep  3 15:47:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin97 169.766 12.5866 264470401 264729601 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 :                                   683.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            923 sec.

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

