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


Performing analysis on: 4FGL_J1032.6+3737_daily_bin1710
RA = 158.173, Dec = 37.6234
tmin = 682560001, tmax = 682819201
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='94589', job_status='RUN', time_executed='2022-09-16 15:29:26.654686', time_epoch_executed='1663367366.65' WHERE source_name='4FGL J1032.6+3737' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/94589

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/94589/ft1_4FGL_J1032.6+3737_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/94589/ft1_4FGL_J1032.6+3737_daily_bin1710.fits outfile=/scratch/kocevski/94589/ft1_filteredMKT_4FGL_J1032.6+3737_daily_bin1710.fits ra=158.173 dec=37.6234 rad=12.0 tmin=682560001.0 tmax=682819201.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 3.68
user 3.45
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.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/94589/ft1_filteredMKT_4FGL_J1032.6+3737_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.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.53
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 517

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/94589/ltcube_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.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/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits
.....................!
real 13.98
user 13.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/94589/ltcube_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits outfile=/scratch/kocevski/94589/expmap_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.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/94589/ltcube_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits
.....................!
real 192.12
user 186.36
sys 4.90

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

Setting source of interest to:
4FGL J1032.6+3737 @ 158.173 37.6234

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits outfile=/scratch/kocevski/94589/cmap_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.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=158.173 yref=37.6234 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.56
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits outfile=/scratch/kocevski/94589/cmap_HighResolution_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.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=158.173 yref=37.6234 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/94589/Model_4FGL_J1032.6+3737_daily_bin1710.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/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits.....................!
real 54.43
user 52.96
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits', '/scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits', expMap='/scratch/kocevski/94589/expmap_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits', expCube='/scratch/kocevski/94589/ltcube_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/94589/Model_4FGL_J1032.6+3737_daily_bin1710.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1032.6+3737'

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  7.905e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  2.076e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.586e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/94589/ft1_filtered_4FGL_J1032.6+3737_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/94589/ft2_4FGL_J1032.6+3737_daily_bin1710.fits
Exposure map: /scratch/kocevski/94589/expmap_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits
Exposure cube: /scratch/kocevski/94589/ltcube_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/94589/Model_4FGL_J1032.6+3737_daily_bin1710.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) = 5841.15654359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7998       1.0000          .0000       .10000E+07
     2 'Prefactor '    17.637       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.6359       1.0000          .0000       .10000E+07
     4 'Prefactor '    11.641       1.0000          .0000       .10000E+07
     5 'norm      '    .20897E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23543E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6452       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36241E-04   1.0000          .0000       .10000E+07
     9 'norm      '    19.755       1.0000          .0000       .10000E+07
    10 'Prefactor '    22.084       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22692E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21117E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    18.183       1.0000          .0000       .10000E+07
    14 'Prefactor '    74.008       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17548E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.4319       1.0000          .0000       .10000E+07
    17 'Prefactor '    .40210E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    28.052       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11171E-03   1.0000          .0000       .10000E+07
    20 'norm      '    1.1990       1.0000          .0000       .10000E+07
    21 'Prefactor '    .10907E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .10340E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .85293E-06   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.2715       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .68436       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5841.104     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2148 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1913        21.913       -.11186E-06    .21647E-02
   2  Prefactor     19.057        25.515       -.31486E-06   -.25248E-01
   3  Prefactor     2.9738        51.513        .31238E-06   -.22906E-02
   4  Prefactor     11.656        10.403        .74538E-07   -.28136E-02
   5  norm          .93259E-08    10.852       -.76854E-07** at limit **
   6  Prefactor      .0000        1.1361       -.30279E-07** at limit **
   7  Prefactor     2.6366        3.8759       -.15321E-07   -.61048E-03
   8  Prefactor      .0000        2.0187       -.86118E-08** at limit **
   9  norm          19.689        11.374        .17417E-06   -.40162E-02
  10  Prefactor     24.534        45.535       -.32012E-06    .83432E-02
  11  Prefactor      .0000        38.583        .39395E-07** at limit **
  12  Prefactor      .0000        2.1520        .72738E-07** at limit **
  13  Prefactor     18.528        27.225        .70836E-07   -.21618E-01
  14  Prefactor     70.419        75.123        .33804E-06   -.99920E-02
  15  Prefactor      .0000        3.0038       -.14359E-07** at limit **
  16  norm          1.4323        .35048        .46285E-08    .28436E-02
  17  Prefactor      .0000        .94306        .18605E-08** at limit **
  18  Prefactor     28.062        4.7759       -.19777E-08   -.17669    
  19  Prefactor     .34972E-08    17.168        .26156E-06** at limit **
  20  norm          1.2157        15.359        .95801E-06    .23475E-02
  21  Prefactor      .0000        1.3047       -.28393E-07** at limit **
  22  Prefactor     .27756E-07    19.891        .23471E-06** at limit **
  23  norm           .0000        .93916        .19806E-07** at limit **
  24  Normalizat    1.2715        .20290       -.82882E-06   -.13190E-04
  25  Prefactor     .68375        .23006        .39784E-06   -.63723E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.19132
  Prefactor  = 19.057
  Prefactor  = 2.97383
  Prefactor  = 11.6562
  norm       = 9.32587e-09
  Prefactor  = 0
  Prefactor  = 2.63661
  Prefactor  = 0
  norm       = 19.6887
  Prefactor  = 24.5335
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 18.5284
  Prefactor  = 70.419
  Prefactor  = 0
  norm       = 1.43227
  Prefactor  = 0
  Prefactor  = 28.0622
  Prefactor  = 3.4972e-09
  norm       = 1.21566
  Prefactor  = 0
  Prefactor  = 2.77556e-08
  norm       = 0
  Normalizat = 1.27155
  Prefactor  = 0.683748
 **********
 **   18 **HESSE 
 **********

 FCN=   5841.104     FROM HESSE     STATUS=OK           479 CALLS     2627 TOTAL
                     EDM=   .67E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1913        124.08        .60774E-03   -1.5678    
   2  Prefactor     19.057        99.867        .23821E-03   -1.5621    
   3  Prefactor     2.9738        431.82        .52957E-03   -1.5673    
   4  Prefactor     11.656        10.417        .29337E-03   -1.5640    
   5  norm          .93259E-08    10.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        1.1316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6366        3.8972        .62658E-03   -1.5675    
   8  Prefactor      .0000        2.0138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.689        11.373        .22506E-03   -1.5619    
  10  Prefactor     24.534        46.761        .21285E-03   -1.5609    
  11  Prefactor      .0000        37.896        .16866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.1497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.528        27.679        .23461E-03   -1.5622    
  14  Prefactor     70.419        82.029        .11625E-03   -1.5540    
  15  Prefactor      .0000        3.0045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4323        .36187        .48871E-03   -1.5684    
  17  Prefactor      .0000        .94275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.062        18.079        .18884E-03   -1.5602    
  19  Prefactor     .34972E-08    17.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.2157        15.755        .10368E-02   -1.5686    
  21  Prefactor      .0000        1.2927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .27756E-07    19.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm           .0000        .93727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2715        .17901        .49246E-01   -.84420    
  25  Prefactor     .68375        .19993        .75308E-01   -1.0417    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.74371e-07
