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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1275
RA = 144.475, Dec = -14.5706
tmin = 569808001, tmax = 570067201
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='377026', job_status='RUN', time_executed='2021-08-31 19:38:08.506430', time_epoch_executed='1630463888.51' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/377026

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/377026/ft1_4FGL_J0937.9-1434_daily_bin1275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/377026/ft1_4FGL_J0937.9-1434_daily_bin1275.fits outfile=/scratch/kocevski/377026/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1275.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=569808001.0 tmax=570067201.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.31
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits" evtable="EVENTS" scfile=/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits sctable="SC_DATA" outfile=/scratch/kocevski/377026/ltcube_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.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/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits
.....................!
real 13.36
user 12.82
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits sctable="SC_DATA" expcube=/scratch/kocevski/377026/ltcube_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.fits outfile=/scratch/kocevski/377026/expmap_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.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/377026/ltcube_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.fits
.....................!
real 190.53
user 185.62
sys 4.42

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/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits scfile=/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits outfile=/scratch/kocevski/377026/cmap_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits scfile=/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits outfile=/scratch/kocevski/377026/cmap_HighResolution_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.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.65
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits evtable="EVENTS" scfile=/scratch/kocevski/377026/ft2_4FGL_J0937.9-1434_daily_bin1275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/377026/Model_4FGL_J0937.9-1434_daily_bin1275.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/377026/ft1_filtered_4FGL_J0937.9-1434_daily_bin1275.fits.....................!
real 74.26
user 71.88
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9730       1.0000         .10000E-03   10000.    
     2 'norm      '    6.8159       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.1530       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0489       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .25130       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.711       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.449       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .27785       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.319       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    13.393       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .16522       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .79944       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0753       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=   6935.769     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1952 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9669        12.737        .67215E-05   -.21730E-04
   2  norm          6.8163        3.8226        .48676E-07    .12811E-03
   3  Prefactor     7.1519        6.0376       -.34691E-05   -.20027E-03
   4  Prefactor     6.0477        13.526       -.74635E-05   -.57874E-04
   5  Prefactor     .25872        3.7760       -.23506E-05    .30202E-03
   6  Prefactor     10.708        15.863        .66232E-05    .29899E-04
   7  Prefactor     15.431        31.963       -.23056E-04    .11461E-04
   8  Prefactor     .10000E-03    13.029       -.28943E-06** at limit **
   9  Prefactor     .10006E-03    11.846       -.12525E-05** at limit **
  10  Prefactor     18.318        38.069       -.86713E-05    .10052E-04
  11  Prefactor     .10000E-03    11.002       -.22711E-06** at limit **
  12  norm          13.394        10.063        .44221E-05    .67048E-04
  13  norm          .10000E-03    1.1128       -.68150E-07** at limit **
  14  norm          .10000E-03    3.9977        .10240E-06** at limit **
  15  norm          .10000E-03    .63015       -.34286E-07** at limit **
  16  norm          .10000E-03    5.3364       -.16894E-06** at limit **
  17  norm          .16485        .87641       -.86757E-06   -.64932E-03
  18  Normalizat    .79979        .19490        .42997E-06    .38470E-03
  19  Prefactor     1.0752        .11666        .16326E-05    .35233E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.96695
  norm       = 6.81631
  Prefactor  = 7.15186
  Prefactor  = 6.04765
  Prefactor  = 0.25872
  Prefactor  = 10.7082
  Prefactor  = 15.4315
  Prefactor  = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 18.3178
  Prefactor  = 0.0001
  norm       = 13.3943
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.164854
  Normalizat = 0.799792
  Prefactor  = 1.07522
 **********
 **   18 **HESSE 
 **********

 FCN=   6935.769     FROM HESSE     STATUS=OK           284 CALLS     2236 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9669        12.589        .20236E-03   -1.5310    
   2  norm          6.8163        3.8040        .10971E-03   -1.5186    
   3  Prefactor     7.1519        6.0791        .14998E-03   -1.5173    
   4  Prefactor     6.0477        13.472        .16325E-03   -1.5216    
   5  Prefactor     .25872        14.092        .31209E-02   -1.5606    
   6  Prefactor     10.708        15.833        .12242E-03   -1.5053    
   7  Prefactor     15.431        32.074        .10190E-03   -1.4922    
   8  Prefactor     .10000E-03    13.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10006E-03    17.345        .10530       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.318        38.009        .93577E-04   -1.4852    
  11  Prefactor     .10000E-03    11.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          13.394        10.021        .10945E-03   -1.4976    
  13  norm          .10000E-03    1.1211        .85789E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.0081        .16262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .63654        .64549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    5.3676        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16485        1.8233        .14775E-02   -1.5627    
  18  Normalizat    .79979        .22304        .32547E-03   -1.0008    
  19  Prefactor     1.0752        .13496        .17622E-03   -.90262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61188e-09
