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


Performing analysis on: 4FGL_J1032.6+3737_weekly_bin752
RA = 158.173, Dec = 37.6234
tmin = 693792001, tmax = 694396801
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='436524', job_status='RUN', time_executed='2023-01-03 01:37:42.762099', time_epoch_executed='1672738662.76' WHERE source_name='4FGL J1032.6+3737' and cadence='weekly' and bin_id='752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/436524

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/436524/ft1_4FGL_J1032.6+3737_weekly_bin752.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/436524/ft1_4FGL_J1032.6+3737_weekly_bin752.fits outfile=/scratch/kocevski/436524/ft1_filteredMKT_4FGL_J1032.6+3737_weekly_bin752.fits ra=158.173 dec=37.6234 rad=12.0 tmin=693792001.0 tmax=694396801.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 8.69
user 8.27
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.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/436524/ft1_filteredMKT_4FGL_J1032.6+3737_weekly_bin752.fits evtable="EVENTS" outfile="/scratch/kocevski/436524/ft1_filtered_4FGL_J1032.6+3737_weekly_bin752.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.58
user 0.39
sys 0.16

Number of photons that the gtmktime cut: 753

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/436524/ft1_filtered_4FGL_J1032.6+3737_weekly_bin752.fits" evtable="EVENTS" scfile=/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits sctable="SC_DATA" outfile=/scratch/kocevski/436524/ltcube_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.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/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits
.....................!
real 34.01
user 33.17
sys 0.51

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/436524/ft1_filtered_4FGL_J1032.6+3737_weekly_bin752.fits evtable="EVENTS" scfile=/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits sctable="SC_DATA" expcube=/scratch/kocevski/436524/ltcube_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.fits outfile=/scratch/kocevski/436524/expmap_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.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/436524/ltcube_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.fits
.....................!
real 193.19
user 187.11
sys 4.73

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/436524/ft1_filtered_4FGL_J1032.6+3737_weekly_bin752.fits scfile=/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits outfile=/scratch/kocevski/436524/cmap_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.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.60
user 0.44
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/436524/ft1_filtered_4FGL_J1032.6+3737_weekly_bin752.fits scfile=/scratch/kocevski/436524/ft2_4FGL_J1032.6+3737_weekly_bin752.fits outfile=/scratch/kocevski/436524/cmap_HighResolution_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.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.61
user 0.44
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .66613E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    20.091       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.3838       1.0000          .0000       .10000E+07
     4 'Prefactor '    .70355E-03   1.0000          .0000       .10000E+07
     5 'norm      '    .19827E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    4.6374       1.0000          .0000       .10000E+07
     7 'Prefactor '    .63498E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5635       1.0000          .0000       .10000E+07
     9 'norm      '    .30843E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    31.444       1.0000          .0000       .10000E+07
    11 'Prefactor '    45.529       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25139E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.1231       1.0000          .0000       .10000E+07
    14 'Prefactor '    .38178       1.0000          .0000       .10000E+07
    15 'Prefactor '    15.901       1.0000          .0000       .10000E+07
    16 'norm      '    3.0027       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.1778       1.0000          .0000       .10000E+07
    18 'Prefactor '    .25189E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .12859E-02   1.0000          .0000       .10000E+07
    20 'norm      '    2.1595       1.0000          .0000       .10000E+07
    21 'Prefactor '    .69217E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    .58491       1.0000          .0000       .10000E+07
    23 'norm      '    .10890       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0777       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .78010       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=   8137.466     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2155 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .77716E-09    4.3482        .19456E-06** at limit **
   2  Prefactor     20.090        15.276        .13669E-05   -.18165E-01
   3  Prefactor     8.3484        17.064       -.16058E-06   -.39190E-01
   4  Prefactor     .55511E-09    3.6331       -.15697E-06** at limit **
   5  norm           .0000        6.1470        .40892E-07** at limit **
   6  Prefactor     4.6353        2.2261        .91220E-07    .82945E-03
   7  Prefactor      .0000        1.2079        .15112E-06** at limit **
   8  Prefactor     3.5601        3.5673       -.62612E-07   -.14373E-02
   9  norm          .12207E-06    2.2709        .27703E-06** at limit **
  10  Prefactor     31.031        42.060        .42002E-06   -.25030E-01
  11  Prefactor     45.462        17.180       -.84088E-06    .89685E-01
  12  Prefactor      .0000        2.6085        .20521E-06** at limit **
  13  Prefactor     3.1292        4.5298       -.86828E-06   -.21697E-01
  14  Prefactor     .21094E-08    48.342        .74114E-06** at limit **
  15  Prefactor     15.918        5.6090        .49316E-06    .82013E-01
  16  norm          3.0026        .36220       -.18574E-08   -.44260E-02
  17  Prefactor     2.1751        2.0834       -.23476E-07   -.14036E-02
  18  Prefactor     .10819E-06    2.3884       -.53413E-06** at limit **
  19  Prefactor     .22204E-09    5.6316       -.31373E-06** at limit **
  20  norm          2.1481        8.9734        .33303E-06    .63328E-04
  21  Prefactor      .0000        .89185        .86939E-07** at limit **
  22  Prefactor     .60294E-01    1528.9        .40637E-05** at limit **
  23  norm          .11734        6.4826        .58731E-06** at limit **
  24  Normalizat    1.0780        .16421       -.96702E-05   -.26264E-03
  25  Prefactor     .78033        .19372        .19117E-05   -.15321E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.77156e-10
  Prefactor  = 20.0904
  Prefactor  = 8.34837
  Prefactor  = 5.55112e-10
  norm       = 0
  Prefactor  = 4.63527
  Prefactor  = 0
  Prefactor  = 3.56014
  norm       = 1.22069e-07
  Prefactor  = 31.0305
  Prefactor  = 45.4619
  Prefactor  = 0
  Prefactor  = 3.12919
  Prefactor  = 2.10942e-09
  Prefactor  = 15.9176
  norm       = 3.0026
  Prefactor  = 2.17513
  Prefactor  = 1.08191e-07
  Prefactor  = 2.22045e-10
  norm       = 2.14812
  Prefactor  = 0
  Prefactor  = 0.0602937
  norm       = 0.117344
  Normalizat = 1.07801
  Prefactor  = 0.780334
 **********
 **   18 **HESSE 
 **********

 FCN=   8137.466     FROM HESSE     STATUS=OK           491 CALLS     2646 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .77716E-09    4.3741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.090        22.358        .22317E-03   -1.5618    
   3  Prefactor     8.3484        18.410        .34599E-03   -1.5650    
   4  Prefactor     .55511E-09    3.6391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        6.1765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6353        2.2273        .46712E-03   -1.5665    
   7  Prefactor      .0000        1.2088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5601        3.5719        .53514E-03   -1.5670    
   9  norm          .12207E-06    4.0318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     31.031        44.415        .17836E-03   -1.5597    
  11  Prefactor     45.462        28.517        .14821E-03   -1.5573    
  12  Prefactor      .0000        2.6030        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1292        12.335        .57346E-03   -1.5673    
  14  Prefactor     .21094E-08    48.806        .91629E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.918        11.125        .25090E-03   -1.5628    
  16  norm          3.0026        .36228        .41074E-03   -1.5673    
  17  Prefactor     2.1751        2.1248        .69738E-03   -1.5678    
  18  Prefactor     .10819E-06    3.9781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .22204E-09    5.6534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.1481        9.0749        .70070E-03   -1.5679    
  21  Prefactor      .0000        .88895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .60294E-01    21.875        .12119E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .11734        .92852        .49598E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0780        .14271        .38992E-01   -.90461    
  25  Prefactor     .78033        .16754        .69678E-01   -1.0046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72942e-07
