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


Performing analysis on: 4FGL_J0939.3-1732_daily_bin1761
RA = 144.836, Dec = -17.5418
tmin = 695779201, tmax = 696038401
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='915226', job_status='RUN', time_executed='2023-01-22 00:39:24.823930', time_epoch_executed='1674376764.82' WHERE source_name='4FGL J0939.3-1732' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915226

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915226/ft1_4FGL_J0939.3-1732_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915226/ft1_4FGL_J0939.3-1732_daily_bin1761.fits outfile=/scratch/kocevski/915226/ft1_filteredMKT_4FGL_J0939.3-1732_daily_bin1761.fits ra=144.836 dec=-17.5418 rad=12.0 tmin=695779201.0 tmax=696038401.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 5.19
user 4.87
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.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/915226/ft1_filteredMKT_4FGL_J0939.3-1732_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 669

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/915226/ltcube_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.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/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits
.....................!
real 15.15
user 14.74
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/915226/ltcube_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits outfile=/scratch/kocevski/915226/expmap_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.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/915226/ltcube_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits
.....................!
real 193.68
user 187.41
sys 5.44

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0939.3-1732 @ 144.836 -17.5418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits outfile=/scratch/kocevski/915226/cmap_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.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.836 yref=-17.5418 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.61
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits outfile=/scratch/kocevski/915226/cmap_HighResolution_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.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.836 yref=-17.5418 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/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915226/Model_4FGL_J0939.3-1732_daily_bin1761.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/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits.....................!
real 79.98
user 78.42
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits', '/scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits', expMap='/scratch/kocevski/915226/expmap_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits', expCube='/scratch/kocevski/915226/ltcube_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915226/Model_4FGL_J0939.3-1732_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0939.3-1732'

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  3.013e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/915226/ft1_filtered_4FGL_J0939.3-1732_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/915226/ft2_4FGL_J0939.3-1732_daily_bin1761.fits
Exposure map: /scratch/kocevski/915226/expmap_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits
Exposure cube: /scratch/kocevski/915226/ltcube_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915226/Model_4FGL_J0939.3-1732_daily_bin1761.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) = 7272.45148709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9527       1.0000          .0000       .10000E+07
     2 'Prefactor '    .58856E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26229E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    96.957       1.0000          .0000       .10000E+07
     5 'Prefactor '    .23648       1.0000          .0000       .10000E+07
     6 'Prefactor '    35.149       1.0000          .0000       .10000E+07
     7 'Prefactor '    .34129E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .70683       1.0000          .0000       .10000E+07
     9 'norm      '    18.122       1.0000          .0000       .10000E+07
    10 'norm      '    .18381E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .15849E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .51159E-06   1.0000          .0000       .10000E+07
    13 'norm      '    13.065       1.0000          .0000       .10000E+07
    14 'norm      '    .84428       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.8833       1.0000          .0000       .10000E+07
    16 'Normalizat'    .99431       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .96386       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7272.451     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1257 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8703        5.2326       -.16720E-06    .67410E-03
   2  Prefactor     .16653E-08    5.0774        .31929E-06** at limit **
   3  Prefactor     .11935E-07    2.2963       -.22625E-06** at limit **
   4  Prefactor     97.373        46.592        .15563E-06   -.43482E-02
   5  Prefactor     .32535E-06    14.319       -.37982E-05** at limit **
   6  Prefactor     35.107        3.5433        .28303E-07   -.26116E-01
   7  Prefactor     .55511E-10    8.6991        .39866E-06** at limit **
   8  norm          .70500        3.8773        .13483E-05    .18250E-01
   9  norm          18.130        2.4330       -.25547E-06   -.27417E-01
  10  norm          .97145E-08    2.5061        .61513E-06** at limit **
  11  norm          .44409E-09    3.5321        .51248E-08** at limit **
  12  norm           .0000        .78184       -.45583E-07** at limit **
  13  norm          13.078        4.9707       -.70961E-06    .17777E-01
  14  norm          .84182        1.2719        .66323E-07   -.67039E-03
  15  Prefactor     6.8953        6.0246        .31162E-07    .35861E-03
  16  Normalizat    .99427        .22682       -.36894E-06    .79040E-05
  17  Prefactor     .96394        .12430        .22554E-06   -.96252E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.87035
  Prefactor  = 1.66533e-09
  Prefactor  = 1.19349e-08
  Prefactor  = 97.373
  Prefactor  = 3.25351e-07
  Prefactor  = 35.1069
  Prefactor  = 5.55112e-11
  norm       = 0.704998
  norm       = 18.1303
  norm       = 9.71445e-09
  norm       = 4.44089e-10
  norm       = 0
  norm       = 13.0779
  norm       = 0.841823
  Prefactor  = 6.89533
  Normalizat = 0.99427
  Prefactor  = 0.963942
 **********
 **   18 **HESSE 
 **********

 FCN=   7272.451     FROM HESSE     STATUS=OK           257 CALLS     1514 TOTAL
                     EDM=   .60E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8703        5.2493        .59075E-03   -1.5674    
   2  Prefactor     .16653E-08    5.1766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11935E-07    2.8285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     97.373        46.637        .10156E-03   -1.5511    
   5  Prefactor     .32535E-06    36.692        .11159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     35.107        38.633        .16869E-03   -1.5589    
   7  Prefactor     .55511E-10    8.6975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .70500        5.4064        .60155E-03   -1.5691    
   9  norm          18.130        8.7380        .23500E-03   -1.5623    
  10  norm          .97145E-08    2.9687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44409E-09    3.5448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .78175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          13.078        10.812        .27687E-03   -1.5636    
  14  norm          .84182        1.2812        .49691E-03   -1.5690    
  15  Prefactor     6.8953        6.0297        .38217E-03   -1.5655    
  16  Normalizat    .99427        .19672        .71629E-01   -.93223    
  17  Prefactor     .96394        .10649        .45814E-01   -.93941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04293e-08
