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


Performing analysis on: 4FGL_J0937.9-1434_weekly_bin759
RA = 144.475, Dec = -14.5706
tmin = 698025601, tmax = 698630401
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='585524', job_status='RUN', time_executed='2023-02-21 03:16:58.800778', time_epoch_executed='1676978218.8' WHERE source_name='4FGL J0937.9-1434' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585524

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585524/ft1_4FGL_J0937.9-1434_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585524/ft1_4FGL_J0937.9-1434_weekly_bin759.fits outfile=/scratch/kocevski/585524/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin759.fits ra=144.475 dec=-14.5706 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.66
user 8.33
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.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/585524/ft1_filteredMKT_4FGL_J0937.9-1434_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.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.55
user 0.37
sys 0.17

Number of photons that the gtmktime cut: 1040

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/585524/ltcube_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.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/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits
.....................!
real 29.10
user 27.73
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/585524/ltcube_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.fits outfile=/scratch/kocevski/585524/expmap_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.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/585524/ltcube_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.fits
.....................!
real 192.90
user 185.37
sys 5.09

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/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits outfile=/scratch/kocevski/585524/cmap_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits outfile=/scratch/kocevski/585524/cmap_HighResolution_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/585524/ft2_4FGL_J0937.9-1434_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585524/Model_4FGL_J0937.9-1434_weekly_bin759.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/585524/ft1_filtered_4FGL_J0937.9-1434_weekly_bin759.fits....................!
real 118.98
user 117.50
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.5538       1.0000          .0000       .10000E+07
     2 'norm      '    2.2175       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27756E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.2856       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14165E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .52336E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    53.468       1.0000          .0000       .10000E+07
     8 'Prefactor '    .27089E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.2387       1.0000          .0000       .10000E+07
    10 'Prefactor '    .35856E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    22.453       1.0000          .0000       .10000E+07
    12 'norm      '    4.4567       1.0000          .0000       .10000E+07
    13 'norm      '    .75495E-08   1.0000          .0000       .10000E+07
    14 'norm      '    6.0881       1.0000          .0000       .10000E+07
    15 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    16 'norm      '     .0000       1.0000          .0000       .10000E+07
    17 'norm      '    2.4838       1.0000          .0000       .10000E+07
    18 'Normalizat'    .93083       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0160       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=   11942.97     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1627 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.5551        7.5716       -.96410E-06    .46224E-01
   2  norm          2.2173        2.0526       -.59358E-07   -.56279E-02
   3  Prefactor      .0000        7.0425       -.96914E-06** at limit **
   4  Prefactor     6.2879        5.4890        .12207E-05    .78649E-01
   5  Prefactor     .33307E-09    3.0642       -.56534E-06** at limit **
   6  Prefactor     .44964E-07    16.524       -.17064E-05** at limit **
   7  Prefactor     53.476        3.7924       -.31200E-06    .59793E-01
   8  Prefactor      .0000        28.394        .12292E-05** at limit **
   9  Prefactor     4.2394        1.0484       -.88893E-07    .15659E-02
  10  Prefactor     .44409E-07    17.462        .57334E-05** at limit **
  11  Prefactor     22.449        3.4362       -.10233E-06   -.10426    
  12  norm          4.4501        5.9386       -.11199E-06    .61138E-02
  13  norm          .55511E-10    2.0039       -.44048E-06** at limit **
  14  norm          6.0882        6.4014       -.23502E-06    .45241E-02
  15  norm           .0000        .45825        .42338E-06** at limit **
  16  norm          .61062E-09    2.2758       -.77159E-07** at limit **
  17  norm          2.4839        1.1496       -.25729E-06    .21279E-02
  18  Normalizat    .93075        .17987       -.14033E-04   -.25156E-03
  19  Prefactor     1.0160        .10258        .49869E-05   -.31888E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.55506
  norm       = 2.21732
  Prefactor  = 0
  Prefactor  = 6.28795
  Prefactor  = 3.33067e-10
  Prefactor  = 4.4964e-08
  Prefactor  = 53.4762
  Prefactor  = 0
  Prefactor  = 4.23944
  Prefactor  = 4.44089e-08
  Prefactor  = 22.449
  norm       = 4.45005
  norm       = 5.55112e-11
  norm       = 6.08818
  norm       = 0
  norm       = 6.10623e-10
  norm       = 2.4839
  Normalizat = 0.930754
  Prefactor  = 1.01603
 **********
 **   18 **HESSE 
 **********

 FCN=   11942.97     FROM HESSE     STATUS=OK           306 CALLS     1933 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.5551        9.4652        .32398E-03   -1.5646    
   2  norm          2.2173        2.1247        .69034E-03   -1.5678    
   3  Prefactor      .0000        6.9203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.2879        7.9643        .40014E-03   -1.5658    
   5  Prefactor     .33307E-09    3.0667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44964E-07    17.104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     53.476        30.006        .13677E-03   -1.5562    
   8  Prefactor      .0000        28.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.2394        30.705        .48918E-03   -1.5667    
  10  Prefactor     .44409E-07    18.372        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     22.449        11.955        .21109E-03   -1.5613    
  12  norm          4.4501        5.9949        .47674E-03   -1.5666    
  13  norm          .55511E-10    2.0003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.0882        6.4100        .40667E-03   -1.5659    
  15  norm           .0000        .45877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .61062E-09    2.2816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4839        1.1566        .64838E-03   -1.5676    
  18  Normalizat    .93075        .15866        .75205E-01   -.95388    
  19  Prefactor     1.0160        .87924E-01    .42565E-01   -.92197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49181e-07
