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


Performing analysis on: 4FGL_J2119.6-1105_daily_bin1336
RA = 319.924, Dec = -11.091
tmin = 585619201, tmax = 585878401
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='455957', job_status='RUN', time_executed='2021-09-26 11:37:53.092436', time_epoch_executed='1632681473.09' WHERE source_name='4FGL J2119.6-1105' and cadence='daily' and bin_id='1336'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/455957

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/455957/ft1_4FGL_J2119.6-1105_daily_bin1336.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/455957/ft1_4FGL_J2119.6-1105_daily_bin1336.fits outfile=/scratch/kocevski/455957/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1336.fits ra=319.924 dec=-11.091 rad=12.0 tmin=585619201.0 tmax=585878401.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 2.71
user 2.48
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.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/455957/ft1_filteredMKT_4FGL_J2119.6-1105_daily_bin1336.fits evtable="EVENTS" outfile="/scratch/kocevski/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.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.54
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits" evtable="EVENTS" scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits sctable="SC_DATA" outfile=/scratch/kocevski/455957/ltcube_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.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/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits
.....................!
real 16.01
user 15.60
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits sctable="SC_DATA" expcube=/scratch/kocevski/455957/ltcube_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.fits outfile=/scratch/kocevski/455957/expmap_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.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/455957/ltcube_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.fits
.....................!
real 193.51
user 188.09
sys 4.65

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/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits outfile=/scratch/kocevski/455957/cmap_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits outfile=/scratch/kocevski/455957/cmap_HighResolution_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.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.62
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits evtable="EVENTS" scfile=/scratch/kocevski/455957/ft2_4FGL_J2119.6-1105_daily_bin1336.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/455957/Model_4FGL_J2119.6-1105_daily_bin1336.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/455957/ft1_filtered_4FGL_J2119.6-1105_daily_bin1336.fits......................!
real 23.90
user 22.33
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    150.58       1.0000         .10000E-03   10000.    
     8 'Prefactor '    128.26       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.111       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.8814       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    40.620       1.0000         .10000E-03   10000.    
    16 'Prefactor '    96.489       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .25660       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .97428       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=   1111.608     FROM MIGRAD    STATUS=CONVERGED    366 CALLS     1982 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 20.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    20.220       -.77019E-08** at limit **
   2  Prefactor     .10000E-03    437.75       -.13987E-05** at limit **
   3  Prefactor     .10000E-03    16.876       -.40600E-06** at limit **
   4  Prefactor     .10000E-03    136.86        .96903E-06** at limit **
   5  Prefactor     .10000E-03    105.40       -.43581E-06** at limit **
   6  Prefactor     .10000E-03    66.380       -.76318E-07** at limit **
   7  Prefactor     150.49        146.39       -.26926E-05   -.80871E-04
   8  Prefactor     128.33        141.56       -.52717E-05    .10598E-03
   9  Prefactor     13.110        27.652       -.10305E-05   -.10134E-04
  10  Prefactor     1.8819        5.2154       -.63128E-06   -.42436E-03
  11  Prefactor     .10000E-03    38.522       -.24410E-06** at limit **
  12  Prefactor     .10000E-03    94.170       -.50682E-06** at limit **
  13  Prefactor     .10000E-03    29.012       -.55345E-07** at limit **
  14  norm          .10000E-03    14.280       -.29069E-08** at limit **
  15  Prefactor     40.618        32.979       -.19720E-05   -.33048E-05
  16  Prefactor     96.464        86.786       -.12012E-05   -.25765E-04
  17  Normalizat    .25662        .71409        .48337E-04    .25149E-05
  18  Prefactor     .97432        .35230       -.99085E-05    .16423E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 150.492
  Prefactor  = 128.33
  Prefactor  = 13.1098
  Prefactor  = 1.88187
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.6177
  Prefactor  = 96.4644
  Normalizat = 0.256617
  Prefactor  = 0.974318
 **********
 **   18 **HESSE 
 **********

 FCN=   1111.608     FROM HESSE     STATUS=OK           234 CALLS     2216 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    20.220        .14649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    437.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.070        .13386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    136.58        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    105.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    66.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     150.49        147.09        .16423E-03   -1.3248    
   8  Prefactor     128.33        140.67        .17774E-03   -1.3437    
   9  Prefactor     13.110        27.809        .11062E-03   -1.4984    
  10  Prefactor     1.8819        5.0474        .10300E-03   -1.5434    
  11  Prefactor     .10000E-03    38.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    94.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    29.014        .17550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    14.282        .12309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     40.618        33.094        .62894E-04   -1.4432    
  16  Prefactor     96.464        86.897        .40920E-04   -1.3740    
  17  Normalizat    .25662        .71821        .64178E-03   -1.2553    
  18  Prefactor     .97432        .35857        .17603E-03   -.93591    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97465e-10
