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 149 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).
nnumber of points = 17215
number of fields = 31
RA_SUN column already exists. File will not be modified.Done.


Performing analysis on: 4FGL_J0931.2-8533_weekly_bin721
RA = 142.818, Dec = -85.5626
tmin = 675043201, tmax = 675648001
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='265323', job_status='RUN', time_executed='2022-05-31 00:37:17.425913', time_epoch_executed='1653982637.43' WHERE source_name='4FGL J0931.2-8533' and cadence='weekly' and bin_id='721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/265323

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/265323/ft1_4FGL_J0931.2-8533_weekly_bin721.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/265323/ft1_4FGL_J0931.2-8533_weekly_bin721.fits outfile=/scratch/kocevski/265323/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin721.fits ra=142.818 dec=-85.5626 rad=12.0 tmin=675043201.0 tmax=675648001.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 7.58
user 7.25
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.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/265323/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin721.fits evtable="EVENTS" outfile="/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.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.58
user 0.38
sys 0.18

Number of photons that the gtmktime cut: 2653

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits" evtable="EVENTS" scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits sctable="SC_DATA" outfile=/scratch/kocevski/265323/ltcube_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.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/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits
.....................!
real 34.19
user 33.68
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits sctable="SC_DATA" expcube=/scratch/kocevski/265323/ltcube_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits outfile=/scratch/kocevski/265323/expmap_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.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/265323/ltcube_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits
.....................!
real 192.39
user 187.20
sys 4.80

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
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-FarWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-FarWest.fits is the correct path to the extended template.
Extended source LMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-Galaxy.fits is the correct path to the extended template.
Extended source LMC-30DorWest in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-30DorWest.fits is the correct path to the extended template.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 181 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0931.2-8533 @ 142.818 -85.5626

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits outfile=/scratch/kocevski/265323/cmap_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.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=142.818 yref=-85.5626 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.59
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits outfile=/scratch/kocevski/265323/cmap_HighResolution_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.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=142.818 yref=-85.5626 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.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits evtable="EVENTS" scfile=/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/265323/Model_4FGL_J0931.2-8533_weekly_bin721.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
adding source LMC-30DorWest
adding source LMC-FarWest
adding source LMC-Galaxy
adding source LMC-North
adding source SMC-Galaxy
Working on...
/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits.....................!
real 23165.71
user 23104.12
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits', '/scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits', expMap='/scratch/kocevski/265323/expmap_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits', expCube='/scratch/kocevski/265323/ltcube_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/265323/Model_4FGL_J0931.2-8533_weekly_bin721.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0931.2-8533'

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  7.409e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.533e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/265323/ft1_filtered_4FGL_J0931.2-8533_weekly_bin721.fits
Spacecraft file(s): /scratch/kocevski/265323/ft2_4FGL_J0931.2-8533_weekly_bin721.fits
Exposure map: /scratch/kocevski/265323/expmap_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits
Exposure cube: /scratch/kocevski/265323/ltcube_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/265323/Model_4FGL_J0931.2-8533_weekly_bin721.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) = 27285.8250124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3178       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.7298       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7846       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.491       1.0000         .10000E-03   10000.    
     9 'norm      '    16.859       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.478       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.3658       1.0000         .10000E-03   10000.    
    12 'norm      '    .80531       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.962       1.0000         .10000E-03   10000.    
    15 'norm      '    22.019       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .84902       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.8170       1.0000         .10000E-03   10000.    
    19 'Prefactor '    21.324       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .66221       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27285.73     FROM MIGRAD    STATUS=CONVERGED    433 CALLS     2219 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3171        3.8916        .71528E-07   -.21665E-02
   2  Prefactor     4.7290        28.731       -.34530E-05   -.15026E-04
   3  Prefactor     2.7839        1.9086        .30538E-06   -.58751E-02
   4  Prefactor     .10000E-03    2.6423        .72352E-07** at limit **
   5  Prefactor     .10000E-03    32.304        .18275E-05** at limit **
   6  Prefactor     .10000E-03    9.1029        .80900E-06** at limit **
   7  norm          .10000E-03    1.2272       -.26574E-06** at limit **
   8  Prefactor     19.491        19.637       -.39253E-06   -.10460E-04
   9  norm          16.859        7.9868       -.11265E-06   -.29904E-04
  10  Prefactor     10.477        7.1776       -.40778E-07   -.40535E-04
  11  Prefactor     9.3666        13.526        .15846E-05   -.13141E-04
  12  norm          .80525        2.2609       -.33753E-07   -.10110E-02
  13  Prefactor     .10000E-03    1.9701        .54749E-06** at limit **
  14  Prefactor     16.945        23.967       -.20753E-04   -.25298E-03
  15  norm          22.019        15.578       -.27910E-06   -.30376E-04
  16  Prefactor     .85118        1.9127        .16229E-05   -.37519E-04
  17  Prefactor     .10000E-03    3.5838       -.30083E-07** at limit **
  18  norm          4.8169        3.1736       -.85465E-06   -.25508E-03
  19  Prefactor     21.324        23.144       -.12053E-06   -.59068E-05
  20  Normalizat    .66229        .16039        .50060E-05   -.13517E-03
  21  Prefactor     1.1107        .48085E-01   -.59422E-06   -.18484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.31713
  Prefactor  = 4.72904
  Prefactor  = 2.78388
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.4906
  norm       = 16.8587
  Prefactor  = 10.4769
  Prefactor  = 9.36661
  norm       = 0.805249
  Prefactor  = 0.0001
  Prefactor  = 16.9452
  norm       = 22.0189
  Prefactor  = 0.85118
  Prefactor  = 0.0001
  norm       = 4.81685
  Prefactor  = 21.3237
  Normalizat = 0.662289
  Prefactor  = 1.11066
 **********
 **   18 **HESSE 
 **********

 FCN=   27285.73     FROM HESSE     STATUS=OK           321 CALLS     2540 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3171        4.0953        .11112E-02   -1.5344    
   2  Prefactor     4.7290        28.675        .18502E-03   -1.5273    
   3  Prefactor     2.7839        3.5669        .12192E-02   -1.5374    
   4  Prefactor     .10000E-03    2.6459        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.4146        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.2620        .35722E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.491        19.627        .90722E-04   -1.4825    
   9  norm          16.859        7.9859        .97545E-04   -1.4887    
  10  Prefactor     10.477        7.1740        .12378E-03   -1.5060    
  11  Prefactor     9.3666        13.507        .13095E-03   -1.5096    
  12  norm          .80525        2.3167        .40600E-03   -1.5529    
  13  Prefactor     .10000E-03    2.0415        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.945        24.094        .97249E-04   -1.4884    
  15  norm          22.019        15.582        .85359E-04   -1.4769    
  16  Prefactor     .85118        1.9075        .32730E-03   -1.5523    
  17  Prefactor     .10000E-03    3.7115        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.8169        3.1683        .18330E-03   -1.5269    
  19  Prefactor     21.324        23.121        .86739E-04   -1.4784    
  20  Normalizat    .66229        .17211        .54625E-03   -1.0540    
  21  Prefactor     1.1107        .51829E-01    .13643E-03   -.89127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.85336e-08
