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


Performing analysis on: 4FGL_J0932.6+5306_daily_bin1690
RA = 143.159, Dec = 53.1008
tmin = 677376001, tmax = 677635201
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='140098', job_status='RUN', time_executed='2022-06-23 00:56:30.115985', time_epoch_executed='1655970990.12' WHERE source_name='4FGL J0932.6+5306' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/140098

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/140098/ft1_4FGL_J0932.6+5306_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/140098/ft1_4FGL_J0932.6+5306_daily_bin1690.fits outfile=/scratch/kocevski/140098/ft1_filteredMKT_4FGL_J0932.6+5306_daily_bin1690.fits ra=143.159 dec=53.1008 rad=12.0 tmin=677376001.0 tmax=677635201.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 2.57
user 2.37
sys 0.18

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

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

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/140098/ltcube_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.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/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits
.....................!
real 16.43
user 15.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/140098/ltcube_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits outfile=/scratch/kocevski/140098/expmap_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.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/140098/ltcube_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits
.....................!
real 190.88
user 185.94
sys 4.45

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/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits scfile=/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits outfile=/scratch/kocevski/140098/cmap_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.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.60
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits scfile=/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits outfile=/scratch/kocevski/140098/cmap_HighResolution_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.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.57
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits', '/scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits', expMap='/scratch/kocevski/140098/expmap_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits', expCube='/scratch/kocevski/140098/ltcube_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/140098/Model_4FGL_J0932.6+5306_daily_bin1690.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/140098/ft1_filtered_4FGL_J0932.6+5306_daily_bin1690.fits
Spacecraft file(s): /scratch/kocevski/140098/ft2_4FGL_J0932.6+5306_daily_bin1690.fits
Exposure map: /scratch/kocevski/140098/expmap_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits
Exposure cube: /scratch/kocevski/140098/ltcube_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/140098/Model_4FGL_J0932.6+5306_daily_bin1690.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) = 6894.10579171

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3574       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7152       1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.0716       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12083E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .37139       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .47294       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11189E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .64196E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.4859       1.0000         .10000E-03   10000.    
    26 'norm      '    26.689       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    2.9500       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    17.452       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    1.8794       1.0000         .10000E-03   10000.    
    33 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0092       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.1259       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=   6894.077     FROM MIGRAD    STATUS=CONVERGED    976 CALLS     4331 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3111        .20175E-05** at limit **
   2  Prefactor     1.3575        5.7914       -.17767E-06   -.57730E-04
   3  Prefactor     .10000E-03    4.5744        .10881E-05** at limit **
   4  norm          1.7134        1.2042        .60993E-07   -.10597E-02
   5  norm          .10000E-03    3.0193       -.20988E-07** at limit **
   6  Prefactor     .10000E-03    5.8472       -.15418E-05** at limit **
   7  Prefactor     .10000E-03    5.1924       -.11367E-05** at limit **
   8  Prefactor     8.0690        4.0637        .49277E-06   -.14348E-03
   9  Prefactor     .10000E-03    9.4026       -.33723E-05** at limit **
  10  Prefactor     .10000E-03    139.63       -.25219E-05** at limit **
  11  norm          .10000E-03    .20465       -.11022E-06** at limit **
  12  norm          .37241        .84664        .75776E-07    .12815E-03
  13  Prefactor     .47151        1.9860        .62177E-06   -.73620E-03
  14  Prefactor     .10000E-03    1.3042        .41323E-07** at limit **
  15  Prefactor     .10000E-03    2.4144       -.14325E-07** at limit **
  16  Prefactor     .10000E-03    2.4630       -.26957E-06** at limit **
  17  Prefactor     .10000E-03    4.4651       -.16850E-05** at limit **
  18  Prefactor     .10000E-03    4.7590        .20181E-05** at limit **
  19  norm          .10000E-03    8.1279        .13267E-05** at limit **
  20  Prefactor     .10000E-03    22.040        .72634E-05** at limit **
  21  Prefactor     .10000E-03    6.2531       -.35983E-06** at limit **
  22  Prefactor     .10000E-03    3.2613       -.11486E-07** at limit **
  23  norm          .10000E-03    2.0803        .22912E-07** at limit **
  24  Prefactor     .10000E-03    13.067        .52679E-05** at limit **
  25  norm          1.4859        .55170        .18639E-07    .38588E-03
  26  norm          26.690        13.328       -.47849E-07   -.28897E-04
  27  Prefactor     .10000E-03    1.5953        .28505E-07** at limit **
  28  norm          2.9501        1.9039        .18205E-07    .98452E-05
  29  Prefactor     .10000E-03    18.933       -.94523E-05** at limit **
  30  norm          17.455        19.404       -.18147E-05    .28793E-05
  31  Prefactor     .10000E-03    10.783       -.28197E-06** at limit **
  32  norm          1.8795        1.7336        .84876E-07    .47226E-04
  33  norm          .10000E-03    .39234        .53592E-09** at limit **
  34  Normalizat    1.0092        .16468       -.41583E-06    .47236E-04
  35  Prefactor     1.1259        .16958        .21314E-07    .14236E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.35751
  Prefactor  = 0.0001
  norm       = 1.71337
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.06897
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.372414
  Prefactor  = 0.471509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.48593
  norm       = 26.6898
  Prefactor  = 0.0001
  norm       = 2.9501
  Prefactor  = 0.0001
  norm       = 17.4555
  Prefactor  = 0.0001
  norm       = 1.87954
  norm       = 0.0001
  Normalizat = 1.00918
  Prefactor  = 1.12585
 **********
 **   18 **HESSE 
 **********

 FCN=   6894.077     FROM HESSE     STATUS=OK           768 CALLS     5099 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3575        5.8058        .37506E-03   -1.5475    
   3  Prefactor     .10000E-03    4.6040        .17341E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7134        5.3003        .16044E-02   -1.5446    
   5  norm          .10000E-03    3.0360        .14088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.8635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0690        4.0708        .10981E-03   -1.5140    
   9  Prefactor     .10000E-03    9.4247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    140.30        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .25178        .67589E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37241        .82012        .10386E-03   -1.5586    
  13  Prefactor     .47151        5.3709        .19225E-02   -1.5571    
  14  Prefactor     .10000E-03    1.3122        .92506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.4164        .12599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.1386        .24852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.4692        .17136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.7662        .17685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.1323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    22.397        .38040E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.2858        .14628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.0809        .11696E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.4859        .54966        .35928E-04   -1.5464    
  26  norm          26.690        13.346        .77544E-04   -1.4674    
  27  Prefactor     .10000E-03    1.6018        .10238E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          2.9501        1.9066        .89398E-04   -1.5364    
  29  Prefactor     .10000E-03    18.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          17.455        19.406        .95873E-04   -1.4872    
  31  Prefactor     .10000E-03    10.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          1.8795        1.7158        .10143E-03   -1.5434    
  33  norm          .10000E-03    .39572        .50775E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    1.0092        .18524        .24720E-03   -.92723    
  35  Prefactor     1.1259        .19516        .25842E-03   -.88644    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9523e-09
