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


Performing analysis on: 4FGL_J1635.2+3808_daily_bin1745
RA = 248.817, Dec = 38.1401
tmin = 691632001, tmax = 691891201
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='650363', job_status='RUN', time_executed='2022-12-05 00:55:55.122140', time_epoch_executed='1670230555.12' WHERE source_name='4FGL J1635.2+3808' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/650363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/650363/ft1_4FGL_J1635.2+3808_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/650363/ft1_4FGL_J1635.2+3808_daily_bin1745.fits outfile=/scratch/kocevski/650363/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1745.fits ra=248.817 dec=38.1401 rad=12.0 tmin=691632001.0 tmax=691891201.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.36
user 2.15
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.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/650363/ft1_filteredMKT_4FGL_J1635.2+3808_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/650363/ft1_filtered_4FGL_J1635.2+3808_daily_bin1745.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.33
sys 0.14

Number of photons that the gtmktime cut: 1081

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/650363/ft1_filtered_4FGL_J1635.2+3808_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/650363/ltcube_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.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/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits
.....................!
real 12.38
user 12.03
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/650363/ft1_filtered_4FGL_J1635.2+3808_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/650363/ltcube_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.fits outfile=/scratch/kocevski/650363/expmap_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.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/650363/ltcube_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.fits
.....................!
real 189.62
user 184.92
sys 4.40

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/650363/ft1_filtered_4FGL_J1635.2+3808_daily_bin1745.fits scfile=/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits outfile=/scratch/kocevski/650363/cmap_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/650363/ft1_filtered_4FGL_J1635.2+3808_daily_bin1745.fits scfile=/scratch/kocevski/650363/ft2_4FGL_J1635.2+3808_daily_bin1745.fits outfile=/scratch/kocevski/650363/cmap_HighResolution_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.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.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24125E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .39557E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .50293E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.3097       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.744       1.0000          .0000       .10000E+07
     6 'Prefactor '    .66724E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .52370       1.0000          .0000       .10000E+07
     8 'norm      '    1.8952       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.2032       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.9973       1.0000          .0000       .10000E+07
    11 'norm      '    23.021       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26218E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9368       1.0000          .0000       .10000E+07
    14 'Prefactor '    .28991E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    2.5206       1.0000          .0000       .10000E+07
    16 'Prefactor '    .58897E-07   1.0000          .0000       .10000E+07
    17 'norm      '    3.1071       1.0000          .0000       .10000E+07
    18 'norm      '    .40523E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.4441       1.0000          .0000       .10000E+07
    20 'norm      '    .79733       1.0000          .0000       .10000E+07
    21 'norm      '    .34805E-07   1.0000          .0000       .10000E+07
    22 'norm      '    8.5066       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1820       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .70736       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=   11553.56     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2048 TOTAL
                     EDM=   .15E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.9384        .12548E-06** at limit **
   2  Prefactor      .0000        3.2414       -.69669E-07** at limit **
   3  Prefactor      .0000        .80492       -.24723E-06** at limit **
   4  Prefactor     3.3340        9.1052        .19404E-06    .29536E-04
   5  Prefactor     21.570        34.785       -.33371E-06    .22882E-04
   6  Prefactor      .0000        5.2710        .40870E-07** at limit **
   7  norm          .52367        .12057       -.25381E-08    .73430E-03
   8  norm          1.8892        5.9886        .85304E-07   -.72645E-06
   9  Prefactor     3.2005        7.4856        .81678E-07    .10600E-04
  10  Prefactor     2.9984        2.7073        .46379E-07    .67230E-04
  11  norm          23.231        21.777       -.73264E-07    .11772E-05
  12  Prefactor      .0000        1.1652        .16791E-06** at limit **
  13  Prefactor     2.9358        .92433       -.58627E-08    .24776E-04
  14  Prefactor      .0000        165.51       -.25523E-05** at limit **
  15  Prefactor     2.5199        2.7163        .10071E-06    .90093E-04
  16  Prefactor      .0000        1.2002        .12314E-07** at limit **
  17  norm          3.1069        1.2433        .79622E-07   -.12798E-03
  18  norm           .0000        .46673       -.47319E-07** at limit **
  19  Prefactor     3.4423        4.4972       -.19898E-06    .14959E-04
  20  norm          .79724        .51903       -.43914E-08    .22142E-03
  21  norm           .0000        2.4145       -.20158E-06** at limit **
  22  norm          8.5066        4.2194        .20145E-07   -.11788E-05
  23  Normalizat    1.1823        .16554        .11960E-05    .10507E-04
  24  Prefactor     .70727        .12566        .13499E-05    .84734E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 3.33403
  Prefactor  = 21.5701
  Prefactor  = 0
  norm       = 0.523667
  norm       = 1.88924
  Prefactor  = 3.2005
  Prefactor  = 2.99843
  norm       = 23.2309
  Prefactor  = 0
  Prefactor  = 2.93577
  Prefactor  = 0
  Prefactor  = 2.51989
  Prefactor  = 0
  norm       = 3.10689
  norm       = 0
  Prefactor  = 3.44229
  norm       = 0.797237
  norm       = 0
  norm       = 8.50659
  Normalizat = 1.18228
  Prefactor  = 0.707275
 **********
 **   18 **HESSE 
 **********

 FCN=   11553.56     FROM HESSE     STATUS=OK           469 CALLS     2517 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        6.9293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.2447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .80152        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.3340        9.6946        .55621E-03   -1.5671    
   5  Prefactor     21.570        36.851        .21451E-03   -1.5615    
   6  Prefactor      .0000        5.0982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .52367        .12150        .37025E-03   -1.5693    
   8  norm          1.8892        6.0297        .75537E-03   -1.5680    
   9  Prefactor     3.2005        7.5037        .56586E-03   -1.5672    
  10  Prefactor     2.9984        2.7213        .58607E-03   -1.5673    
  11  norm          23.231        21.813        .20847E-03   -1.5612    
  12  Prefactor      .0000        .62654        .22166E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9358        1.0498        .59245E-03   -1.5674    
  14  Prefactor      .0000        9.3337        .11117E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.5199        2.7649        .64320E-03   -1.5676    
  16  Prefactor      .0000        1.1901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1069        1.2436        .57501E-03   -1.5673    
  18  norm           .0000        .25678        .19554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.4423        4.5346        .54474E-03   -1.5671    
  20  norm          .79724        .52448        .53134E-03   -1.5690    
  21  norm           .0000        2.4115        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          8.5066        4.2193        .34346E-03   -1.5650    
  23  Normalizat    1.1823        .13840        .54462E-01   -.87152    
  24  Prefactor     .70727        .10543        .42499E-01   -1.0324    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37032e-07
