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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1071
RA = 169.986, Dec = -10.1288
tmin = 516931201, tmax = 517190401
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='675709', job_status='RUN', time_executed='2021-09-03 16:19:55.937026', time_epoch_executed='1630711195.94' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1071'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/675709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/675709/ft1_4FGL_J1119.9-1007_daily_bin1071.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/675709/ft1_4FGL_J1119.9-1007_daily_bin1071.fits outfile=/scratch/kocevski/675709/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1071.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=516931201.0 tmax=517190401.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.08
user 3.74
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.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/675709/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1071.fits evtable="EVENTS" outfile="/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.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.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits" evtable="EVENTS" scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits sctable="SC_DATA" outfile=/scratch/kocevski/675709/ltcube_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.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/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits
.....................!
real 15.04
user 14.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits sctable="SC_DATA" expcube=/scratch/kocevski/675709/ltcube_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits outfile=/scratch/kocevski/675709/expmap_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.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/675709/ltcube_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits
.....................!
real 192.03
user 186.93
sys 4.46

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 193 point sources and 0 extended sources

Setting source of interest to:
4FGL J1119.9-1007 @ 169.986 -10.1288

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits outfile=/scratch/kocevski/675709/cmap_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=169.986 yref=-10.1288 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits outfile=/scratch/kocevski/675709/cmap_HighResolution_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=169.986 yref=-10.1288 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits evtable="EVENTS" scfile=/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/675709/Model_4FGL_J1119.9-1007_daily_bin1071.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/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits.....................!
real 56.00
user 54.61
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits', '/scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits', expMap='/scratch/kocevski/675709/expmap_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits', expCube='/scratch/kocevski/675709/ltcube_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/675709/Model_4FGL_J1119.9-1007_daily_bin1071.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1119.9-1007'

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  4.961e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/675709/ft1_filtered_4FGL_J1119.9-1007_daily_bin1071.fits
Spacecraft file(s): /scratch/kocevski/675709/ft2_4FGL_J1119.9-1007_daily_bin1071.fits
Exposure map: /scratch/kocevski/675709/expmap_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits
Exposure cube: /scratch/kocevski/675709/ltcube_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/675709/Model_4FGL_J1119.9-1007_daily_bin1071.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) = 5695.36604203

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.625       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10748E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.217       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8936       1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.065       1.0000         .10000E-03   10000.    
     8 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3281       1.0000         .10000E-03   10000.    
    10 'norm      '    .44224       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.621       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.8469       1.0000         .10000E-03   10000.    
    13 'norm      '    7.4057       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6238       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.4615       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0285       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.175       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    47.842       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1234       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79628       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5695.305     FROM MIGRAD    STATUS=CONVERGED     71 CALLS     2301 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.625        1.2200        .19379E-05    .20580E-02
   2  Prefactor     .10017E-03    11.314        .25449E-04** at limit **
   3  Prefactor     .10019E-03    20.931        .63633E-04** at limit **
   4  Prefactor     .10000E-03    113.55       -.88488E-04** at limit **
   5  Prefactor     15.209        1.3966        .13287E-05   -.33214E-03
   6  Prefactor     7.8910        4.1562       -.24050E-05    .42733E-03
   7  Prefactor     20.056        1.7799       -.26631E-05    .30924E-02
   8  norm          .10000E-03    5.2588        .39331E-05** at limit **
   9  Prefactor     7.3393        1.9629        .49178E-05   -.18556E-02
  10  norm          .44109        .80726       -.14906E-05   -.95075E-04
  11  Prefactor     14.617        4.7350       -.24537E-05    .42703E-03
  12  Prefactor     6.8474        1.1756        .10445E-05    .88689E-04
  13  norm          7.4150        1.5647        .15632E-05   -.15270E-03
  14  Prefactor     2.6230        3.1309       -.43507E-06    .28882E-04
  15  Prefactor     .10011E-03    10.810       -.39903E-04** at limit **
  16  Prefactor     .10014E-03    13.381       -.59328E-04** at limit **
  17  norm          7.4607        2.1151       -.53072E-05   -.21160E-02
  18  Prefactor     5.0284        4.5128       -.87227E-05    .60935E-03
  19  Prefactor     26.176        1.0652       -.24773E-06    .13968E-03
  20  Prefactor     .10002E-03    8.6867        .84801E-05** at limit **
  21  Prefactor     47.835        1.3231       -.81918E-06    .75204E-03
  22  Prefactor     .10003E-03    11.649        .27351E-04** at limit **
  23  Normalizat    1.1240        .27897        .60430E-05    .12385E-03
  24  Prefactor     .79595        .17901       -.18254E-05    .11809E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6254
  Prefactor  = 0.000100171
  Prefactor  = 0.000100186
  Prefactor  = 0.000100004
  Prefactor  = 15.2088
  Prefactor  = 7.89104
  Prefactor  = 20.0558
  norm       = 0.0001
  Prefactor  = 7.33926
  norm       = 0.441086
  Prefactor  = 14.617
  Prefactor  = 6.84735
  norm       = 7.41495
  Prefactor  = 2.62296
  Prefactor  = 0.000100109
  Prefactor  = 0.00010014
  norm       = 7.46068
  Prefactor  = 5.02841
  Prefactor  = 26.1758
  Prefactor  = 0.000100016
  Prefactor  = 47.8346
  Prefactor  = 0.000100033
  Normalizat = 1.12403
  Prefactor  = 0.795945
 **********
 **   18 **HESSE 
 **********

 FCN=   5695.305     FROM HESSE     STATUS=OK           461 CALLS     2762 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.625        7.9265        .28184E-02   -1.4997    
   2  Prefactor     .10017E-03    29.883        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10019E-03    33.010        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.354        .10278       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.209        15.266        .25669E-02   -1.4928    
   6  Prefactor     7.8910        7.9759        .35679E-02   -1.5146    
   7  Prefactor     20.056        64.641        .22354E-02   -1.4812    
   8  norm          .10000E-03    5.2481        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.3393        66.361        .37041E-02   -1.5166    
  10  norm          .44109        .95711        .21231E-01   -1.5575    
  11  Prefactor     14.617        7.9926        .26187E-02   -1.4943    
  12  Prefactor     6.8474        8.8721        .38333E-02   -1.5185    
  13  norm          7.4150        24.783        .36845E-02   -1.5163    
  14  Prefactor     2.6230        3.1553        .62944E-02   -1.5384    
  15  Prefactor     .10011E-03    25.844        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10014E-03    23.327        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.4607        6.9279        .36706E-02   -1.5162    
  18  Prefactor     5.0284        5.7122        .44830E-02   -1.5259    
  19  Prefactor     26.176        23.547        .19575E-02   -1.4684    
  20  Prefactor     .10002E-03    20.123        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     47.835        26.239        .14493E-02   -1.4324    
  22  Prefactor     .10003E-03    19.777        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1240        .24270        .66010E-01   -.88984    
  24  Prefactor     .79595        .15207        .43669E-01   -.99878    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22921e-07
