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 221 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).

number of points = 17482
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0931.2-8533_weekly_bin725
RA = 142.818, Dec = -85.5626
tmin = 677462401, tmax = 678067201
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='51404', job_status='RUN', time_executed='2022-06-28 00:44:15.423359', time_epoch_executed='1656402255.42' WHERE source_name='4FGL J0931.2-8533' and cadence='weekly' and bin_id='725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51404

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51404/ft1_4FGL_J0931.2-8533_weekly_bin725.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51404/ft1_4FGL_J0931.2-8533_weekly_bin725.fits outfile=/scratch/kocevski/51404/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin725.fits ra=142.818 dec=-85.5626 rad=12.0 tmin=677462401.0 tmax=678067201.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.94
user 5.67
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.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/51404/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin725.fits evtable="EVENTS" outfile="/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.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: 2739

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits" evtable="EVENTS" scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits sctable="SC_DATA" outfile=/scratch/kocevski/51404/ltcube_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.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/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits
.....................!
real 30.44
user 30.00
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits sctable="SC_DATA" expcube=/scratch/kocevski/51404/ltcube_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits outfile=/scratch/kocevski/51404/expmap_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.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/51404/ltcube_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits
.....................!
real 192.31
user 186.03
sys 4.65

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/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits outfile=/scratch/kocevski/51404/cmap_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.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.60
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits outfile=/scratch/kocevski/51404/cmap_HighResolution_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.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.59
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits evtable="EVENTS" scfile=/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/51404/Model_4FGL_J0931.2-8533_weekly_bin725.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/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits.....................!
real 24076.43
user 24011.11
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits', '/scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits', expMap='/scratch/kocevski/51404/expmap_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits', expCube='/scratch/kocevski/51404/ltcube_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51404/Model_4FGL_J0931.2-8533_weekly_bin725.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/51404/ft1_filtered_4FGL_J0931.2-8533_weekly_bin725.fits
Spacecraft file(s): /scratch/kocevski/51404/ft2_4FGL_J0931.2-8533_weekly_bin725.fits
Exposure map: /scratch/kocevski/51404/expmap_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits
Exposure cube: /scratch/kocevski/51404/ltcube_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51404/Model_4FGL_J0931.2-8533_weekly_bin725.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) = 28456.8688856

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1612       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.8351       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.9932       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.3986       1.0000         .10000E-03   10000.    
     9 'norm      '    11.061       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.1192       1.0000         .10000E-03   10000.    
    11 'Prefactor '    21.389       1.0000         .10000E-03   10000.    
    12 'norm      '    1.8514       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2270       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.828       1.0000         .10000E-03   10000.    
    15 'norm      '    .24830       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2291       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11570E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95855       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0083       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=   28456.86     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2304 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1413        13.411       -.20474E-05   -.26229E-04
   2  Prefactor     3.8203        80.362        .33398E-05    .24591E-04
   3  Prefactor     1.9910        4.5122        .11251E-06    .28189E-04
   4  Prefactor     .10000E-03    5.6730        .12551E-06** at limit **
   5  Prefactor     .10000E-03    11.347        .13453E-06** at limit **
   6  Prefactor     .10000E-03    5.0043        .34281E-06** at limit **
   7  norm          .10000E-03    .85663       -.11029E-06** at limit **
   8  Prefactor     2.3899        53.052       -.26851E-05    .28820E-05
   9  norm          11.060        6.0234       -.95834E-07    .18813E-04
  10  Prefactor     5.1164        6.8079       -.27853E-06    .40872E-05
  11  Prefactor     21.384        14.865       -.50938E-06    .10502E-04
  12  norm          1.8515        1.9914        .62114E-07   -.83322E-05
  13  Prefactor     2.2257        3.3570       -.32746E-07    .23567E-04
  14  Prefactor     33.808        27.068       -.25539E-05    .21489E-04
  15  norm          .14747E-03    10.631       -.79519E-06** at limit **
  16  Prefactor     3.2287        2.2699       -.58603E-08    .43820E-04
  17  Prefactor     .10000E-03    3.2751        .84920E-07** at limit **
  18  norm          .10000E-03    1.1054       -.50946E-07** at limit **
  19  Prefactor     .10000E-03    34.787        .23275E-06** at limit **
  20  Normalizat    .95884        .16306        .14414E-05    .17501E-04
  21  Prefactor     1.0083        .45619E-01   -.32872E-06    .42597E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.14134
  Prefactor  = 3.82026
  Prefactor  = 1.99104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.38989
  norm       = 11.0599
  Prefactor  = 5.1164
  Prefactor  = 21.3842
  norm       = 1.85148
  Prefactor  = 2.22575
  Prefactor  = 33.8077
  norm       = 0.00014747
  Prefactor  = 3.22866
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.958841
  Prefactor  = 1.00825
 **********
 **   18 **HESSE 
 **********

 FCN=   28456.86     FROM HESSE     STATUS=OK           333 CALLS     2637 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1413        13.183        .42749E-03   -1.5494    
   2  Prefactor     3.8203        77.041        .20609E-03   -1.5317    
   3  Prefactor     1.9910        4.5172        .14671E-02   -1.5426    
   4  Prefactor     .10000E-03    5.7120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.0901        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .87787        .30453E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.3899        52.599        .26440E-03   -1.5399    
   9  norm          11.060        6.0061        .12046E-03   -1.5043    
  10  Prefactor     5.1164        6.7952        .17770E-03   -1.5256    
  11  Prefactor     21.384        14.850        .86606E-04   -1.4783    
  12  norm          1.8515        1.9782        .23838E-03   -1.5436    
  13  Prefactor     2.2257        3.3417        .27551E-03   -1.5410    
  14  Prefactor     33.808        27.000        .68898E-04   -1.4544    
  15  norm          .14747E-03    10.149        .17523       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2287        2.2615        .20373E-03   -1.5349    
  17  Prefactor     .10000E-03    3.2999        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.5795        .34288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    35.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .95884        .17420        .47002E-03   -.94422    
  21  Prefactor     1.0083        .49865E-01    .13995E-03   -.92455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49889e-10
