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


Performing analysis on: 4FGL_J1032.6+3737_daily_bin1763
RA = 158.173, Dec = 37.6234
tmin = 696297601, tmax = 696556801
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='276406', job_status='RUN', time_executed='2023-01-28 00:42:04.949129', time_epoch_executed='1674895324.95' WHERE source_name='4FGL J1032.6+3737' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276406

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276406/ft1_4FGL_J1032.6+3737_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276406/ft1_4FGL_J1032.6+3737_daily_bin1763.fits outfile=/scratch/kocevski/276406/ft1_filteredMKT_4FGL_J1032.6+3737_daily_bin1763.fits ra=158.173 dec=37.6234 rad=12.0 tmin=696297601.0 tmax=696556801.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.69
user 3.41
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.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/276406/ft1_filteredMKT_4FGL_J1032.6+3737_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.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: 514

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/276406/ltcube_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.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/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits
.....................!
real 15.67
user 15.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/276406/ltcube_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits outfile=/scratch/kocevski/276406/expmap_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.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/276406/ltcube_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits
.....................!
real 192.51
user 186.86
sys 5.21

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/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits scfile=/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits outfile=/scratch/kocevski/276406/cmap_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits scfile=/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits outfile=/scratch/kocevski/276406/cmap_HighResolution_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.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.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits', '/scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits', expMap='/scratch/kocevski/276406/expmap_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits', expCube='/scratch/kocevski/276406/ltcube_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/276406/Model_4FGL_J1032.6+3737_daily_bin1763.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/276406/ft1_filtered_4FGL_J1032.6+3737_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/276406/ft2_4FGL_J1032.6+3737_daily_bin1763.fits
Exposure map: /scratch/kocevski/276406/expmap_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits
Exposure cube: /scratch/kocevski/276406/ltcube_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/276406/Model_4FGL_J1032.6+3737_daily_bin1763.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) = 5818.49243995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .42240E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15424E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    25.544       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25587E-02   1.0000          .0000       .10000E+07
     5 'norm      '    .12173E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .51437E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16309E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13766E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .36015E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.805       1.0000          .0000       .10000E+07
    11 'Prefactor '    .19127E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .72694E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .47294E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.0721       1.0000          .0000       .10000E+07
    15 'Prefactor '    .34406E-03   1.0000          .0000       .10000E+07
    16 'norm      '    1.4041       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.5959       1.0000          .0000       .10000E+07
    18 'Prefactor '    18.664       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23188E-03   1.0000          .0000       .10000E+07
    20 'norm      '    8.2753       1.0000          .0000       .10000E+07
    21 'Prefactor '    .23045E-05   1.0000          .0000       .10000E+07
    22 'Prefactor '    .25831E-02   1.0000          .0000       .10000E+07
    23 'norm      '    3.8062       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1033       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95683       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=   5818.476     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2136 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .57732E-08    7.7811       -.14503E-06** at limit **
   2  Prefactor     .38530E-06    7.3810       -.31281E-06** at limit **
   3  Prefactor     25.924        13.769        .58316E-07    .12332    
   4  Prefactor     .18359E-05    30.521        .80862E-07** at limit **
   5  norm          .68900E-06    7.9556       -.29057E-06** at limit **
   6  Prefactor      .0000        .94123        .70882E-08** at limit **
   7  Prefactor      .0000        1.6217       -.52176E-07** at limit **
   8  Prefactor      .0000        3.0386       -.48267E-07** at limit **
   9  norm          .33418E-07    11.465       -.15816E-06** at limit **
  10  Prefactor     37.725        72.443        .85652E-06   -.31564E-01
  11  Prefactor      .0000        33.848       -.27848E-07** at limit **
  12  Prefactor      .0000        4.3597        .24065E-06** at limit **
  13  Prefactor     .11026E-05    24.770       -.16171E-06** at limit **
  14  Prefactor     4.5269        14.232       -.42526E-06   -.30839E-01
  15  Prefactor     .21150E-07    6.9612        .78778E-07** at limit **
  16  norm          1.4044        .35021        .14035E-07    .82230E-02
  17  Prefactor     2.6050        3.7916        .13197E-06    .14316E-02
  18  Prefactor     18.677        2.5837        .24879E-07    .14232E-02
  19  Prefactor     .30975E-07    7.0461        .11785E-06** at limit **
  20  norm          8.2918        10.587        .11185E-06   -.64319E-04
  21  Prefactor      .0000        .78098        .48984E-07** at limit **
  22  Prefactor     .15821E-07    17.495       -.32275E-06** at limit **
  23  norm          3.8125        2.7371       -.21655E-07   -.57384E-03
  24  Normalizat    1.1014        .21004       -.48112E-05   -.20596E-04
  25  Prefactor     .95731        .25015        .45979E-05    .19656E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.77316e-09
  Prefactor  = 3.85303e-07
  Prefactor  = 25.9241
  Prefactor  = 1.83592e-06
  norm       = 6.89004e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 3.34177e-08
  Prefactor  = 37.7247
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.10256e-06
  Prefactor  = 4.52686
  Prefactor  = 2.11497e-08
  norm       = 1.40436
  Prefactor  = 2.60503
  Prefactor  = 18.6769
  Prefactor  = 3.09752e-08
  norm       = 8.2918
  Prefactor  = 0
  Prefactor  = 1.58207e-08
  norm       = 3.81249
  Normalizat = 1.10145
  Prefactor  = 0.957312
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.476     FROM HESSE     STATUS=OK           469 CALLS     2605 TOTAL
                     EDM=   .23E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .57732E-08    7.7798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38530E-06    14.468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.924        40.946        .19790E-03   -1.5606    
   4  Prefactor     .18359E-05    31.839        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .68900E-06    13.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        .94105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.6247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        3.0262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .33418E-07    11.513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.725        74.761        .16952E-03   -1.5585    
  11  Prefactor      .0000        33.398        .17095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        4.2811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11026E-05    26.142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5269        290.38        .44622E-03   -1.5665    
  15  Prefactor     .21150E-07    6.9821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4044        .36492        .49101E-03   -1.5684    
  17  Prefactor     2.6050        3.8070        .63300E-03   -1.5676    
  18  Prefactor     18.677        18.402        .23156E-03   -1.5622    
  19  Prefactor     .30975E-07    7.0874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          8.2918        11.317        .34826E-03   -1.5650    
  21  Prefactor      .0000        .78153        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .15821E-07    18.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.8125        2.7397        .51713E-03   -1.5669    
  24  Normalizat    1.1014        .18052        .37869E-01   -.89705    
  25  Prefactor     .95731        .21032        .66104E-01   -.94166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29981e-06