Minuit parameter uncertainties:
  1  7.92717
  2  0.00451977
  3  0.00496221
  4  0.000538344
  5  15.2699
  6  7.97695
  7  64.8677
  8  1.31419e-05
  9  44.2029
  10  0.957146
  11  7.9932
  12  8.87384
  13  24.817
  14  3.15545
  15  0.00335794
  16  0.00361018
  17  6.92864
  18  5.71281
  19  23.5554
  20  0.00114379
  21  26.2452
  22  0.00160943
  23  0.242941
  24  0.152146
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  2.006e+01  6.487e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.154e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  7.959e-01  1.521e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.124e+00  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.12
Ra Dec: 169.986 -10.129
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/675709/likelihoodResults_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.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) = 5695.15369659
delta logL = 0.151136941907

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5695.14832346
delta logL = 0.156510079765

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1264       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9995       1.0000          .0000       10.000    
     3 'Normalizat'    1.1016       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80351       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5695.148     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      341 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1730        6539.9        .66334E-03   -.10026E-04
   2  Index         2.9975        8.2486        .80686E-02    .22558E-04
   3  Normalizat    1.1012        .38037        .29451E-03   -.71568E-04
   4  Prefactor     .80356        .25401        .22593E-03   -.19081E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.17296
  Index      = 2.9975
  Normalizat = 1.10123
  Prefactor  = 0.803563
 **********
 **   18 **HESSE 
 **********

 FCN=   5695.148     FROM HESSE     STATUS=OK            25 CALLS      366 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1730        31.705        .26534E-04   -1.5102    
   2  Index         2.9975        1.4644        .32275E-03   -.41206    
   3  Normalizat    1.1012        .27043        .11780E-04   -.89712    
   4  Prefactor     .80356        .17860        .90372E-05   -.99597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.06595e-11
Minuit parameter uncertainties:
  1  31.763
  2  1.49057
  3  0.270766
  4  0.178731
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/675709': 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) = 5695.14831985
delta logL = 0.156513680383

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  9.173e+00  3.176e+01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.998e+00  1.491e+00  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  1.951e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  8.036e-01  1.787e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  1.101e+00  2.708e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.12
Ra Dec: 169.986 -10.129

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/675709/cmap_HighResolution_516931201_517190401_4FGL_J1119.9-1007_daily_bin1071.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.61e-03', job_status='DONE', photon_flux_upper_limit='1.00e-07', time_completed='2021-09-03 16:31:33.275060', job_id='675709', GAL2='0.80', fit_tolerance='1e-08', EG2='1.10', EG='1.12', time_epoch_completed='1630711893.28', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.57e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1071' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:31:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 675709: <4FGL_J1119.9-1007_daily_bin1071> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1071> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep  3 16:16:36 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:17:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep  3 16:17:14 2021
Terminated at Fri Sep  3 16:31:34 2021
Results reported at Fri Sep  3 16:31:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1071 169.986 -10.1288 516931201 517190401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1119.9-1007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   680.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            898 sec.

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

