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


Performing analysis on: 4FGL_J1535.9+3743_daily_bin1768
RA = 233.983, Dec = 37.7249
tmin = 697593601, tmax = 697852801
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='274279', job_status='RUN', time_executed='2023-02-12 01:09:09.299529', time_epoch_executed='1676192949.3' WHERE source_name='4FGL J1535.9+3743' and cadence='daily' and bin_id='1768'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/274279

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/274279/ft1_4FGL_J1535.9+3743_daily_bin1768.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/274279/ft1_4FGL_J1535.9+3743_daily_bin1768.fits outfile=/scratch/kocevski/274279/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1768.fits ra=233.983 dec=37.7249 rad=12.0 tmin=697593601.0 tmax=697852801.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.67
user 3.44
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.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/274279/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1768.fits evtable="EVENTS" outfile="/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.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.36
sys 0.14

Number of photons that the gtmktime cut: 505

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits" evtable="EVENTS" scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits sctable="SC_DATA" outfile=/scratch/kocevski/274279/ltcube_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.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/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits
.....................!
real 14.61
user 14.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits sctable="SC_DATA" expcube=/scratch/kocevski/274279/ltcube_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits outfile=/scratch/kocevski/274279/expmap_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.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/274279/ltcube_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits
.....................!
real 192.14
user 186.71
sys 4.94

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/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits outfile=/scratch/kocevski/274279/cmap_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.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.58
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits outfile=/scratch/kocevski/274279/cmap_HighResolution_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits evtable="EVENTS" scfile=/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/274279/Model_4FGL_J1535.9+3743_daily_bin1768.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/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits.....................!
real 43.93
user 42.59
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits', '/scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits', expMap='/scratch/kocevski/274279/expmap_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits', expCube='/scratch/kocevski/274279/ltcube_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/274279/Model_4FGL_J1535.9+3743_daily_bin1768.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/274279/ft1_filtered_4FGL_J1535.9+3743_daily_bin1768.fits
Spacecraft file(s): /scratch/kocevski/274279/ft2_4FGL_J1535.9+3743_daily_bin1768.fits
Exposure map: /scratch/kocevski/274279/expmap_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits
Exposure cube: /scratch/kocevski/274279/ltcube_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/274279/Model_4FGL_J1535.9+3743_daily_bin1768.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) = 5486.46464652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7920       1.0000          .0000       .10000E+07
     2 'norm      '    .79376E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    25.537       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.0571       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.112       1.0000          .0000       .10000E+07
     6 'norm      '    .46645       1.0000          .0000       .10000E+07
     7 'norm      '    .30059E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .29507E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .20177E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.055       1.0000          .0000       .10000E+07
    11 'Prefactor '    15.036       1.0000          .0000       .10000E+07
    12 'norm      '    .45804       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41395E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .39536E-05   1.0000          .0000       .10000E+07
    15 'norm      '    7.9061       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.5978       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12221E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87314       1.0000          .0000       .10000E+07
    19 'Prefactor '    .30147E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.1637       1.0000          .0000       .10000E+07
    21 'Prefactor '    1.4990       1.0000          .0000       .10000E+07
    22 'norm      '    .43863       1.0000          .0000       .10000E+07
    23 'Prefactor '    11.342       1.0000          .0000       .10000E+07
    24 'Normalizat'    .83503       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .89018       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=   5486.370     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1698 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8181        5.6478       -.41354E-06   -.13526E-02
   2  norm          .60507E-08    25.347       -.29555E-06** at limit **
   3  Prefactor     25.651        1.8491        .28056E-08   -.98593E-02
   4  Prefactor     2.0450        3.6488        .74368E-07   -.12583E-03
   5  Prefactor     11.111        3.6802        .48890E-09    .49809E-01
   6  norm          .46676        .85064       -.15671E-06   -.27991E-02
   7  norm          .55511E-10    2.1763       -.86366E-07** at limit **
   8  Prefactor     .38580E-07    7.4515       -.47162E-07** at limit **
   9  Prefactor     .18985E-07    16.519       -.21302E-06** at limit **
  10  Prefactor     14.093        1.4278       -.16339E-08   -.34546E-01
  11  Prefactor     15.077        2.9863       -.65914E-08   -.10106    
  12  norm          .45763        .73869        .74575E-07    .72561E-03
  13  Prefactor     .44409E-09    3.2075       -.17831E-06** at limit **
  14  Prefactor     .83267E-08    9.6868       -.20237E-06** at limit **
  15  norm          7.9119        1.0868        .42169E-08    .66309E-03
  16  Prefactor     1.6018        2.0903       -.46928E-07   -.14753E-02
  17  Prefactor     .55511E-08    5.6136       -.62366E-07** at limit **
  18  Prefactor     .86951        1.6136        .95298E-08    .26648E-03
  19  Prefactor     .14877E-07    3.3492       -.17587E-06** at limit **
  20  Prefactor     8.1962        1.7333        .90325E-08    .96359E-02
  21  Prefactor     1.4980        2.4660       -.29842E-07   -.72336E-03
  22  norm          .43836        .17957       -.26670E-08    .18883E-03
  23  Prefactor     11.536        1.3562        .83626E-08    .39153E-02
  24  Normalizat    .83463        .19647       -.86484E-07   -.54620E-04
  25  Prefactor     .89042        .18840       -.15394E-05   -.58393E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.81808
  norm       = 6.05072e-09
  Prefactor  = 25.6513
  Prefactor  = 2.04501
  Prefactor  = 11.111
  norm       = 0.46676
  norm       = 5.55112e-11
  Prefactor  = 3.85803e-08
  Prefactor  = 1.89848e-08
  Prefactor  = 14.0932
  Prefactor  = 15.0766
  norm       = 0.457627
  Prefactor  = 4.44089e-10
  Prefactor  = 8.32667e-09
  norm       = 7.91193
  Prefactor  = 1.6018
  Prefactor  = 5.55112e-09
  Prefactor  = 0.869511
  Prefactor  = 1.4877e-08
  Prefactor  = 8.1962
  Prefactor  = 1.49799
  norm       = 0.438357
  Prefactor  = 11.5357
  Normalizat = 0.834628
  Prefactor  = 0.890419
 **********
 **   18 **HESSE 
 **********

 FCN=   5486.370     FROM HESSE     STATUS=OK           485 CALLS     2183 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8181        5.7159        .78099E-03   -1.5681    
   2  norm          .60507E-08    25.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     25.651        15.991        .19793E-03   -1.5607    
   4  Prefactor     2.0450        3.7137        .72031E-03   -1.5679    
   5  Prefactor     11.111        9.0342        .30030E-03   -1.5641    
   6  norm          .46676        .98204        .20659E-02   -1.5694    
   7  norm          .55511E-10    2.1580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38580E-07    7.7575        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18985E-07    16.712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.093        16.165        .26691E-03   -1.5633    
  11  Prefactor     15.077        11.616        .25803E-03   -1.5630    
  12  norm          .45763        .82050        .18053E-02   -1.5694    
  13  Prefactor     .44409E-09    3.4949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .83267E-08    9.8479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.9119        12.467        .35636E-03   -1.5652    
  16  Prefactor     1.6018        2.1015        .83859E-03   -1.5683    
  17  Prefactor     .55511E-08    5.6844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .86951        1.6290        .47635E-03   -1.5689    
  19  Prefactor     .14877E-07    3.6512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.1962        14.113        .35065E-03   -1.5651    
  21  Prefactor     1.4980        2.4990        .87442E-03   -1.5683    
  22  norm          .43836        .19177        .43836E-03   -1.5695    
  23  Prefactor     11.536        23.058        .29723E-03   -1.5640    
  24  Normalizat    .83463        .17364        .44066E-01   -.98797    
  25  Prefactor     .89042        .15853        .44880E-01   -.96477    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.44236e-07
