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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1365
RA = 319.924, Dec = -11.091
tmin = 593136001, tmax = 593395201
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='456000', job_status='RUN', time_executed='2021-09-26 11:39:38.569149', time_epoch_executed='1632681578.57' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/456000

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/456000/ft1_4FGL_J2119.6-1105_daily_bin1365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/456000/ft1_4FGL_J2119.6-1105_daily_bin1365.fits outfile=/scratch/kocevski/456000/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1365.fits ra=319.924 dec=-11.091 rad=12.0 tmin=593136001.0 tmax=593395201.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 5.29
user 4.91
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.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/456000/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1365.fits evtable="EVENTS" outfile="/scratch/kocevski/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.fits" evtable="EVENTS" scfile=/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits sctable="SC_DATA" outfile=/scratch/kocevski/456000/ltcube_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.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/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits
.....................!
real 15.29
user 14.20
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits sctable="SC_DATA" expcube=/scratch/kocevski/456000/ltcube_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.fits outfile=/scratch/kocevski/456000/expmap_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.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/456000/ltcube_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.fits
.....................!
real 192.72
user 186.84
sys 4.83

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/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.fits scfile=/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits outfile=/scratch/kocevski/456000/cmap_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.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.59
user 0.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.fits evtable="EVENTS" scfile=/scratch/kocevski/456000/ft2_4FGL_J2119.6-1105_daily_bin1365.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/456000/Model_4FGL_J2119.6-1105_daily_bin1365.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/456000/ft1_filtered_4FGL_J2119.6-1105_daily_bin1365.fits.....................!
real 60.10
user 58.50
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7770       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.846       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .40368E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .26611E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .31545E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.3505       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.5832       1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.053       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .14638E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.6313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.421       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2828       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5928.311     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     1503 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9342        3.9955       -.27672E-05    .24232E-03
   2  Prefactor     .10000E-03    1.5884        .57895E-06** at limit **
   3  Prefactor     .10000E-03    3.2993       -.20370E-05** at limit **
   4  Prefactor     2.8118        21.886        .49773E-04   -.44229E-03
   5  Prefactor     30.956        45.850        .11245E-03   -.49268E-02
   6  Prefactor     .10000E-03    112.15        .46478E-04** at limit **
   7  Prefactor     .10009E-03    22.197        .41644E-04** at limit **
   8  Prefactor     .10000E-03    12.630       -.69075E-05** at limit **
   9  Prefactor     5.3518        5.4433        .30041E-05    .17917E-02
  10  Prefactor     .10000E-03    1.4145        .21368E-06** at limit **
  11  Prefactor     4.6208        8.5819        .90951E-05   -.27360E-03
  12  Prefactor     20.134        31.297        .93660E-04    .43452E-02
  13  Prefactor     .10000E-03    6.6871       -.43151E-05** at limit **
  14  norm          .10000E-03    2.8260       -.41479E-06** at limit **
  15  Prefactor     1.6417        2.2460        .16141E-04    .44677E-02
  16  Prefactor     10.415        3.0271       -.63582E-05   -.10506E-01
  17  Normalizat    1.2824        .25669       -.19488E-04   -.10567E-03
  18  Prefactor     .74168        .13650       -.19906E-05   -.16749E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.93423
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.81175
  Prefactor  = 30.9562
  Prefactor  = 0.0001
  Prefactor  = 0.000100087
  Prefactor  = 0.0001
  Prefactor  = 5.35178
  Prefactor  = 0.0001
  Prefactor  = 4.62077
  Prefactor  = 20.1339
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.64168
  Prefactor  = 10.415
  Normalizat = 1.28244
  Prefactor  = 0.741681
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.311     FROM HESSE     STATUS=OK           290 CALLS     1793 TOTAL
                     EDM=   .78E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9342        3.9981        .38106E-02   -1.5181    
   2  Prefactor     .10000E-03    1.5776        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2737        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8118        22.219        .61050E-02   -1.5373    
   5  Prefactor     30.956        68.624        .18035E-02   -1.4595    
   6  Prefactor     .10000E-03    10.230        .92230E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10009E-03    6.7403        .72116E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.634        .10684E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.3518        5.5667        .43436E-02   -1.5245    
  10  Prefactor     .10000E-03    1.3864        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6208        8.6293        .47006E-02   -1.5278    
  12  Prefactor     20.134        44.252        .22360E-02   -1.4810    
  13  Prefactor     .10000E-03    6.6580        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.8113        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6417        6.1089        .82769E-02   -1.5452    
  16  Prefactor     10.415        10.058        .31029E-02   -1.5062    
  17  Normalizat    1.2824        .21831        .60939E-01   -.84092    
  18  Prefactor     .74168        .11361        .42953E-01   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.83697e-07
