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


Performing analysis on: 4FGL_J1032.6+3737_daily_bin1760
RA = 158.173, Dec = 37.6234
tmin = 695520001, tmax = 695779201
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='733616', job_status='RUN', time_executed='2023-01-19 00:44:14.489097', time_epoch_executed='1674117854.49' WHERE source_name='4FGL J1032.6+3737' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/733616

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/733616/ft1_4FGL_J1032.6+3737_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/733616/ft2_4FGL_J1032.6+3737_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/733616/ft1_4FGL_J1032.6+3737_daily_bin1760.fits outfile=/scratch/kocevski/733616/ft1_filteredMKT_4FGL_J1032.6+3737_daily_bin1760.fits ra=158.173 dec=37.6234 rad=12.0 tmin=695520001.0 tmax=695779201.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.45
user 2.20
sys 0.21

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

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

Number of photons that the gtmktime cut: 206

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/733616/ft1_filtered_4FGL_J1032.6+3737_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/733616/ft2_4FGL_J1032.6+3737_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/733616/ltcube_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.fits outfile=/scratch/kocevski/733616/expmap_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.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/733616/ltcube_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.fits
.....................!
real 196.41
user 190.39
sys 5.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 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/733616/ft1_filtered_4FGL_J1032.6+3737_daily_bin1760.fits scfile=/scratch/kocevski/733616/ft2_4FGL_J1032.6+3737_daily_bin1760.fits outfile=/scratch/kocevski/733616/cmap_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/733616/ft1_filtered_4FGL_J1032.6+3737_daily_bin1760.fits scfile=/scratch/kocevski/733616/ft2_4FGL_J1032.6+3737_daily_bin1760.fits outfile=/scratch/kocevski/733616/cmap_HighResolution_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .88171E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55573E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .33005E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    47.729       1.0000          .0000       .10000E+07
     5 'norm      '    .28683E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.9816       1.0000          .0000       .10000E+07
     7 'Prefactor '    .85407       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12411       1.0000          .0000       .10000E+07
     9 'norm      '    4.8274       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29938E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    22.225       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.2274       1.0000          .0000       .10000E+07
    13 'Prefactor '    .70988E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .11901E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .48592E-04   1.0000          .0000       .10000E+07
    16 'norm      '    2.4954       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11380E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15761E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .25763E-03   1.0000          .0000       .10000E+07
    20 'norm      '    20.304       1.0000          .0000       .10000E+07
    21 'Prefactor '    .25998       1.0000          .0000       .10000E+07
    22 'Prefactor '    .63204E-03   1.0000          .0000       .10000E+07
    23 'norm      '    6.6184       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0658       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98851       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=   2413.427     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2072 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .41538E-05    23.491        .28259E-07** at limit **
   2  Prefactor     .24142E-06    79.164        .18455E-06** at limit **
   3  Prefactor     .55511E-10    114.63        .49694E-06** at limit **
   4  Prefactor     48.264        2.6618       -.10999E-08   -.29489E-01
   5  norm          .20040E-07    19.962       -.25271E-06** at limit **
   6  Prefactor     8.1887        8.2750        .64883E-07   -.39718E-03
   7  Prefactor     .91817        12.136       -.35734E-06    .21520E-01
   8  Prefactor     .12873E-04    87.521        .46748E-06** at limit **
   9  norm          4.4744        4.5465        .21677E-07   -.53489E-03
  10  Prefactor      .0000        62.807        .44285E-07** at limit **
  11  Prefactor     32.196        67.509        .32334E-06    .10365E-01
  12  Prefactor     5.2207        10.095        .17855E-06    .11789E-03
  13  Prefactor      .0000        26.280        .27547E-06** at limit **
  14  Prefactor     .14045E-04    34.505       -.35179E-06** at limit **
  15  Prefactor     .10381E-07    13.241        .61723E-06** at limit **
  16  norm          2.4964        .62565        .10153E-07   -.42631E-02
  17  Prefactor      .0000        3.2967        .75181E-07** at limit **
  18  Prefactor     .27756E-09    10.420        .35617E-06** at limit **
  19  Prefactor     .28311E-08    11.131       -.38249E-06** at limit **
  20  norm          20.212        2.7084        .36066E-07    .21230E-01
  21  Prefactor     .26874        18.331        .16298E-05   -.12444E-02
  22  Prefactor     .42694E-05    22.745       -.12306E-06** at limit **
  23  norm          6.6405        5.0248        .16651E-06   -.27055E-02
  24  Normalizat    1.0628        .37730        .90457E-05   -.68930E-04
  25  Prefactor     .98638        .42389       -.86465E-05   -.37105E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.15384e-06
  Prefactor  = 2.41418e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 48.2638
  norm       = 2.00395e-08
  Prefactor  = 8.18869
  Prefactor  = 0.918175
  Prefactor  = 1.2873e-05
  norm       = 4.47442
  Prefactor  = 0
  Prefactor  = 32.1963
  Prefactor  = 5.22067
  Prefactor  = 0
  Prefactor  = 1.40454e-05
  Prefactor  = 1.03806e-08
  norm       = 2.49643
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Prefactor  = 2.83107e-09
  norm       = 20.2117
  Prefactor  = 0.268737
  Prefactor  = 4.26942e-06
  norm       = 6.64046
  Normalizat = 1.06275
  Prefactor  = 0.986379
 **********
 **   18 **HESSE 
 **********

 FCN=   2413.427     FROM HESSE     STATUS=OK           487 CALLS     2559 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .41538E-05    44.247        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .24142E-06    79.837        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    114.19        .16296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     48.264        37.969        .14476E-03   -1.5569    
   5  norm          .20040E-07    20.056        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1887        8.2853        .35466E-03   -1.5651    
   7  Prefactor     .91817        53.274        .48989E-03   -1.5689    
   8  Prefactor     .12873E-04    20.601        .10574E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.4744        21.149        .45763E-03   -1.5666    
  10  Prefactor      .0000        62.633        .16454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     32.196        75.940        .21217E-03   -1.5594    
  12  Prefactor     5.2207        10.269        .43941E-03   -1.5662    
  13  Prefactor      .0000        26.204        .14786E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14045E-04    191.81        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10381E-07    13.280        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.4964        .62551        .42361E-03   -1.5676    
  17  Prefactor      .0000        3.2932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27756E-09    10.414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .28311E-08    11.138        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          20.212        18.384        .22199E-03   -1.5618    
  21  Prefactor     .26874        3.8720        .52945E-02   -1.5698    
  22  Prefactor     .42694E-05    45.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          6.6405        5.0593        .38983E-03   -1.5656    
  24  Normalizat    1.0628        .31253        .59847E-01   -.90957    
  25  Prefactor     .98638        .34493        .70659E-01   -.93185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11014e-07
