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


Performing analysis on: 4FGL_J1119.9-1007_daily_bin1473
RA = 169.986, Dec = -10.1288
tmin = 621129601, tmax = 621388801
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='677492', job_status='RUN', time_executed='2021-09-03 16:22:29.223640', time_epoch_executed='1630711349.22' WHERE source_name='4FGL J1119.9-1007' and cadence='daily' and bin_id='1473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/677492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/677492/ft1_4FGL_J1119.9-1007_daily_bin1473.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/677492/ft1_4FGL_J1119.9-1007_daily_bin1473.fits outfile=/scratch/kocevski/677492/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1473.fits ra=169.986 dec=-10.1288 rad=12.0 tmin=621129601.0 tmax=621388801.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.20
user 2.94
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.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/677492/ft1_filteredMKT_4FGL_J1119.9-1007_daily_bin1473.fits evtable="EVENTS" outfile="/scratch/kocevski/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.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.55
user 0.38
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits" evtable="EVENTS" scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits sctable="SC_DATA" outfile=/scratch/kocevski/677492/ltcube_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.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/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits
.....................!
real 19.31
user 18.91
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits sctable="SC_DATA" expcube=/scratch/kocevski/677492/ltcube_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.fits outfile=/scratch/kocevski/677492/expmap_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.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/677492/ltcube_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.fits
.....................!
real 193.86
user 188.70
sys 4.39

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/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits outfile=/scratch/kocevski/677492/cmap_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits outfile=/scratch/kocevski/677492/cmap_HighResolution_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.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.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits evtable="EVENTS" scfile=/scratch/kocevski/677492/ft2_4FGL_J1119.9-1007_daily_bin1473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/677492/Model_4FGL_J1119.9-1007_daily_bin1473.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/677492/ft1_filtered_4FGL_J1119.9-1007_daily_bin1473.fits.....................!
real 44.58
user 43.17
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0414       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0509       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10304E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .24479E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.6661       1.0000         .10000E-03   10000.    
    12 'Prefactor '    76.077       1.0000         .10000E-03   10000.    
    13 'norm      '    .12179E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35501E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.622       1.0000         .10000E-03   10000.    
    17 'norm      '    4.9077       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    38.708       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    16.061       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97661       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3711       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3976.205     FROM MIGRAD    STATUS=CONVERGED    559 CALLS     2754 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0394        12.990        .26761E-06   -.47592E-04
   2  Prefactor     7.0523        24.068       -.17055E-06   -.14118E-04
   3  Prefactor     .10000E-03    45.282       -.37942E-05** at limit **
   4  Prefactor     .10000E-03    16.767       -.74195E-05** at limit **
   5  Prefactor     .10000E-03    14.015       -.47946E-06** at limit **
   6  Prefactor     .10000E-03    10.631        .13042E-06** at limit **
   7  Prefactor     .10000E-03    101.29        .31540E-04** at limit **
   8  norm          .10000E-03    21.827        .77820E-06** at limit **
   9  Prefactor     .10000E-03    257.13       -.22063E-04** at limit **
  10  norm          .10000E-03    .81468        .63940E-07** at limit **
  11  Prefactor     2.6673        9.4931       -.64961E-06   -.18967E-03
  12  Prefactor     76.080        22.611        .73070E-07   -.74461E-04
  13  norm          .10000E-03    88.882       -.23528E-04** at limit **
  14  Prefactor     .10000E-03    15.299        .46934E-05** at limit **
  15  Prefactor     .10000E-03    244.26        .22553E-04** at limit **
  16  Prefactor     32.619        50.930       -.34359E-05   -.17726E-04
  17  norm          4.9123        8.7645       -.86321E-06   -.38658E-03
  18  Prefactor     .10002E-03    8.5289        .20388E-05** at limit **
  19  Prefactor     38.733        37.774       -.93237E-07   -.23768E-03
  20  Prefactor     .10000E-03    27.887       -.11151E-04** at limit **
  21  Prefactor     16.078        37.758        .63957E-07   -.10923E-03
  22  Prefactor     .10000E-03    32.388        .12282E-04** at limit **
  23  Normalizat    .97656        .36978       -.80345E-06   -.13793E-03
  24  Prefactor     1.3712        .23007        .53808E-06   -.22331E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.03938
  Prefactor  = 7.05232
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.66726
  Prefactor  = 76.0799
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.6185
  norm       = 4.91234
  Prefactor  = 0.000100017
  Prefactor  = 38.7326
  Prefactor  = 0.0001
  Prefactor  = 16.0782
  Prefactor  = 0.0001
  Normalizat = 0.976557
  Prefactor  = 1.37119
 **********
 **   18 **HESSE 
 **********

 FCN=   3976.205     FROM HESSE     STATUS=OK           389 CALLS     3143 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0394        12.969        .13329E-03   -1.5107    
   2  Prefactor     7.0523        24.068        .15107E-03   -1.5177    
   3  Prefactor     .10000E-03    45.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    14.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    101.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    21.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    260.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    8.0014        .10730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.6673        9.4426        .24961E-03   -1.5381    
  12  Prefactor     76.080        22.591        .46037E-04   -1.3961    
  13  norm          .10000E-03    88.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.724        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    248.61        .21317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.619        50.972        .70156E-04   -1.4565    
  17  norm          4.9123        8.5424        .18156E-03   -1.5265    
  18  Prefactor     .10002E-03    19.344        .32170E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     38.733        36.329        .64423E-04   -1.4462    
  20  Prefactor     .10000E-03    27.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     16.078        37.360        .99939E-04   -1.4906    
  22  Prefactor     .10000E-03    32.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .97656        .43698        .40442E-03   -.93820    
  24  Prefactor     1.3712        .27561        .22500E-03   -.81214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30469e-09
