/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 219 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2119.6-1105_daily_bin395
RA = 319.924, Dec = -11.091
tmin = 341712001, tmax = 341971201
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='449026', job_status='RUN', time_executed='2021-09-26 11:14:53.128621', time_epoch_executed='1632680093.13' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='395'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/449026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/449026/ft1_4FGL_J2119.6-1105_daily_bin395.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/449026/ft1_4FGL_J2119.6-1105_daily_bin395.fits outfile=/scratch/kocevski/449026/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin395.fits ra=319.924 dec=-11.091 rad=12.0 tmin=341712001.0 tmax=341971201.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.84
user 3.18
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.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/449026/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin395.fits evtable="EVENTS" outfile="/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.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.62
user 0.32
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits" evtable="EVENTS" scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits sctable="SC_DATA" outfile=/scratch/kocevski/449026/ltcube_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.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/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits
.....................!
real 14.73
user 14.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits evtable="EVENTS" scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits sctable="SC_DATA" expcube=/scratch/kocevski/449026/ltcube_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits outfile=/scratch/kocevski/449026/expmap_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.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/449026/ltcube_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits
.....................!
real 193.17
user 186.15
sys 4.84

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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J2119.6-1105 @ 319.924 -11.091

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits outfile=/scratch/kocevski/449026/cmap_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.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=319.924 yref=-11.091 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits outfile=/scratch/kocevski/449026/cmap_HighResolution_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.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=319.924 yref=-11.091 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits evtable="EVENTS" scfile=/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/449026/Model_4FGL_J2119.6-1105_daily_bin395.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/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits.....................!
real 78.62
user 76.45
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits', '/scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits', expMap='/scratch/kocevski/449026/expmap_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits', expCube='/scratch/kocevski/449026/ltcube_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/449026/Model_4FGL_J2119.6-1105_daily_bin395.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2119.6-1105'

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  3.738e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/449026/ft1_filtered_4FGL_J2119.6-1105_daily_bin395.fits
Spacecraft file(s): /scratch/kocevski/449026/ft2_4FGL_J2119.6-1105_daily_bin395.fits
Exposure map: /scratch/kocevski/449026/expmap_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits
Exposure cube: /scratch/kocevski/449026/ltcube_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/449026/Model_4FGL_J2119.6-1105_daily_bin395.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) = 8723.15744416

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2445       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.2527       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25278E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15164E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.407       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0557       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.8197       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3931       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93459       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8723.106     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1763 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0983        .90712E-02** at limit **
   2  Prefactor     5.2440        3.5758        .43880E-02    .23065E-03
   3  Prefactor     1.2525        2.5885        .99833E-02    .10512E-02
   4  Prefactor     .10004E-03    4.4827        .10730    ** at limit **
   5  Prefactor     .10000E-03    44.281        .90712E-02** at limit **
   6  Prefactor     .10000E-03    7.7722        .90986E-01** at limit **
   7  Prefactor     .10000E-03    5.5101        .90712E-02** at limit **
   8  Prefactor     33.399        29.668        .17332E-02    .23973E-02
   9  Prefactor     .10000E-03    1.1254        .90712E-02** at limit **
  10  Prefactor     2.0560        2.1440        .72067E-02    .65117E-03
  11  Prefactor     2.8183        4.2641        .60554E-02    .50503E-03
  12  Prefactor     .10000E-03    12.785        .90712E-02** at limit **
  13  Prefactor     9.3914        10.793        .32690E-02    .20468E-03
  14  norm          .10000E-03    1.5807        .90712E-02** at limit **
  15  Prefactor     .10000E-03    2.4297        .90712E-02** at limit **
  16  Prefactor     .10000E-03    17.790        .90712E-02** at limit **
  17  Normalizat    1.0074        .17837        .67444E-01    .34450E-04
  18  Prefactor     .93456        .98046E-01    .45444E-01    .26674E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.24395
  Prefactor  = 1.25251
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 33.3986
  Prefactor  = 0.0001
  Prefactor  = 2.056
  Prefactor  = 2.8183
  Prefactor  = 0.0001
  Prefactor  = 9.39141
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.00742
  Prefactor  = 0.934563
 **********
 **   18 **HESSE 
 **********

 FCN=   8723.106     FROM HESSE     STATUS=OK           248 CALLS     2011 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.1083        .95572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2440        3.5729        .14052E-03   -1.5250    
   3  Prefactor     1.2525        2.5476        .20963E-03   -1.5484    
   4  Prefactor     .10004E-03    56.644        .38034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    44.344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    83.839        .50032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.399        29.504        .69329E-04   -1.4551    
   9  Prefactor     .10000E-03    1.1287        .96754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0560        2.1205        .12724E-03   -1.5421    
  11  Prefactor     2.8183        4.2496        .23021E-03   -1.5372    
  12  Prefactor     .10000E-03    12.797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.3914        10.837        .13076E-03   -1.5095    
  14  norm          .10000E-03    1.5817        .11468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4811        .14210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0074        .21863        .29833E-03   -.92782    
  18  Prefactor     .93456        .12099        .17266E-03   -.94944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57409e-08