Minuit parameter uncertainties:
  1  5.71589
  2  0.000781289
  3  15.9911
  4  3.71372
  5  9.03425
  6  0.982041
  7  2.02459e-05
  8  0.00109417
  9  0.00112676
  10  16.165
  11  11.6161
  12  0.820501
  13  7.64682e-05
  14  0.000573531
  15  12.4674
  16  2.10146
  17  0.000355856
  18  1.62901
  19  0.000466389
  20  14.1128
  21  2.49899
  22  0.191766
  23  23.0581
  24  0.173753
  25  0.158616
Done.

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

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  7.912e+00  1.247e+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:  8.904e-01  1.586e-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:  8.346e-01  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/274279/likelihoodResults_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.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) = 5485.29439555
delta logL = 1.07548349725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5485.23181985
delta logL = 1.1380592022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23391       1.0000          .0000       .10000E+07
     2 'alpha     '    4.9999       1.0000          .0000       5.0000    
     3 'Normalizat'    .74263       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95154       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.

 FCN=   5485.232     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      364 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23365        4.9282        .52351E-03** at limit **
   2  alpha         5.0000        4.6398        .46270    ** at limit **
   3  Normalizat    .74257        .88973E-01    .42857E-01    .12062E-04
   4  Prefactor     .95166        .85934E-01    .45659E-01    .55637E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.233648
  alpha      = 5
  Normalizat = 0.742574
  Prefactor  = 0.951663
 **********
 **   18 **HESSE 
 **********

 FCN=   5485.232     FROM HESSE     STATUS=OK            35 CALLS      399 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23365        .19715        .23675E-05   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         5.0000        .79277        .46172        1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .74257        .20533        .24795E-03   -1.0224    
   4  Prefactor     .95166        .19339        .21390E-03   -.94359    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32463e-11
Minuit parameter uncertainties:
  1  0.197147
  2  9.77207e-05
  3  0.205543
  4  0.193531
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/274279': 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) = 5485.23180858
delta logL = 1.13807047075

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  2.336e-01  1.971e-01  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  5.000e+00  9.772e-05  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.517e-01  1.935e-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:  7.426e-01  2.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.05
Ra Dec: 233.983 37.725
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.92e-08 +/- 5.82e-08
Energy Flux (Free Index): 9.94e-06 +/- 8.38e-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/274279/cmap_HighResolution_697593601_697852801_4FGL_J1535.9+3743_daily_bin1768.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', comment='SUCCESS', energy_flux2='9.94e-06', dlogl='1.14e+00', photon_flux2='6.92e-08', job_status='DONE', time_completed='2023-02-12 01:19:09.178789', photon_index_error2='0.00', photon_index2='5.00', ts='0.57', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='6.95e-08', energy_flux_error2='8.38e-06', EG='0.83', time_epoch_completed='1676193549.18', return_code='0', job_id='274279', GAL2='0.95', EG2='0.74', return_code2='0', photon_flux_error2='5.82e-08', ts2='3.05', photon_index='2.45' WHERE bin_id='1768' AND source_name='4FGL J1535.9+3743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Feb 12 01:19:09 PST 2023


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

Job <4FGL_J1535.9+3743_daily_bin1768> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Feb 12 01:05:24 2023
Job was executed on host(s) <bullet0159>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Feb 12 01:07:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Feb 12 01:07:12 2023
Terminated at Sun Feb 12 01:19:10 2023
Results reported at Sun Feb 12 01:19:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1535.9+3743_daily_bin1768 233.983 37.7249 697593601 697852801 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 :                                   601.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            826 sec.

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

