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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1284
RA = 144.475, Dec = -14.5706
tmin = 572140801, tmax = 572400001
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='377041', job_status='RUN', time_executed='2021-08-31 19:36:51.741683', time_epoch_executed='1630463811.74' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1284'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377041

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377041/ft1_4FGL_J0937.9-1434_daily_bin1284.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377041/ft1_4FGL_J0937.9-1434_daily_bin1284.fits outfile=/scratch/kocevski/377041/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1284.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=572140801.0 tmax=572400001.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.29
user 3.03
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.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/377041/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1284.fits evtable="EVENTS" outfile="/scratch/kocevski/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits" evtable="EVENTS" scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits sctable="SC_DATA" outfile=/scratch/kocevski/377041/ltcube_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.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/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits
.....................!
real 12.03
user 11.64
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits sctable="SC_DATA" expcube=/scratch/kocevski/377041/ltcube_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.fits outfile=/scratch/kocevski/377041/expmap_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.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/377041/ltcube_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.fits
.....................!
real 193.50
user 185.60
sys 4.95

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/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits outfile=/scratch/kocevski/377041/cmap_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.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.73
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits outfile=/scratch/kocevski/377041/cmap_HighResolution_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.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.78
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits evtable="EVENTS" scfile=/scratch/kocevski/377041/ft2_4FGL_J0937.9-1434_daily_bin1284.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377041/Model_4FGL_J0937.9-1434_daily_bin1284.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/377041/ft1_filtered_4FGL_J0937.9-1434_daily_bin1284.fits.....................!
real 66.67
user 64.70
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.6933       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8668       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.1814       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.7784       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.348       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2451       1.0000         .10000E-03   10000.    
     8 'Prefactor '    78.692       1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.037       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.900       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.3613       1.0000         .10000E-03   10000.    
    13 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.2274       1.0000         .10000E-03   10000.    
    16 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .80659       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .82862       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93663       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=   6151.507     FROM MIGRAD    STATUS=CONVERGED    373 CALLS     1890 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.9363        .14632E-06** at limit **
   2  norm          3.6932        2.7904        .19301E-07   -.51789E-04
   3  Prefactor     3.8676        7.4345        .97274E-06   -.28439E-04
   4  Prefactor     9.1817        12.383        .21874E-06   -.57878E-04
   5  Prefactor     7.7782        10.931        .64083E-06   -.23718E-04
   6  Prefactor     37.350        30.220       -.81636E-06   -.46863E-04
   7  Prefactor     4.2362        60.016        .11895E-04    .81257E-04
   8  Prefactor     78.680        65.490        .38482E-05    .11993E-03
   9  Prefactor     29.030        32.534        .27080E-05    .16881E-03
  10  Prefactor     20.881        28.994        .16834E-05    .56582E-03
  11  Prefactor     .10000E-03    4.9573       -.31566E-06** at limit **
  12  norm          2.3656        5.9077        .10022E-04   -.42840E-03
  13  norm          .10000E-03    2.7816        .32804E-06** at limit **
  14  norm          .10000E-03    5.7327       -.26321E-07** at limit **
  15  norm          2.2274        1.7817        .46485E-07   -.10427E-03
  16  norm          .10000E-03    7.3294        .54920E-06** at limit **
  17  norm          .80677        1.2497        .58584E-06    .65424E-03
  18  Normalizat    .82866        .19418       -.24775E-05   -.16169E-03
  19  Prefactor     .93658        .11273       -.13061E-05   -.50131E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.69324
  Prefactor  = 3.8676
  Prefactor  = 9.18168
  Prefactor  = 7.77816
  Prefactor  = 37.3496
  Prefactor  = 4.23624
  Prefactor  = 78.6802
  Prefactor  = 29.0299
  Prefactor  = 20.8806
  Prefactor  = 0.0001
  norm       = 2.36556
  norm       = 0.0001
  norm       = 0.0001
  norm       = 2.22744
  norm       = 0.0001
  norm       = 0.806773
  Normalizat = 0.828658
  Prefactor  = 0.936581
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.507     FROM HESSE     STATUS=OK           268 CALLS     2158 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6932        2.7900        .10991E-03   -1.5324    
   3  Prefactor     3.8676        7.4721        .20521E-03   -1.5315    
   4  Prefactor     9.1817        12.365        .13227E-03   -1.5102    
   5  Prefactor     7.7782        10.920        .14378E-03   -1.5150    
   6  Prefactor     37.350        30.229        .65581E-04   -1.4485    
   7  Prefactor     4.2362        60.265        .19557E-03   -1.5296    
   8  Prefactor     78.680        65.590        .45271E-04   -1.3932    
   9  Prefactor     29.030        32.593        .74349E-04   -1.4630    
  10  Prefactor     20.881        29.440        .87612E-04   -1.4794    
  11  Prefactor     .10000E-03    4.9670        .17056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.3656        5.9600        .13307E-02   -1.5400    
  13  norm          .10000E-03    12.039        .25263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.8358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2274        1.7806        .90527E-04   -1.5409    
  16  norm          .10000E-03    7.3918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .80677        1.2177        .10243E-03   -1.5528    
  18  Normalizat    .82866        .22369        .31236E-03   -.99014    
  19  Prefactor     .93658        .13159        .17691E-03   -.94874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94213e-09
