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


Performing analysis on: 4FGL_J0932.6+5306_weekly_bin760
RA = 143.159, Dec = 53.1008
tmin = 698630401, tmax = 699235201
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='17246', job_status='RUN', time_executed='2023-02-28 00:51:06.834322', time_epoch_executed='1677574266.83' WHERE source_name='4FGL J0932.6+5306' and cadence='weekly' and bin_id='760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17246

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17246/ft1_4FGL_J0932.6+5306_weekly_bin760.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17246/ft1_4FGL_J0932.6+5306_weekly_bin760.fits outfile=/scratch/kocevski/17246/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin760.fits ra=143.159 dec=53.1008 rad=12.0 tmin=698630401.0 tmax=699235201.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.26
user 5.99
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.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/17246/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin760.fits evtable="EVENTS" outfile="/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.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.54
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 259

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits" evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits sctable="SC_DATA" outfile=/scratch/kocevski/17246/ltcube_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.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/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits
.....................!
real 28.55
user 28.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits sctable="SC_DATA" expcube=/scratch/kocevski/17246/ltcube_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits outfile=/scratch/kocevski/17246/expmap_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.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/17246/ltcube_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits
.....................!
real 190.24
user 185.00
sys 4.92

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

Setting source of interest to:
4FGL J0932.6+5306 @ 143.159 53.1008

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits outfile=/scratch/kocevski/17246/cmap_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits outfile=/scratch/kocevski/17246/cmap_HighResolution_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.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=143.159 yref=53.1008 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits evtable="EVENTS" scfile=/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17246/Model_4FGL_J0932.6+5306_weekly_bin760.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/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits......................!
real 41.40
user 40.01
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits', '/scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits', expMap='/scratch/kocevski/17246/expmap_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits', expCube='/scratch/kocevski/17246/ltcube_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17246/Model_4FGL_J0932.6+5306_weekly_bin760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0932.6+5306'

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.653e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17246/ft1_filtered_4FGL_J0932.6+5306_weekly_bin760.fits
Spacecraft file(s): /scratch/kocevski/17246/ft2_4FGL_J0932.6+5306_weekly_bin760.fits
Exposure map: /scratch/kocevski/17246/expmap_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits
Exposure cube: /scratch/kocevski/17246/ltcube_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17246/Model_4FGL_J0932.6+5306_weekly_bin760.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) = 3000.58535764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69353E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    4.2594       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2291       1.0000          .0000       .10000E+07
     4 'norm      '    5.5879       1.0000          .0000       .10000E+07
     5 'norm      '    3.2172       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42329E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    66.264       1.0000          .0000       .10000E+07
     8 'norm      '    3.2490       1.0000          .0000       .10000E+07
     9 'norm      '    1.2412       1.0000          .0000       .10000E+07
    10 'Prefactor '    6.2968       1.0000          .0000       .10000E+07
    11 'Prefactor '    .69074E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .19464E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.3812       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11580E-01   1.0000          .0000       .10000E+07
    15 'norm      '    7.3038       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.8778       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.018       1.0000          .0000       .10000E+07
    18 'Prefactor '    .62632E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .29034E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    445.23       1.0000          .0000       .10000E+07
    21 'norm      '    .43715E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .99220E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .47228E-02   1.0000          .0000       .10000E+07
    24 'norm      '    .32879       1.0000          .0000       .10000E+07
    25 'Prefactor '    320.89       1.0000          .0000       .10000E+07
    26 'norm      '    .18652E-01   1.0000          .0000       .10000E+07
    27 'Prefactor '    .38373E-01   1.0000          .0000       .10000E+07
    28 'norm      '    7.5752       1.0000          .0000       .10000E+07
    29 'norm      '    .38149E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    .20106       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1172       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3000.482     FROM MIGRAD    STATUS=CONVERGED    320 CALLS     3202 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        3.2554        .14769E-08** at limit **
   2  Prefactor     4.3150        5.9395       -.39548E-07   -.52209E-04
   3  Prefactor     3.2660        6.4658       -.77562E-08   -.46224E-04
   4  norm          5.6208        8.1159       -.17435E-07   -.13882E-04
   5  norm          3.2063        6.3128       -.13293E-07   -.31834E-04
   6  Prefactor      .0000        4.3187       -.85083E-09** at limit **
   7  Prefactor     70.616        52.915       -.48300E-07   -.21743E-04
   8  norm          3.2951        3.3715        .48018E-07    .36570E-04
   9  norm          1.2474        1.1832       -.11167E-07   -.11895E-03
  10  Prefactor     5.9371        23.211        .30195E-07    .19751E-04
  11  Prefactor      .0000        8.6144        .56574E-08** at limit **
  12  Prefactor      .0000        10.884       -.81567E-08** at limit **
  13  Prefactor     5.7621        14.688        .26311E-06    .31661E-05
  14  Prefactor      .0000        44.093       -.53963E-08** at limit **
  15  norm          .12818E-06    1127.3        .14839E-05** at limit **
  16  Prefactor     17.520        82.130       -.66373E-07    .60141E-02
  17  Prefactor     15.468        15.322        .88851E-08   -.62290E-04
  18  Prefactor      .0000        28.308        .12375E-06** at limit **
  19  norm           .0000        11.248       -.28084E-07** at limit **
  20  Prefactor     455.50        231.46       -.11150E-07    .67743E-03
  21  norm           .0000        .93399       -.56433E-08** at limit **
  22  norm          .11102E-09    204.71       -.19542E-06** at limit **
  23  Prefactor     .55511E-10    144.36       -.14037E-06** at limit **
  24  norm          .55511E-10    316.21       -.38392E-06** at limit **
  25  Prefactor     427.66        768.54       -.21757E-06   -.28226E-02
  26  norm           .0000        16.709       -.23164E-08** at limit **
  27  Prefactor      .0000        53.518       -.65603E-07** at limit **
  28  norm          7.2898        6.5711       -.10437E-07   -.62285E-04
  29  norm          .55511E-10    22.800        .16854E-06** at limit **
  30  Normalizat    .18534        .27496        .58002E-05   -.18304E-05
  31  Prefactor     1.1238        .21832       -.16577E-05   -.12237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.315
  Prefactor  = 3.26601
  norm       = 5.62075
  norm       = 3.20634
  Prefactor  = 0
  Prefactor  = 70.6163
  norm       = 3.29506
  norm       = 1.24736
  Prefactor  = 5.9371
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.76214
  Prefactor  = 0
  norm       = 1.28175e-07
  Prefactor  = 17.5197
  Prefactor  = 15.4678
  Prefactor  = 0
  norm       = 0
  Prefactor  = 455.501
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  Prefactor  = 427.659
  norm       = 0
  Prefactor  = 0
  norm       = 7.28978
  norm       = 5.55112e-11
  Normalizat = 0.185343
  Prefactor  = 1.12377
 **********
 **   18 **HESSE 
 **********

 FCN=   3000.482     FROM HESSE     STATUS=OK           678 CALLS     3880 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        3.2689        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.3150        6.2354        .48796E-03   -1.5666    
   3  Prefactor     3.2660        6.5306        .56346E-03   -1.5672    
   4  norm          5.6208        8.2175        .42475E-03   -1.5661    
   5  norm          3.2063        6.3729        .56455E-03   -1.5672    
   6  Prefactor      .0000        4.3159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     70.616        54.630        .12285E-03   -1.5540    
   8  norm          3.2951        3.0634        .56165E-03   -1.5672    
   9  norm          1.2474        1.2537        .10059E-02   -1.5686    
  10  Prefactor     5.9371        21.694        .39978E-03   -1.5659    
  11  Prefactor      .0000        8.6120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        10.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7621        15.057        .39710E-03   -1.5660    
  14  Prefactor      .0000        43.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .12818E-06    1138.4        .37090E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.520        6730.7        .33616E-03   -1.5624    
  17  Prefactor     15.468        15.500        .24998E-03   -1.5629    
  18  Prefactor      .0000        27.804        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        11.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     455.50        238.91        .47403E-04   -1.5281    
  21  norm           .0000        .92050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11102E-09    202.54        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    136.28        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .55511E-10    304.94        .98249E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     427.66        772.87        .55833E-04   -1.5294    
  26  norm           .0000        16.648        .17127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        49.114        .16038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          7.2898        6.6467        .36413E-03   -1.5654    
  29  norm          .55511E-10    20.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .18534        .42010        .11766       -1.3050    
  31  Prefactor     1.1238        .29696        .36967E-01   -.88711    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00037e-06
