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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1361
RA = 144.475, Dec = -14.5706
tmin = 592099201, tmax = 592358401
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='377167', job_status='RUN', time_executed='2021-08-31 19:38:17.389333', time_epoch_executed='1630463897.39' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377167/ft1_4FGL_J0937.9-1434_daily_bin1361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377167/ft1_4FGL_J0937.9-1434_daily_bin1361.fits outfile=/scratch/kocevski/377167/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1361.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=592099201.0 tmax=592358401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.59
user 3.29
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.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/377167/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1361.fits evtable="EVENTS" outfile="/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.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.85
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits" evtable="EVENTS" scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits sctable="SC_DATA" outfile=/scratch/kocevski/377167/ltcube_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.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/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits
.....................!
real 11.89
user 11.46
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits evtable="EVENTS" scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits sctable="SC_DATA" expcube=/scratch/kocevski/377167/ltcube_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits outfile=/scratch/kocevski/377167/expmap_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.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/377167/ltcube_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits
.....................!
real 189.49
user 184.78
sys 3.89

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/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits outfile=/scratch/kocevski/377167/cmap_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.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.94
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits outfile=/scratch/kocevski/377167/cmap_HighResolution_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.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 2.11
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits evtable="EVENTS" scfile=/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377167/Model_4FGL_J0937.9-1434_daily_bin1361.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/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits.....................!
real 85.99
user 82.50
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits', '/scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits', expMap='/scratch/kocevski/377167/expmap_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits', expCube='/scratch/kocevski/377167/ltcube_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/377167/Model_4FGL_J0937.9-1434_daily_bin1361.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/377167/ft1_filtered_4FGL_J0937.9-1434_daily_bin1361.fits
Spacecraft file(s): /scratch/kocevski/377167/ft2_4FGL_J0937.9-1434_daily_bin1361.fits
Exposure map: /scratch/kocevski/377167/expmap_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits
Exposure cube: /scratch/kocevski/377167/ltcube_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/377167/Model_4FGL_J0937.9-1434_daily_bin1361.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) = 8429.68732046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4057       1.0000         .10000E-03   10000.    
     2 'norm      '    2.9841       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3104       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3609       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5338       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .32473E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10558E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.4556       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .60154E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.319       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31377       1.0000         .10000E-03   10000.    
    12 'norm      '    .12917E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.1230       1.0000         .10000E-03   10000.    
    14 'norm      '    7.7307       1.0000         .10000E-03   10000.    
    15 'norm      '    .69283       1.0000         .10000E-03   10000.    
    16 'norm      '    6.3959       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3359       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .55998       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1434       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=   8429.679     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1999 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4054        6.2134       -.10043E-06   -.15092E-03
   2  norm          2.9839        2.5422        .15665E-06    .91635E-04
   3  Prefactor     1.3108        3.8253        .21535E-05    .28151E-03
   4  Prefactor     9.3684        8.8656       -.21020E-06   -.36540E-03
   5  Prefactor     9.5270        6.5401        .97658E-07    .87234E-04
   6  Prefactor     .10005E-03    9.4060       -.23391E-05** at limit **
   7  Prefactor     .10000E-03    7.7421       -.87644E-08** at limit **
   8  Prefactor     3.4712        34.029        .26102E-05    .21886E-03
   9  Prefactor     .10011E-03    20.022        .22075E-05** at limit **
  10  Prefactor     27.343        32.433        .32983E-07   -.27119E-04
  11  Prefactor     .33968        5.8738       -.11805E-05    .23612E-03
  12  norm          .10021E-03    5.1582       -.63768E-07** at limit **
  13  norm          4.1235        2.6413        .19525E-07   -.56381E-04
  14  norm          7.7267        6.0863        .14682E-06    .28016E-03
  15  norm          .69346        1.0487        .35356E-07    .16846E-03
  16  norm          6.4188        8.6843        .45371E-06    .11592E-03
  17  norm          1.3356        1.0720        .12645E-06    .21069E-03
  18  Normalizat    .56015        .17118       -.98093E-06   -.94855E-04
  19  Prefactor     1.1434        .10590       -.18669E-06   -.17083E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.40543
  norm       = 2.98394
  Prefactor  = 1.31078
  Prefactor  = 9.36839
  Prefactor  = 9.52697
  Prefactor  = 0.00010005
  Prefactor  = 0.0001
  Prefactor  = 3.47118
  Prefactor  = 0.000100113
  Prefactor  = 27.3431
  Prefactor  = 0.33968
  norm       = 0.000100211
  norm       = 4.12354
  norm       = 7.7267
  norm       = 0.693456
  norm       = 6.41876
  norm       = 1.33557
  Normalizat = 0.560145
  Prefactor  = 1.14336
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.679     FROM HESSE     STATUS=OK           294 CALLS     2293 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4054        6.2119        .15858E-03   -1.5202    
   2  norm          2.9839        2.5349        .12874E-03   -1.5362    
   3  Prefactor     1.3108        4.0002        .30444E-03   -1.5479    
   4  Prefactor     9.3684        8.9014        .13099E-03   -1.5096    
   5  Prefactor     9.5270        6.5460        .12979E-03   -1.5091    
   6  Prefactor     .10005E-03    25.997        .42498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.7486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.4712        35.851        .21756E-03   -1.5335    
   9  Prefactor     .10011E-03    135.07        .72555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.343        32.695        .76647E-04   -1.4662    
  11  Prefactor     .33968        23.932        .38776E-02   -1.5591    
  12  norm          .10021E-03    6.9550        .53679E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.1235        2.6383        .11587E-03   -1.5302    
  14  norm          7.7267        6.1038        .14422E-03   -1.5152    
  15  norm          .69346        .83432        .11238E-02   -1.5541    
  16  norm          6.4188        8.6813        .15871E-03   -1.5201    
  17  norm          1.3356        1.0621        .81665E-04   -1.5477    
  18  Normalizat    .56015        .18786        .35531E-03   -1.0970    
  19  Prefactor     1.1434        .11926        .16456E-03   -.88093    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.87632e-09
