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


Performing analysis on: 4FGL_J0939.3-1732_daily_bin1778
RA = 144.836, Dec = -17.5418
tmin = 700185601, tmax = 700444801
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='956092', job_status='RUN', time_executed='2023-03-14 00:31:50.388425', time_epoch_executed='1678779110.39' WHERE source_name='4FGL J0939.3-1732' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/956092

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/956092/ft1_4FGL_J0939.3-1732_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/956092/ft1_4FGL_J0939.3-1732_daily_bin1778.fits outfile=/scratch/kocevski/956092/ft1_filteredMKT_4FGL_J0939.3-1732_daily_bin1778.fits ra=144.836 dec=-17.5418 rad=12.0 tmin=700185601.0 tmax=700444801.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.91
user 3.71
sys 0.19

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

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

Number of photons that the gtmktime cut: 636

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/956092/ltcube_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.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/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits
.....................!
real 11.73
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/956092/ltcube_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits outfile=/scratch/kocevski/956092/expmap_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.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/956092/ltcube_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits
.....................!
real 190.91
user 185.43
sys 5.18

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/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits scfile=/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits outfile=/scratch/kocevski/956092/cmap_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits scfile=/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits outfile=/scratch/kocevski/956092/cmap_HighResolution_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.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.53
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/956092/Model_4FGL_J0939.3-1732_daily_bin1778.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/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits.....................!
real 72.53
user 71.21
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits', '/scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits', expMap='/scratch/kocevski/956092/expmap_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits', expCube='/scratch/kocevski/956092/ltcube_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/956092/Model_4FGL_J0939.3-1732_daily_bin1778.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/956092/ft1_filtered_4FGL_J0939.3-1732_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/956092/ft2_4FGL_J0939.3-1732_daily_bin1778.fits
Exposure map: /scratch/kocevski/956092/expmap_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits
Exposure cube: /scratch/kocevski/956092/ltcube_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/956092/Model_4FGL_J0939.3-1732_daily_bin1778.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) = 7011.97950883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7436       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13238E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10054E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    7.4769       1.0000          .0000       .10000E+07
     5 'Prefactor '    .32349E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55565E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .53666E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .14337E-03   1.0000          .0000       .10000E+07
     9 'norm      '    .24092E-05   1.0000          .0000       .10000E+07
    10 'norm      '    .22250E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .24069E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .24928       1.0000          .0000       .10000E+07
    13 'norm      '    .13199E-04   1.0000          .0000       .10000E+07
    14 'norm      '    1.8189       1.0000          .0000       .10000E+07
    15 'Prefactor '    .95204E-03   1.0000          .0000       .10000E+07
    16 'Normalizat'    .98583       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0662       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=   7011.942     FROM MIGRAD    STATUS=CONVERGED    132 CALLS      970 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7412        7.3738       -.19347E-06   -.85448E-03
   2  Prefactor     .85709E-07    8.2797        .79048E-07** at limit **
   3  Prefactor     .49960E-09    3.0081        .22300E-06** at limit **
   4  Prefactor     7.7185        18.996        .11010E-06   -.56992E-01
   5  Prefactor     .16653E-09    12.761        .20666E-06** at limit **
   6  Prefactor     .11300E-05    10.131        .19558E-06** at limit **
   7  Prefactor     .24863E-06    3.6593        .33624E-07** at limit **
   8  norm          .90483E-08    3.5851       -.57304E-07** at limit **
   9  norm          .58509E-07    5.2778        .57934E-07** at limit **
  10  norm          .11102E-09    1.9812        .16590E-06** at limit **
  11  norm          .52625E-07    4.1253        .19515E-07** at limit **
  12  norm          .24778        1.9677        .24573E-07** at limit **
  13  norm          .50515E-08    3.3617       -.12184E-06** at limit **
  14  norm          1.8205        1.4078        .23222E-07    .23332E-02
  15  Prefactor     .11674E-05    13.181        .75431E-07** at limit **
  16  Normalizat    .98600        .23180        .20321E-05   -.29866E-04
  17  Prefactor     1.0660        .13216       -.14178E-05   -.15513E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.74122
  Prefactor  = 8.57092e-08
  Prefactor  = 4.996e-10
  Prefactor  = 7.71847
  Prefactor  = 1.66533e-10
  Prefactor  = 1.12998e-06
  Prefactor  = 2.48634e-07
  norm       = 9.04832e-09
  norm       = 5.85088e-08
  norm       = 1.11022e-10
  norm       = 5.26246e-08
  norm       = 0.247785
  norm       = 5.05151e-09
  norm       = 1.82046
  Prefactor  = 1.1674e-06
  Normalizat = 0.986001
  Prefactor  = 1.06598
 **********
 **   18 **HESSE 
 **********

 FCN=   7011.942     FROM HESSE     STATUS=OK           253 CALLS     1223 TOTAL
                     EDM=   .89E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7412        7.3948        .61439E-03   -1.5675    
   2  Prefactor     .85709E-07    9.1880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49960E-09    3.0103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.7185        33.663        .36654E-03   -1.5652    
   5  Prefactor     .16653E-09    12.660        .16329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11300E-05    12.621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24863E-06    6.2439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .90483E-08    3.5996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .58509E-07    5.5798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .11102E-09    1.9788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .52625E-07    7.0976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .24778        1.1160        .32493E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .50515E-08    3.3696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.8205        1.4193        .77403E-03   -1.5681    
  15  Prefactor     .11674E-05    15.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    .98600        .20056        .72160E-01   -.93501    
  17  Prefactor     1.0660        .11297        .39040E-01   -.90562    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.92053e-07
