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 25 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 = 17252
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0932.6+5306_weekly_bin715
RA = 143.159, Dec = 53.1008
tmin = 671414401, tmax = 672019201
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='934408', job_status='RUN', time_executed='2022-04-19 02:26:44.649359', time_epoch_executed='1650360404.65' WHERE source_name='4FGL J0932.6+5306' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/934408

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/934408/ft1_4FGL_J0932.6+5306_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/934408/ft1_4FGL_J0932.6+5306_weekly_bin715.fits outfile=/scratch/kocevski/934408/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin715.fits ra=143.159 dec=53.1008 rad=12.0 tmin=671414401.0 tmax=672019201.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.55
user 7.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.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/934408/ft1_filteredMKT_4FGL_J0932.6+5306_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.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.37
sys 0.16

Number of photons that the gtmktime cut: 1254

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/934408/ltcube_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.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/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits
.....................!
real 26.52
user 26.09
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/934408/ltcube_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits outfile=/scratch/kocevski/934408/expmap_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.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/934408/ltcube_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits
.....................!
real 191.49
user 185.70
sys 5.39

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/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits outfile=/scratch/kocevski/934408/cmap_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.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.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits outfile=/scratch/kocevski/934408/cmap_HighResolution_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.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/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/934408/Model_4FGL_J0932.6+5306_weekly_bin715.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/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits.....................!
real 117.31
user 115.79
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits', '/scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits', expMap='/scratch/kocevski/934408/expmap_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits', expCube='/scratch/kocevski/934408/ltcube_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/934408/Model_4FGL_J0932.6+5306_weekly_bin715.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  1.000e-04  1.000e+04 ( 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/934408/ft1_filtered_4FGL_J0932.6+5306_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/934408/ft2_4FGL_J0932.6+5306_weekly_bin715.fits
Exposure map: /scratch/kocevski/934408/expmap_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits
Exposure cube: /scratch/kocevski/934408/ltcube_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/934408/Model_4FGL_J0932.6+5306_weekly_bin715.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) = 13495.3391497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.9094       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.1312       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.5029       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0215       1.0000         .10000E-03   10000.    
     5 'norm      '    .91072       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.0222       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8333       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.5258       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.886       1.0000         .10000E-03   10000.    
    11 'norm      '    .22842       1.0000         .10000E-03   10000.    
    12 'norm      '    .27065       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11101E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31060E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.414       1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.5688       1.0000         .10000E-03   10000.    
    23 'norm      '    2.8372       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.3925       1.0000         .10000E-03   10000.    
    26 'norm      '    6.2852       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    5.8595       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    48.368       1.0000         .10000E-03   10000.    
    31 'Prefactor '    7.5891       1.0000         .10000E-03   10000.    
    32 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    33 'norm      '    .69495       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0406       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .79962       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13495.33     FROM MIGRAD    STATUS=CONVERGED    966 CALLS     5119 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.9095        5.1256        .71573E-08   -.12089E-03
   2  Prefactor     7.1311        2.5754        .28553E-07   -.12051E-02
   3  Prefactor     4.5027        3.2547       -.31481E-06   -.41058E-04
   4  norm          1.0205        2.1152        .32125E-07   -.20185E-03
   5  norm          .91101        2.6350        .10927E-06   -.33502E-03
   6  Prefactor     7.0221        5.5793       -.11845E-07   -.14943E-04
   7  Prefactor     8.8332        4.9698       -.16803E-07    .29246E-05
   8  Prefactor     1.5259        1.0768        .16966E-07   -.41215E-04
   9  Prefactor     .10000E-03    13.855        .32836E-05** at limit **
  10  Prefactor     27.885        29.619       -.11596E-05   -.31735E-04
  11  norm          .22850        .25803       -.56329E-08   -.58997E-03
  12  norm          .27072        .51729       -.31190E-07   -.50594E-03
  13  Prefactor     .10000E-03    .58932        .66872E-08** at limit **
  14  Prefactor     .10000E-03    .73404        .18447E-07** at limit **
  15  Prefactor     .10000E-03    2.8255        .41338E-07** at limit **
  16  Prefactor     .10000E-03    1.3208       -.25595E-07** at limit **
  17  Prefactor     .10000E-03    3.5845        .34662E-07** at limit **
  18  Prefactor     .10000E-03    2.9886        .11220E-07** at limit **
  19  norm          .10000E-03    7.3097        .60828E-06** at limit **
  20  Prefactor     .10000E-03    6.2943       -.14500E-06** at limit **
  21  Prefactor     10.412        7.1701       -.24167E-07    .19300E-04
  22  Prefactor     5.5688        3.6875       -.12600E-06   -.73303E-04
  23  norm          2.8370        3.6413       -.31737E-07   -.27575E-04
  24  Prefactor     .10000E-03    17.900       -.11726E-05** at limit **
  25  norm          1.3925        .37458       -.37399E-08    .19190E-03
  26  norm          6.2851        5.6857       -.19321E-08   -.25301E-04
  27  Prefactor     .10000E-03    1.5466        .37012E-07** at limit **
  28  norm          5.8595        2.0577       -.32824E-08   -.10817E-04
  29  Prefactor     .10000E-03    11.850       -.21586E-05** at limit **
  30  norm          48.368        23.443       -.12396E-06    .20872E-05
  31  Prefactor     7.5894        7.3948        .24031E-07   -.23519E-03
  32  norm          .10000E-03    .31909       -.32567E-07** at limit **
  33  norm          .69495        .53347       -.32908E-08    .82470E-04
  34  Normalizat    1.0406        .10754        .84549E-07   -.58091E-04
  35  Prefactor     .79962        .10972       -.59986E-07   -.32164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.90951
  Prefactor  = 7.13109
  Prefactor  = 4.50271
  norm       = 1.02051
  norm       = 0.911008
  Prefactor  = 7.02214
  Prefactor  = 8.8332
  Prefactor  = 1.52591
  Prefactor  = 0.0001
  Prefactor  = 27.8849
  norm       = 0.228498
  norm       = 0.270717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4119
  Prefactor  = 5.56883
  norm       = 2.83705
  Prefactor  = 0.0001
  norm       = 1.39245
  norm       = 6.28509
  Prefactor  = 0.0001
  norm       = 5.8595
  Prefactor  = 0.0001
  norm       = 48.3678
  Prefactor  = 7.58938
  norm       = 0.0001
  norm       = 0.694948
  Normalizat = 1.04061
  Prefactor  = 0.799616
 **********
 **   18 **HESSE 
 **********

 FCN=   13495.33     FROM HESSE     STATUS=OK           790 CALLS     5909 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.9095        5.1263        .82596E-03   -1.5222    
   2  Prefactor     7.1311        3.7298        .75107E-03   -1.5174    
   3  Prefactor     4.5027        3.2575        .17246E-03   -1.5284    
   4  norm          1.0205        1.9249        .23277E-02   -1.5506    
   5  norm          .91101        2.8095        .32608E-03   -1.5517    
   6  Prefactor     7.0221        5.5789        .15139E-03   -1.5178    
   7  Prefactor     8.8332        4.9247        .13486E-03   -1.5113    
   8  Prefactor     1.5259        1.0741        .34569E-04   -1.5461    
   9  Prefactor     .10000E-03    14.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     27.885        29.735        .75865E-04   -1.4651    
  11  norm          .22850        .20495        .51880E-03   -1.5612    
  12  norm          .27072        .49821        .10507E-03   -1.5604    
  13  Prefactor     .10000E-03    3.5910        .14587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.9084        .19236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    16.959        .37522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.3705        .25991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.5945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.9904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.3989        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.3169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.412        6.9751        .12416E-03   -1.5063    
  22  Prefactor     5.5688        3.6906        .17025E-03   -1.5236    
  23  norm          2.8370        3.6360        .24142E-03   -1.5371    
  24  Prefactor     .10000E-03    17.969        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.3925        .37388        .35437E-04   -1.5472    
  26  norm          6.2851        5.6940        .16011E-03   -1.5207    
  27  Prefactor     .10000E-03    1.5703        .14091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          5.8595        2.0592        .95345E-04   -1.5224    
  29  Prefactor     .10000E-03    11.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          48.368        23.434        .57658E-04   -1.4316    
  31  Prefactor     7.5894        7.8480        .72786E-03   -1.5157    
  32  norm          .10000E-03    .31975        .63910E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  norm          .69495        .54091        .72452E-04   -1.5541    
  34  Normalizat    1.0406        .11977        .22274E-03   -.91682    
  35  Prefactor     .79962        .12281        .26733E-03   -.99742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45235e-08
