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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1586
RA = 144.475, Dec = -14.5706
tmin = 650419201, tmax = 650678401
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='378522', job_status='RUN', time_executed='2021-08-31 19:41:25.982724', time_epoch_executed='1630464085.98' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378522

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378522/ft1_4FGL_J0937.9-1434_daily_bin1586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378522/ft2_4FGL_J0937.9-1434_daily_bin1586.fits


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

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

Done.
real 3.65
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378522/ft1_filtered_4FGL_J0937.9-1434_daily_bin1586.fits" evtable="EVENTS" scfile=/scratch/kocevski/378522/ft2_4FGL_J0937.9-1434_daily_bin1586.fits sctable="SC_DATA" outfile=/scratch/kocevski/378522/ltcube_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.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/378522/ft2_4FGL_J0937.9-1434_daily_bin1586.fits
.....................!
real 11.91
user 11.51
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378522/ft1_filtered_4FGL_J0937.9-1434_daily_bin1586.fits evtable="EVENTS" scfile=/scratch/kocevski/378522/ft2_4FGL_J0937.9-1434_daily_bin1586.fits sctable="SC_DATA" expcube=/scratch/kocevski/378522/ltcube_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.fits outfile=/scratch/kocevski/378522/expmap_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.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/378522/ltcube_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.fits
.....................!
real 190.97
user 186.13
sys 4.33

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/378522/ft1_filtered_4FGL_J0937.9-1434_daily_bin1586.fits scfile=/scratch/kocevski/378522/ft2_4FGL_J0937.9-1434_daily_bin1586.fits outfile=/scratch/kocevski/378522/cmap_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.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.53
user 0.37
sys 0.15

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6467       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12908E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.046       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.608       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.7473       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9785       1.0000         .10000E-03   10000.    
    12 'norm      '    2.1435       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.5167       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .51137E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .98771       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .68777       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7306.425     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     1967 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.662        .36285E-03** at limit **
   2  norm          5.6466        3.2495        .11332E-03    .28864E-03
   3  Prefactor     .10000E-03    1.7288        .10936E-02** at limit **
   4  Prefactor     .10000E-03    27.016        .36285E-03** at limit **
   5  Prefactor     .10000E-03    40.970        .36998E-02** at limit **
   6  Prefactor     16.046        15.479        .99985E-04    .18761E-04
   7  Prefactor     12.613        35.160        .11281E-03    .30737E-04
   8  Prefactor     .10000E-03    13.390        .18142E-02** at limit **
   9  Prefactor     .10000E-03    6.6006        .18142E-02** at limit **
  10  Prefactor     3.7467        12.983        .10429E-02    .23285E-04
  11  Prefactor     8.9780        12.001        .13376E-03   -.58645E-04
  12  norm          2.1432        4.3169        .24331E-03   -.25465E-04
  13  norm          .10000E-03    .93934        .80800E-03** at limit **
  14  norm          9.5179        8.2682        .12991E-03   -.57760E-05
  15  norm          .10000E-03    .82394        .14889E-03** at limit **
  16  norm          .89665E-01    7.4272        .59954E-01    .16268E-03
  17  norm          .98797        .82968        .71458E-03    .24765E-03
  18  Normalizat    .68783        .19932        .32719E-03   -.45691E-04
  19  Prefactor     1.1083        .12494        .16855E-03   -.22901E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.64657
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 16.0455
  Prefactor  = 12.613
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.74671
  Prefactor  = 8.97796
  norm       = 2.1432
  norm       = 0.0001
  norm       = 9.5179
  norm       = 0.0001
  norm       = 0.089665
  norm       = 0.987974
  Normalizat = 0.687828
  Prefactor  = 1.10832
 **********
 **   18 **HESSE 
 **********

 FCN=   7306.425     FROM HESSE     STATUS=OK           262 CALLS     2229 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    22.663        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6466        3.2492        .22665E-04   -1.5233    
   3  Prefactor     .10000E-03    1.7289        .21871E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    27.017        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    42.584        .14799E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.046        15.478        .39994E-05   -1.4907    
   7  Prefactor     12.613        35.162        .45124E-05   -1.4998    
   8  Prefactor     .10000E-03    13.390        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.6008        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.7467        12.980        .41715E-04   -1.5321    
  11  Prefactor     8.9780        12.001        .53505E-05   -1.5109    
  12  norm          2.1432        4.3161        .97326E-05   -1.5415    
  13  norm          .10000E-03    .93936        .16160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.5179        8.2683        .51962E-05   -1.5091    
  15  norm          .10000E-03    .82395        .29779E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .89665E-01    6.5491        .65771E-01   -1.5648    
  17  norm          .98797        .82951        .28583E-04   -1.5509    
  18  Normalizat    .68783        .19945        .13088E-04   -1.0438    
  19  Prefactor     1.1083        .12501        .33710E-04   -.89201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01229e-10
Minuit parameter uncertainties:
  1  0.000147403
  2  3.24925
  3  3.67697e-06
  4  0.000357632
  5  9.31925e-05
  6  15.4822
  7  35.2197
  8  1.38593e-05
  9  8.34533e-06
  10  12.9896
  11  12.004
  12  4.31671
  13  2.73498e-06
  14  8.26928
  15  5.0184e-06
  16  1.53194
  17  0.829519
  18  0.199656
  19  0.125045
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  3.747e+00  1.299e+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.108e+00  1.250e-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:  6.878e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/378522/likelihoodResults_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.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) = 7306.40568729
delta logL = 0.019109669197

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7306.3929136
delta logL = 0.0318833636566

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.7276       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6654       1.0000          .0000       10.000    
     3 'Normalizat'    .68921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1075       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=   7306.393     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      220 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.7089        22.734        .38675E-02    .23740E-04
   2  Index         1.6662        1.2529        .28159E-01    .24406E-04
   3  Normalizat    .68920        .16890        .73845E-01    .32424E-04
   4  Prefactor     1.1075        .10884        .37309E-01   -.40323E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.70888
  Index      = 1.66619
  Normalizat = 0.689202
  Prefactor  = 1.10747
 **********
 **   18 **HESSE 
 **********

 FCN=   7306.393     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .86E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.7089        19.967        .15470E-03   -1.5190    
   2  Index         1.6662        1.1100        .11264E-02   -.72986    
   3  Normalizat    .68920        .19237        .32688E-03   -1.0432    
   4  Prefactor     1.1075        .12428        .16860E-03   -.89228    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56919e-14
Minuit parameter uncertainties:
  1  19.9865
  2  1.12709
  3  0.19256
  4  0.124311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378522': 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) = 7306.39291299
delta logL = 0.0318839681713

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  6.709e+00  1.999e+01  1.000e-04  1.000e+04 ( 1.000e-14)
258        Index:  1.666e+00  1.127e+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.107e+00  1.243e-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:  6.892e-01  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
Ra Dec: 144.475 -14.571

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/378522/cmap_HighResolution_650419201_650678401_4FGL_J0937.9-1434_daily_bin1586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.42e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2021-08-31 19:51:42.247886', job_id='378522', GAL2='1.11', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1630464702.25', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.19e-02', ts2='0.17', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1586' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 19:51:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0010>
Subject: Job 378522: <4FGL_J0937.9-1434_daily_bin1586> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1586> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 19:40:40 2021
Job was executed on host(s) <bullet0010>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 19:40:41 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:40:41 2021
Terminated at Tue Aug 31 19:51:43 2021
Results reported at Tue Aug 31 19:51:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1586 144.475 -14.5706 650419201 650678401 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 :                                   608.24 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   661 sec.
    Turnaround time :                            663 sec.

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