Minuit parameter uncertainties:
  1  7.75982
  2  34.3618
  3  4.518
  4  2.09666e-06
  5  2.99662e-06
  6  6.37266e-06
  7  1.12427e-06
  8  22.4458
  9  6.00641
  10  6.79627
  11  14.8526
  12  1.9783
  13  3.34197
  14  27.0096
  15  0.0439057
  16  2.26159
  17  4.25e-07
  18  1.52748e-05
  19  9.88779e-06
  20  0.174306
  21  0.0498671
Done.

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

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  2.138e+01  1.485e+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.008e+00  4.987e-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:  9.588e-01  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.93
Ra Dec: 142.818 -85.563
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 3.97e-08 +/- 2.75e-08
Energy Flux (Fixed Index): 1.11e-05 +/- 7.72e-06

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

Saving results to:
/scratch/kocevski/51404/likelihoodResults_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.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) = 28456.8619981
delta logL = 0.000618383397523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 28456.8615574
delta logL = 0.00105908722617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.917       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5029       1.0000          .0000       10.000    
     3 'Normalizat'    .96020       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0081       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=   28456.86     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      278 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.934        20.991        .85557E-04    .21792E-04
   2  Index         2.5012        .75814        .11251E-01    .41917E-04
   3  Normalizat    .96016        .16300        .46974E-03    .71639E-05
   4  Prefactor     1.0080        .49127E-01    .13997E-03    .10397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.9338
  Index      = 2.50116
  Normalizat = 0.960164
  Prefactor  = 1.00801
 **********
 **   18 **HESSE 
 **********

 FCN=   28456.86     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .50E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.934        19.112        .34223E-05   -1.4771    
   2  Index         2.5012        .68998        .45005E-03   -.52333    
   3  Normalizat    .96016        .16258        .18789E-04   -.94377    
   4  Prefactor     1.0080        .49074E-01    .55987E-05   -.92463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.97156e-13
Minuit parameter uncertainties:
  1  19.1176
  2  0.692932
  3  0.162663
  4  0.0490759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51404': 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) = 28456.8615464
delta logL = 0.00107010698412

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  2.193e+01  1.912e+01  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.501e+00  6.929e-01  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.008e+00  4.908e-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:  9.602e-01  1.627e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 142.818 -85.563
Photon Index (Free Index): 2.50 +/- 0.69
Photon Flux (Free Index): 3.87e-08 +/- 3.43e-08
Energy Flux (Free Index): 1.12e-05 +/- 8.12e-06

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/51404/cmap_HighResolution_677462401_678067201_4FGL_J0931.2-8533_weekly_bin725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', comment='SUCCESS', photon_flux='3.97e-08', energy_flux2='1.12e-05', photon_flux_error='2.75e-08', dlogl='1.07e-03', energy_flux='1.11e-05', photon_flux2='3.87e-08', job_status='DONE', time_completed='2022-06-28 07:56:39.755332', photon_index_error2='0.69', photon_index2='2.50', ts='2.93', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='9.37e-08', energy_flux_error2='8.12e-06', EG='0.96', time_epoch_completed='1656428199.76', return_code='0', job_id='51404', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='7.72e-06', photon_flux_error2='3.43e-08', ts2='2.93', photon_index='2.53' WHERE bin_id='725' AND source_name='4FGL J0931.2-8533' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun 28 07:56:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 51079: <4FGL_J0931.2-8533_weekly_bin725> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin725> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Jun 28 00:06:07 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 28 00:35:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 28 00:35:29 2022
Terminated at Tue Jun 28 07:45:32 2022
Results reported at Tue Jun 28 07:45:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin725 142.818 -85.5626 677462401 678067201 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 :                                   25506.00 sec.
    Max Memory :                                 1261 MB
    Average Memory :                             604.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   25802 sec.
    Turnaround time :                            27565 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 51404: <4FGL_J0931.2-8533_weekly_bin725> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin725> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jun 28 00:06:21 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jun 28 00:40:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jun 28 00:40:24 2022
Terminated at Tue Jun 28 07:56:40 2022
Results reported at Tue Jun 28 07:56:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin725 142.818 -85.5626 677462401 678067201 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 :                                   25898.00 sec.
    Max Memory :                                 633 MB
    Average Memory :                             603.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   26176 sec.
    Turnaround time :                            28219 sec.

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