Minuit parameter uncertainties:
  1  3.99828
  2  1.67725e-06
  3  3.49936e-06
  4  15.8161
  5  68.7995
  6  1.78862e-05
  7  0.00153357
  8  2.97474e-05
  9  5.5672
  10  5.57209e-06
  11  8.63164
  12  44.3244
  13  5.46681e-05
  14  1.78919e-08
  15  6.11119
  16  10.0592
  17  0.218468
  18  0.113642
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  1.789e-05  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:  7.417e-01  1.136e-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.282e+00  2.185e-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: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/456000/likelihoodResults_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.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) = 5928.31076857
delta logL = -4.26282667831e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5927.55390017
delta logL = 0.756825774668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3943       1.0000         .10000E-03   10000.    
     2 'Index     '    1.1880       1.0000          .0000       10.000    
     3 'Normalizat'    1.2852       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73667       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=   5927.554     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      278 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 18.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3966        12.126        .35578E-05   -.33835E-03
   2  Index         1.1880        .69328        .28683E-04    .41375E-04
   3  Normalizat    1.2851        .20683       -.53344E-07   -.74304E-04
   4  Prefactor     .73669        .11258       -.10642E-06   -.88171E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.39664
  Index      = 1.18801
  Normalizat = 1.28513
  Prefactor  = 0.736688
 **********
 **   18 **HESSE 
 **********

 FCN=   5927.554     FROM HESSE     STATUS=OK            31 CALLS      309 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3966        11.640        .14749E-03   -1.5164    
   2  Index         1.1880        .66442        .11015E-01   -.86701    
   3  Normalizat    1.2851        .24929        .26913E-03   -.84011    
   4  Prefactor     .73669        .13574        .18680E-03   -1.0211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45046e-10
Minuit parameter uncertainties:
  1  11.644
  2  0.66918
  3  0.249524
  4  0.135799
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/456000': 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) = 5927.55390011
delta logL = 0.756825829057

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  7.397e+00  1.164e+01  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  1.188e+00  6.692e-01  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:  7.367e-01  1.358e-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.285e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.52
Ra Dec: 319.924 -11.091
Photon Index (Free Index): 1.19 +/- 0.67
Photon Flux (Free Index): 5.26e-09 +/- 7.74e-09
Energy Flux (Free Index): 4.55e-05 +/- 8.06e-05

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/456000/cmap_HighResolution_593136001_593395201_4FGL_J2119.6-1105_daily_bin1365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', comment='SUCCESS', energy_flux2='4.55e-05', dlogl='7.57e-01', photon_flux2='5.26e-09', job_status='DONE', time_completed='2021-09-26 11:50:39.444443', photon_index_error2='0.67', photon_index2='1.19', ts='-0.00', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='8.43e-08', energy_flux_error2='8.06e-05', EG='1.28', time_epoch_completed='1632682239.44', return_code='0', job_id='456000', GAL2='0.74', EG2='1.29', return_code2='0', photon_flux_error2='7.74e-09', ts2='1.52', photon_index='2.37' WHERE bin_id='1365' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:50:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 456000: <4FGL_J2119.6-1105_daily_bin1365> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1365> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:35:16 2021
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:35:45 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:35:45 2021
Terminated at Sun Sep 26 11:50:40 2021
Results reported at Sun Sep 26 11:50:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1365 319.924 -11.091 593136001 593395201 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 :                                   566.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            924 sec.

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