Minuit parameter uncertainties:
  1  2.03268e-05
  2  2.79009
  3  7.4739
  4  12.368
  5  10.9224
  6  30.2412
  7  31.9947
  8  65.6509
  9  32.6125
  10  29.4602
  11  4.68006e-05
  12  5.96153
  13  6.08538e-05
  14  2.02273e-05
  15  1.78066
  16  6.19343e-05
  17  1.21769
  18  0.223943
  19  0.131634
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.088e+01  2.946e+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:  9.366e-01  1.316e-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:  8.287e-01  2.239e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 144.475 -14.571
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.86e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.91e-05

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

Saving results to:
/scratch/kocevski/377041/likelihoodResults_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.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) = 6151.46846387
delta logL = 0.0380656065463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6151.46786075
delta logL = 0.0386687329947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.950       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6881       1.0000          .0000       10.000    
     3 'Normalizat'    .83330       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93538       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=   6151.468     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      312 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.955        45.909        .74461E-04    .11756E-04
   2  Index         1.6884        1.0392        .13129E-01    .25831E-03
   3  Normalizat    .83318        .21100        .31159E-03   -.80015E-04
   4  Prefactor     .93545        .12719        .17700E-03   -.15579E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.9554
  Index      = 1.68845
  Normalizat = 0.833176
  Prefactor  = 0.935455
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.468     FROM HESSE     STATUS=OK            25 CALLS      337 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.955        43.798        .29785E-05   -1.4631    
   2  Index         1.6884        .99251        .26258E-02   -.72390    
   3  Normalizat    .83318        .21105        .12463E-04   -.98850    
   4  Prefactor     .93545        .12727        .35400E-04   -.94913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51035e-11
Minuit parameter uncertainties:
  1  43.847
  2  1.00451
  3  0.21126
  4  0.127311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377041': 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) = 6151.46786045
delta logL = 0.0386690272207

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.896e+01  4.385e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.688e+00  1.005e+00  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.355e-01  1.273e-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:  8.332e-01  2.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.09
Ra Dec: 144.475 -14.571
Photon Index (Free Index): 1.69 +/- 1.00
Photon Flux (Free Index): 1.35e-08 +/- 2.35e-08
Energy Flux (Free Index): 2.28e-05 +/- 5.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/377041/cmap_HighResolution_572140801_572400001_4FGL_J0937.9-1434_daily_bin1284.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', comment='SUCCESS', photon_flux='1.86e-08', energy_flux2='2.28e-05', photon_flux_error='2.63e-08', dlogl='3.87e-02', energy_flux='1.35e-05', photon_flux2='1.35e-08', job_status='DONE', time_completed='2021-08-31 19:46:29.989304', photon_index_error2='1.00', photon_index2='1.69', ts='1.01', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='8.24e-08', energy_flux_error2='5.45e-05', EG='0.83', time_epoch_completed='1630464389.99', return_code='0', job_id='377041', GAL2='0.94', EG2='0.83', return_code2='0', energy_flux_error='1.91e-05', photon_flux_error2='2.35e-08', ts2='1.09', photon_index='1.98' WHERE bin_id='1284' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:46:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 377041: <4FGL_J0937.9-1434_daily_bin1284> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1284> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:18 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:20 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:20 2021
Terminated at Tue Aug 31 19:46:30 2021
Results reported at Tue Aug 31 19:46:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1284 144.475 -14.5706 572140801 572400001 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 :                                   553.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   610 sec.
    Turnaround time :                            612 sec.

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