Minuit parameter uncertainties:
  1  4.09566
  2  23.3063
  3  3.5672
  4  3.04977e-06
  5  5.76808e-05
  6  6.01417e-05
  7  5.12211e-06
  8  19.633
  9  7.98641
  10  7.17459
  11  13.5111
  12  2.31697
  13  2.02833e-05
  14  24.1076
  15  15.5851
  16  1.90768
  17  5.07295e-06
  18  3.16844
  19  23.131
  20  0.172246
  21  0.0518316
Done.

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

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  9.367e+00  1.351e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.533e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.111e+00  5.183e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  6.623e-01  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.56
Ra Dec: 142.818 -85.563
Photon Flux Upper Limit: 6.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/265323/likelihoodResults_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.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) = 27282.3763345
delta logL = 3.35469015704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27282.2964093
delta logL = 3.43461537183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13273       1.0000         .10000E-03   10000.    
     2 'Index     '    .30149E-05   1.0000          .0000       10.000    
     3 'Normalizat'    .67024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1114       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6150E+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=   27282.30     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      368 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13273        .15959        .97603E-03   -.27232E-02
   2  Index         .29399E-11    .32129        .47946    ** at limit **
   3  Normalizat    .67006        .15924        .54300E-03   -.37937E-04
   4  Prefactor     1.1114        .50894E-01    .13637E-03   -.26743E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.132728
  Index      = 2.93987e-12
  Normalizat = 0.670058
  Prefactor  = 1.11142
 **********
 **   18 **HESSE 
 **********

 FCN=   27282.30     FROM HESSE     STATUS=OK            31 CALLS      399 TOTAL
                     EDM=   .76E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13273        .15433        .39041E-04   -1.5635    
   2  Index         .29399E-11    .29608        .48682       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .67006        .15927        .21720E-04   -1.0509    
   4  Prefactor     1.1114        .50905E-01    .54549E-05   -.89102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.61831e-12
Minuit parameter uncertainties:
  1  0.154332
  2  1.87529e-06
  3  0.159377
  4  0.0509069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/265323': 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) = 27282.2964081
delta logL = 3.43461650476

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  1.327e-01  1.543e-01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.940e-12  1.875e-06  0.000e+00  1.000e+01 (-1.000e+00)
222        Scale:  9.301e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.111e+00  5.091e-02  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  6.701e-01  1.594e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.43
Ra Dec: 142.818 -85.563
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 1.33e-09 +/- 1.54e-09
Energy Flux (Free Index): 6.65e-05 +/- 7.72e-05

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/265323/cmap_HighResolution_675043201_675648001_4FGL_J0931.2-8533_weekly_bin721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', comment='SUCCESS', energy_flux2='6.65e-05', dlogl='3.43e+00', photon_flux2='1.33e-09', job_status='DONE', time_completed='2022-05-31 07:33:00.577434', photon_index_error2='0.00', photon_index2='0.00', ts='0.56', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='6.97e-08', energy_flux_error2='7.72e-05', EG='0.66', time_epoch_completed='1654007580.58', return_code='0', job_id='265323', GAL2='1.11', EG2='0.67', return_code2='0', photon_flux_error2='1.54e-09', ts2='7.43', photon_index='2.53' WHERE bin_id='721' AND source_name='4FGL J0931.2-8533' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 31 07:33:00 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 265325: <4FGL_J0931.2-8533_weekly_bin721> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin721> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue May 31 00:05:36 2022
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 31 00:35:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 31 00:35:35 2022
Terminated at Tue May 31 07:30:38 2022
Results reported at Tue May 31 07:30:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin721 142.818 -85.5626 675043201 675648001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0931.2-8533 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   24699.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             606.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   24902 sec.
    Turnaround time :                            26702 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 265323: <4FGL_J0931.2-8533_weekly_bin721> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin721> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue May 31 00:05:36 2022
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 31 00:35:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 31 00:35:33 2022
Terminated at Tue May 31 07:33:01 2022
Results reported at Tue May 31 07:33:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin721 142.818 -85.5626 675043201 675648001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0931.2-8533 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   24899.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             604.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   25047 sec.
    Turnaround time :                            26845 sec.

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