Minuit parameter uncertainties:
  1  9.46525
  2  2.12467
  3  7.63938e-06
  4  7.96428
  5  6.33936e-05
  6  0.00175394
  7  30.0057
  8  4.64341e-05
  9  22.8188
  10  0.00180618
  11  11.9548
  12  5.99495
  13  2.04238e-05
  14  6.41002
  15  9.7596e-07
  16  7.53949e-05
  17  1.15664
  18  0.158745
  19  0.087936
Done.

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

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  4.441e-08  1.806e-03  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.016e+00  8.794e-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:  9.308e-01  1.587e-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: 4.68e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585524/likelihoodResults_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.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) = 11942.9985555
delta logL = -0.026433136205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11942.8957081
delta logL = 0.0764141914806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59485       1.0000          .0000       .10000E+07
     2 'Index     '    3.2797       1.0000          .0000       10.000    
     3 'Normalizat'    .91139       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0211       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=   11942.90     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      244 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59487        53.333        .69690E-03    .20269E-01
   2  Index         3.2797        3.8131        .95698E-01    .43307E-03
   3  Normalizat    .91137        .33439E-01    .75913E-01    .41771E-04
   4  Prefactor     1.0211        .19018E-01    .42033E-01    .84406E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.594866
  Index      = 3.2797
  Normalizat = 0.911365
  Prefactor  = 1.0211
 **********
 **   18 **HESSE 
 **********

 FCN=   11942.90     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      275 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59487        178.54        .20362E-04   -1.5693    
   2  Index         3.2797        5.0131        .13210E-01   -.35124    
   3  Normalizat    .91137        .12745        .33597E-03   -.96062    
   4  Prefactor     1.0211        .71211E-01    .18221E-03   -.92029    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.12616e-07
Minuit parameter uncertainties:
  1  20.6122
  2  11.4772
  3  0.12749
  4  0.0712171
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585524': 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) = 11942.8957081
delta logL = 0.0764142117605

Extracting fit parameters...

4FGL J0937.9-1434
   Spectrum: PowerLaw
257    Prefactor:  5.949e-01  2.061e+01  0.000e+00  1.000e+06 ( 1.000e-14)
258        Index:  3.280e+00  1.148e+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:  1.021e+00  7.122e-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:  9.114e-01  1.275e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/585524/cmap_HighResolution_698025601_698630401_4FGL_J0937.9-1434_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-03', job_status='DONE', photon_flux_upper_limit='4.68e-08', time_completed='2023-02-21 03:30:06.795165', job_id='585524', GAL2='1.02', fit_tolerance='1e-08', EG2='0.91', EG='0.93', time_epoch_completed='1676979006.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='7.64e-02', ts2='0.16', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='759' AND source_name='4FGL J0937.9-1434' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:30:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 585524: <4FGL_J0937.9-1434_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0937.9-1434_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 03:15:20 2023
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:15:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:15:21 2023
Terminated at Tue Feb 21 03:30:07 2023
Results reported at Tue Feb 21 03:30:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0937.9-1434_weekly_bin759 144.475 -14.5706 698025601 698630401 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 :                                   784.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

