aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 7 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 = 17150
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0937.9-1434_weekly_bin208
RA = 144.475, Dec = -14.5706
tmin = 364780801, tmax = 365385601
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='922686', job_status='RUN', time_executed='2021-07-15 19:36:33.223072', time_epoch_executed='1626402993.22' WHERE source_name='4FGL J0937.9-1434' and cadence='weekly' and bin_id='208'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/922686

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/922686/ft1_4FGL_J0937.9-1434_weekly_bin208.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/922686/ft1_4FGL_J0937.9-1434_weekly_bin208.fits outfile=/scratch/kocevski/922686/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin208.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=364780801.0 tmax=365385601.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 7.42
user 7.12
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.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/922686/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin208.fits evtable="EVENTS" outfile="/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.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.55
user 0.37
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits" evtable="EVENTS" scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits sctable="SC_DATA" outfile=/scratch/kocevski/922686/ltcube_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.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/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits
.....................!
real 32.15
user 31.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits sctable="SC_DATA" expcube=/scratch/kocevski/922686/ltcube_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits outfile=/scratch/kocevski/922686/expmap_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.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/922686/ltcube_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits
.....................!
real 194.47
user 188.43
sys 5.40

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

Setting source of interest to:
4FGL J0937.9-1434 @ 144.475 -14.5706

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits outfile=/scratch/kocevski/922686/cmap_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.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=144.475 yref=-14.5706 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.41
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits outfile=/scratch/kocevski/922686/cmap_HighResolution_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.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=144.475 yref=-14.5706 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.60
user 0.44
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits evtable="EVENTS" scfile=/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/922686/Model_4FGL_J0937.9-1434_weekly_bin208.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/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits.....................!
real 114.19
user 112.63
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits', '/scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits', expMap='/scratch/kocevski/922686/expmap_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits', expCube='/scratch/kocevski/922686/ltcube_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/922686/Model_4FGL_J0937.9-1434_weekly_bin208.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0937.9-1434'

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/922686/ft1_filtered_4FGL_J0937.9-1434_weekly_bin208.fits
Spacecraft file(s): /scratch/kocevski/922686/ft2_4FGL_J0937.9-1434_weekly_bin208.fits
Exposure map: /scratch/kocevski/922686/expmap_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits
Exposure cube: /scratch/kocevski/922686/ltcube_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/922686/Model_4FGL_J0937.9-1434_weekly_bin208.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) = 11690.8870152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4556       1.0000         .10000E-03   10000.    
     2 'norm      '    2.2751       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11084E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.1108       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.608       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.0341       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10284E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .56836       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7441       1.0000         .10000E-03   10000.    
    16 'norm      '    10.167       1.0000         .10000E-03   10000.    
    17 'norm      '    1.5213       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .90744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11690.11     FROM MIGRAD    STATUS=CONVERGED    421 CALLS     1695 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4542        3.2367        .44510E-07   -.18070E-03
   2  norm          2.2755        2.4309       -.69254E-07   -.16145E-03
   3  Prefactor     .10001E-03    2.7532       -.14981E-06** at limit **
   4  Prefactor     3.1109        10.335       -.34326E-07   -.10283E-03
   5  Prefactor     .10002E-03    2.4090        .60312E-06** at limit **
   6  Prefactor     .10000E-03    7.0961       -.35253E-05** at limit **
   7  Prefactor     11.608        15.833       -.50368E-07    .64002E-05
   8  Prefactor     .10000E-03    7.0695        .30185E-05** at limit **
   9  Prefactor     4.0268        17.666       -.74374E-06   -.12285E-04
  10  Prefactor     .10000E-03    33.385        .20327E-05** at limit **
  11  Prefactor     .10000E-03    14.775       -.29243E-05** at limit **
  12  norm          .10000E-03    2.6542        .30165E-06** at limit **
  13  norm          .56812        1.9994       -.64704E-08   -.48450E-04
  14  norm          .10000E-03    9.7565       -.16110E-05** at limit **
  15  norm          1.7440        1.1172       -.72705E-08   -.14697E-04
  16  norm          10.168        8.9492       -.48185E-07   -.51172E-04
  17  norm          1.5213        .97139       -.39705E-08    .72642E-05
  18  Normalizat    1.2300        .14865       -.11092E-06   -.42467E-04
  19  Prefactor     .90741        .87870E-01    .23399E-06   -.74544E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.45423
  norm       = 2.27546
  Prefactor  = 0.000100007
  Prefactor  = 3.11086
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 11.6079
  Prefactor  = 0.0001
  Prefactor  = 4.02681
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.568118
  norm       = 0.0001
  norm       = 1.74404
  norm       = 10.1676
  norm       = 1.52128
  Normalizat = 1.22998
  Prefactor  = 0.907412
 **********
 **   18 **HESSE 
 **********

 FCN=   11690.11     FROM HESSE     STATUS=OK           284 CALLS     1979 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4542        12.496        .17843E-02   -1.5467    
   2  norm          2.2755        2.4698        .16404E-03   -1.5406    
   3  Prefactor     .10001E-03    3.3017        .53344E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1109        10.316        .11495E-02   -1.5355    
   5  Prefactor     .10002E-03    13.079        .31174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.1551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.608        15.832        .11758E-03   -1.5026    
   8  Prefactor     .10000E-03    7.1046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.0268        17.661        .20077E-03   -1.5307    
  10  Prefactor     .10000E-03    34.569        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    8.1590        .33609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .56812        1.9880        .27767E-03   -1.5557    
  14  norm          .10000E-03    10.086        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7440        1.1218        .88730E-04   -1.5444    
  16  norm          10.168        8.9863        .62832E-03   -1.5070    
  17  norm          1.5213        .97232        .82146E-04   -1.5461    
  18  Normalizat    1.2300        .17289        .28611E-03   -.85681    
  19  Prefactor     .90741        .10271        .19452E-03   -.95883    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05084e-09