Minuit parameter uncertainties:
  1  5.12667
  2  3.7299
  3  3.25762
  4  1.92501
  5  2.80986
  6  5.57927
  7  4.92488
  8  1.07412
  9  7.95552e-06
  10  29.751
  11  0.204955
  12  0.498219
  13  6.4078e-06
  14  4.56886e-06
  15  3.09633e-05
  16  1.5922e-06
  17  8.43204e-07
  18  7.73079e-07
  19  1.01786e-07
  20  1.4251e-06
  21  6.97561
  22  3.69072
  23  3.63625
  24  5.80226e-07
  25  0.373879
  26  5.69445
  27  8.51576e-07
  28  2.05923
  29  6.05631e-06
  30  23.4382
  31  7.84905
  32  1.71832e-08
  33  0.54091
  34  0.119805
  35  0.122848
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  1.592e-06  1.000e-04  1.000e+04 ( 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:  7.996e-01  1.228e-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.041e+00  1.198e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 143.159 53.101
Photon Flux Upper Limit: 3.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/934408/likelihoodResults_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.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) = 13495.3352685
delta logL = -0.00348315268275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13495.3317863
delta logL = -1.01714431366e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4646       1.0000          .0000       10.000    
     3 'Normalizat'    1.0406       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79956       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13495.12     FROM MIGRAD    STATUS=CONVERGED    163 CALLS      314 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .20192E-02    .52011E-03** at limit **
   2  Index         8.1471        2.8456        .30894        .15768E-03
   3  Normalizat    1.0211        .15846E-01    .22274E-03    .68088E-04
   4  Prefactor     .81300        .16913E-01    .26733E-03    .44398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.14706
  Normalizat = 1.02105
  Prefactor  = 0.812998
 **********
 **   18 **HESSE 
 **********

 FCN=   13495.12     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      351 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .16463E-01    .30572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.1471        9.0429        .16322E-01    .68080    
   3  Normalizat    1.0211        .37477E-01    .89095E-05   -.92328    
   4  Prefactor     .81300        .39961E-01    .10693E-04   -.99251    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38798e-06
