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


Performing analysis on: 4FGL_J1119.0+1235_daily_bin1255
RA = 169.766, Dec = 12.5866
tmin = 564624001, tmax = 564883201
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='668310', job_status='RUN', time_executed='2021-09-03 15:59:41.701586', time_epoch_executed='1630709981.7' WHERE source_name='4FGL J1119.0+1235' and cadence='daily' and bin_id='1255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668310

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668310/ft1_4FGL_J1119.0+1235_daily_bin1255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668310/ft2_4FGL_J1119.0+1235_daily_bin1255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668310/ft1_4FGL_J1119.0+1235_daily_bin1255.fits outfile=/scratch/kocevski/668310/ft1_filteredMKT_4FGL_J1119.0+1235_daily_bin1255.fits ra=169.766 dec=12.5866 rad=12.0 tmin=564624001.0 tmax=564883201.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.64
user 3.43
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668310/ft1_filtered_4FGL_J1119.0+1235_daily_bin1255.fits evtable="EVENTS" scfile=/scratch/kocevski/668310/ft2_4FGL_J1119.0+1235_daily_bin1255.fits sctable="SC_DATA" expcube=/scratch/kocevski/668310/ltcube_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.fits outfile=/scratch/kocevski/668310/expmap_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.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/668310/ltcube_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.fits
.....................!
real 194.19
user 188.16
sys 5.54

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/668310/ft1_filtered_4FGL_J1119.0+1235_daily_bin1255.fits scfile=/scratch/kocevski/668310/ft2_4FGL_J1119.0+1235_daily_bin1255.fits outfile=/scratch/kocevski/668310/cmap_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.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.65
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668310/ft1_filtered_4FGL_J1119.0+1235_daily_bin1255.fits scfile=/scratch/kocevski/668310/ft2_4FGL_J1119.0+1235_daily_bin1255.fits outfile=/scratch/kocevski/668310/cmap_HighResolution_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.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.62
user 0.38
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4819       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.474       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.0084       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.3473       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.439       1.0000         .10000E-03   10000.    
     8 'norm      '    .87629       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.939       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    11.791       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7866       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.7756       1.0000         .10000E-03   10000.    
    15 'Prefactor '    39.925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.823       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .20234E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .96781E-01   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1787       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85293       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=   4798.041     FROM MIGRAD    STATUS=CONVERGED    722 CALLS     2620 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4780        13.567        .17626E-02    .40589E-04
   2  Prefactor     .10000E-03    4.3603        .14065E-02** at limit **
   3  Prefactor     19.468        23.353        .90760E-04    .45094E-05
   4  Prefactor     9.0181        13.300        .13354E-03   -.40098E-04
   5  Prefactor     7.3446        10.227        .14797E-03   -.13753E-04
   6  Prefactor     .10000E-03    11.637        .18142E-02** at limit **
   7  Prefactor     13.411        19.576        .10926E-03    .24971E-05
   8  norm          .87574        1.0539        .77653E-03    .46454E-04
   9  Prefactor     19.961        21.811        .89698E-04   -.44360E-05
  10  Prefactor     .10000E-03    1.9038        .93253E-03** at limit **
  11  norm          11.791        11.238        .11666E-03    .97448E-07
  12  Prefactor     7.7886        7.0357        .14370E-03   -.51424E-05
  13  Prefactor     .10000E-03    27.598        .18142E-02** at limit **
  14  Prefactor     9.7727        11.895        .12817E-03   -.50560E-05
  15  Prefactor     39.819        136.04        .63437E-04   -.70610E-05
  16  Prefactor     16.844        21.120        .97648E-04   -.19140E-03
  17  Prefactor     .10000E-03    53.233        .36285E-03** at limit **
  18  Prefactor     .10001E-03    197.93        .21516    ** at limit **
  19  Normalizat    1.1789        .26062        .24590E-03   -.56774E-04
  20  Prefactor     .85287        .23590        .27043E-03   -.12780E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.47803
  Prefactor  = 0.0001
  Prefactor  = 19.4684
  Prefactor  = 9.01811
  Prefactor  = 7.34463
  Prefactor  = 0.0001
  Prefactor  = 13.4109
  norm       = 0.875743
  Prefactor  = 19.9609
  Prefactor  = 0.0001
  norm       = 11.7907
  Prefactor  = 7.78864
  Prefactor  = 0.0001
  Prefactor  = 9.77266
  Prefactor  = 39.8191
  Prefactor  = 16.8444
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Normalizat = 1.17889
  Prefactor  = 0.852872
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.041     FROM HESSE     STATUS=OK           285 CALLS     2905 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4780        13.402        .70504E-04   -1.5465    
   2  Prefactor     .10000E-03    4.3611        .28131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.468        23.232        .36304E-05   -1.4825    
   4  Prefactor     9.0181        13.296        .53415E-05   -1.5107    
   5  Prefactor     7.3446        10.225        .59188E-05   -1.5166    
   6  Prefactor     .10000E-03    11.638        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.411        19.571        .43706E-05   -1.4975    
   8  norm          .87574        1.0536        .31061E-04   -1.5521    
   9  Prefactor     19.961        21.813        .35879E-05   -1.4814    
  10  Prefactor     .10000E-03    1.9039        .18651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.791        11.237        .46666E-05   -1.5021    
  12  Prefactor     7.7886        7.0357        .57480E-05   -1.5150    
  13  Prefactor     .10000E-03    27.601        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.7727        11.894        .51267E-05   -1.5083    
  15  Prefactor     39.819        136.03        .12687E-04   -1.4445    
  16  Prefactor     16.844        21.166        .39059E-05   -1.4887    
  17  Prefactor     .10000E-03    53.235        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    207.11        .20965       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1789        .26081        .98361E-05   -.87258    
  20  Prefactor     .85287        .23617        .10817E-04   -.97808    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12408e-10
