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 87 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.6+3628_daily_bin1745
RA = 248.923, Dec = 36.4795
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='650367', job_status='RUN', time_executed='2022-12-05 00:56:59.193089', time_epoch_executed='1670230619.19' WHERE source_name='4FGL J1635.6+3628' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/650367

Creating custom pfile directory:
/scratch/kocevski/650367/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/650367/ft1_4FGL_J1635.6+3628_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/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/650367/ft1_4FGL_J1635.6+3628_daily_bin1745.fits outfile=/scratch/kocevski/650367/ft1_filteredMKT_4FGL_J1635.6+3628_daily_bin1745.fits ra=248.923 dec=36.4795 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.14
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_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/650367/ft1_filteredMKT_4FGL_J1635.6+3628_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_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.15

Number of photons that the gtmktime cut: 1066

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/650367/ltcube_691632001_691891201_4FGL_J1635.6+3628_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/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits
.....................!
real 12.14
user 11.80
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/650367/ltcube_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits outfile=/scratch/kocevski/650367/expmap_691632001_691891201_4FGL_J1635.6+3628_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/650367/ltcube_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits
.....................!
real 189.86
user 185.04
sys 4.51

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.6+3628 @ 248.923 36.4795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits outfile=/scratch/kocevski/650367/cmap_691632001_691891201_4FGL_J1635.6+3628_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.923 yref=36.4795 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits outfile=/scratch/kocevski/650367/cmap_HighResolution_691632001_691891201_4FGL_J1635.6+3628_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.923 yref=36.4795 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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/650367/Model_4FGL_J1635.6+3628_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/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits.....................!
real 80.95
user 79.60
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits', '/scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits', expMap='/scratch/kocevski/650367/expmap_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits', expCube='/scratch/kocevski/650367/ltcube_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/650367/Model_4FGL_J1635.6+3628_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1635.6+3628'

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  4.539e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.666e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/650367/ft1_filtered_4FGL_J1635.6+3628_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/650367/ft2_4FGL_J1635.6+3628_daily_bin1745.fits
Exposure map: /scratch/kocevski/650367/expmap_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits
Exposure cube: /scratch/kocevski/650367/ltcube_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/650367/Model_4FGL_J1635.6+3628_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) = 11417.1520575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14408E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13777E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .13764E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.0818       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.739       1.0000          .0000       .10000E+07
     6 'Prefactor '    .69862E-03   1.0000          .0000       .10000E+07
     7 'norm      '    .53329       1.0000          .0000       .10000E+07
     8 'norm      '    2.0174       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6028       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.8950       1.0000          .0000       .10000E+07
    11 'norm      '    23.953       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10772E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.9978       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13854E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .40854E-04   1.0000          .0000       .10000E+07
    16 'norm      '    3.1603       1.0000          .0000       .10000E+07
    17 'Prefactor '    37.758       1.0000          .0000       .10000E+07
    18 'Prefactor '    4.0134       1.0000          .0000       .10000E+07
    19 'norm      '    .83302       1.0000          .0000       .10000E+07
    20 'norm      '    .83580E-03   1.0000          .0000       .10000E+07
    21 'norm      '    9.7599       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1446       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .69547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11417.14     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1895 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21649E-08    4.9701        .18776E-06** at limit **
   2  Prefactor     .66613E-09    3.8371        .19267E-06** at limit **
   3  Prefactor      .0000        .87624        .82198E-07** at limit **
   4  Prefactor     6.1404        5.4861       -.43842E-07   -.58179E-01
   5  Prefactor     12.519        20.329       -.82838E-07    .22616E-01
   6  Prefactor     .38469E-06    1.4211       -.83874E-07** at limit **
   7  norm          .53330        .12136       -.59592E-08   -.24929E-02
   8  norm          2.0205        5.5724        .93260E-07   -.98570E-02
   9  Prefactor     3.6038        7.3217       -.26105E-06   -.27259E-02
  10  Prefactor     2.8867        2.6663       -.14455E-06    .40537E-03
  11  norm          23.846        4.0098       -.18240E-07    .84068E-01
  12  Prefactor     .11102E-09    1.2144       -.68334E-07** at limit **
  13  Prefactor     2.9995        .92844       -.90300E-09   -.22387E-02
  14  Prefactor     .26146E-07    8.6648       -.16003E-06** at limit **
  15  Prefactor      .0000        1.2703       -.35094E-06** at limit **
  16  norm          3.1612        1.2568       -.71919E-09   -.29007E-03
  17  Prefactor     38.017        22.999        .25130E-07    .45115E-01
  18  Prefactor     4.0164        4.8083        .29607E-07   -.17182E-02
  19  norm          .83287        .52708        .43755E-07    .47530E-02
  20  norm          .55511E-09    2.6085       -.11633E-06** at limit **
  21  norm          9.7508        4.8834        .29117E-07    .15877E-01
  22  Normalizat    1.1447        .16107        .14292E-05    .69308E-04
  23  Prefactor     .69542        .11948       -.58064E-06    .66360E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.16493e-09
  Prefactor  = 6.66134e-10
  Prefactor  = 0
  Prefactor  = 6.14041
  Prefactor  = 12.519
  Prefactor  = 3.84692e-07
  norm       = 0.533302
  norm       = 2.02047
  Prefactor  = 3.60376
  Prefactor  = 2.88666
  norm       = 23.8458
  Prefactor  = 1.11022e-10
  Prefactor  = 2.99954
  Prefactor  = 2.61458e-08
  Prefactor  = 0
  norm       = 3.16116
  Prefactor  = 38.0168
  Prefactor  = 4.01642
  norm       = 0.832868
  norm       = 5.55112e-10
  norm       = 9.75084
  Normalizat = 1.14471
  Prefactor  = 0.695423
 **********
 **   18 **HESSE 
 **********

 FCN=   11417.14     FROM HESSE     STATUS=OK           432 CALLS     2327 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21649E-08    5.0305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .66613E-09    3.8642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        .87244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1404        9.3562        .40688E-03   -1.5658    
   5  Prefactor     12.519        32.374        .28040E-03   -1.5637    
   6  Prefactor     .38469E-06    1.6313        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .53330        .12320        .36743E-03   -1.5693    
   8  norm          2.0205        6.0776        .72841E-03   -1.5680    
   9  Prefactor     3.6038        7.7206        .53209E-03   -1.5670    
  10  Prefactor     2.8867        2.6881        .59699E-03   -1.5674    
  11  norm          23.846        22.085        .20437E-03   -1.5610    
  12  Prefactor     .11102E-09    .44473        .31766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.9995        1.0686        .58602E-03   -1.5673    
  14  Prefactor     .26146E-07    9.3972        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.1612        1.2575        .56989E-03   -1.5672    
  17  Prefactor     38.017        30.473        .16276E-03   -1.5585    
  18  Prefactor     4.0164        4.8244        .50315E-03   -1.5668    
  19  norm          .83287        .53317        .50506E-03   -1.5690    
  20  norm          .55511E-09    2.6199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          9.7508        4.9289        .32052E-03   -1.5646    
  22  Normalizat    1.1447        .13818        .55003E-01   -.88329    
  23  Prefactor     .69542        .10083        .42341E-01   -1.0371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66877e-07
