aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 58 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 = 7709
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1692
RA = 169.986, Dec = -10.1288
tmin = 677894401, tmax = 678153601
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='405145', job_status='RUN', time_executed='2022-06-29 04:25:58.799516', time_epoch_executed='1656501958.8' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1692'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/405145

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/405145/ft1_4FGL_J1119.9-1007_daily_bin1692.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/405145/ft1_4FGL_J1119.9-1007_daily_bin1692.fits outfile=/scratch/kocevski/405145/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1692.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=677894401.0 tmax=678153601.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.46
user 4.22
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.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/405145/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1692.fits evtable="EVENTS" outfile="/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 1052

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits" evtable="EVENTS" scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits sctable="SC_DATA" outfile=/scratch/kocevski/405145/ltcube_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.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/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits
.....................!
real 13.70
user 13.31
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits sctable="SC_DATA" expcube=/scratch/kocevski/405145/ltcube_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits outfile=/scratch/kocevski/405145/expmap_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.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/405145/ltcube_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits
.....................!
real 191.44
user 185.59
sys 5.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/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits outfile=/scratch/kocevski/405145/cmap_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits outfile=/scratch/kocevski/405145/cmap_HighResolution_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits evtable="EVENTS" scfile=/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/405145/Model_4FGL_J1119.9-1007_daily_bin1692.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/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits.....................!
real 94.74
user 93.21
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits', '/scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits', expMap='/scratch/kocevski/405145/expmap_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits', expCube='/scratch/kocevski/405145/ltcube_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/405145/Model_4FGL_J1119.9-1007_daily_bin1692.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/405145/ft1_filtered_4FGL_J1119.9-1007_daily_bin1692.fits
Spacecraft file(s): /scratch/kocevski/405145/ft2_4FGL_J1119.9-1007_daily_bin1692.fits
Exposure map: /scratch/kocevski/405145/expmap_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits
Exposure cube: /scratch/kocevski/405145/ltcube_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/405145/Model_4FGL_J1119.9-1007_daily_bin1692.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) = 10827.1007889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2894       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13297E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.180       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.6211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2444       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10276E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.2280       1.0000         .10000E-03   10000.    
     8 'norm      '    11.703       1.0000         .10000E-03   10000.    
     9 'Prefactor '    33.218       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3848       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    150.41       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.1624       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.521       1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.588       1.0000         .10000E-03   10000.    
    17 'norm      '    .53849       1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.7193       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.2936       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15593E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .75886       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .85277       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92137       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.

 FCN=   10827.09     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2777 TOTAL
                     EDM=   .77E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2898        3.9579         .0000        .68513E-03
   2  Prefactor     .10000E-03    34.706         .0000    ** at limit **
   3  Prefactor     60.180        61.308         .0000       -.25707E-03
   4  Prefactor     4.6214        11.349         .0000       -.20806E-03
   5  Prefactor     4.2445        4.8383         .0000        .32086E-02
   6  Prefactor     .10000E-03    1.8625         .0000    ** at limit **
   7  Prefactor     9.2265        42.493         .0000        .11266E-03
   8  norm          11.698        7.9476         .0000        .25134E-03
   9  Prefactor     33.219        31.753         .0000       -.70208E-04
  10  norm          1.3851        .85046         .0000        .75955E-03
  11  Prefactor     .10000E-03    2.8905         .0000    ** at limit **
  12  Prefactor     150.41        13.996         .0000        .12101E-02
  13  norm          .10000E-03    4.8212         .0000    ** at limit **
  14  Prefactor     5.1624        2.1021         .0000        .24928E-03
  15  Prefactor     15.529        17.319         .0000        .33530E-02
  16  Prefactor     15.589        17.179         .0000        .29977E-03
  17  norm          .53679        5.6369         .0000        .72461E-01
  18  Prefactor     3.7198        2.8755         .0000        .97057E-03
  19  Prefactor     9.2944        11.721         .0000       -.24430E-03
  20  Prefactor     .10017E-03    8.7161         .0000    ** at limit **
  21  Prefactor     .80458        13.656         .0000        .26669E-01
  22  Prefactor     .10000E-03    8.6435         .0000    ** at limit **
  23  Normalizat    .85281        .16452         .0000        .79829E-04
  24  Prefactor     .92129        .11077         .0000        .11655E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.2898
  Prefactor  = 0.0001
  Prefactor  = 60.1803
  Prefactor  = 4.62137
  Prefactor  = 4.24453
  Prefactor  = 0.0001
  Prefactor  = 9.22645
  norm       = 11.6984
  Prefactor  = 33.2191
  norm       = 1.38506
  Prefactor  = 0.0001
  Prefactor  = 150.413
  norm       = 0.0001
  Prefactor  = 5.16235
  Prefactor  = 15.5292
  Prefactor  = 15.5887
  norm       = 0.536786
  Prefactor  = 3.71983
  Prefactor  = 9.29437
  Prefactor  = 0.000100172
  Prefactor  = 0.804584
  Prefactor  = 0.0001
  Normalizat = 0.852806
  Prefactor  = 0.921292
 **********
 **   18 **HESSE 
 **********

 FCN=   10827.09     FROM HESSE     STATUS=OK           409 CALLS     3186 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2898        3.9548        .19108E-03   -1.5294    
   2  Prefactor     .10000E-03    34.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.180        61.129        .51720E-04   -1.4155    
   4  Prefactor     4.6214        11.261        .18723E-03   -1.5278    
   5  Prefactor     4.2445        4.8190        .19558E-03   -1.5296    
   6  Prefactor     .10000E-03    3.5649        .26512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.2265        42.110        .13193E-03   -1.5100    
   8  norm          11.698        7.7404        .11710E-03   -1.5024    
   9  Prefactor     33.219        31.725        .69525E-04   -1.4555    
  10  norm          1.3851        .83644        .70720E-04   -1.5473    
  11  Prefactor     .10000E-03    2.9561        .34285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     150.41        14.002        .32863E-04   -1.3249    
  13  norm          .10000E-03    4.8233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.1624        2.1026        .93202E-04   -1.5254    
  15  Prefactor     15.529        17.302        .10166E-03   -1.4920    
  16  Prefactor     15.589        17.178        .10145E-03   -1.4918    
  17  norm          .53679        5.5879        .22198E-02   -1.5561    
  18  Prefactor     3.7198        2.8008        .13466E-03   -1.5322    
  19  Prefactor     9.2944        11.681        .13146E-03   -1.5098    
  20  Prefactor     .10017E-03    10.505        .12308       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .80458        14.027        .24571E-02   -1.5529    
  22  Prefactor     .10000E-03    8.6500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .85281        .19189        .31880E-03   -.98139    
  24  Prefactor     .92129        .13030        .21810E-03   -.95401    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97998e-08