Minuit parameter uncertainties:
  1  2.9799e-08
  2  9.35685
  3  0.037478
  4  0.0399621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/934408': 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) = 13495.1162617
delta logL = 0.215523649702

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  2.980e-08  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  8.147e+00  9.357e+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:  8.130e-01  3.996e-02  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.021e+00  3.748e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 143.159 53.101

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/934408/cmap_HighResolution_671414401_672019201_4FGL_J0932.6+5306_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.86e-03', job_status='DONE', photon_flux_upper_limit='3.69e-08', time_completed='2022-04-19 03:06:31.661895', job_id='934408', GAL2='0.81', fit_tolerance='1e-08', EG2='1.02', EG='1.04', time_epoch_completed='1650362791.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.16e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='715' AND source_name='4FGL J0932.6+5306' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:06:31 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 930670: <4FGL_J0932.6+5306_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0932.6+5306_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:06:25 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:13:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:13:14 2022
Terminated at Tue Apr 19 02:53:26 2022
Results reported at Tue Apr 19 02:53:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_weekly_bin715 143.159 53.1008 671414401 672019201 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 :                                   2398.00 sec.
    Max Memory :                                 622 MB
    Average Memory :                             329.49 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2413 sec.
    Turnaround time :                            10021 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 934408: <4FGL_J0932.6+5306_weekly_bin715> in cluster <slac> Done

Job <4FGL_J0932.6+5306_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:17:31 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:26:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:26:10 2022
Terminated at Tue Apr 19 03:06:32 2022
Results reported at Tue Apr 19 03:06:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_weekly_bin715 143.159 53.1008 671414401 672019201 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 :                                   2385.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             344.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   2422 sec.
    Turnaround time :                            10141 sec.

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