Minuit parameter uncertainties:
  1  5.24935
  2  0.000186386
  3  0.000367308
  4  46.637
  5  0.00691038
  6  38.6338
  7  3.76588e-05
  8  3.9046
  9  8.73796
  10  0.000339697
  11  8.07259e-05
  12  2.04799e-06
  13  10.8123
  14  1.28116
  15  6.02975
  16  0.19686
  17  0.106514
Done.

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

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  5.551e-11  3.766e-05  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.263e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  9.639e-01  1.065e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.943e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 144.836 -17.542
Photon Flux Upper Limit: 7.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915226/likelihoodResults_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.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) = 7272.5067767
delta logL = -0.0558850734551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7272.45090076
delta logL = -9.13443091122e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13839E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .90166       1.0000          .0000       10.000    
     3 'Normalizat'    .99474       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7272.451     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      231 TOTAL
                     EDM=   .20E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .40698E-01    .42118E-03** at limit **
   2  Index         2.1533        5.9321        .45026        .50498E-11
   3  Normalizat    .99427        .33709E-03    .71629E-01    .44686E-04
   4  Prefactor     .96394        .18915E-03    .45810E-01   -.39284E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.15334
  Normalizat = 0.994273
  Prefactor  = 0.96394
 **********
 **   18 **HESSE 
 **********

 FCN=   7272.451     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      260 TOTAL
                     EDM=   .41E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .15298        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1533        6.2922        .51000       -.60569    
   3  Normalizat    .99427        .65207E-03    .31691E-03   -.93223    
   4  Prefactor     .96394        .36637E-03    .17938E-03   -.93941    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.06165e-14
Minuit parameter uncertainties:
  1  5.38273e-06
  2  18011.8
  3  0.000652065
  4  0.000366366
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915226': 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) = 7272.45089162
delta logL = -1.61890056916e-10

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  5.551e-11  5.383e-06  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  2.153e+00  1.801e+04  0.000e+00  1.000e+01 (-1.000e+00)
262        Scale:  1.278e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  9.639e-01  3.664e-04  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  9.943e-01  6.521e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 144.836 -17.542

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/915226/cmap_HighResolution_695779201_696038401_4FGL_J0939.3-1732_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.76e-03', job_status='DONE', photon_flux_upper_limit='7.53e-08', time_completed='2023-01-22 00:49:10.841838', job_id='915226', GAL2='0.96', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1674377350.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='-1.62e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1761' AND source_name='4FGL J0939.3-1732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 00:49:10 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 915226: <4FGL_J0939.3-1732_daily_bin1761> in cluster <slac> Done

Job <4FGL_J0939.3-1732_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 00:35:17 2023
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 00:36:39 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 00:36:39 2023
Terminated at Sun Jan 22 00:49:11 2023
Results reported at Sun Jan 22 00:49:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0939.3-1732_daily_bin1761 144.836 -17.5418 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0939.3-1732 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.61 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             265.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            834 sec.

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

