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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1750
RA = 248.817, Dec = 38.1401
tmin = 692928001, tmax = 693187201
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='17585', job_status='RUN', time_executed='2022-12-20 01:12:03.651506', time_epoch_executed='1671527523.65' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/17585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/17585/ft1_4FGL_J1635.2+3808_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/17585/ft1_4FGL_J1635.2+3808_daily_bin1750.fits outfile=/scratch/kocevski/17585/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1750.fits ra=248.817 dec=38.1401 rad=12.0 tmin=692928001.0 tmax=693187201.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.50
user 3.27
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.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/17585/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 552

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/17585/ltcube_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.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/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits
.....................!
real 11.58
user 11.20
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/17585/ltcube_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits outfile=/scratch/kocevski/17585/expmap_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.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/17585/ltcube_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits
.....................!
real 190.49
user 185.16
sys 5.02

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

Setting source of interest to:
4FGL J1635.2+3808 @ 248.817 38.1401

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits outfile=/scratch/kocevski/17585/cmap_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.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=248.817 yref=38.1401 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits outfile=/scratch/kocevski/17585/cmap_HighResolution_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.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=248.817 yref=38.1401 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/17585/Model_4FGL_J1635.2+3808_daily_bin1750.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/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits.....................!
real 47.73
user 46.32
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits', '/scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits', expMap='/scratch/kocevski/17585/expmap_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits', expCube='/scratch/kocevski/17585/ltcube_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/17585/Model_4FGL_J1635.2+3808_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.2+3808'

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  1.022e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/17585/ft1_filtered_4FGL_J1635.2+3808_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/17585/ft2_4FGL_J1635.2+3808_daily_bin1750.fits
Exposure map: /scratch/kocevski/17585/expmap_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits
Exposure cube: /scratch/kocevski/17585/ltcube_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/17585/Model_4FGL_J1635.2+3808_daily_bin1750.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) = 5928.3824736

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.145       1.0000          .0000       .10000E+07
     2 'Prefactor '    .31801E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.2933       1.0000          .0000       .10000E+07
     4 'Prefactor '    .88004E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .67593E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12768E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .27140       1.0000          .0000       .10000E+07
     8 'norm      '    .12642E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .67208E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6966       1.0000          .0000       .10000E+07
    11 'norm      '    1.7830       1.0000          .0000       .10000E+07
    12 'Prefactor '    .13185E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8863       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.340       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.7525       1.0000          .0000       .10000E+07
    16 'Prefactor '    .86506E-03   1.0000          .0000       .10000E+07
    17 'norm      '    2.1135       1.0000          .0000       .10000E+07
    18 'norm      '    .65159E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .77000E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .31460E-05   1.0000          .0000       .10000E+07
    21 'norm      '    .21637E-04   1.0000          .0000       .10000E+07
    22 'norm      '    21.471       1.0000          .0000       .10000E+07
    23 'Normalizat'    .90397       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0584       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5928.359     FROM MIGRAD    STATUS=CONVERGED    202 CALLS     1650 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.071        8.3849       -.15342E-05    .13992E-01
   2  Prefactor     .55511E-10    50.119        .53819E-06** at limit **
   3  Prefactor     2.2937        3.1561       -.41252E-07   -.14691E-02
   4  Prefactor      .0000        2.4464       -.35623E-07** at limit **
   5  Prefactor     .19429E-08    6.5796        .10334E-05** at limit **
   6  Prefactor     .11102E-09    6.3144        .70732E-07** at limit **
   7  norm          .27128        .14062        .29079E-08   -.41585E-02
   8  norm          .10436E-07    6.6377       -.68904E-06** at limit **
   9  Prefactor     .55511E-10    23.778       -.56949E-06** at limit **
  10  Prefactor     1.7338        3.8627       -.84207E-07    .53643E-02
  11  norm          .18086E-06    490.28       -.58326E-05** at limit **
  12  Prefactor      .0000        1.9777       -.37154E-07** at limit **
  13  Prefactor     2.9032        1.4617        .65494E-08    .48201E-01
  14  Prefactor     11.765        18.863       -.83710E-06    .81248E-04
  15  Prefactor     1.7701        4.2838       -.14901E-06    .84112E-03
  16  Prefactor     .31641E-08    6.3430       -.24099E-05** at limit **
  17  norm          2.1119        1.6720       -.52233E-07    .94337E-02
  18  norm           .0000        .53275        .42555E-08** at limit **
  19  Prefactor     .33307E-09    5.8258        .20090E-05** at limit **
  20  norm           .0000        .50081       -.85075E-09** at limit **
  21  norm          .33307E-09    3.3473        .22914E-06** at limit **
  22  norm          21.471        8.4749       -.17023E-07   -.18825E-03
  23  Normalizat    .90421        .22797       -.28774E-05    .30022E-03
  24  Prefactor     1.0581        .18525        .55595E-05    .91277E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0711
  Prefactor  = 5.55112e-11
  Prefactor  = 2.29375
  Prefactor  = 0
  Prefactor  = 1.94289e-09
  Prefactor  = 1.11022e-10
  norm       = 0.27128
  norm       = 1.04361e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.7338
  norm       = 1.80855e-07
  Prefactor  = 0
  Prefactor  = 2.90318
  Prefactor  = 11.7649
  Prefactor  = 1.77006
  Prefactor  = 3.16414e-09
  norm       = 2.11187
  norm       = 0
  Prefactor  = 3.33067e-10
  norm       = 0
  norm       = 3.33067e-10
  norm       = 21.4712
  Normalizat = 0.90421
  Prefactor  = 1.05806
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.359     FROM HESSE     STATUS=OK           445 CALLS     2095 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.071        13.851        .31434E-03   -1.5644    
   2  Prefactor     .55511E-10    50.003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.2937        3.1686        .67752E-03   -1.5678    
   4  Prefactor      .0000        2.4508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .19429E-08    7.5406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    6.1894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .27128        .14208        .43973E-03   -1.5698    
   8  norm          .10436E-07    7.8928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    23.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.7338        3.9192        .80750E-03   -1.5682    
  11  norm          .18086E-06    477.43        .78337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.9675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9032        1.4836        .59795E-03   -1.5674    
  14  Prefactor     11.765        18.892        .29725E-03   -1.5639    
  15  Prefactor     1.7701        4.3531        .79160E-03   -1.5681    
  16  Prefactor     .31641E-08    6.5710        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.1119        1.6764        .70928E-03   -1.5679    
  18  norm           .0000        .52765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .33307E-09    5.9580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .49332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .33307E-09    3.3526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          21.471        8.4863        .21587E-03   -1.5615    
  23  Normalizat    .90421        .19758        .44952E-01   -.96312    
  24  Prefactor     1.0581        .15961        .39442E-01   -.90819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01997e-08