Minuit parameter uncertainties:
  1  3.85585e-07
  2  6.23539
  3  6.53065
  4  8.21753
  5  6.37293
  6  5.21214e-08
  7  54.6302
  8  3.06336
  9  1.25369
  10  21.6944
  11  1.225e-06
  12  3.89283e-07
  13  15.0574
  14  3.63893e-06
  15  0.0241613
  16  687.57
  17  15.5003
  18  1.48443e-05
  19  4.19512e-07
  20  238.918
  21  1.20438e-07
  22  0.000299833
  23  0.000179637
  24  0.000188269
  25  773.054
  26  3.85469e-07
  27  1.105e-05
  28  6.64673
  29  7.9196e-05
  30  0.427629
  31  0.297403
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  5.762e+00  1.506e+01  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  2.453e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  1.124e+00  2.974e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  1.853e-01  4.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.21
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 3.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.99e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/17246/likelihoodResults_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.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) = 2998.8530688
delta logL = 1.62853067981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2998.73910808
delta logL = 1.74249140624

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2998.739     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      288 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15076        2.0049        .31217E-03** at limit **
   2  Index         6.0771        3.4567        .93030E-01    .86296E-04
   3  Normalizat    .51173E-01    .62789E-01    .23473        .76564E-04
   4  Prefactor     1.1972        .67604E-01    .34695E-01   -.28769E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.150759
  Index      = 6.07707
  Normalizat = 0.0511735
  Prefactor  = 1.19724
 **********
 **   18 **HESSE 
 **********

 FCN=   2998.739     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      323 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15076        3.4302        .13893E-05   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0771        7.4839        .38523E-02    .21712    
   3  Normalizat    .51173E-01    .35567        .82839E-02   -1.4423    
   4  Prefactor     1.1972        .20852        .18154E-03   -.86416    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.71201e-10