Minuit parameter uncertainties:
  1  0.0271146
  2  0.00878042
  3  0.000117063
  4  37.9692
  5  0.00126779
  6  8.28529
  7  13.988
  8  0.03257
  9  19.4555
  10  6.47168e-05
  11  75.9423
  12  10.269
  13  5.3413e-05
  14  0.103813
  15  0.000743353
  16  0.625512
  17  9.49684e-08
  18  0.00010427
  19  0.000355784
  20  18.3845
  21  2.04015
  22  0.0277555
  23  5.05926
  24  0.313069
  25  0.345705
Done.

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

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  3.220e+01  7.594e+01  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.864e-01  3.457e-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.063e+00  3.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.25
Ra Dec: 158.173 37.623
Photon Flux Upper Limit: 1.86e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/733616/likelihoodResults_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.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) = 2413.33355549
delta logL = 0.0933236728288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2413.3322579
delta logL = 0.0946212601416

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.788       1.0000          .0000       .10000E+07
     2 'Index     '    2.5618       1.0000          .0000       10.000    
     3 'Normalizat'    1.0410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99672       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2413.332     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      310 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.758        62.306        .89950E-05    .93023E-03
   2  Index         2.5614        1.2890        .60640E-02    .30009E-04
   3  Normalizat    1.0412        .37418        .26697E-03    .48270E-04
   4  Prefactor     .99709        .42305        .31091E-03    .21555E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7576
  Index      = 2.56137
  Normalizat = 1.04123
  Prefactor  = 0.997092
 **********
 **   18 **HESSE 
 **********

 FCN=   2413.332     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .66E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.758        52.738        .35980E-06   -1.5619    
   2  Index         2.5614        1.0941        .24256E-03   -.50948    
   3  Normalizat    1.0412        .37402        .10679E-04   -.91662    
   4  Prefactor     .99709        .42292        .12437E-04   -.92827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61543e-11
Minuit parameter uncertainties:
  1  52.7388
  2  1.10589
  3  0.37497
  4  0.424335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/733616': 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): 0
logL (Free Index) = 2413.33225272
delta logL = 0.0946264384452

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  1.976e+01  5.274e+01  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  2.561e+00  1.106e+00  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.971e-01  4.243e-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.041e+00  3.750e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.25
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/733616/cmap_HighResolution_695520001_695779201_4FGL_J1032.6+3737_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', job_status='DONE', photon_flux_upper_limit='1.86e-07', time_completed='2023-01-19 00:51:53.546643', job_id='733616', GAL2='1.00', fit_tolerance='1e-08', EG2='1.04', EG='1.06', time_epoch_completed='1674118313.55', return_code2='0', ts='0.25', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='9.46e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.08' WHERE bin_id='1760' AND source_name='4FGL J1032.6+3737' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:51:53 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 733616: <4FGL_J1032.6+3737_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1032.6+3737_daily_bin1760> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Jan 19 00:40:29 2023
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:43:40 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:43:40 2023
Terminated at Thu Jan 19 00:51:54 2023
Results reported at Thu Jan 19 00:51:54 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1032.6+3737_daily_bin1760 158.173 37.6234 695520001 695779201 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 :                                   460.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             361.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            685 sec.

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