Minuit parameter uncertainties:
  1  32.9794
  2  87.253
  3  71.6756
  4  10.4173
  5  0.0006358
  6  2.30176e-07
  7  3.89724
  8  4.57902e-07
  9  11.3734
  10  46.7616
  11  3.91633e-06
  12  1.69478e-06
  13  27.6796
  14  82.0306
  15  9.91884e-06
  16  0.361872
  17  4.36735e-10
  18  18.0787
  19  0.000489259
  20  8.75283
  21  4.24057e-08
  22  0.0014876
  23  3.85357e-07
  24  0.179095
  25  0.20014
Done.

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

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  0.000e+00  3.916e-06  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  2.076e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
318        Scale:  2.586e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  6.837e-01  2.001e-01  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.272e+00  1.791e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 158.173 37.623
Photon Flux Upper Limit: 6.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/94589/likelihoodResults_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.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) = 5841.11664328
delta logL = -0.0126576238454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5841.10194239
delta logL = 0.00204326206131

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5841.102     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      255 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10614        .64206        .43089E-02** at limit **
   2  Index         3.4488        .11556        .50000       -.25435E-04
   3  Normalizat    1.2683        .38820E-02    .49299E-01    .27090E-04
   4  Prefactor     .68569        .45216E-02    .75209E-01    .32310E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.106143
  Index      = 3.44877
  Normalizat = 1.26827
  Prefactor  = 0.685695
 **********
 **   18 **HESSE 
 **********

 FCN=   5841.102     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .47E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10614        1189.5        .13338E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4488        5.0456        .20235E-02   -.31545    
   3  Normalizat    1.2683        .15523        .21794E-03   -.84518    
   4  Prefactor     .68569        .14221        .33294E-03   -1.0409    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.71308e-07
Minuit parameter uncertainties:
  1  22.4768
  2  59.6406
  3  0.155282
  4  0.142285
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/94589': 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) = 5841.10194213
delta logL = 0.00204351895445

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  1.061e-01  2.248e+01  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  3.449e+00  5.964e+01  0.000e+00  1.000e+01 (-1.000e+00)
318        Scale:  2.586e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
639    Prefactor:  6.857e-01  1.423e-01  0.000e+00  1.000e+01 ( 1.000e+00)
640        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
641        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
638   Normalization:  1.268e+00  1.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 158.173 37.623

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/94589/cmap_HighResolution_682560001_682819201_4FGL_J1032.6+3737_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.31e-08', time_completed='2022-09-16 15:40:28.603753', job_id='94589', GAL2='0.69', fit_tolerance='1e-08', EG2='1.27', EG='1.27', time_epoch_completed='1663368028.6', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='2.04e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1710' AND source_name='4FGL J1032.6+3737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:40:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 94589: <4FGL_J1032.6+3737_daily_bin1710> in cluster <slac> Done

Job <4FGL_J1032.6+3737_daily_bin1710> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:25:15 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:25:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:25:29 2022
Terminated at Fri Sep 16 15:40:29 2022
Results reported at Fri Sep 16 15:40:29 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1032.6+3737_daily_bin1710 158.173 37.6234 682560001 682819201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1032.6+3737 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   663.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             274.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            914 sec.

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

