aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 34 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0937.9-1434_daily_bin1751
RA = 144.475, Dec = -14.5706
tmin = 693187201, tmax = 693446401
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='73846', job_status='RUN', time_executed='2022-12-23 00:26:11.018722', time_epoch_executed='1671783971.02' WHERE source_name='4FGL J0937.9-1434' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73846

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73846/ft1_4FGL_J0937.9-1434_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73846/ft1_4FGL_J0937.9-1434_daily_bin1751.fits outfile=/scratch/kocevski/73846/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1751.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.41
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.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/73846/ft1_filteredMKT_4FGL_J0937.9-1434_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.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.17

Number of photons that the gtmktime cut: 634

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73846/ltcube_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.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/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits
.....................!
real 12.50
user 12.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73846/ltcube_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits outfile=/scratch/kocevski/73846/expmap_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.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/73846/ltcube_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits
.....................!
real 191.63
user 185.67
sys 5.49

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/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits outfile=/scratch/kocevski/73846/cmap_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits outfile=/scratch/kocevski/73846/cmap_HighResolution_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.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.58
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73846/Model_4FGL_J0937.9-1434_daily_bin1751.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/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits.....................!
real 72.42
user 70.99
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits', '/scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits', expMap='/scratch/kocevski/73846/expmap_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits', expCube='/scratch/kocevski/73846/ltcube_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73846/Model_4FGL_J0937.9-1434_daily_bin1751.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  0.000e+00  1.000e+06 ( 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/73846/ft1_filtered_4FGL_J0937.9-1434_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73846/ft2_4FGL_J0937.9-1434_daily_bin1751.fits
Exposure map: /scratch/kocevski/73846/expmap_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73846/ltcube_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73846/Model_4FGL_J0937.9-1434_daily_bin1751.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 7062.8155956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.035       1.0000          .0000       .10000E+07
     2 'norm      '    .24314E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .14932E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15384E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .76811E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .28039E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11088E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5236       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.3056       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.9506       1.0000          .0000       .10000E+07
    11 'Prefactor '    .28301E-03   1.0000          .0000       .10000E+07
    12 'norm      '    3.6637       1.0000          .0000       .10000E+07
    13 'norm      '    .12246E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .77018E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .24231       1.0000          .0000       .10000E+07
    16 'norm      '    10.388       1.0000          .0000       .10000E+07
    17 'norm      '    1.1335       1.0000          .0000       .10000E+07
    18 'Normalizat'    .82685       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0888       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5370E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7062.760     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1151 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.996        9.7938       -.56717E-07   -.10059E-01
   2  norm           .0000        .66477        .11858E-06** at limit **
   3  Prefactor     .21094E-08    5.6676        .15842E-06** at limit **
   4  Prefactor     .27756E-09    5.1797        .21965E-06** at limit **
   5  Prefactor      .0000        1.6944       -.32239E-07** at limit **
   6  Prefactor     .66613E-09    6.6734        .30909E-07** at limit **
   7  Prefactor     .61062E-09    22.022        .30398E-06** at limit **
   8  Prefactor     4.5839        1.3916       -.70313E-08   -.15680E-02
   9  Prefactor     11.374        34.580       -.19743E-06    .67506E-03
  10  Prefactor     8.7726        1.3426        .13157E-08    .16938E-01
  11  Prefactor     .16653E-09    12.193        .23271E-07** at limit **
  12  norm          3.6896        5.0285       -.23468E-07    .77150E-04
  13  norm           .0000        .89025       -.43530E-07** at limit **
  14  norm           .0000        2.4491        .12314E-06** at limit **
  15  norm          .24186        1.6383        .21068E-07** at limit **
  16  norm          10.391        2.7886        .79734E-08   -.41332E-01
  17  norm          1.1377        1.3140       -.66334E-07    .17459E-04
  18  Normalizat    .82371        .22871        .10149E-04   -.26717E-04
  19  Prefactor     1.0896        .13876       -.43848E-05   -.27335E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.9958
  norm       = 0
  Prefactor  = 2.10942e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 6.66134e-10
  Prefactor  = 6.10623e-10
  Prefactor  = 4.58388
  Prefactor  = 11.3741
  Prefactor  = 8.77264
  Prefactor  = 1.66533e-10
  norm       = 3.68957
  norm       = 0
  norm       = 0
  norm       = 0.241856
  norm       = 10.3908
  norm       = 1.13765
  Normalizat = 0.823706
  Prefactor  = 1.0896
 **********
 **   18 **HESSE 
 **********

 FCN=   7062.760     FROM HESSE     STATUS=OK           304 CALLS     1455 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.996        9.9421        .26710E-03   -1.5633    
   2  norm           .0000        .66553        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21094E-08    5.6909        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27756E-09    5.1750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.6953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .66613E-09    6.6846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .61062E-09    21.941        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.5839        52.457        .47311E-03   -1.5665    
   9  Prefactor     11.374        34.118        .32829E-03   -1.5641    
  10  Prefactor     8.7726        20.486        .33478E-03   -1.5649    
  11  Prefactor     .16653E-09    12.179        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.6896        5.2105        .52748E-03   -1.5670    
  13  norm           .0000        .88735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        2.4523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .24186        1.5624        .11066E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.391        13.225        .31063E-03   -1.5643    
  17  norm          1.1377        1.3420        .10953E-02   -1.5687    
  18  Normalizat    .82371        .19838        .72578E-01   -.99195    
  19  Prefactor     1.0896        .11768        .38029E-01   -.89800    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85911e-08
Minuit parameter uncertainties:
  1  9.94212
  2  9.60344e-07
  3  0.000220055
  4  7.52559e-05
  5  9.23432e-07
  6  0.000134234
  7  0.000236072
  8  31.0136
  9  34.1188
  10  20.4862
  11  9.65922e-05
  12  5.21051
  13  2.69944e-07
  14  9.36888e-07
  15  1.22944
  16  13.2253
  17  1.34201
  18  0.198553
  19  0.117705
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  8.773e+00  2.049e+01  0.000e+00  1.000e+06 ( 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.090e+00  1.177e-01  0.000e+00  1.000e+01 ( 1.000e+00)
535        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
536        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
533   Normalization:  8.237e-01  1.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/73846/likelihoodResults_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.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) = 7062.62902415
delta logL = 0.131451721174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7062.62635419
delta logL = 0.134121683991

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5389       1.0000          .0000       .10000E+07
     2 'Index     '    2.5573       1.0000          .0000       10.000    
     3 'Normalizat'    .81344       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0922       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=   7062.626     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      302 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5365        23.354        .18892E-04   -.49647E-02
   2  Index         2.5575        1.7445        .86841E-02   -.88409E-04
   3  Normalizat    .81345        .22409        .32301E-03    .35372E-04
   4  Prefactor     1.0922        .13820        .17448E-03    .17527E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.53646
  Index      = 2.55754
  Normalizat = 0.813446
  Prefactor  = 1.09216
 **********
 **   18 **HESSE 
 **********

 FCN=   7062.626     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5365        12.948        .75566E-06   -1.5665    
   2  Index         2.5575        1.1162        .34736E-03   -.51036    
   3  Normalizat    .81345        .22322        .12920E-04   -.99572    
   4  Prefactor     1.0922        .13790        .69793E-05   -.89718    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28192e-10
Minuit parameter uncertainties:
  1  12.9476
  2  1.12877
  3  0.223471
  4  0.137943
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73846': 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) = 7062.62635416
delta logL = 0.134121714269

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.536e+00  1.295e+01  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  2.558e+00  1.129e+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.092e+00  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:  8.134e-01  2.235e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -9.398e-02 [aplpy.core]
INFO: Auto-setting vmax to  1.043e+00 [aplpy.core]
Saving /scratch/kocevski/73846/cmap_HighResolution_693187201_693446401_4FGL_J0937.9-1434_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='6.02e-08', time_completed='2022-12-23 00:35:09.679035', job_id='73846', GAL2='1.09', fit_tolerance='1e-08', EG2='0.81', EG='0.82', time_epoch_completed='1671784509.68', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.34e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1751' AND source_name='4FGL J0937.9-1434' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:35:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 73846: <4FGL_J0937.9-1434_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0937.9-1434_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:28 2022
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:29 2022
Terminated at Fri Dec 23 00:35:10 2022
Results reported at Fri Dec 23 00:35:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_daily_bin1751 144.475 -14.5706 693187201 693446401 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 :                                   540.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             366.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            582 sec.

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

