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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin310
RA = 319.924, Dec = -11.091
tmin = 319680001, tmax = 319939201
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='447721', job_status='RUN', time_executed='2021-09-26 11:10:22.434599', time_epoch_executed='1632679822.43' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='310'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/447721

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/447721/ft1_4FGL_J2119.6-1105_daily_bin310.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/447721/ft1_4FGL_J2119.6-1105_daily_bin310.fits outfile=/scratch/kocevski/447721/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin310.fits ra=319.924 dec=-11.091 rad=12.0 tmin=319680001.0 tmax=319939201.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.50
user 3.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits" evtable="EVENTS" scfile=/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits sctable="SC_DATA" outfile=/scratch/kocevski/447721/ltcube_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.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/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits
.....................!
real 13.34
user 12.95
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits sctable="SC_DATA" expcube=/scratch/kocevski/447721/ltcube_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits outfile=/scratch/kocevski/447721/expmap_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.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/447721/ltcube_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits
.....................!
real 192.24
user 186.43
sys 5.30

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/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits scfile=/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits outfile=/scratch/kocevski/447721/cmap_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits scfile=/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits outfile=/scratch/kocevski/447721/cmap_HighResolution_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits evtable="EVENTS" scfile=/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/447721/Model_4FGL_J2119.6-1105_daily_bin310.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/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits.....................!
real 75.14
user 73.62
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits', '/scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits', expMap='/scratch/kocevski/447721/expmap_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits', expCube='/scratch/kocevski/447721/ltcube_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/447721/Model_4FGL_J2119.6-1105_daily_bin310.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/447721/ft1_filtered_4FGL_J2119.6-1105_daily_bin310.fits
Spacecraft file(s): /scratch/kocevski/447721/ft2_4FGL_J2119.6-1105_daily_bin310.fits
Exposure map: /scratch/kocevski/447721/expmap_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits
Exposure cube: /scratch/kocevski/447721/ltcube_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/447721/Model_4FGL_J2119.6-1105_daily_bin310.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) = 8144.15351505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .17896E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5182       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.831       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .23926E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7411       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.3243       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.880       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.140       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .91293       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0768       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.

 FCN=   8143.552     FROM MIGRAD    STATUS=CONVERGED    352 CALLS     1497 TOTAL
                     EDM=   .71E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.9029       -.18517E-07** at limit **
   2  Prefactor     .10000E-03    1.2475       -.91663E-08** at limit **
   3  Prefactor     .10000E-03    1.4094       -.47317E-08** at limit **
   4  Prefactor     .10000E-03    4.3406       -.21840E-07** at limit **
   5  Prefactor     .10000E-03    75.136       -.60955E-04** at limit **
   6  Prefactor     8.5193        15.148       -.17147E-05   -.36277E-04
   7  Prefactor     16.837        13.800       -.11667E-05   -.16747E-04
   8  Prefactor     .10000E-03    49.014        .16351E-04** at limit **
   9  Prefactor     .10000E-03    1.8711        .89445E-08** at limit **
  10  Prefactor     2.7358        2.4214       -.19227E-06   -.67168E-03
  11  Prefactor     .10000E-03    2.8145       -.65144E-08** at limit **
  12  Prefactor     .10000E-03    15.908       -.60011E-06** at limit **
  13  Prefactor     6.3297        14.612       -.16136E-05   -.64413E-04
  14  norm          .10000E-03    3.4690        .76579E-07** at limit **
  15  Prefactor     13.883        7.4114        .42605E-06   -.75472E-04
  16  Prefactor     12.143        14.438       -.95059E-06   -.10183E-04
  17  Normalizat    .91265        .21239        .92301E-06    .29659E-04
  18  Prefactor     1.0768        .11201        .11369E-07    .13937E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.51934
  Prefactor  = 16.8367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.73578
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.32975
  norm       = 0.0001
  Prefactor  = 13.8833
  Prefactor  = 12.1426
  Normalizat = 0.912654
  Prefactor  = 1.07682
 **********
 **   18 **HESSE 
 **********

 FCN=   8143.552     FROM HESSE     STATUS=OK           242 CALLS     1739 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9654        .24304E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.2618        .98410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.4180        .10461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.3592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    74.988        .20326E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5193        15.114        .13735E-03   -1.5124    
   7  Prefactor     16.837        13.793        .97626E-04   -1.4887    
   8  Prefactor     .10000E-03    49.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.8815        .12054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7358        2.4163        .12679E-03   -1.5377    
  11  Prefactor     .10000E-03    2.8514        .14784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.3297        14.667        .15961E-03   -1.5205    
  14  norm          .10000E-03    9.3356        .32709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.883        7.4245        .10751E-03   -1.4963    
  16  Prefactor     12.143        14.425        .11497E-03   -1.5011    
  17  Normalizat    .91265        .25497        .34117E-03   -.96017    
  18  Prefactor     1.0768        .13474        .17447E-03   -.90211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42589e-10
Minuit parameter uncertainties:
  1  1.85538e-06
  2  1.02505e-06
  3  5.42597e-07
  4  1.61703e-06
  5  0.000186025
  6  15.1211
  7  13.7955
  8  1.2155e-05
  9  6.14197e-07
  10  2.41634
  11  1.21365e-06
  12  2.19872e-06
  13  14.6755
  14  1.92878e-05
  15  7.42498
  16  14.4287
  17  0.255313
  18  0.134778
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  8.519e+00  1.512e+01  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:  1.077e+00  1.348e-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.127e-01  2.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.45
Ra Dec: 319.924 -11.091
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.14e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/447721/likelihoodResults_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.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) = 8143.52793992
delta logL = 0.0240017511542

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8143.5225961
delta logL = 0.0293455679375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0705       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6103       1.0000          .0000       10.000    
     3 'Normalizat'    .90602       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0787       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=   8143.523     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      209 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.0645        305.80        .37716E-02    .11042E-03
   2  Index         2.6105        3.4747        .23165        .78960E-04
   3  Normalizat    .90646        .50667E-01    .77317E-01    .10650E-03
   4  Prefactor     1.0786        .26066E-01    .38456E-01    .16549E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.06452
  Index      = 2.61053
  Normalizat = 0.906455
  Prefactor  = 1.07857
 **********
 **   18 **HESSE 
 **********

 FCN=   8143.523     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.0645        15.176        .15086E-03   -1.5176    
   2  Index         2.6105        1.1147        .93681E-02   -.49826    
   3  Normalizat    .90646        .24191        .34220E-03   -.96234    
   4  Prefactor     1.0786        .13314        .17434E-03   -.90155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64677e-11
Minuit parameter uncertainties:
  1  15.1842
  2  1.127
  3  0.242197
  4  0.133177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/447721': 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) = 8143.52259424
delta logL = 0.0293474269974

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  7.065e+00  1.518e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.611e+00  1.127e+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:  1.079e+00  1.332e-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.065e-01  2.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.45
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/447721/cmap_HighResolution_319680001_319939201_4FGL_J2119.6-1105_daily_bin310.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-26 11:20:54.883441', job_id='447721', GAL2='1.08', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1632680454.88', return_code2='0', ts='0.45', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.93e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='310' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:20:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 447721: <4FGL_J2119.6-1105_daily_bin310> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin310> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Sep 26 11:05:43 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:07:30 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:07:30 2021
Terminated at Sun Sep 26 11:20:55 2021
Results reported at Sun Sep 26 11:20:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin310 319.924 -11.091 319680001 319939201 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 :                                   629.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            912 sec.

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

