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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1493
RA = 144.475, Dec = -14.5706
tmin = 626313601, tmax = 626572801
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='377382', job_status='RUN', time_executed='2021-08-31 19:38:19.191400', time_epoch_executed='1630463899.19' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377382

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377382/ft1_4FGL_J0937.9-1434_daily_bin1493.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits


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

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

Done.
real 4.65
user 4.21
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.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/377382/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1493.fits evtable="EVENTS" outfile="/scratch/kocevski/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.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.59
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits" evtable="EVENTS" scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits sctable="SC_DATA" outfile=/scratch/kocevski/377382/ltcube_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.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/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits
.....................!
real 12.82
user 12.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits sctable="SC_DATA" expcube=/scratch/kocevski/377382/ltcube_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.fits outfile=/scratch/kocevski/377382/expmap_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.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/377382/ltcube_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.fits
.....................!
real 191.62
user 185.92
sys 4.96

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/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits outfile=/scratch/kocevski/377382/cmap_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits outfile=/scratch/kocevski/377382/cmap_HighResolution_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.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.62
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits evtable="EVENTS" scfile=/scratch/kocevski/377382/ft2_4FGL_J0937.9-1434_daily_bin1493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377382/Model_4FGL_J0937.9-1434_daily_bin1493.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/377382/ft1_filtered_4FGL_J0937.9-1434_daily_bin1493.fits.....................!
real 64.02
user 60.50
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.526       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    129.13       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .30387E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.906       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    36.518       1.0000         .10000E-03   10000.    
    13 'norm      '    .15497E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4568       1.0000         .10000E-03   10000.    
    16 'norm      '    10.012       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6281       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0365       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74989       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=   5452.120     FROM MIGRAD    STATUS=CONVERGED    399 CALLS     1914 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.1944       -.28862E-06** at limit **
   2  norm          .10000E-03    1.6458        .14218E-06** at limit **
   3  Prefactor     .10000E-03    2.6143        .15748E-06** at limit **
   4  Prefactor     20.523        13.395        .30269E-06   -.45578E-04
   5  Prefactor     .10000E-03    2.0688        .12154E-06** at limit **
   6  Prefactor     .10000E-03    36.888       -.13917E-06** at limit **
   7  Prefactor     129.13        49.294        .19872E-05   -.13139E-04
   8  Prefactor     .10003E-03    221.04        .96024E-04** at limit **
   9  Prefactor     38.974        41.810        .19808E-04   -.13199E-04
  10  Prefactor     .10000E-03    16.168       -.39427E-06** at limit **
  11  Prefactor     .10000E-03    13.403        .11239E-06** at limit **
  12  norm          36.516        11.520       -.38936E-06   -.11517E-03
  13  norm          .10000E-03    2.6290       -.10601E-05** at limit **
  14  norm          .10000E-03    3.1390        .60089E-07** at limit **
  15  norm          1.4577        1.6099        .53752E-08   -.46216E-04
  16  norm          10.011        10.888        .19510E-06   -.45588E-04
  17  norm          2.6278        1.6293        .63543E-07   -.32965E-03
  18  Normalizat    1.0365        .21011       -.52890E-05   -.14152E-03
  19  Prefactor     .75002        .12009        .99666E-06   -.44476E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.5233
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 129.132
  Prefactor  = 0.000100032
  Prefactor  = 38.9741
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 36.5158
  norm       = 0.000100004
  norm       = 0.0001
  norm       = 1.45768
  norm       = 10.011
  norm       = 2.62785
  Normalizat = 1.03646
  Prefactor  = 0.750017
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.120     FROM HESSE     STATUS=OK           264 CALLS     2178 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.2008        .14767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.6747        .92448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.6431        .11657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.523        13.394        .88406E-04   -1.4802    
   5  Prefactor     .10000E-03    2.0717        .10372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    37.894        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     129.13        49.307        .35430E-04   -1.3430    
   8  Prefactor     .10003E-03    223.01        .42769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     38.974        42.106        .64259E-04   -1.4459    
  10  Prefactor     .10000E-03    16.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          36.516        11.532        .33160E-03   -1.4499    
  13  norm          .10000E-03    26.008        .22611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1400        .12777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4577        1.5820        .94858E-04   -1.5466    
  16  norm          10.011        10.894        .12664E-03   -1.5075    
  17  norm          2.6278        1.6252        .71150E-04   -1.5384    
  18  Normalizat    1.0365        .24530        .27977E-03   -.91819    
  19  Prefactor     .75002        .14062        .19390E-03   -1.0160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.62335e-10
Minuit parameter uncertainties:
  1  2.95038e-06
  2  2.56012e-06
  3  4.56335e-06
  4  13.3964
  5  5.6412e-07
  6  0.000351049
  7  49.3223
  8  0.00532654
  9  42.1381
  10  2.73695e-07
  11  2.84095e-05
  12  11.5322
  13  0.000663573
  14  1.66357e-06
  15  1.58204
  16  10.8959
  17  1.62522
  18  0.245567
  19  0.140691
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  2.737e-07  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:  7.500e-01  1.407e-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.036e+00  2.456e-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: 6.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377382/likelihoodResults_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.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) = 5452.1200444
delta logL = -0.000294114761346

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5452.11975086
delta logL = -5.75238118472e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10829E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3088       1.0000          .0000       10.000    
     3 'Normalizat'    1.0364       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75003       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=   5452.120     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      229 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.443        .90712E-02** at limit **
   2  Index         2.3030        6.1507        .24271        .33902E-05
   3  Normalizat    1.0365        .19750        .63253E-01    .23364E-04
   4  Prefactor     .75002        .11895        .43063E-01   -.41509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.30295
  Normalizat = 1.03646
  Prefactor  = 0.750018
 **********
 **   18 **HESSE 
 **********

 FCN=   5452.120     FROM HESSE     STATUS=OK            27 CALLS      256 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3030        6.1515        .97083E-02   -.56974    
   3  Normalizat    1.0365        .22998        .27977E-03   -.91819    
   4  Prefactor     .75002        .13863        .19390E-03   -1.0160    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37204e-11
Minuit parameter uncertainties:
  1  1.77708e-05
  2  4.21049
  3  0.230196
  4  0.138689
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377382': 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) = 5452.11975057
delta logL = -2.86155227514e-07

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  1.777e-05  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  2.303e+00  4.210e+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:  7.500e-01  1.387e-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.036e+00  2.302e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/377382/cmap_HighResolution_626313601_626572801_4FGL_J0937.9-1434_daily_bin1493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.85e-08', time_completed='2021-08-31 19:49:18.430664', job_id='377382', GAL2='0.75', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1630464558.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='-2.86e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1493' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:49:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 377382: <4FGL_J0937.9-1434_daily_bin1493> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1493 144.475 -14.5706 626313601 626572801 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 :                                   538.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            753 sec.

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

