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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1762
RA = 248.817, Dec = 38.1401
tmin = 696038401, tmax = 696297601
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='113440', job_status='RUN', time_executed='2023-01-25 01:13:00.307215', time_epoch_executed='1674637980.31' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113440

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/113440/ft1_4FGL_J1635.2+3808_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113440/ft1_4FGL_J1635.2+3808_daily_bin1762.fits outfile=/scratch/kocevski/113440/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1762.fits ra=248.817 dec=38.1401 rad=12.0 tmin=696038401.0 tmax=696297601.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.43
sys 0.23

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

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

Number of photons that the gtmktime cut: 578

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/113440/ltcube_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.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/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits
.....................!
real 14.11
user 13.73
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/113440/ltcube_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits outfile=/scratch/kocevski/113440/expmap_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.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/113440/ltcube_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits
.....................!
real 190.89
user 185.86
sys 4.62

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/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits scfile=/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits outfile=/scratch/kocevski/113440/cmap_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.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.59
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits scfile=/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits outfile=/scratch/kocevski/113440/cmap_HighResolution_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits', '/scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits', expMap='/scratch/kocevski/113440/expmap_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits', expCube='/scratch/kocevski/113440/ltcube_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/113440/Model_4FGL_J1635.2+3808_daily_bin1762.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/113440/ft1_filtered_4FGL_J1635.2+3808_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/113440/ft2_4FGL_J1635.2+3808_daily_bin1762.fits
Exposure map: /scratch/kocevski/113440/expmap_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits
Exposure cube: /scratch/kocevski/113440/ltcube_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/113440/Model_4FGL_J1635.2+3808_daily_bin1762.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) = 6427.04916228

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    24.794       1.0000          .0000       .10000E+07
     2 'Prefactor '    .68310E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.9232       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.9278       1.0000          .0000       .10000E+07
     5 'Prefactor '    22.881       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27637E-04   1.0000          .0000       .10000E+07
     7 'norm      '    .18663       1.0000          .0000       .10000E+07
     8 'norm      '    24.249       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.3508       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13898E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .51345       1.0000          .0000       .10000E+07
    12 'Prefactor '    .58783       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18230E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    5.3986       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6015       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.4707       1.0000          .0000       .10000E+07
    17 'norm      '    5.4605       1.0000          .0000       .10000E+07
    18 'norm      '    .77034       1.0000          .0000       .10000E+07
    19 'Prefactor '    .39852E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .12873E-06   1.0000          .0000       .10000E+07
    21 'norm      '    .35222E-02   1.0000          .0000       .10000E+07
    22 'norm      '    10.247       1.0000          .0000       .10000E+07
    23 'Normalizat'    .81833       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96294       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=   6427.019     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     1618 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.860        2.7323        .13273E-07    .15528E-01
   2  Prefactor     .55511E-10    10.716       -.36049E-06** at limit **
   3  Prefactor     2.9129        2.8434        .11630E-06   -.91615E-03
   4  Prefactor     8.9182        6.6249        .26780E-07   -.32931E-02
   5  Prefactor     23.023        15.385       -.62912E-07    .38736E-01
   6  Prefactor      .0000        2.0137       -.10754E-06** at limit **
   7  norm          .18679        .11850       -.68403E-08** at limit **
   8  norm          24.242        9.3772       -.39724E-07   -.84598E-01
   9  Prefactor     8.3195        5.9121        .39160E-07    .22861E-01
  10  Prefactor      .0000        2.9901        .27709E-07** at limit **
  11  norm          .26534E-07    223.65       -.20913E-05** at limit **
  12  Prefactor     .59008        .72617        .70222E-07   -.81838E-04
  13  Prefactor      .0000        .76454       -.13546E-07** at limit **
  14  Prefactor     5.4149        10.425        .85214E-07   -.19733E-01
  15  Prefactor     1.6032        3.6206       -.62742E-07    .20600E-03
  16  Prefactor     2.4748        2.5509        .81615E-07    .52611E-03
  17  norm          5.4606        1.9028       -.40029E-07    .22045E-02
  18  norm          .77010        .77306       -.98165E-08    .56927E-03
  19  Prefactor      .0000        2.4927       -.40755E-07** at limit **
  20  norm           .0000        .25718       -.25594E-07** at limit **
  21  norm           .0000        15.825       -.39358E-06** at limit **
  22  norm          10.247        6.7004       -.47190E-07   -.21695E-03
  23  Normalizat    .81853        .21877        .14205E-06   -.20980E-05
  24  Prefactor     .96281        .17346        .13022E-05   -.73035E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 24.8597
  Prefactor  = 5.55112e-11
  Prefactor  = 2.91293
  Prefactor  = 8.91824
  Prefactor  = 23.0227
  Prefactor  = 0
  norm       = 0.186791
  norm       = 24.2423
  Prefactor  = 8.31953
  Prefactor  = 0
  norm       = 2.65343e-08
  Prefactor  = 0.590077
  Prefactor  = 0
  Prefactor  = 5.41493
  Prefactor  = 1.60318
  Prefactor  = 2.47481
  norm       = 5.4606
  norm       = 0.770097
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 10.2469
  Normalizat = 0.818533
  Prefactor  = 0.962805
 **********
 **   18 **HESSE 
 **********

 FCN=   6427.019     FROM HESSE     STATUS=OK           453 CALLS     2071 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.860        18.087        .20087E-03   -1.5608    
   2  Prefactor     .55511E-10    10.788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.9129        2.8506        .59391E-03   -1.5674    
   4  Prefactor     8.9182        7.0798        .33521E-03   -1.5648    
   5  Prefactor     23.023        24.098        .20911E-03   -1.5612    
   6  Prefactor      .0000        2.0180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .18679        .13104        .46365E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          24.242        17.345        .20312E-03   -1.5609    
   9  Prefactor     8.3195        18.637        .34667E-03   -1.5650    
  10  Prefactor      .0000        2.9751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .26534E-07    220.85        .77367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .59008        .75371        .70325E-03   -1.5693    
  13  Prefactor      .0000        .76896        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.4149        31.226        .43226E-03   -1.5661    
  15  Prefactor     1.6032        3.6803        .83735E-03   -1.5683    
  16  Prefactor     2.4748        2.5725        .65025E-03   -1.5677    
  17  norm          5.4606        1.9117        .42976E-03   -1.5661    
  18  norm          .77010        .79016        .55172E-03   -1.5690    
  19  Prefactor      .0000        2.4906        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .25494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        15.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.247        6.7182        .31277E-03   -1.5644    
  23  Normalizat    .81853        .18667        .63316E-01   -.99385    
  24  Prefactor     .96281        .14502        .45802E-01   -.93980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02174e-07
