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


Performing analysis on: 4FGL_J1535.9+3743_daily_bin1774
RA = 233.983, Dec = 37.7249
tmin = 699148801, tmax = 699408001
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='687036', job_status='RUN', time_executed='2023-03-02 01:02:52.881204', time_epoch_executed='1677747772.88' WHERE source_name='4FGL J1535.9+3743' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/687036

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/687036/ft1_4FGL_J1535.9+3743_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/687036/ft1_4FGL_J1535.9+3743_daily_bin1774.fits outfile=/scratch/kocevski/687036/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1774.fits ra=233.983 dec=37.7249 rad=12.0 tmin=699148801.0 tmax=699408001.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.88
user 2.69
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.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/687036/ft1_filteredMKT_4FGL_J1535.9+3743_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/687036/ft1_filtered_4FGL_J1535.9+3743_daily_bin1774.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.62
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 674

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/687036/ft1_filtered_4FGL_J1535.9+3743_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/687036/ltcube_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.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/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits
.....................!
real 13.40
user 12.96
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/687036/ft1_filtered_4FGL_J1535.9+3743_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/687036/ltcube_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.fits outfile=/scratch/kocevski/687036/expmap_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.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/687036/ltcube_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.fits
.....................!
real 193.35
user 186.70
sys 5.70

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/687036/ft1_filtered_4FGL_J1535.9+3743_daily_bin1774.fits scfile=/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits outfile=/scratch/kocevski/687036/cmap_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/687036/ft1_filtered_4FGL_J1535.9+3743_daily_bin1774.fits scfile=/scratch/kocevski/687036/ft2_4FGL_J1535.9+3743_daily_bin1774.fits outfile=/scratch/kocevski/687036/cmap_HighResolution_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6176       1.0000          .0000       .10000E+07
     2 'norm      '    .64045E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    33.260       1.0000          .0000       .10000E+07
     4 'Prefactor '    7.0604       1.0000          .0000       .10000E+07
     5 'Prefactor '    .25158E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .67512E-05   1.0000          .0000       .10000E+07
     7 'norm      '    2.9677       1.0000          .0000       .10000E+07
     8 'Prefactor '    .98196E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .54836E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .63078E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .59326E-04   1.0000          .0000       .10000E+07
    12 'norm      '    2.0537       1.0000          .0000       .10000E+07
    13 'Prefactor '    .31421E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .61511E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .26696E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14246E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .51835E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    1.4247       1.0000          .0000       .10000E+07
    19 'Prefactor '    .15050E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    13.272       1.0000          .0000       .10000E+07
    21 'Prefactor '    .70986       1.0000          .0000       .10000E+07
    22 'norm      '    .34988E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .20604E-02   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1389       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85342       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=   7428.033     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1715 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6421        4.9984       -.50514E-08    .53185E-03
   2  norm          .11102E-09    3.2173       -.42147E-06** at limit **
   3  Prefactor     33.319        1.1978       -.12372E-07   -.33108E-03
   4  Prefactor     7.0339        6.2716        .79571E-07   -.59648E-03
   5  Prefactor     .39413E-08    3.9437       -.10628E-05** at limit **
   6  norm          .55511E-10    1.3211       -.68699E-08** at limit **
   7  norm          2.9683        2.9502       -.11567E-06   -.80262E-02
   8  Prefactor     .17208E-08    2.2581       -.33745E-06** at limit **
   9  Prefactor     .33307E-09    20.495       -.28483E-06** at limit **
  10  Prefactor     .33307E-08    5.0375       -.12040E-05** at limit **
  11  Prefactor     .43854E-08    2.9950        .13933E-05** at limit **
  12  norm          2.0537        .98500        .83354E-09    .28398E-02
  13  Prefactor     .49960E-09    2.5252        .48266E-07** at limit **
  14  Prefactor     .99920E-09    7.4003        .12020E-05** at limit **
  15  norm          .49960E-09    19.206       -.24224E-05** at limit **
  16  Prefactor     .38858E-09    1.0701       -.20015E-06** at limit **
  17  Prefactor     .38303E-08    5.8806       -.16082E-05** at limit **
  18  Prefactor     1.4282        2.2150        .14516E-06    .34076E-02
  19  Prefactor     .86042E-08    1.6026        .13686E-06** at limit **
  20  Prefactor     12.992        1.6456       -.20156E-06    .30733E-02
  21  Prefactor     .71659        2.3567        .73200E-08    .10856E-03
  22  norm          .34898E-01    .85886E-01    .18933E-07** at limit **
  23  Prefactor     .15543E-08    14.712        .37783E-05** at limit **
  24  Normalizat    1.1392        .18644        .11065E-05    .40731E-03
  25  Prefactor     .85325        .17281       -.16436E-05    .44835E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.64212
  norm       = 1.11022e-10
  Prefactor  = 33.3191
  Prefactor  = 7.03386
  Prefactor  = 3.94129e-09
  norm       = 5.55112e-11
  norm       = 2.96828
  Prefactor  = 1.72085e-09
  Prefactor  = 3.33067e-10
  Prefactor  = 3.33067e-09
  Prefactor  = 4.38538e-09
  norm       = 2.05367
  Prefactor  = 4.996e-10
  Prefactor  = 9.99201e-10
  norm       = 4.996e-10
  Prefactor  = 3.88578e-10
  Prefactor  = 3.83027e-09
  Prefactor  = 1.42819
  Prefactor  = 8.60423e-09
  Prefactor  = 12.9917
  Prefactor  = 0.716585
  norm       = 0.0348985
  Prefactor  = 1.55431e-09
  Normalizat = 1.13923
  Prefactor  = 0.853252
 **********
 **   18 **HESSE 
 **********

 FCN=   7428.033     FROM HESSE     STATUS=OK           471 CALLS     2186 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6421        5.0166        .53096E-03   -1.5670    
   2  norm          .11102E-09    3.2228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     33.319        17.728        .17342E-03   -1.5593    
   4  Prefactor     7.0339        6.4067        .37730E-03   -1.5655    
   5  Prefactor     .39413E-08    4.4968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .55511E-10    1.2831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9683        2.9645        .58916E-03   -1.5674    
   8  Prefactor     .17208E-08    2.2653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    20.470        .15353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .33307E-08    11.009        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .43854E-08    3.9298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0537        .98991        .72099E-03   -1.5679    
  13  Prefactor     .49960E-09    2.5264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .99920E-09    7.4230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .49960E-09    19.197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38858E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38303E-08    10.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.4282        2.2427        .90544E-03   -1.5684    
  19  Prefactor     .86042E-08    4.1818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.992        21.332        .27469E-03   -1.5636    
  21  Prefactor     .71659        2.3685        .59911E-03   -1.5691    
  22  norm          .34898E-01    .82118E-01    .87430E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .15543E-08    14.821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1392        .16313        .36599E-01   -.88502    
  25  Prefactor     .85325        .14828        .44409E-01   -.97794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.38475e-08