Minuit parameter uncertainties:
  1  4.11393e-07
  2  3.57301
  3  2.54778
  4  0.00298923
  5  0.000129671
  6  0.000589941
  7  8.27265e-07
  8  29.5173
  9  2.01264e-07
  10  2.12054
  11  4.25009
  12  9.33081e-07
  13  10.8393
  14  2.70654e-07
  15  3.20313e-07
  16  1.77109e-05
  17  0.218821
  18  0.121024
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  5.899e-04  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.346e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  1.007e+00  2.188e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/449026/likelihoodResults_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.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) = 8723.10561247
delta logL = -5.46240462427e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8723.10561231
delta logL = -5.44721915503e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96196E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3654       1.0000          .0000       10.000    
     3 'Normalizat'    1.0073       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+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=   8723.076     FROM MIGRAD    STATUS=CONVERGED    157 CALLS      318 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70362        12.967        .30909E-03   -.26408E-04
   2  Index         3.2411        3.3995        .48016E-02   -.30401E-05
   3  Normalizat    .99862        .21613        .29951E-03   -.67109E-04
   4  Prefactor     .93631        .12028        .17252E-03   -.10130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.703623
  Index      = 3.24112
  Normalizat = 0.998621
  Prefactor  = 0.936308
 **********
 **   18 **HESSE 
 **********

 FCN=   8723.076     FROM HESSE     STATUS=OK            25 CALLS      343 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70362        7.8942        .12364E-04   -1.5540    
   2  Index         3.2411        2.7729        .19206E-03   -.35947    
   3  Normalizat    .99862        .21640        .11980E-04   -.93077    
   4  Prefactor     .93631        .12035        .34504E-04   -.94884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.47027e-12
Minuit parameter uncertainties:
  1  4.71408
  2  2.96779
  3  0.21659
  4  0.120382
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/449026': 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) = 8723.07605617
delta logL = 0.0295016706496

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  7.036e-01  4.714e+00  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  3.241e+00  2.968e+00  0.000e+00  1.000e+01 (-1.000e+00)
306        Scale:  1.160e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
562    Prefactor:  9.363e-01  1.204e-01  0.000e+00  1.000e+01 ( 1.000e+00)
563        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
564        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
561   Normalization:  9.986e-01  2.166e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 319.924 -11.091

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/449026/cmap_HighResolution_341712001_341971201_4FGL_J2119.6-1105_daily_bin395.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-09-26 11:26:34.179754', job_id='449026', GAL2='0.94', fit_tolerance='1e-08', EG2='1.00', EG='1.01', time_epoch_completed='1632680794.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.95e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='395' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:26:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 449026: <4FGL_J2119.6-1105_daily_bin395> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin395> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Sep 26 11:10:36 2021
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:11:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 11:11:03 2021
Terminated at Sun Sep 26 11:26:35 2021
Results reported at Sun Sep 26 11:26:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin395 319.924 -11.091 341712001 341971201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2119.6-1105 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   691.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             262.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            959 sec.

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