Minuit parameter uncertainties:
  1  18.087
  2  4.12037e-05
  3  2.85057
  4  7.07976
  5  24.0979
  6  5.37363e-06
  7  0.131037
  8  17.3455
  9  18.6368
  10  2.31998e-06
  11  0.00484161
  12  0.753713
  13  1.88462e-07
  14  26.0068
  15  3.68026
  16  2.57251
  17  1.91166
  18  0.790159
  19  1.9135e-06
  20  1.69851e-07
  21  2.02581e-05
  22  6.71824
  23  0.186813
  24  0.145083
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  1.868e-01  1.310e-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:  9.628e-01  1.451e-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:  8.185e-01  1.868e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.12
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 5.72e-08 +/- 4.01e-08
Energy Flux (Fixed Index): 1.83e-05 +/- 1.29e-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) = 6427.01840297
delta logL = 0.000443261142209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6427.01835152
delta logL = 0.000494713402986

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .18616       1.0000          .0000       .10000E+07
     2 'alpha     '    2.3044       1.0000          .0000       5.0000    
     3 'Normalizat'    .82039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96189       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=   6427.018     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      198 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .18616        2.6697        .46659E-03** at limit **
   2  alpha         2.3044        2.5307        .41312        .46242E-05
   3  Normalizat    .82039        .85863E-01    .63254E-01    .22419E-04
   4  Prefactor     .96189        .57916E-01    .45789E-01    .41721E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.186162
  alpha      = 2.30438
  Normalizat = 0.82039
  Prefactor  = 0.961892
 **********
 **   18 **HESSE 
 **********

 FCN=   6427.018     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .18616        .11716        .20952E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3044        .78670        .18903E-01   -.78330E-01
   3  Normalizat    .82039        .21943        .27979E-03   -.99317    
   4  Prefactor     .96189        .17422        .21167E-03   -.94011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34806e-12
Minuit parameter uncertainties:
  1  0.117164
  2  0.800387
  3  0.219668
  4  0.174318
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113440': 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) = 6427.01835152
delta logL = 0.000494713502121

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  1.862e-01  1.172e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.304e+00  8.004e-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:  9.619e-01  1.743e-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:  8.204e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.15
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.30 +/- 0.80
Photon Flux (Free Index): 5.57e-08 +/- 5.57e-08
Energy Flux (Free Index): 1.83e-05 +/- 1.14e-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/113440/cmap_HighResolution_696038401_696297601_4FGL_J1635.2+3808_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.72e-08', energy_flux2='1.83e-05', photon_flux_error='4.01e-08', dlogl='4.95e-04', energy_flux='1.83e-05', photon_flux2='5.57e-08', job_status='DONE', time_completed='2023-01-25 01:22:33.670387', photon_index_error2='0.80', photon_index2='2.30', ts='5.12', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.82', time_epoch_completed='1674638553.67', return_code='0', job_id='113440', GAL2='0.96', EG2='0.82', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='5.57e-08', ts2='5.15', photon_index='2.33' WHERE bin_id='1762' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:22:33 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 113440: <4FGL_J1635.2+3808_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:10:24 2023
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:11:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:11:55 2023
Terminated at Wed Jan 25 01:22:34 2023
Results reported at Wed Jan 25 01:22:34 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1762 248.817 38.1401 696038401 696297601 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 :                                   575.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             309.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   639 sec.
    Turnaround time :                            730 sec.

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