Minuit parameter uncertainties:
  1  1.30333e-06
  2  5.61551
  3  7.70104e-07
  4  5.30178
  5  7.2338e-07
  6  1.65099e-06
  7  2.21568e-06
  8  4.07091
  9  1.71168e-06
  10  0.000143372
  11  5.1693e-06
  12  0.820143
  13  3.18275
  14  3.08213e-06
  15  1.20844e-07
  16  8.89181e-05
  17  5.925e-07
  18  2.75264e-06
  19  2.00837e-06
  20  2.50866e-05
  21  0.000593458
  22  3.28199e-06
  23  3.54289e-08
  24  6.10257e-06
  25  0.549665
  26  13.3472
  27  7.67123e-07
  28  1.90663
  29  9.70437e-06
  30  19.4128
  31  7.16942e-07
  32  1.71589
  33  2.75714e-07
  34  0.185356
  35  0.195281
Done.

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

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  8.892e-05  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:  1.126e+00  1.953e-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.009e+00  1.854e-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: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/140098/likelihoodResults_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.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) = 6894.07842182
delta logL = -0.000925752387047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6894.07749304
delta logL = 3.02427270071e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11335E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5483       1.0000          .0000       10.000    
     3 'Normalizat'    1.0091       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1260       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=   6892.470     FROM MIGRAD    STATUS=CONVERGED    218 CALLS      393 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .35732E-02    .30312E-03** at limit **
   2  Index         8.8726        7.5898        .21295        .91854E-04
   3  Normalizat    .93275        .46820E-01    .46280E-01    .95126E-05
   4  Prefactor     1.1803        .51300E-01    .57298E-01   -.14074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.87259
  Normalizat = 0.932746
  Prefactor  = 1.18026
 **********
 **   18 **HESSE 
 **********

 FCN=   6892.470     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      432 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .16677E-01    .16723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.8726        8.6663        .93692E-03    .88595    
   3  Normalizat    .93275        .10133        .25575E-03   -.95319    
   4  Prefactor     1.1803        .11120        .25336E-03   -.86941    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.87437e-10
