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


Performing analysis on: 4FGL_J0931.2-8533_weekly_bin730
RA = 142.818, Dec = -85.5626
tmin = 680486401, tmax = 681091201
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='658292', job_status='RUN', time_executed='2022-08-02 01:03:03.030730', time_epoch_executed='1659427383.03' WHERE source_name='4FGL J0931.2-8533' and cadence='weekly' and bin_id='730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658292

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658292/ft1_4FGL_J0931.2-8533_weekly_bin730.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658292/ft1_4FGL_J0931.2-8533_weekly_bin730.fits outfile=/scratch/kocevski/658292/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin730.fits ra=142.818 dec=-85.5626 rad=12.0 tmin=680486401.0 tmax=681091201.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 6.31
user 5.99
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.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/658292/ft1_filteredMKT_4FGL_J0931.2-8533_weekly_bin730.fits evtable="EVENTS" outfile="/scratch/kocevski/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.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.56
user 0.40
sys 0.15

Number of photons that the gtmktime cut: 3607

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits" evtable="EVENTS" scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits sctable="SC_DATA" outfile=/scratch/kocevski/658292/ltcube_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.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/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits
.....................!
real 38.19
user 37.60
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits sctable="SC_DATA" expcube=/scratch/kocevski/658292/ltcube_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.fits outfile=/scratch/kocevski/658292/expmap_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.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/658292/ltcube_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.fits
.....................!
real 195.28
user 188.42
sys 4.91

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/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits outfile=/scratch/kocevski/658292/cmap_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.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.62
user 0.44
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits outfile=/scratch/kocevski/658292/cmap_HighResolution_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.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.62
user 0.45
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits evtable="EVENTS" scfile=/scratch/kocevski/658292/ft2_4FGL_J0931.2-8533_weekly_bin730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658292/Model_4FGL_J0931.2-8533_weekly_bin730.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/658292/ft1_filtered_4FGL_J0931.2-8533_weekly_bin730.fits.....................!
real 30695.37
user 30613.79
sys 3.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    21.094       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .37569E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .49018E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .36190E-01   1.0000         .10000E-03   10000.    
     7 'norm      '    .10744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.9790       1.0000         .10000E-03   10000.    
     9 'norm      '    13.283       1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.7982       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0347       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7891       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    28.354       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.9254       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .11542       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2180       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .97325       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=   37180.01     FROM MIGRAD    STATUS=CONVERGED    841 CALLS     2408 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3752        .18142E-02** at limit **
   2  Prefactor     21.080        27.343        .87210E-04    .18355E-03
   3  Prefactor     .10002E-03    8.2169        .39272E-02** at limit **
   4  Prefactor     .10000E-03    1.9794        .18142E-02** at limit **
   5  Prefactor     .10001E-03    6.5062        .16347    ** at limit **
   6  Prefactor     .10089E-03    2.4092        .93427E-01** at limit **
   7  norm          .11419        4.7524        .30870E-02    .70632E-03
   8  Prefactor     7.9718        25.749        .14194E-03   -.17300E-04
   9  norm          13.283        6.4847        .10990E-03   -.99304E-04
  10  Prefactor     4.7974        7.1427        .18367E-03   -.43082E-04
  11  Prefactor     .10000E-03    13.421        .18142E-02** at limit **
  12  norm          2.0346        1.5855        .20790E-03   -.23186E-04
  13  Prefactor     5.7891        3.0424        .83462E-03   -.23320E-03
  14  Prefactor     .10000E-03    9.2912        .18142E-02** at limit **
  15  norm          28.352        17.176        .75238E-04   -.31430E-04
  16  Prefactor     5.9255        2.4151        .82483E-03   -.96481E-04
  17  Prefactor     .10000E-03    3.8766        .36285E-03** at limit **
  18  norm          .10992        1.0926        .59843E-01    .20926E-02
  19  Prefactor     .10000E-03    10.788        .18142E-02** at limit **
  20  Normalizat    1.2181        .15085        .43341E-03    .41780E-03
  21  Prefactor     .97324        .44407E-01    .14579E-03    .17909E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.0797
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.000100887
  norm       = 0.114189
  Prefactor  = 7.97183
  norm       = 13.2827
  Prefactor  = 4.7974
  Prefactor  = 0.0001
  norm       = 2.03458
  Prefactor  = 5.78912
  Prefactor  = 0.0001
  norm       = 28.3524
  Prefactor  = 5.92548
  Prefactor  = 0.0001
  norm       = 0.109919
  Prefactor  = 0.0001
  Normalizat = 1.21813
  Prefactor  = 0.973244
 **********
 **   18 **HESSE 
 **********

 FCN=   37180.01     FROM HESSE     STATUS=OK           331 CALLS     2739 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3756        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.080        27.321        .34884E-05   -1.4789    
   3  Prefactor     .10002E-03    8.4664        .15709E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    1.9795        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10001E-03    6.5026        .16355       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10089E-03    2.4153        .93170E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .11419        4.8620        .12348E-03   -1.5640    
   8  Prefactor     7.9718        25.664        .56778E-05   -1.5143    
   9  norm          13.283        6.4843        .43962E-05   -1.4979    
  10  Prefactor     4.7974        7.1418        .73466E-05   -1.5270    
  11  Prefactor     .10000E-03    13.429        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0346        1.5854        .83159E-05   -1.5423    
  13  Prefactor     5.7891        3.0411        .33385E-04   -1.5227    
  14  Prefactor     .10000E-03    9.2924        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          28.352        17.175        .30095E-05   -1.4643    
  16  Prefactor     5.9255        2.4142        .32993E-04   -1.5221    
  17  Prefactor     .10000E-03    3.8768        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10992        1.0640        .61143E-01   -1.5642    
  19  Prefactor     .10000E-03    10.789        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2181        .15079        .17337E-04   -.86044    
  21  Prefactor     .97324        .44383E-01    .29159E-04   -.93627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13259e-09
