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 4 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_J1535.9+3743_daily_bin1762
RA = 233.983, Dec = 37.7249
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='113353', job_status='RUN', time_executed='2023-01-25 01:11:20.638736', time_epoch_executed='1674637880.64' WHERE source_name='4FGL J1535.9+3743' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/113353

Creating custom pfile directory:
/scratch/kocevski/113353/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/113353/ft1_4FGL_J1535.9+3743_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/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/113353/ft1_4FGL_J1535.9+3743_daily_bin1762.fits outfile=/scratch/kocevski/113353/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1762.fits ra=233.983 dec=37.7249 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.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_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/113353/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_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.51
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 531

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/113353/ltcube_696038401_696297601_4FGL_J1535.9+3743_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/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits
.....................!
real 14.43
user 14.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/113353/ltcube_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits outfile=/scratch/kocevski/113353/expmap_696038401_696297601_4FGL_J1535.9+3743_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/113353/ltcube_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits
.....................!
real 193.36
user 187.14
sys 5.77

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

Setting source of interest to:
4FGL J1535.9+3743 @ 233.983 37.7249

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits outfile=/scratch/kocevski/113353/cmap_696038401_696297601_4FGL_J1535.9+3743_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=233.983 yref=37.7249 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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits outfile=/scratch/kocevski/113353/cmap_HighResolution_696038401_696297601_4FGL_J1535.9+3743_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=233.983 yref=37.7249 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.42
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/113353/Model_4FGL_J1535.9+3743_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/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits.....................!
real 48.88
user 47.45
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits', '/scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits', expMap='/scratch/kocevski/113353/expmap_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits', expCube='/scratch/kocevski/113353/ltcube_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/113353/Model_4FGL_J1535.9+3743_daily_bin1762.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1535.9+3743'

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  5.210e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/113353/ft1_filtered_4FGL_J1535.9+3743_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/113353/ft2_4FGL_J1535.9+3743_daily_bin1762.fits
Exposure map: /scratch/kocevski/113353/expmap_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits
Exposure cube: /scratch/kocevski/113353/ltcube_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/113353/Model_4FGL_J1535.9+3743_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) = 6002.19748517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74250E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .21952E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .69794E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.6855       1.0000          .0000       .10000E+07
     5 'Prefactor '    .10436E-06   1.0000          .0000       .10000E+07
     6 'norm      '    .45263E-05   1.0000          .0000       .10000E+07
     7 'norm      '    7.2072       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.0293       1.0000          .0000       .10000E+07
     9 'Prefactor '    .16445       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12166E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .48051E-04   1.0000          .0000       .10000E+07
    12 'norm      '    .89961E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19736E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.0696       1.0000          .0000       .10000E+07
    15 'norm      '    14.659       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.4039       1.0000          .0000       .10000E+07
    17 'Prefactor '    .66177E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1209       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.9197       1.0000          .0000       .10000E+07
    20 'Prefactor '    23.711       1.0000          .0000       .10000E+07
    21 'Prefactor '    .30825E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .11206       1.0000          .0000       .10000E+07
    23 'Prefactor '    .86542E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0584       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95161       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6002.149     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2176 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35142E-05    6.1274       -.10844E-06** at limit **
   2  norm          .25036E-07    9.9305        .59166E-06** at limit **
   3  Prefactor     .49188E-06    15.838       -.92115E-06** at limit **
   4  Prefactor     1.6469        5.9737        .37759E-06   -.14342E-02
   5  Prefactor     .55511E-10    1.7174       -.80257E-07** at limit **
   6  norm          .55511E-10    .79293        .18808E-06** at limit **
   7  norm          7.2496        5.3526       -.13767E-07   -.18139E-02
   8  Prefactor     1.0518        31.903        .13464E-05   -.50619E-03
   9  Prefactor      .0000        35.067        .64897E-06** at limit **
  10  Prefactor     .31397E-06    37.847       -.83852E-06** at limit **
  11  Prefactor     .73419E-06    11.030        .92037E-06** at limit **
  12  norm           .0000        2.7438        .10857E-06** at limit **
  13  Prefactor     .11399E-05    51.698        .51818E-05** at limit **
  14  Prefactor     .10916E-04    2202.3        .26045E-04** at limit **
  15  norm          14.541        13.626        .23725E-06    .84434E-02
  16  Prefactor     7.4178        3.7170       -.26300E-06   -.20152E-02
  17  Prefactor     .10103E-07    10.900       -.19794E-06** at limit **
  18  Prefactor     2.1217        2.5393       -.12423E-07   -.72737E-03
  19  Prefactor     7.8516        7.4865        .88150E-07   -.27220E-02
  20  Prefactor     24.257        4.3957        .12491E-06    .33430E-01
  21  Prefactor      .0000        1.1814        .13045E-06** at limit **
  22  norm          .11213        .11031       -.34219E-07** at limit **
  23  Prefactor     .23664E-06    22.156        .38703E-06** at limit **
  24  Normalizat    1.0576        .21682        .43964E-05   -.23114E-03
  25  Prefactor     .95264        .20011       -.95649E-05   -.27851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.51424e-06
  norm       = 2.50355e-08
  Prefactor  = 4.91884e-07
  Prefactor  = 1.64694
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 7.24957
  Prefactor  = 1.05179
  Prefactor  = 0
  Prefactor  = 3.13971e-07
  Prefactor  = 7.3419e-07
  norm       = 0
  Prefactor  = 1.13992e-06
  Prefactor  = 1.09158e-05
  norm       = 14.5412
  Prefactor  = 7.41784
  Prefactor  = 1.0103e-08
  Prefactor  = 2.12168
  Prefactor  = 7.85163
  Prefactor  = 24.2567
  Prefactor  = 0
  norm       = 0.112134
  Prefactor  = 2.36644e-07
  Normalizat = 1.05765
  Prefactor  = 0.952637
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.149     FROM HESSE     STATUS=OK           489 CALLS     2665 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35142E-05    16.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .25036E-07    9.9466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49188E-06    17.136        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.6469        6.0046        .81079E-03   -1.5682    
   5  Prefactor     .55511E-10    1.7250        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    .79420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.2496        5.3409        .37340E-03   -1.5654    
   8  Prefactor     1.0518        7.8711        .96187E-02   -1.5687    
   9  Prefactor      .0000        35.054        .12446E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .31397E-06    38.900        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73419E-06    13.348        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .99834        .24018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11399E-05    53.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10916E-04    39.631        .14937E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.541        13.682        .26134E-03   -1.5632    
  16  Prefactor     7.4178        3.7636        .36836E-03   -1.5653    
  17  Prefactor     .10103E-07    10.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1217        2.5594        .70787E-03   -1.5679    
  19  Prefactor     7.8516        8.1630        .35606E-03   -1.5652    
  20  Prefactor     24.257        25.666        .20541E-03   -1.5609    
  21  Prefactor      .0000        1.1808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11213        .11640        .56155E-03   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .23664E-06    23.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0576        .18719        .40028E-01   -.91124    
  25  Prefactor     .95264        .17043        .45659E-01   -.94325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14236e-06