Minuit parameter uncertainties:
  1  8.52795
  2  2.46994
  3  0.000309098
  4  10.3223
  5  0.00110544
  6  3.11776e-06
  7  15.8382
  8  1.59716e-08
  9  16.8742
  10  7.60121e-05
  11  2.13219e-05
  12  0.000212479
  13  1.98821
  14  1.48537e-05
  15  1.12185
  16  8.98754
  17  0.97233
  18  0.172974
  19  0.102731
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  7.601e-05  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.074e-01  1.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.230e+00  1.730e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.475 -14.571
Photon Flux Upper Limit: 3.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/922686/likelihoodResults_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.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) = 11690.1095375
delta logL = -0.000138021634484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11690.1093994
delta logL = 2.19552021008e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0647       1.0000          .0000       10.000    
     3 'Normalizat'    1.2300       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90741       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11690.11     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      247 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8228        .90712E-02** at limit **
   2  Index         2.0607        7.6817        .50000        .87734E-06
   3  Normalizat    1.2300        .19127E-02    .64678E-01    .20653E-04
   4  Prefactor     .90741        .11420E-02    .45099E-01    .80185E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.06071
  Normalizat = 1.22998
  Prefactor  = 0.907412
 **********
 **   18 **HESSE 
 **********

 FCN=   11690.11     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .94E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.212        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0607        8.7172        .50000       -.62841    
   3  Normalizat    1.2300        .36805E-02    .28611E-03   -.85681    
   4  Prefactor     .90741        .21989E-02    .19452E-03   -.95883    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.37308e-11
Minuit parameter uncertainties:
  1  6.94236e-05
  2  40.0998
  3  0.00368052
  4  0.00219886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/922686': 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) = 11690.1093994
delta logL = 2.74503690889e-08

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.942e-05  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.061e+00  4.010e+01  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  9.074e-01  2.199e-03  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  1.230e+00  3.681e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.475 -14.571

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/922686/cmap_HighResolution_364780801_365385601_4FGL_J0937.9-1434_weekly_bin208.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.77e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2021-07-15 19:50:21.995285', job_id='922686', GAL2='0.91', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1626403822.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.75e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='208' AND source_name='4FGL J0937.9-1434' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 19:50:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0134>
Subject: Job 922686: <4FGL_J0937.9-1434_weekly_bin208> in cluster <slac> Done

Job <4FGL_J0937.9-1434_weekly_bin208> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Jul 15 19:35:22 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 19:36:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 19:36:18 2021
Terminated at Thu Jul 15 19:50:22 2021
Results reported at Thu Jul 15 19:50:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_weekly_bin208 144.475 -14.5706 364780801 365385601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0937.9-1434 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   813.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             355.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            900 sec.

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

