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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1264
RA = 144.475, Dec = -14.5706
tmin = 566956801, tmax = 567216001
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='377008', job_status='RUN', time_executed='2021-08-31 19:38:08.290871', time_epoch_executed='1630463888.29' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1264'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377008

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377008/ft1_4FGL_J0937.9-1434_daily_bin1264.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits


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

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

Done.
real 2.52
user 2.32
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits" evtable="EVENTS" scfile=/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits sctable="SC_DATA" outfile=/scratch/kocevski/377008/ltcube_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.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/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits
.....................!
real 12.65
user 12.25
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits sctable="SC_DATA" expcube=/scratch/kocevski/377008/ltcube_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.fits outfile=/scratch/kocevski/377008/expmap_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.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/377008/ltcube_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.fits
.....................!
real 192.01
user 186.99
sys 4.58

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/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits scfile=/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits outfile=/scratch/kocevski/377008/cmap_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.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.66
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits scfile=/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits outfile=/scratch/kocevski/377008/cmap_HighResolution_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.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.56
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits evtable="EVENTS" scfile=/scratch/kocevski/377008/ft2_4FGL_J0937.9-1434_daily_bin1264.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377008/Model_4FGL_J0937.9-1434_daily_bin1264.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/377008/ft1_filtered_4FGL_J0937.9-1434_daily_bin1264.fits.....................!
real 64.42
user 63.14
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10224E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.506       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .76776       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2473       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10887E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    40.521       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.835       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10477E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.3545       1.0000         .10000E-03   10000.    
    13 'norm      '    .12277E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .51801       1.0000         .10000E-03   10000.    
    16 'norm      '    13.522       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0688       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0606       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81720       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=   5950.292     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1922 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    6.8190        .11998E-06** at limit **
   2  norm          .10000E-03    2.9626        .42382E-07** at limit **
   3  Prefactor     10.511        7.5929       -.17627E-06   -.13121E-03
   4  Prefactor     .77591        10.606        .30712E-06   -.36765E-03
   5  Prefactor     7.2466        6.8552       -.26090E-07   -.59754E-05
   6  Prefactor     .10000E-03    11.343        .17539E-07** at limit **
   7  Prefactor     .10000E-03    37.032        .38812E-06** at limit **
   8  Prefactor     .10000E-03    17.835        .79883E-07** at limit **
   9  Prefactor     40.531        35.050        .77888E-05   -.15899E-05
  10  Prefactor     21.837        27.406        .11855E-05   -.79057E-05
  11  Prefactor     .10000E-03    12.836        .45122E-06** at limit **
  12  norm          3.3567        8.3179       -.17089E-05   -.33765E-03
  13  norm          .10000E-03    2.0402       -.16170E-06** at limit **
  14  norm          .10000E-03    5.0013        .17503E-07** at limit **
  15  norm          .51802        .81617       -.48987E-07   -.92884E-04
  16  norm          13.520        13.019       -.98013E-07   -.42471E-04
  17  norm          2.0694        1.3474        .64740E-08   -.48497E-03
  18  Normalizat    1.0604        .20362       -.16365E-05    .60385E-05
  19  Prefactor     .81710        .11714        .38897E-06   -.15113E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.5106
  Prefactor  = 0.775912
  Prefactor  = 7.24657
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.5315
  Prefactor  = 21.8365
  Prefactor  = 0.0001
  norm       = 3.35666
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.51802
  norm       = 13.5196
  norm       = 2.0694
  Normalizat = 1.06042
  Prefactor  = 0.817097
 **********
 **   18 **HESSE 
 **********

 FCN=   5950.292     FROM HESSE     STATUS=OK           274 CALLS     2196 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    6.8382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.0657        .25866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.511        7.6244        .12361E-03   -1.5059    
   4  Prefactor     .77591        50.122        .48038E-02   -1.5532    
   5  Prefactor     7.2466        6.8522        .14900E-03   -1.5170    
   6  Prefactor     .10000E-03    11.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     40.531        34.336        .62970E-04   -1.4434    
  10  Prefactor     21.837        27.326        .85718E-04   -1.4773    
  11  Prefactor     .10000E-03    72.086        .52288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.3567        8.4987        .22096E-03   -1.5342    
  13  norm          .10000E-03    4.2175        .21413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.0234        .16847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .51802        .81578        .45376E-04   -1.5564    
  16  norm          13.520        13.030        .10893E-03   -1.4972    
  17  norm          2.0694        1.3397        .69047E-04   -1.5420    
  18  Normalizat    1.0604        .23781        .27767E-03   -.91033    
  19  Prefactor     .81710        .13978        .18634E-03   -.99101    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36835e-09