Minuit parameter uncertainties:
  1  0.0151224
  2  0.000998504
  3  0.00580642
  4  6.00465
  5  2.06768e-05
  6  1.04877e-05
  7  5.34091
  8  5.75457
  9  4.83954e-05
  10  0.00698941
  11  0.00626103
  12  2.99076e-06
  13  0.0155728
  14  0.0415987
  15  13.6817
  16  3.76362
  17  0.000664705
  18  2.55936
  19  8.16299
  20  25.6663
  21  4.85728e-06
  22  0.1164
  23  0.00468716
  24  0.187304
  25  0.170522
Done.

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

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  1.454e+01  1.368e+01  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.450e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.526e-01  1.705e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.058e+00  1.873e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.82
Ra Dec: 233.983 37.725
Photon Index (Fixed Index): 2.45 +/- 0.00
Photon Flux (Fixed Index): 2.51e-08 +/- 2.37e-08
Energy Flux (Fixed Index): 9.79e-06 +/- 9.21e-06

TS (Fixed Index): 1.82
Ra Dec: 233.983 37.725
Photon Flux Upper Limit: 8.20e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/113353/likelihoodResults_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.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) = 6002.10645761
delta logL = 0.0422675547488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6002.10587814
delta logL = 0.0428470274028

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6002.106     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.652        16.524        .11728E-04    .92207E-02
   2  alpha         2.6905        .89215        .14881E-01    .13076E-03
   3  Normalizat    1.0517        .21177        .24318E-03   -.42728E-03
   4  Prefactor     .95601        .19911        .23866E-03   -.54741E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.652
  alpha      = 2.69053
  Normalizat = 1.05166
  Prefactor  = 0.956007
 **********
 **   18 **HESSE 
 **********

 FCN=   6002.106     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.652        15.196        .23456E-05   -1.5640    
   2  alpha         2.6905        .82291        .59523E-03    .76285E-01
   3  Normalizat    1.0517        .21175        .48636E-04   -.91319    
   4  Prefactor     .95601        .19915        .47732E-04   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43949e-09
Minuit parameter uncertainties:
  1  15.1965
  2  0.838644
  3  0.211915
  4  0.199298
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/113353': 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) = 6002.10587779
delta logL = 0.0428473779875

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  1.165e+01  1.520e+01  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.691e+00  8.386e-01  0.000e+00  5.000e+00 ( 1.000e+00)
305         beta:  1.985e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
306           Eb:  1.271e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  9.560e-01  1.993e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.052e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 233.983 37.725
Photon Index (Free Index): 2.69 +/- 0.84
Photon Flux (Free Index): 3.01e-08 +/- 3.18e-08
Energy Flux (Free Index): 9.46e-06 +/- 8.77e-06

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/113353/cmap_HighResolution_696038401_696297601_4FGL_J1535.9+3743_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', comment='SUCCESS', photon_flux='2.51e-08', energy_flux2='9.46e-06', photon_flux_error='2.37e-08', dlogl='4.28e-02', energy_flux='9.79e-06', photon_flux2='3.01e-08', job_status='DONE', time_completed='2023-01-25 01:22:09.589451', photon_index_error2='0.84', photon_index2='2.69', ts='1.82', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='8.20e-08', energy_flux_error2='8.77e-06', EG='1.06', time_epoch_completed='1674638529.59', return_code='0', job_id='113353', GAL2='0.96', EG2='1.05', return_code2='0', energy_flux_error='9.21e-06', photon_flux_error2='3.18e-08', ts2='1.90', photon_index='2.45' WHERE bin_id='1762' AND source_name='4FGL J1535.9+3743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:22:09 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0159>
Subject: Job 113353: <4FGL_J1535.9+3743_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1535.9+3743_daily_bin1762> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan 25 01:10:17 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:11:06 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:06 2023
Terminated at Wed Jan 25 01:22:10 2023
Results reported at Wed Jan 25 01:22:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1535.9+3743_daily_bin1762 233.983 37.7249 696038401 696297601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1535.9+3743 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   651.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             301.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            713 sec.

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