Minuit parameter uncertainties:
  1  0.000208453
  2  9.98633e-05
  3  2.59743e-07
  4  9.35621
  5  32.3748
  6  0.0015843
  7  0.123205
  8  6.07765
  9  7.72062
  10  2.68806
  11  22.0854
  12  1.5495e-05
  13  1.06861
  14  0.000990963
  15  1.15117e-05
  16  1.25747
  17  30.4728
  18  4.82442
  19  0.533166
  20  7.74162e-05
  21  4.92888
  22  0.138224
  23  0.100859
Done.

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

Extracting fit parameters...

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  3.604e+00  7.721e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.666e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  6.954e-01  1.009e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.145e+00  1.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 248.923 36.480
Photon Flux Upper Limit: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/650367/likelihoodResults_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11416.6966186
delta logL = 0.445942833956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11416.6404644
delta logL = 0.502097084203

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2977       1.0000          .0000       .10000E+07
     2 'Index     '    1.5925       1.0000          .0000       10.000    
     3 'Normalizat'    1.1529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11416.64     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2682        8.5422        .39975E-03    .37005E-03
   2  Index         1.5914        .61911        .28833       -.10423E-03
   3  Normalizat    1.1530        .12957        .54834E-01    .68674E-04
   4  Prefactor     .69031        .99306E-01    .42272E-01    .63315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26821
  Index      = 1.59144
  Normalizat = 1.15298
  Prefactor  = 0.690309
 **********
 **   18 **HESSE 
 **********

 FCN=   11416.64     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2682        8.9124        .15990E-04   -1.5658    
   2  Index         1.5914        .79621        .17071E-01   -.75010    
   3  Normalizat    1.1530        .15218        .24246E-03   -.88068    
   4  Prefactor     .69031        .11672        .23328E-03   -1.0391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34757e-11
Minuit parameter uncertainties:
  1  8.91247
  2  0.802637
  3  0.152239
  4  0.116764
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/650367': 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) = 11416.6404589
delta logL = 0.502102613204

Extracting fit parameters...

4FGL J1635.6+3628
   Spectrum: PowerLaw
282    Prefactor:  6.268e+00  8.912e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  1.591e+00  8.026e-01  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  9.602e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
640    Prefactor:  6.903e-01  1.168e-01  0.000e+00  1.000e+01 ( 1.000e+00)
641        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
642        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
639   Normalization:  1.153e+00  1.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.31
Ra Dec: 248.923 36.480
Photon Index (Free Index): 1.59 +/- 0.80
Photon Flux (Free Index): 3.81e-09 +/- 6.53e-09
Energy Flux (Free Index): 8.88e-06 +/- 1.82e-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/650367/cmap_HighResolution_691632001_691891201_4FGL_J1635.6+3628_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', comment='SUCCESS', energy_flux2='8.88e-06', dlogl='5.02e-01', photon_flux2='3.81e-09', job_status='DONE', time_completed='2022-12-05 01:11:39.916987', photon_index_error2='0.80', photon_index2='1.59', ts='0.30', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='6.21e-08', energy_flux_error2='1.82e-05', EG='1.14', time_epoch_completed='1670231499.92', return_code='0', job_id='650367', GAL2='0.69', EG2='1.15', return_code2='0', photon_flux_error2='6.53e-09', ts2='1.31', photon_index='2.67' WHERE bin_id='1745' AND source_name='4FGL J1635.6+3628' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:11:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 650367: <4FGL_J1635.6+3628_daily_bin1745> in cluster <slac> Done

Job <4FGL_J1635.6+3628_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) <bullet0066>, 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:11:41 2022
Results reported at Mon Dec  5 01:11:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1635.6+3628_daily_bin1745 248.923 36.4795 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1635.6+3628 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   883.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             316.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            979 sec.

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