Minuit parameter uncertainties:
  1  6.21253
  2  2.53496
  3  4.00103
  4  8.90267
  5  6.54651
  6  0.0022806
  7  8.16922e-07
  8  22.328
  9  0.0078409
  10  32.7165
  11  5.70392
  12  0.00242045
  13  2.63833
  14  6.10428
  15  0.834338
  16  8.68304
  17  1.06207
  18  0.188078
  19  0.119286
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.734e+01  3.272e+01  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:  1.143e+00  1.193e-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:  5.601e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.15
Ra Dec: 144.475 -14.571
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.44e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.77e-05 +/- 2.12e-05

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

Saving results to:
/scratch/kocevski/377167/likelihoodResults_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8429.30578387
delta logL = 0.372761109325

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8429.29826599
delta logL = 0.380278987006

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8558       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6090       1.0000          .0000       10.000    
     3 'Normalizat'    .52969       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1543       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8429.298     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      300 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8483        311.95        .12764E-03   -.49201E-03
   2  Index         2.6092        3.6782        .50241E-02   -.20585E-03
   3  Normalizat    .52972        .23352        .36490E-03    .84799E-03
   4  Prefactor     1.1543        .14150        .16385E-03    .11649E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.84835
  Index      = 2.6092
  Normalizat = 0.529715
  Prefactor  = 1.15426
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.298     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8483        22.697        .51056E-05   -1.5080    
   2  Index         2.6092        .88164        .20096E-03   -.49856    
   3  Normalizat    .52972        .18652        .14596E-04   -1.1106    
   4  Prefactor     1.1543        .11880        .32770E-04   -.87751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55979e-09
Minuit parameter uncertainties:
  1  22.7171
  2  0.887676
  3  0.186744
  4  0.118824
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377167': 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) = 8429.2982659
delta logL = 0.380279074936

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  9.848e+00  2.272e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.609e+00  8.877e-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:  1.154e+00  1.188e-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:  5.297e-01  1.867e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 144.475 -14.571
Photon Index (Free Index): 2.61 +/- 0.89
Photon Flux (Free Index): 4.62e-08 +/- 4.11e-08
Energy Flux (Free Index): 1.20e-05 +/- 1.15e-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/377167/cmap_HighResolution_592099201_592358401_4FGL_J0937.9-1434_daily_bin1361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.13e-03', comment='SUCCESS', photon_flux='2.44e-08', energy_flux2='1.20e-05', photon_flux_error='2.92e-08', dlogl='3.80e-01', energy_flux='1.77e-05', photon_flux2='4.62e-08', job_status='DONE', time_completed='2021-08-31 19:51:07.191738', photon_index_error2='0.89', photon_index2='2.61', ts='1.15', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.19e-08', energy_flux_error2='1.15e-05', EG='0.56', time_epoch_completed='1630464667.19', return_code='0', job_id='377167', GAL2='1.15', EG2='0.53', return_code2='0', energy_flux_error='2.12e-05', photon_flux_error2='4.11e-08', ts2='1.94', photon_index='1.98' WHERE bin_id='1361' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:51:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 377167: <4FGL_J0937.9-1434_daily_bin1361> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1361> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:29 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 19:36:30 2021
Terminated at Tue Aug 31 19:51:08 2021
Results reported at Tue Aug 31 19:51:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1361 144.475 -14.5706 592099201 592358401 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 :                                   666.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   877 sec.
    Turnaround time :                            879 sec.

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

