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


Performing analysis on: 4FGL_J1839.6-7107_daily_bin519
RA = 279.914, Dec = -71.1243
tmin = 373852801, tmax = 374112001
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='224821', job_status='RUN', time_executed='2021-09-21 06:39:01.550015', time_epoch_executed='1632231541.55' WHERE source_name='4FGL J1839.6-7107' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224821/ft1_4FGL_J1839.6-7107_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224821/ft1_4FGL_J1839.6-7107_daily_bin519.fits outfile=/scratch/kocevski/224821/ft1_filteredMKT_4FGL_J1839.6-7107_daily_bin519.fits ra=279.914 dec=-71.1243 rad=12.0 tmin=373852801.0 tmax=374112001.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 4.50
user 4.22
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.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/224821/ft1_filteredMKT_4FGL_J1839.6-7107_daily_bin519.fits evtable="EVENTS" outfile="/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.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.48
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/224821/ltcube_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.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/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits
.....................!
real 11.99
user 11.65
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/224821/ltcube_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits outfile=/scratch/kocevski/224821/expmap_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.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/224821/ltcube_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits
.....................!
real 191.46
user 185.85
sys 5.24

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
Extended source FHES J1501.0-6310 in ROI with RadialGaussian spatial model.
Extended source HESS J1507-622 in ROI with RadialDisk spatial model.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Added 221 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1839.6-7107 @ 279.914 -71.1243

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits outfile=/scratch/kocevski/224821/cmap_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.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=279.914 yref=-71.1243 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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits outfile=/scratch/kocevski/224821/cmap_HighResolution_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.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=279.914 yref=-71.1243 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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/224821/Model_4FGL_J1839.6-7107_daily_bin519.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 FHES J1501.0-6310
adding source FHES J1642.1-5428
adding source GAL_V02
adding source HESS J1507-622
Working on...
/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits.....................!
real 91.56
user 90.21
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits', '/scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits', expMap='/scratch/kocevski/224821/expmap_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits', expCube='/scratch/kocevski/224821/ltcube_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/224821/Model_4FGL_J1839.6-7107_daily_bin519.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1839.6-7107'

4FGL J1839.6-7107
   Spectrum: LogParabola
454         norm:  5.930e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
455        alpha:  2.672e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
456         beta:  2.724e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
457           Eb:  4.191e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/224821/ft1_filtered_4FGL_J1839.6-7107_daily_bin519.fits
Spacecraft file(s): /scratch/kocevski/224821/ft2_4FGL_J1839.6-7107_daily_bin519.fits
Exposure map: /scratch/kocevski/224821/expmap_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits
Exposure cube: /scratch/kocevski/224821/ltcube_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/224821/Model_4FGL_J1839.6-7107_daily_bin519.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) = 9671.44655434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    62.719       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.705       1.0000         .10000E-03   10000.    
     4 'norm      '    7.4257       1.0000         .10000E-03   10000.    
     5 'norm      '    .77636E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.906       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.754       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10693E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    46.886       1.0000         .10000E-03   10000.    
    10 'norm      '    .10395E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.016       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2339       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11221E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.7499       1.0000         .10000E-03   10000.    
    15 'norm      '    24.680       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.555       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .77454       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .90481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9671.436     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1486 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .49348       -.15322E-05** at limit **
   2  Prefactor     62.688        15.792        .14230E-04   -.47260E-02
   3  Prefactor     46.742        5.6327       -.43207E-05    .21263E-02
   4  norm          7.4432        7.2867       -.11810E-04   -.15474E-03
   5  norm          .49792E-03    1440.5        .29623E-03** at limit **
   6  Prefactor     19.926        16.729       -.13670E-04   -.91072E-02
   7  Prefactor     12.749        12.866        .15502E-04    .55345E-02
   8  Prefactor     .10002E-03    50.231        .32437E-05** at limit **
   9  norm          46.889        4.8004       -.47210E-05   -.21692E-02
  10  norm          .10000E-03    5.4164       -.31001E-05** at limit **
  11  norm          18.010        8.8311        .13639E-06    .46374E-03
  12  Prefactor     4.2401        8.2707        .57145E-07    .17114E-03
  13  Prefactor     .10000E-03    9.1789       -.32868E-05** at limit **
  14  norm          4.7494        1.5661       -.13962E-06   -.19737E-04
  15  norm          24.782        19.470       -.31543E-04    .13053E-01
  16  Prefactor     23.604        17.401        .13018E-04    .73129E-02
  17  Normalizat    .77461        .26074       -.25269E-04   -.10309E-03
  18  Prefactor     .90476        .91189E-01    .87213E-05   -.35064E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 62.6882
  Prefactor  = 46.7415
  norm       = 7.44321
  norm       = 0.000497919
  Prefactor  = 19.9265
  Prefactor  = 12.7494
  Prefactor  = 0.000100018
  norm       = 46.8888
  norm       = 0.0001
  norm       = 18.0102
  Prefactor  = 4.24015
  Prefactor  = 0.0001
  norm       = 4.74938
  norm       = 24.7818
  Prefactor  = 23.6041
  Normalizat = 0.774605
  Prefactor  = 0.904764
 **********
 **   18 **HESSE 
 **********

 FCN=   9671.436     FROM HESSE     STATUS=OK           296 CALLS     1782 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .34658        .29572E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     62.688        30.264        .12667E-02   -1.4123    
   3  Prefactor     46.742        56.181        .14668E-02   -1.4340    
   4  norm          7.4432        7.4280        .36795E-02   -1.5162    
   5  norm          .49792E-03    47.693        .18629       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     19.926        20.428        .22443E-02   -1.4815    
   7  Prefactor     12.749        14.701        .28041E-02   -1.4994    
   8  Prefactor     .10002E-03    50.223        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          46.889        26.110        .14639E-02   -1.4337    
  10  norm          .10000E-03    5.3591        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.010        8.8455        .23590E-02   -1.4859    
  12  Prefactor     4.2401        8.3109        .48958E-02   -1.5296    
  13  Prefactor     .10000E-03    9.1715        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7494        1.5687        .46154E-02   -1.5272    
  15  norm          24.782        42.448        .20158E-02   -1.4712    
  16  Prefactor     23.604        17.965        .20633E-02   -1.4736    
  17  Normalizat    .77461        .23977        .10094       -1.0102    
  18  Prefactor     .90476        .81374E-01    .33207E-01   -.95975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75118e-06