Minuit parameter uncertainties:
  1  1.43824
  2  5.41399
  3  0.244003
  4  0.208659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17246': 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) = 2998.73910602
delta logL = 1.74249346151

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.508e-01  1.438e+00  0.000e+00  1.000e+06 ( 1.000e-12)
372        Index:  6.077e+00  5.414e+00  0.000e+00  1.000e+01 (-1.000e+00)
373        Scale:  7.321e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  1.197e+00  2.087e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  5.117e-02  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 143.159 53.101
Photon Index (Free Index): 6.08 +/- 5.41
Photon Flux (Free Index): 5.39e-07 +/- 3.86e-07
Energy Flux (Free Index): 6.68e-05 +/- 4.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/17246/cmap_HighResolution_698630401_699235201_4FGL_J0932.6+5306_weekly_bin760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.99e-02', comment='SUCCESS', energy_flux2='6.68e-05', dlogl='1.74e+00', photon_flux2='5.39e-07', job_status='DONE', time_completed='2023-02-28 01:01:55.401319', photon_index_error2='5.41', photon_index2='6.08', ts='0.21', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='3.86e-07', energy_flux_error2='4.64e-05', EG='0.19', time_epoch_completed='1677574915.4', return_code='0', job_id='17246', GAL2='1.20', EG2='0.05', return_code2='102', photon_flux_error2='3.86e-07', ts2='4.12', photon_index='2.45' WHERE bin_id='760' AND source_name='4FGL J0932.6+5306' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 28 01:01:55 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0269>
Subject: Job 17246: <4FGL_J0932.6+5306_weekly_bin760> in cluster <slac> Done

Job <4FGL_J0932.6+5306_weekly_bin760> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 28 00:50:25 2023
Job was executed on host(s) <bullet0269>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 28 00:50:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 28 00:50:26 2023
Terminated at Tue Feb 28 01:01:55 2023
Results reported at Tue Feb 28 01:01:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_weekly_bin760 143.159 53.1008 698630401 699235201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0932.6+5306 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   689 sec.
    Turnaround time :                            690 sec.

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