Minuit parameter uncertainties:
  1  8.94285e-07
  2  1.85889e-07
  3  7.62506
  4  12.4825
  5  6.85295
  6  1.8312e-06
  7  2.8189e-05
  8  2.13645e-06
  9  34.3523
  10  27.3413
  11  0.00011212
  12  8.5017
  13  2.44947e-05
  14  1.89248e-06
  15  0.815799
  16  13.033
  17  1.33974
  18  0.238051
  19  0.139838
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  2.184e+01  2.734e+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:  8.171e-01  1.398e-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.060e+00  2.381e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.47
Ra Dec: 144.475 -14.571
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 2.44e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.77e-05

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

Saving results to:
/scratch/kocevski/377008/likelihoodResults_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.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) = 5948.11635807
delta logL = 2.17549535264

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5948.04513375
delta logL = 2.24671967932

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46146       1.0000         .10000E-03   10000.    
     2 'Index     '    4.0639       1.0000          .0000       10.000    
     3 'Normalizat'    .86776       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89006       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=   5948.045     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      280 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45655        2.8834        .53010E-02    .92334E-03
   2  Index         4.0677        1.4873        .52193E-01    .25917E-03
   3  Normalizat    .86743        .67142E-01    .68417E-01    .29326E-05
   4  Prefactor     .89030        .39331E-01    .44878E-01   -.25006E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.456551
  Index      = 4.06773
  Normalizat = 0.867432
  Prefactor  = 0.890297
 **********
 **   18 **HESSE 
 **********

 FCN=   5948.045     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      313 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45655        4.8537        .23721E-04   -1.5573    
   2  Index         4.0677        2.1045        .21454E-02   -.18755    
   3  Normalizat    .86743        .22577        .30269E-03   -.97614    
   4  Prefactor     .89030        .13105        .17909E-03   -.96481    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.23032e-07
Minuit parameter uncertainties:
  1  2.97721
  2  2.17482
  3  0.226014
  4  0.131099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377008': 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) = 5948.04512735
delta logL = 2.24672607334

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.566e-01  2.977e+00  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  4.068e+00  2.175e+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:  8.903e-01  1.311e-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.674e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.58
Ra Dec: 144.475 -14.571
Photon Index (Free Index): 4.07 +/- 2.17
Photon Flux (Free Index): 1.66e-07 +/- 8.82e-08
Energy Flux (Free Index): 2.45e-05 +/- 1.21e-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/377008/cmap_HighResolution_566956801_567216001_4FGL_J0937.9-1434_daily_bin1264.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.51e-03', comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='2.45e-05', photon_flux_error='2.44e-08', dlogl='2.25e+00', energy_flux='1.42e-05', photon_flux2='1.66e-07', job_status='DONE', time_completed='2021-08-31 19:48:52.573006', photon_index_error2='2.17', photon_index2='4.07', ts='1.47', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='8.69e-08', energy_flux_error2='1.21e-05', EG='1.06', time_epoch_completed='1630464532.57', return_code='0', job_id='377008', GAL2='0.89', EG2='0.87', return_code2='102', energy_flux_error='1.77e-05', photon_flux_error2='8.82e-08', ts2='6.58', photon_index='1.98' WHERE bin_id='1264' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:48:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 377008: <4FGL_J0937.9-1434_daily_bin1264> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1264> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 19:36:15 2021
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:36:16 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:16 2021
Terminated at Tue Aug 31 19:48:53 2021
Results reported at Tue Aug 31 19:48:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1264 144.475 -14.5706 566956801 567216001 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

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