Minuit parameter uncertainties:
  1  5.80278e-06
  2  0.00268082
  3  9.62768e-05
  4  0.00144078
  5  0.000756507
  6  0.00080135
  7  147.453
  8  141.043
  9  27.8369
  10  5.04851
  11  1.22145e-05
  12  0.00116894
  13  5.06353e-05
  14  2.32745e-05
  15  33.1086
  16  87.0117
  17  0.746757
  18  0.359446
Done.

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

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.000e-04  8.013e-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.743e-01  3.594e-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:  2.566e-01  7.468e-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.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/455957/likelihoodResults_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.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) = 1111.60784868
delta logL = -7.15005946859e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1111.6077775
delta logL = -3.1408490031e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9219       1.0000          .0000       10.000    
     3 'Normalizat'    .25661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97432       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=   1111.608     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      274 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10239E-03    30.758        .18142E-01** at limit **
   2  Index         2.8427        5.1703        .50000        .38388E-05
   3  Normalizat    .25662        .10732E-01    .64183E-03   -.32016E-05
   4  Prefactor     .97432        .56155E-02    .17603E-03   -.62808E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010239
  Index      = 2.84267
  Normalizat = 0.256617
  Prefactor  = 0.974318
 **********
 **   18 **HESSE 
 **********

 FCN=   1111.608     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10239E-03    352.96        .23057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8427        5.6162        .50000       -.44612    
   3  Normalizat    .25662        .36702E-01    .25673E-04   -1.2553    
   4  Prefactor     .97432        .19206E-01    .70412E-05   -.93591    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.1936e-09
Minuit parameter uncertainties:
  1  0.0584311
  2  707.358
  3  0.0367055
  4  0.0192058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/455957': 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) = 1111.60777745
delta logL = -2.65817334366e-07

Extracting fit parameters...

4FGL J2119.6-1105
   Spectrum: PowerLaw
304    Prefactor:  1.024e-04  5.843e-02  1.000e-04  1.000e+04 ( 1.000e-13)
305        Index:  2.843e+00  7.074e+02  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.743e-01  1.921e-02  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:  2.566e-01  3.671e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/455957/cmap_HighResolution_585619201_585878401_4FGL_J2119.6-1105_daily_bin1336.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-02', job_status='DONE', photon_flux_upper_limit='6.20e-07', time_completed='2021-09-26 11:44:37.870924', job_id='455957', GAL2='0.97', fit_tolerance='1e-08', EG2='0.26', EG='0.26', time_epoch_completed='1632681877.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='-2.66e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1336' AND source_name='4FGL J2119.6-1105' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 11:44:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 455957: <4FGL_J2119.6-1105_daily_bin1336> in cluster <slac> Done

Job <4FGL_J2119.6-1105_daily_bin1336> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 26 11:35:13 2021
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 11:35:20 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:20 2021
Terminated at Sun Sep 26 11:44:39 2021
Results reported at Sun Sep 26 11:44:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2119.6-1105_daily_bin1336 319.924 -11.091 585619201 585878401 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 :                                   368.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             265.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            566 sec.

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