Minuit parameter uncertainties:
  1  7.39485
  2  0.00177469
  3  7.58542e-05
  4  32.2386
  5  8.87796e-05
  6  0.00755298
  7  0.00249189
  8  0.000360628
  9  0.00114291
  10  2.61797e-05
  11  0.00122236
  12  1.05174
  13  0.000260706
  14  1.41935
  15  0.008416
  16  0.20071
  17  0.112999
Done.

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

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  2.486e-07  2.492e-03  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:  1.066e+00  1.130e-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.860e-01  2.007e-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: 6.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/956092/likelihoodResults_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.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) = 7011.9461448
delta logL = -0.00423619030425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7011.94190859
delta logL = 1.06210791273e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49405E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.4185       1.0000          .0000       10.000    
     3 'Normalizat'    .98599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0660       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=   7011.942     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      250 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    .22467        .42118E-03** at limit **
   2  Index         .65008        8.5413        .50000       -.91859E-09
   3  Normalizat    .98600        .22139E-02    .72160E-01    .23972E-03
   4  Prefactor     1.0660        .12643E-02    .39053E-01    .12872E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Index      = 0.650075
  Normalizat = 0.986003
  Prefactor  = 1.06597
 **********
 **   18 **HESSE 
 **********

 FCN=   7011.942     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      277 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    1.1207        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65008        8.0362        .50000       -1.0552    
   3  Normalizat    .98600        .49388E-02    .31927E-03   -.93501    
   4  Prefactor     1.0660        .28248E-02    .17524E-03   -.90562    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18116e-12
Minuit parameter uncertainties:
  1  3.74558e-05
  2  42914.7
  3  0.00493885
  4  0.00282481
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/956092': 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) = 7011.94190859
delta logL = 1.96932887775e-08

Extracting fit parameters...

4FGL J0939.3-1732
   Spectrum: PowerLaw
260    Prefactor:  3.331e-10  3.746e-05  0.000e+00  1.000e+06 ( 1.000e-13)
261        Index:  6.501e-01  4.291e+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:  1.066e+00  2.825e-03  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.860e-01  4.939e-03  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/956092/cmap_HighResolution_700185601_700444801_4FGL_J0939.3-1732_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.41e-08', time_completed='2023-03-14 00:40:22.208430', job_id='956092', GAL2='1.07', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1678779622.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.97e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1778' AND source_name='4FGL J0939.3-1732' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:40:22 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 956092: <4FGL_J0939.3-1732_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0939.3-1732_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:30:22 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:30:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:30:23 2023
Terminated at Tue Mar 14 00:40:23 2023
Results reported at Tue Mar 14 00:40:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0939.3-1732_daily_bin1778 144.836 -17.5418 700185601 700444801 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 :                                   514.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