Minuit parameter uncertainties:
  1  3.95507
  2  0.000105833
  3  61.1929
  4  11.2659
  5  4.8194
  6  2.28315e-06
  7  39.4681
  8  7.74106
  9  31.7408
  10  0.836451
  11  7.10871e-07
  12  14.0023
  13  2.22073e-05
  14  2.10258
  15  17.3078
  16  17.183
  17  3.46392
  18  2.80094
  19  11.6843
  20  0.00269026
  21  6.72038
  22  1.25148e-07
  23  0.192044
  24  0.130347
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  9.226e+00  3.947e+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:  9.213e-01  1.303e-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:  8.528e-01  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.07
Ra Dec: 169.986 -10.129
Photon Flux Upper Limit: 5.95e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/405145/likelihoodResults_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.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): 102
logL (Free Index) = 10825.2160435
delta logL = 1.8771889378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10825.0440018
delta logL = 2.04923069212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51838E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2846       1.0000          .0000       10.000    
     3 'Normalizat'    .75666       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96560       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.

 FCN=   10825.04     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      297 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .51782E-01    .33893        .29803E-02    .51962E-02
   2  Index         5.2851        1.4493        .93636E-01    .33681E-03
   3  Normalizat    .75655        .37299E-01    .75822E-01    .42511E-04
   4  Prefactor     .96569        .26556E-01    .45836E-01    .66897E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0517818
  Index      = 5.28507
  Normalizat = 0.756554
  Prefactor  = 0.965691
 **********
 **   18 **HESSE 
 **********

 FCN=   10825.04     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      332 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .51782E-01    .88120        .13604E-03   -1.5662    
   2  Index         5.2851        2.8080        .34409E-02    .57045E-01
   3  Normalizat    .75655        .14047        .33563E-03   -1.0170    
   4  Prefactor     .96569        .99023E-01    .21331E-03   -.93882    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.7266e-07
Minuit parameter uncertainties:
  1  0.426818
  2  2.98221
  3  0.140534
  4  0.0990415
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/405145': 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): 102
logL (Free Index) = 10825.0440014
delta logL = 2.04923107577

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  5.178e-02  4.268e-01  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  5.285e+00  2.982e+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:  9.657e-01  9.904e-02  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:  7.566e-01  1.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.41
Ra Dec: 169.986 -10.129
Photon Index (Free Index): 5.29 +/- 2.98
Photon Flux (Free Index): 8.03e-08 +/- 4.47e-08
Energy Flux (Free Index): 1.04e-05 +/- 6.44e-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/405145/cmap_HighResolution_677894401_678153601_4FGL_J1119.9-1007_daily_bin1692.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.52e-03', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='2.05e+00', photon_flux2='8.03e-08', job_status='DONE', time_completed='2022-06-29 04:44:20.774267', photon_index_error2='2.98', photon_index2='5.29', ts='0.07', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='5.95e-08', energy_flux_error2='6.44e-06', EG='0.85', time_epoch_completed='1656503060.77', return_code='0', job_id='405145', GAL2='0.97', EG2='0.76', return_code2='102', photon_flux_error2='4.47e-08', ts2='4.41', photon_index='2.15' WHERE bin_id='1692' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun 29 04:44:20 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 405096: <4FGL_J1119.9-1007_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1692> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:30 2022
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:24:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:24:28 2022
Terminated at Wed Jun 29 04:43:06 2022
Results reported at Wed Jun 29 04:43:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1692 169.986 -10.1288 677894401 678153601 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 :                                   1094.00 sec.
    Max Memory :                                 619 MB
    Average Memory :                             320.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1117 sec.
    Turnaround time :                            16596 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 405145: <4FGL_J1119.9-1007_daily_bin1692> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1692> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jun 29 00:06:34 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun 29 04:24:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun 29 04:24:52 2022
Terminated at Wed Jun 29 04:44:21 2022
Results reported at Wed Jun 29 04:44:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1692 169.986 -10.1288 677894401 678153601 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 :                                   1103.51 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             355.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1169 sec.
    Turnaround time :                            16667 sec.

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