Minuit parameter uncertainties:
  1  12.597
  2  3.80414
  3  6.07962
  4  13.4785
  5  3.81904
  6  15.8391
  7  32.1098
  8  3.30711e-05
  9  0.00200828
  10  38.059
  11  2.92682e-05
  12  10.0218
  13  3.98333e-06
  14  2.43625e-06
  15  3.12978e-06
  16  2.75903e-05
  17  1.0962
  18  0.223292
  19  0.135003
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  1.832e+01  3.806e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.980e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  3.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
534    Prefactor:  1.075e+00  1.350e-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:  7.998e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/377026/likelihoodResults_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.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) = 6935.2454232
delta logL = 0.523471287996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6935.21092735
delta logL = 0.55796713869

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2616       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0186       1.0000          .0000       10.000    
     3 'Normalizat'    .74573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0927       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=   6935.211     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      263 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2401        88.453        .48794E-02    .10774E-02
   2  Index         3.0206        2.5285        .80791E-01    .39283E-03
   3  Normalizat    .74572        .66080E-01    .75877E-01    .14076E-03
   4  Prefactor     1.0927        .37548E-01    .37869E-01    .15351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.24011
  Index      = 3.02062
  Normalizat = 0.745717
  Prefactor  = 1.09272
 **********
 **   18 **HESSE 
 **********

 FCN=   6935.211     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      296 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2401        159.31        .14595E-03   -1.5296    
   2  Index         3.0206        3.8174        .45046E-02   -.40702    
   3  Normalizat    .74572        .22788        .33588E-03   -1.0211    
   4  Prefactor     1.0927        .13211        .17484E-03   -.89700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59407e-09
Minuit parameter uncertainties:
  1  52.1307
  2  4.5071
  3  0.228173
  4  0.132149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/377026': 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) = 6935.21092572
delta logL = 0.557968764106

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.240e+00  5.213e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  3.021e+00  4.507e+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:  1.093e+00  1.321e-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:  7.457e-01  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 144.475 -14.571
Photon Index (Free Index): 3.02 +/- 4.51
Photon Flux (Free Index): 6.48e-08 +/- 8.32e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.94e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/377026/cmap_HighResolution_569808001_570067201_4FGL_J0937.9-1434_daily_bin1275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='5.58e-01', photon_flux2='6.48e-08', job_status='DONE', time_completed='2021-08-31 19:50:01.483189', photon_index_error2='4.51', photon_index2='3.02', ts='0.35', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', photon_flux_upper_limit='8.91e-08', energy_flux_error2='1.94e-05', EG='0.80', time_epoch_completed='1630464601.48', return_code='0', job_id='377026', GAL2='1.09', EG2='0.75', return_code2='102', photon_flux_error2='8.32e-08', ts2='1.53', photon_index='1.98' WHERE bin_id='1275' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:50:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 377026: <4FGL_J0937.9-1434_daily_bin1275> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1275 144.475 -14.5706 569808001 570067201 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 :                                   607.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            825 sec.

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