Minuit parameter uncertainties:
  1  3.18079e-07
  2  30.271
  3  56.2452
  4  7.42889
  5  0.275739
  6  20.4347
  7  14.7053
  8  0.00191604
  9  26.1164
  10  1.23849e-05
  11  8.84615
  12  8.31314
  13  2.64935e-06
  14  1.56874
  15  42.4995
  16  17.9694
  17  0.240095
  18  0.0813844
Done.

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

Extracting fit parameters...

4FGL J1839.6-7107
   Spectrum: LogParabola
454         norm:  4.689e+01  2.612e+01  1.000e-04  1.000e+04 ( 1.000e-12)
455        alpha:  2.672e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
456         beta:  2.724e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
457           Eb:  4.191e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  9.048e-01  8.138e-02  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  7.746e-01  2.401e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.77
Ra Dec: 279.914 -71.124
Photon Index (Fixed Index): 2.67 +/- 0.00
Photon Flux (Fixed Index): 9.87e-08 +/- 5.49e-08
Energy Flux (Fixed Index): 2.36e-05 +/- 1.32e-05

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) = 9671.26341679
delta logL = 0.172609310595

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9671.25863361
delta logL = 0.177392486346

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.789       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3915       1.0000          .0000       5.0000    
     3 'Normalizat'    .72777       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91785       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7590E+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=   9671.259     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      311 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.789        83.193        .72209E-04    .38101E-04
   2  alpha         3.3921        4.0005        .21993E-01    .11262E-04
   3  Normalizat    .72678        .30397        .46076E-03    .54085E-04
   4  Prefactor     .91813        .10389        .14578E-03    .18083E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 30.7886
  alpha      = 3.39212
  Normalizat = 0.72678
  Prefactor  = 0.91813
 **********
 **   18 **HESSE 
 **********

 FCN=   9671.259     FROM HESSE     STATUS=OK            25 CALLS      336 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.789        42.085        .28884E-05   -1.4598    
   2  alpha         3.3921        1.4847        .87972E-03    .36489    
   3  Normalizat    .72678        .27289        .18430E-04   -1.0285    
   4  Prefactor     .91813        .94052E-01    .29156E-04   -.95510    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14255e-11
Minuit parameter uncertainties:
  1  42.1259
  2  1.60903
  3  0.273402
  4  0.0940682
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224821': 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) = 9671.25862666
delta logL = 0.177399439202

Extracting fit parameters...

4FGL J1839.6-7107
   Spectrum: LogParabola
454         norm:  3.079e+01  4.213e+01  1.000e-04  1.000e+04 ( 1.000e-12)
455        alpha:  3.392e+00  1.609e+00  0.000e+00  5.000e+00 ( 1.000e+00)
456         beta:  2.724e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
457           Eb:  4.191e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
753    Prefactor:  9.181e-01  9.407e-02  0.000e+00  1.000e+01 ( 1.000e+00)
754        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
755        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  7.268e-01  2.734e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.24
Ra Dec: 279.914 -71.124
Photon Index (Free Index): 3.39 +/- 1.61
Photon Flux (Free Index): 1.21e-07 +/- 7.27e-08
Energy Flux (Free Index): 2.22e-05 +/- 1.24e-05

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/224821/cmap_HighResolution_373852801_374112001_4FGL_J1839.6-7107_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.87e-08', energy_flux2='2.22e-05', photon_flux_error='5.49e-08', dlogl='1.77e-01', energy_flux='2.36e-05', photon_flux2='1.21e-07', job_status='DONE', time_completed='2021-09-21 06:51:27.276556', photon_index_error2='1.61', photon_index2='3.39', ts='4.77', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='1.24e-05', EG='0.77', time_epoch_completed='1632232287.28', return_code='0', job_id='224821', GAL2='0.92', EG2='0.73', return_code2='0', energy_flux_error='1.32e-05', photon_flux_error2='7.27e-08', ts2='5.24', photon_index='2.67' WHERE bin_id='519' AND source_name='4FGL J1839.6-7107' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 21 06:51:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 224821: <4FGL_J1839.6-7107_daily_bin519> in cluster <slac> Done

Job <4FGL_J1839.6-7107_daily_bin519> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Tue Sep 21 06:35:32 2021
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 21 06:35:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 21 06:35:33 2021
Terminated at Tue Sep 21 06:51:27 2021
Results reported at Tue Sep 21 06:51:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1839.6-7107_daily_bin519 279.914 -71.1243 373852801 374112001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1839.6-7107 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   744.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             279.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