Minuit parameter uncertainties:
  1  13.8515
  2  0.00012328
  3  3.16857
  4  2.4118e-06
  5  0.000241458
  6  5.38815e-05
  7  0.14208
  8  0.000573706
  9  5.78265e-05
  10  3.91924
  11  0.0185869
  12  1.01308e-07
  13  1.48355
  14  18.8921
  15  4.35307
  16  0.000289516
  17  1.67638
  18  5.74479e-06
  19  9.26332e-05
  20  3.94728e-06
  21  6.50058e-05
  22  8.48627
  23  0.197737
  24  0.159679
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  2.713e-01  1.421e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.330e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
638    Prefactor:  1.058e+00  1.597e-01  0.000e+00  1.000e+01 ( 1.000e+00)
639        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
640        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
637   Normalization:  9.042e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.23
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 8.30e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 2.66e-05 +/- 1.39e-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) = 5928.34111976
delta logL = 0.018012615843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5928.33871248
delta logL = 0.020419894312

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26931       1.0000          .0000       .10000E+07
     2 'alpha     '    2.1246       1.0000          .0000       5.0000    
     3 'Normalizat'    .92388       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0473       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5928.339     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      197 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26926        2.9713        .46044E-03    .50849E-02
   2  alpha         2.1249        2.7765        .41754       -.12997E-04
   3  Normalizat    .92379        .14105        .45206E-01    .15679E-04
   4  Prefactor     1.0474        .72623E-01    .40069E-01    .51482E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.269256
  alpha      = 2.1249
  Normalizat = 0.923791
  Prefactor  = 1.04736
 **********
 **   18 **HESSE 
 **********

 FCN=   5928.339     FROM HESSE     STATUS=OK            33 CALLS      230 TOTAL
                     EDM=   .72E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26926        .14753        .20389E-05   -1.5698    
   2  alpha         2.1249        .96641        .17922E-01   -.15061    
   3  Normalizat    .92379        .23710        .27249E-03   -.95629    
   4  Prefactor     1.0474        .18923        .21562E-03   -.91167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.18777e-13
Minuit parameter uncertainties:
  1  0.147525
  2  0.992902
  3  0.237367
  4  0.189355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/17585': 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) = 5928.33871219
delta logL = 0.020420183665

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  2.693e-01  1.475e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.125e+00  9.929e-01  0.000e+00  5.000e+00 ( 1.000e+00)
277         beta:  1.274e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
278           Eb:  5.275e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
638    Prefactor:  1.047e+00  1.894e-01  0.000e+00  1.000e+01 ( 1.000e+00)
639        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
640        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
637   Normalization:  9.238e-01  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.32
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.12 +/- 0.99
Photon Flux (Free Index): 6.96e-08 +/- 7.22e-08
Energy Flux (Free Index): 2.77e-05 +/- 1.65e-05

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/17585/cmap_HighResolution_692928001_693187201_4FGL_J1635.2+3808_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.30e-08', energy_flux2='2.77e-05', photon_flux_error='4.35e-08', dlogl='2.04e-02', energy_flux='2.66e-05', photon_flux2='6.96e-08', job_status='DONE', time_completed='2022-12-20 01:21:14.939499', photon_index_error2='0.99', photon_index2='2.12', ts='10.23', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.65e-05', EG='0.90', time_epoch_completed='1671528074.94', return_code='0', job_id='17585', GAL2='1.05', EG2='0.92', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='7.22e-08', ts2='10.32', photon_index='2.33' WHERE bin_id='1750' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:21:14 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 17585: <4FGL_J1635.2+3808_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:10:28 2022
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:10:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:10:29 2022
Terminated at Tue Dec 20 01:21:15 2022
Results reported at Tue Dec 20 01:21:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1750 248.817 38.1401 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.2+3808 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   554.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            647 sec.

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