Minuit parameter uncertainties:
  1  0.00042423
  2  0.00472219
  3  40.9467
  4  0.015291
  5  0.00614498
  6  1.53123e-07
  7  4.40041e-06
  8  9.84849e-06
  9  0.00124003
  10  74.7627
  11  1.89927e-05
  12  1.65358e-05
  13  0.0107375
  14  72.5158
  15  0.000768063
  16  0.364923
  17  3.807
  18  18.4017
  19  0.000936962
  20  11.3166
  21  1.85924e-06
  22  0.001077
  23  2.73965
  24  0.180624
  25  0.210499
Done.

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

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  0.000e+00  1.899e-05  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:  9.573e-01  2.105e-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.101e+00  1.806e-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.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276406/likelihoodResults_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.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) = 5818.49066407
delta logL = -0.0143416066348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5818.46586078
delta logL = 0.0104616919753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38677       1.0000          .0000       .10000E+07
     2 'Index     '    3.2430       1.0000          .0000       10.000    
     3 'Normalizat'    1.0941       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96173       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=   5818.466     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      249 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38190        9.9374        .48440E-02    .69169E-02
   2  Index         3.2458        1.6436        .21603        .29370E-04
   3  Normalizat    1.0941        .11366E-01    .38244E-01    .52505E-05
   4  Prefactor     .96175        .13752E-01    .65968E-01    .12599E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.381902
  Index      = 3.24576
  Normalizat = 1.0941
  Prefactor  = 0.961753
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.466     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      284 TOTAL
                     EDM=   .72E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38190        802.90        .17752E-03   -1.5696    
   2  Index         3.2458        5.3674        .10099E-01   -.35848    
   3  Normalizat    1.0941        .10830        .22883E-03   -.89941    
   4  Prefactor     .96175        .12822        .29178E-03   -.94015    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.17294e-07
Minuit parameter uncertainties:
  1  35.0263
  2  28.7018
  3  0.108323
  4  0.128261
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276406': 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) = 5818.46586015
delta logL = 0.0104623172556

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  3.819e-01  3.503e+01  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  3.246e+00  2.870e+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:  9.618e-01  1.283e-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.094e+00  1.083e-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/276406/cmap_HighResolution_696297601_696556801_4FGL_J1032.6+3737_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.61e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2023-01-28 00:53:01.737307', job_id='276406', GAL2='0.96', fit_tolerance='1e-08', EG2='1.09', EG='1.10', time_epoch_completed='1674895981.74', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.05e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1763' AND source_name='4FGL J1032.6+3737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:53:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 276406: <4FGL_J1032.6+3737_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1032.6+3737_daily_bin1763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan 28 00:40:28 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:41:53 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:41:53 2023
Terminated at Sat Jan 28 00:53:02 2023
Results reported at Sat Jan 28 00:53:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1032.6+3737_daily_bin1763 158.173 37.6234 696297601 696556801 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 :                                   659.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            754 sec.

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