Minuit parameter uncertainties:
  1  5.01656
  2  3.87503e-05
  3  17.7277
  4  6.40671
  5  0.000266164
  6  1.72278e-05
  7  2.96446
  8  0.00012467
  9  0.000170127
  10  0.00038451
  11  0.000263094
  12  0.98991
  13  7.04219e-05
  14  0.000174258
  15  0.00019309
  16  3.98149e-05
  17  0.000405673
  18  2.2427
  19  0.000379673
  20  21.3318
  21  2.36855
  22  0.0821178
  23  0.000305608
  24  0.163198
  25  0.148346
Done.

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

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  4.996e-10  1.931e-04  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.533e-01  1.483e-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.139e+00  1.632e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/687036/likelihoodResults_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.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): 102
logL (Free Index) = 7428.03308261
delta logL = -7.71622217144e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7428.03307493
delta logL = -3.6156961869e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61229E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    3.4019       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1393       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85321       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=   7428.033     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      288 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13878E-08    15.771        .21566E-05** at limit **
   2  alpha         2.2931        3.6184        .23197E-03   -.13704E-09
   3  Normalizat    1.1392        .18333       -.98266E-05    .40837E-03
   4  Prefactor     .85325        .17311        .75259E-05    .19300E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.38778e-09
  alpha      = 2.29309
  Normalizat = 1.13923
  Prefactor  = 0.853249
 **********
 **   18 **HESSE 
 **********

 FCN=   7428.033     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      319 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13878E-08    4.9877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2931        3.1117        .45187       -.82859E-01
   3  Normalizat    1.1392        .21559E-02    .36588E-01   -.88502    
   4  Prefactor     .85325        .20412E-02    .44406E-01   -.97794    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.44734e-11
Minuit parameter uncertainties:
  1  0.00016596
  2  61318.3
  3  0.00215592
  4  0.00204122
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/687036': 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): 102
logL (Free Index) = 7428.03307489
delta logL = -4.72937244922e-11

Extracting fit parameters...

4FGL J1535.9+3743
   Spectrum: LogParabola
303         norm:  1.388e-09  1.660e-04  0.000e+00  1.000e+06 ( 1.000e-13)
304        alpha:  2.293e+00  6.132e+04  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:  8.532e-01  2.041e-03  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.139e+00  2.156e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 233.983 37.725

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/687036/cmap_HighResolution_699148801_699408001_4FGL_J1535.9+3743_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', job_status='DONE', photon_flux_upper_limit='4.89e-08', time_completed='2023-03-02 01:14:13.034142', job_id='687036', GAL2='0.85', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1677748453.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-4.73e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1774' AND source_name='4FGL J1535.9+3743' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:14:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 687036: <4FGL_J1535.9+3743_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1535.9+3743_daily_bin1774> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Mar  2 01:00:19 2023
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:00:28 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:00:28 2023
Terminated at Thu Mar  2 01:14:13 2023
Results reported at Thu Mar  2 01:14:13 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1535.9+3743_daily_bin1774 233.983 37.7249 699148801 699408001 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 :                                   681.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            834 sec.

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