Minuit parameter uncertainties:
  1  0.000118301
  2  22.3582
  3  18.4106
  4  9.18151e-05
  5  6.56502e-07
  6  2.22726
  7  4.98339e-07
  8  3.57192
  9  0.00140311
  10  44.4152
  11  28.5176
  12  1.3219e-05
  13  12.3353
  14  0.000637552
  15  11.1255
  16  0.362284
  17  2.1248
  18  0.00131204
  19  7.12673e-05
  20  8.83041
  21  1.84125e-06
  22  2.29692
  23  0.66017
  24  0.142756
  25  0.167653
Done.

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

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  4.546e+01  2.852e+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:  7.803e-01  1.677e-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.078e+00  1.428e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.80
Ra Dec: 158.173 37.623
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 3.62e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 2.09e-05 +/- 1.31e-05

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) = 8137.45699363
delta logL = 0.00900982318944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8137.44881953
delta logL = 0.0171839245832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.474       1.0000          .0000       .10000E+07
     2 'Index     '    1.9729       1.0000          .0000       10.000    
     3 'Normalizat'    1.0835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77661       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=   8137.449     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      237 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.445        610.11        .14077E-03    .12680E-04
   2  Index         1.9739        2.6954        .17079        .95102E-04
   3  Normalizat    1.0834        .70370E-01    .38715E-01    .72122E-05
   4  Prefactor     .77667        .59741E-01    .69826E-01    .25734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.4452
  Index      = 1.9739
  Normalizat = 1.08343
  Prefactor  = 0.776667
 **********
 **   18 **HESSE 
 **********

 FCN=   8137.449     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .48E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.445        42.432        .56306E-05   -1.5566    
   2  Index         1.9739        .57018        .58970E-02   -.65004    
   3  Normalizat    1.0834        .16238        .22106E-03   -.90286    
   4  Prefactor     .77667        .19313        .30897E-03   -1.0059    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84218e-12