Minuit parameter uncertainties:
  1  1.21921e-06
  2  1.28788e-06
  3  2.63815e-07
  4  9.69466
  5  36.8511
  6  1.87867e-06
  7  0.121504
  8  6.02969
  9  7.50373
  10  2.72129
  11  21.8126
  12  1.50915e-07
  13  1.04982
  14  1.12353e-05
  15  2.76489
  16  2.41357e-07
  17  1.2436
  18  4.17038e-08
  19  4.53457
  20  0.524485
  21  8.29299e-07
  22  4.21933
  23  0.13844
  24  0.105463
Done.

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

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  5.237e-01  1.215e-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:  7.073e-01  1.055e-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:  1.182e+00  1.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 54.45
Ra Dec: 248.817 38.140
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 1.60e-07 +/- 3.72e-08
Energy Flux (Fixed Index): 5.14e-05 +/- 1.19e-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) = 11553.5091602
delta logL = 0.0465522841096

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11553.5086602
delta logL = 0.0470522816904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .53467       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2443       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1934       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70101       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=   11553.51     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      204 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .53467        1.6617        .37894E-03   -.36192E-03
   2  alpha         2.2443        3.6163        .24571        .35341E-04
   3  Normalizat    1.1934        .14488        .54263E-01    .13219E-03
   4  Prefactor     .70101        .95339E-01    .42415E-01    .27047E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.53467
  alpha      = 2.24434
  Normalizat = 1.19335
  Prefactor  = 0.701007
 **********
 **   18 **HESSE 
 **********

 FCN=   11553.51     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .53467        .12312        .16787E-05   -1.5693    
   2  alpha         2.2443        .27716        .10022E-01   -.10244    
   3  Normalizat    1.1934        .15898        .23994E-03   -.86809    
   4  Prefactor     .70101        .12457        .24294E-03   -1.0349    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19508e-11
Minuit parameter uncertainties:
  1  0.123121
  2  0.277741
  3  0.159048
  4  0.124624
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/650363': 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) = 11553.5086602
delta logL = 0.0470522818341

Extracting fit parameters...

4FGL J1635.2+3808
   Spectrum: LogParabola
275         norm:  5.347e-01  1.231e-01  0.000e+00  1.000e+06 ( 1.000e-10)
276        alpha:  2.244e+00  2.777e-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:  7.010e-01  1.246e-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:  1.193e+00  1.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 54.99
Ra Dec: 248.817 38.140
Photon Index (Free Index): 2.24 +/- 0.28
Photon Flux (Free Index): 1.52e-07 +/- 4.28e-08
Energy Flux (Free Index): 5.30e-05 +/- 1.32e-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/650363/cmap_HighResolution_691632001_691891201_4FGL_J1635.2+3808_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.60e-07', energy_flux2='5.30e-05', photon_flux_error='3.72e-08', dlogl='4.71e-02', energy_flux='5.14e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2022-12-05 01:09:55.657103', photon_index_error2='0.28', photon_index2='2.24', ts='54.45', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='1.18', time_epoch_completed='1670231395.66', return_code='0', job_id='650363', GAL2='0.70', EG2='1.19', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='4.28e-08', ts2='54.99', photon_index='2.33' WHERE bin_id='1745' AND source_name='4FGL J1635.2+3808' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:09:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 650363: <4FGL_J1635.2+3808_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1635.2+3808_daily_bin1745> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Dec  5 00:55:22 2022
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:55:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:55:24 2022
Terminated at Mon Dec  5 01:09:56 2022
Results reported at Mon Dec  5 01:09:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.2+3808_daily_bin1745 248.817 38.1401 691632001 691891201 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 :                                   843.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            874 sec.

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

