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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1283
RA = 144.475, Dec = -14.5706
tmin = 571881601, tmax = 572140801
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='377039', job_status='RUN', time_executed='2021-08-31 19:40:17.233774', time_epoch_executed='1630464017.23' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1283'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377039

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377039/ft1_4FGL_J0937.9-1434_daily_bin1283.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377039/ft1_4FGL_J0937.9-1434_daily_bin1283.fits outfile=/scratch/kocevski/377039/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1283.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=571881601.0 tmax=572140801.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.63
user 2.37
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits" evtable="EVENTS" scfile=/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits sctable="SC_DATA" outfile=/scratch/kocevski/377039/ltcube_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.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/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits
.....................!
real 12.75
user 12.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits sctable="SC_DATA" expcube=/scratch/kocevski/377039/ltcube_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.fits outfile=/scratch/kocevski/377039/expmap_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.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/377039/ltcube_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.fits
.....................!
real 190.47
user 185.79
sys 4.12

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/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits scfile=/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits outfile=/scratch/kocevski/377039/cmap_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits scfile=/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits outfile=/scratch/kocevski/377039/cmap_HighResolution_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.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.55
user 0.39
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits evtable="EVENTS" scfile=/scratch/kocevski/377039/ft2_4FGL_J0937.9-1434_daily_bin1283.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377039/Model_4FGL_J0937.9-1434_daily_bin1283.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/377039/ft1_filtered_4FGL_J0937.9-1434_daily_bin1283.fits.....................!
real 62.58
user 61.19
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10339E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10421E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.248       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.557       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16218E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10470E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .19957E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    12.045       1.0000         .10000E-03   10000.    
    13 'norm      '    .30402       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.041       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6231       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1447       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85177       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=   5656.094     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     1902 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.691       -.10084E-05** at limit **
   2  norm          .10000E-03    1.8508       -.80206E-07** at limit **
   3  Prefactor     .10000E-03    4.7609       -.98092E-08** at limit **
   4  Prefactor     .10000E-03    26.588       -.26718E-06** at limit **
   5  Prefactor     .10000E-03    10.131       -.67576E-06** at limit **
   6  Prefactor     24.259        41.247        .11792E-04    .21520E-04
   7  Prefactor     16.547        34.437       -.96257E-05   -.27981E-05
   8  Prefactor     .10000E-03    72.108       -.30652E-06** at limit **
   9  Prefactor     .10000E-03    71.550        .27585E-06** at limit **
  10  Prefactor     .10000E-03    12.170       -.12362E-06** at limit **
  11  Prefactor     .10001E-03    10.510        .78336E-07** at limit **
  12  norm          12.047        8.3772       -.56620E-06   -.81193E-03
  13  norm          .30795        4.3423       -.18155E-05   -.20686E-03
  14  norm          .10000E-03    2.2714       -.10770E-06** at limit **
  15  norm          .10000E-03    1.3941       -.42570E-08** at limit **
  16  norm          12.041        12.944       -.10433E-06   -.34406E-05
  17  norm          2.6225        1.3158       -.72668E-07   -.19261E-03
  18  Normalizat    1.1450        .21497        .12065E-05    .11930E-03
  19  Prefactor     .85179        .11836        .26326E-06    .17555E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.2591
  Prefactor  = 16.5467
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 12.0472
  norm       = 0.307952
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.0412
  norm       = 2.62251
  Normalizat = 1.145
  Prefactor  = 0.851793
 **********
 **   18 **HESSE 
 **********

 FCN=   5656.094     FROM HESSE     STATUS=OK           270 CALLS     2172 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.8585        .99915E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.846        .31519E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    26.985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.259        40.949        .81347E-04   -1.4722    
   7  Prefactor     16.547        34.358        .98431E-04   -1.4894    
   8  Prefactor     .10000E-03    72.185        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    72.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    53.207        .46628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          12.047        8.5258        .57711E-03   -1.5014    
  13  norm          .30795        12.763        .30094E-02   -1.5597    
  14  norm          .10000E-03    2.2755        .11070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    7.2054        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.041        12.945        .11544E-03   -1.5014    
  17  norm          2.6225        1.3135        .58348E-04   -1.5384    
  18  Normalizat    1.1450        .25004        .29084E-03   -.88320    
  19  Prefactor     .85179        .13788        .18809E-03   -.97846    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9109e-08
Minuit parameter uncertainties:
  1  1.37691e-05
  2  2.52605e-06
  3  9.57743e-05
  4  5.94914e-05
  5  4.24559e-05
  6  40.996
  7  34.3993
  8  0.000438824
  9  0.000154668
  10  4.53875e-06
  11  0.00142348
  12  8.52665
  13  3.96525
  14  4.18174e-07
  15  7.86565e-05
  16  12.9479
  17  1.31353
  18  0.250302
  19  0.137932
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  4.539e-06  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.518e-01  1.379e-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.145e+00  2.503e-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: 5.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/377039/likelihoodResults_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.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) = 5656.0941001
delta logL = -0.000390979188523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5656.09371002
delta logL = -8.92768184713e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11077E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9646       1.0000          .0000       10.000    
     3 'Normalizat'    1.1452       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85167       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=   5656.094     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    776.25        .90712E-02** at limit **
   2  Index         1.9501        5.1341        .50000        .91406E-05
   3  Normalizat    1.1450        .48653E-01    .65744E-01    .10740E-04
   4  Prefactor     .85179        .27718E-01    .44386E-01    .52149E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.95011
  Normalizat = 1.145
  Prefactor  = 0.851793
 **********
 **   18 **HESSE 
 **********

 FCN=   5656.094     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2016.0        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9501        5.9155        .50000       -.65603    
   3  Normalizat    1.1450        .10387        .29084E-03   -.88320    
   4  Prefactor     .85179        .59226E-01    .18809E-03   -.97846    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.1723e-08
Minuit parameter uncertainties:
  1  0.000321484
  2  52.5466
  3  0.103893
  4  0.0592308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377039': 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) = 5656.09370905
delta logL = 6.99947122484e-08

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  3.215e-04  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.950e+00  5.255e+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:  8.518e-01  5.923e-02  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.145e+00  1.039e-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/377039/cmap_HighResolution_571881601_572140801_4FGL_J0937.9-1434_daily_bin1283.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.59e-08', time_completed='2021-08-31 19:51:46.380241', job_id='377039', GAL2='0.85', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630464706.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.00e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1283' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:51:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 377039: <4FGL_J0937.9-1434_daily_bin1283> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1283> 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) <bullet0052>, 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:51:47 2021
Results reported at Tue Aug 31 19:51:47 2021

Your job looked like:

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

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