Minuit parameter uncertainties:
  1  12.9734
  2  24.1012
  3  2.12416e-06
  4  2.12612e-06
  5  2.50926e-06
  6  3.07378e-06
  7  4.53288e-05
  8  1.97155e-05
  9  0.00053594
  10  2.12586e-05
  11  9.44783
  12  22.5934
  13  0.000172376
  14  5.83496e-05
  15  0.000240554
  16  51.0399
  17  8.54451
  18  0.00114048
  19  36.35
  20  9.17143e-06
  21  37.4146
  22  6.55385e-06
  23  0.438595
  24  0.275901
Done.

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

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.533e-05  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:  1.371e+00  2.759e-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:  9.766e-01  4.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/677492/likelihoodResults_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.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) = 3976.20551634
delta logL = -4.684985106e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3976.20547181
delta logL = -2.31537569562e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3976.205     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      279 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10375E-03    23.468        .21242E-01** at limit **
   2  Index         2.2422        8.7156        .50000        .72255E-05
   3  Normalizat    .97656        .46821E-02    .40442E-03    .47114E-04
   4  Prefactor     1.3712        .30411E-02    .22500E-03    .90383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103754
  Index      = 2.24221
  Normalizat = 0.976559
  Prefactor  = 1.37119
 **********
 **   18 **HESSE 
 **********

 FCN=   3976.205     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10375E-03    129.30        .42485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2422        5.8958        .50000       -.58423    
   3  Normalizat    .97656        .10983E-01    .16177E-04   -.93820    
   4  Prefactor     1.3712        .71335E-02    .45000E-04   -.81214    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59475e-10
Minuit parameter uncertainties:
  1  0.0441613
  2  159.561
  3  0.0109829
  4  0.00713355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/677492': 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) = 3976.20546964
delta logL = -1.51259428094e-07

Extracting fit parameters...

4FGL J1119.9-1007
   Spectrum: PowerLaw
291    Prefactor:  1.038e-04  4.416e-02  1.000e-04  1.000e+04 ( 1.000e-14)
292        Index:  2.242e+00  1.596e+02  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:  1.371e+00  7.134e-03  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:  9.766e-01  1.098e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/677492/cmap_HighResolution_621129601_621388801_4FGL_J1119.9-1007_daily_bin1473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.84e-03', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-03 16:32:58.208347', job_id='677492', GAL2='1.37', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630711978.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='-1.51e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.15' WHERE bin_id='1473' AND source_name='4FGL J1119.9-1007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep  3 16:32:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 677492: <4FGL_J1119.9-1007_daily_bin1473> in cluster <slac> Done

Job <4FGL_J1119.9-1007_daily_bin1473> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep  3 16:21:40 2021
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep  3 16:22:01 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:22:01 2021
Terminated at Fri Sep  3 16:32:58 2021
Results reported at Fri Sep  3 16:32:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1119.9-1007_daily_bin1473 169.986 -10.1288 621129601 621388801 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 :                                   589.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             317.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   657 sec.
    Turnaround time :                            678 sec.

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