Minuit parameter uncertainties:
  1  1.39055e-08
  2  5.21927
  3  0.101347
  4  0.111227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/140098': 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) = 6892.46982426
delta logL = 1.60767180923

Extracting fit parameters...

4FGL J0932.6+5306
   Spectrum: PowerLaw
371    Prefactor:  1.000e-04  1.391e-08  1.000e-04  1.000e+04 ( 1.000e-12)
372        Index:  8.873e+00  5.219e+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.180e+00  1.112e-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:  9.327e-01  1.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 143.159 53.101
Photon Index (Free Index): 8.87 +/- 5.22
Photon Flux (Free Index): 6.10e-08 +/- 5.79e-07
Energy Flux (Free Index): 6.95e-06 +/- 6.57e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/140098/cmap_HighResolution_677376001_677635201_4FGL_J0932.6+5306_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.51e-03', comment='SUCCESS', energy_flux2='6.95e-06', dlogl='1.61e+00', photon_flux2='6.10e-08', job_status='DONE', time_completed='2022-06-23 01:17:15.065044', photon_index_error2='5.22', photon_index2='8.87', ts='-0.00', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='7.10e-08', energy_flux_error2='6.57e-05', EG='1.01', time_epoch_completed='1655972235.07', return_code='0', job_id='140098', GAL2='1.18', EG2='0.93', return_code2='102', photon_flux_error2='5.79e-07', ts2='3.39', photon_index='2.45' WHERE bin_id='1690' AND source_name='4FGL J0932.6+5306' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:17:15 PDT 2022



------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 138932: <4FGL_J0932.6+5306_daily_bin1690> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1690> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jun 23 00:06:43 2022
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 00:32:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 00:32:58 2022
Terminated at Thu Jun 23 00:56:04 2022
Results reported at Thu Jun 23 00:56:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1690 143.159 53.1008 677376001 677635201 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 :                                   1256.04 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1386 sec.
    Turnaround time :                            2961 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0063>
Subject: Job 140098: <4FGL_J0932.6+5306_daily_bin1690> in cluster <slac> Done

Job <4FGL_J0932.6+5306_daily_bin1690> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Jun 23 00:08:04 2022
Job was executed on host(s) <bullet0063>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 00:55:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 00:55:53 2022
Terminated at Thu Jun 23 01:17:15 2022
Results reported at Thu Jun 23 01:17:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0932.6+5306_daily_bin1690 143.159 53.1008 677376001 677635201 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 :                                   1244.00 sec.
    Max Memory :                                 1278 MB
    Average Memory :                             348.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1282 sec.
    Turnaround time :                            4151 sec.

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