Minuit parameter uncertainties:
  1  2.95985e-05
  2  27.3374
  3  0.000885057
  4  1.50289e-06
  5  0.000539028
  6  0.00292746
  7  1.4897
  8  25.699
  9  6.48465
  10  7.14304
  11  0.000145703
  12  1.58541
  13  3.04113
  14  8.24851e-05
  15  17.1778
  16  2.41427
  17  1.13403e-05
  18  0.683662
  19  7.21424e-05
  20  0.150844
  21  0.0443844
Done.

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

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  1.000e-04  1.457e-04  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:  9.732e-01  4.438e-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:  1.218e+00  1.508e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/658292/likelihoodResults_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37180.0097663
delta logL = -0.000355163771019

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 37180.0094113
delta logL = -1.84714735951e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5172       1.0000          .0000       10.000    
     3 'Normalizat'    1.2181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97322       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=   37180.01     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      253 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10052E-03    171.00        .18142E-02** at limit **
   2  Index         2.4772        6.2082        .50000        .63819E-05
   3  Normalizat    1.2181        .11930E-01    .43341E-03    .39031E-04
   4  Prefactor     .97324        .36616E-02    .14579E-03    .98565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100521
  Index      = 2.47723
  Normalizat = 1.21813
  Prefactor  = 0.973244
 **********
 **   18 **HESSE 
 **********

 FCN=   37180.01     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10052E-03    746.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4772        6.2380        .50000       -.52887    
   3  Normalizat    1.2181        .26498E-01    .17337E-04   -.86044    
   4  Prefactor     .97324        .81320E-02    .58317E-05   -.93627    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.74452e-09
Minuit parameter uncertainties:
  1  0.0399686
  2  980.86
  3  0.026498
  4  0.00813201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658292': 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) = 37180.009411
delta logL = 9.10440576263e-08

Extracting fit parameters...

4FGL J0931.2-8533
   Spectrum: PowerLaw
220    Prefactor:  1.005e-04  3.997e-02  1.000e-04  1.000e+04 ( 1.000e-13)
221        Index:  2.477e+00  9.809e+02  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:  9.732e-01  8.132e-03  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:  1.218e+00  2.650e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.818 -85.563

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/658292/cmap_HighResolution_680486401_681091201_4FGL_J0931.2-8533_weekly_bin730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.48e-03', job_status='DONE', photon_flux_upper_limit='4.47e-08', time_completed='2022-08-02 10:14:14.935426', job_id='658292', GAL2='0.97', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1659460454.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='9.10e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='730' AND source_name='4FGL J0931.2-8533' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Aug  2 10:14:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 658379: <4FGL_J0931.2-8533_weekly_bin730> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin730> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug  2 00:05:53 2022
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 01:06:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 01:06:32 2022
Terminated at Tue Aug  2 10:06:58 2022
Results reported at Tue Aug  2 10:06:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin730 142.818 -85.5626 680486401 681091201 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 :                                   32249.00 sec.
    Max Memory :                                 672 MB
    Average Memory :                             609.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   32426 sec.
    Turnaround time :                            36065 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 658292: <4FGL_J0931.2-8533_weekly_bin730> in cluster <slac> Done

Job <4FGL_J0931.2-8533_weekly_bin730> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug  2 00:05:49 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug  2 01:01:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug  2 01:01:45 2022
Terminated at Tue Aug  2 10:14:15 2022
Results reported at Tue Aug  2 10:14:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0931.2-8533_weekly_bin730 142.818 -85.5626 680486401 681091201 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 :                                   33013.00 sec.
    Max Memory :                                 1104 MB
    Average Memory :                             609.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   33150 sec.
    Turnaround time :                            36506 sec.

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