Minuit parameter uncertainties:
  1  42.4323
  2  0.572146
  3  0.16245
  4  0.193299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/436524': 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) = 8137.44881789
delta logL = 0.0171855688777

Extracting fit parameters...

4FGL J1032.6+3737
   Spectrum: PowerLaw
316    Prefactor:  5.045e+01  4.243e+01  0.000e+00  1.000e+06 ( 1.000e-14)
317        Index:  1.974e+00  5.721e-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:  7.767e-01  1.933e-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.083e+00  1.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.82
Ra Dec: 158.173 37.623
Photon Index (Free Index): 1.97 +/- 0.57
Photon Flux (Free Index): 3.18e-08 +/- 3.07e-08
Energy Flux (Free Index): 2.35e-05 +/- 2.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/436524/cmap_HighResolution_693792001_694396801_4FGL_J1032.6+3737_weekly_bin752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.62e-08', energy_flux2='2.35e-05', photon_flux_error='2.27e-08', dlogl='1.72e-02', energy_flux='2.09e-05', photon_flux2='3.18e-08', job_status='DONE', time_completed='2023-01-03 01:51:01.988658', photon_index_error2='0.57', photon_index2='1.97', ts='4.80', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='1.08', time_epoch_completed='1672739461.99', return_code='0', job_id='436524', GAL2='0.78', EG2='1.08', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='3.07e-08', ts2='4.82', photon_index='2.08' WHERE bin_id='752' AND source_name='4FGL J1032.6+3737' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan  3 01:51:02 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 436524: <4FGL_J1032.6+3737_weekly_bin752> in cluster <slac> Done

Job <4FGL_J1032.6+3737_weekly_bin752> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan  3 01:35:30 2023
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan  3 01:36:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan  3 01:36:02 2023
Terminated at Tue Jan  3 01:51:03 2023
Results reported at Tue Jan  3 01:51:03 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1032.6+3737_weekly_bin752 158.173 37.6234 693792001 694396801 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 :                                   796.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             300.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            933 sec.

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