Minuit parameter uncertainties:
  1  8.90355
  2  8.73863e-06
  3  23.2428
  4  13.3005
  5  10.2275
  6  9.65328e-06
  7  19.5804
  8  1.05357
  9  21.8222
  10  3.17271e-06
  11  11.2395
  12  7.03643
  13  2.83943e-05
  14  11.8964
  15  137.114
  16  21.175
  17  0.000203319
  18  0.00232658
  19  0.2611
  20  0.236449
Done.

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

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.179e+01  1.124e+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:  8.529e-01  2.364e-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.179e+00  2.611e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.84
Ra Dec: 169.766 12.587
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.53e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.01e-05

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

Saving results to:
/scratch/kocevski/668310/likelihoodResults_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.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) = 4798.03714372
delta logL = 0.00337904192656

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4798.036972
delta logL = 0.00355076101368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.976       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3372       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85190       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=   4798.037     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      256 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.976        11.599        .11576E-03   -.49597E-04
   2  alpha         2.3371        .79766        .19700E-01   -.99739E-05
   3  Normalizat    1.1805        .24590        .24576E-03    .25952E-04
   4  Prefactor     .85194        .23444        .27057E-03    .30463E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9764
  alpha      = 2.33713
  Normalizat = 1.18045
  Prefactor  = 0.851938
 **********
 **   18 **HESSE 
 **********

 FCN=   4798.037     FROM HESSE     STATUS=OK            25 CALLS      281 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.976        11.530        .46302E-05   -1.5016    
   2  alpha         2.3371        .79298        .78800E-03   -.65193E-01
   3  Normalizat    1.1805        .24611        .98302E-05   -.87209    
   4  Prefactor     .85194        .23461        .10823E-04   -.97841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72248e-11
Minuit parameter uncertainties:
  1  11.5318
  2  0.806982
  3  0.246347
  4  0.234891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668310': 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) = 4798.03697199
delta logL = 0.00355077488439

Extracting fit parameters...

4FGL J1119.0+1235
   Spectrum: LogParabola
287         norm:  1.198e+01  1.153e+01  1.000e-04  1.000e+04 ( 1.000e-12)
288        alpha:  2.337e+00  8.070e-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:  8.519e-01  2.349e-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.180e+00  2.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 169.766 12.587
Photon Index (Free Index): 2.34 +/- 0.81
Photon Flux (Free Index): 3.38e-08 +/- 3.71e-08
Energy Flux (Free Index): 1.07e-05 +/- 1.02e-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/668310/cmap_HighResolution_564624001_564883201_4FGL_J1119.0+1235_daily_bin1255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', photon_flux='3.53e-08', energy_flux2='1.07e-05', photon_flux_error='3.36e-08', dlogl='3.55e-03', energy_flux='1.06e-05', photon_flux2='3.38e-08', job_status='DONE', time_completed='2021-09-03 16:09:37.774674', photon_index_error2='0.81', photon_index2='2.34', ts='1.84', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='1.02e-05', EG='1.18', time_epoch_completed='1630710577.77', return_code='0', job_id='668310', GAL2='0.85', EG2='1.18', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='3.71e-08', ts2='1.84', photon_index='2.41' WHERE bin_id='1255' AND source_name='4FGL J1119.0+1235' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:09:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0185>
Subject: Job 668310: <4FGL_J1119.0+1235_daily_bin1255> in cluster <slac> Done

Job <4FGL_J1119.0+1235_daily_bin1255> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep  3 15:56:07 2021
Job was executed on host(s) <bullet0185>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 15:56:36 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:36 2021
Terminated at Fri Sep  3 16:09:38 2021
Results reported at Fri Sep  3 16:09:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.0+1235_daily_bin1255 169.766 12.5866 564624001 564883201 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 :                                   592.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            811 sec.

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

