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


Performing analysis on: 4FGL_J0136.5+3906_daily_bin1721
RA = 24.1423, Dec = 39.1
tmin = 685411201, tmax = 685670401
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='48784', job_status='RUN', time_executed='2022-09-24 00:08:48.964861', time_epoch_executed='1664003328.96' WHERE source_name='4FGL J0136.5+3906' and cadence='daily' and bin_id='1721'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/48784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/48784/ft1_4FGL_J0136.5+3906_daily_bin1721.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/48784/ft1_4FGL_J0136.5+3906_daily_bin1721.fits outfile=/scratch/kocevski/48784/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1721.fits ra=24.1423 dec=39.1 rad=12.0 tmin=685411201.0 tmax=685670401.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 5.33
user 4.98
sys 0.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.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/48784/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1721.fits evtable="EVENTS" outfile="/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.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.32
sys 0.18

Number of photons that the gtmktime cut: 801

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits" evtable="EVENTS" scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits sctable="SC_DATA" outfile=/scratch/kocevski/48784/ltcube_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.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/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits
.....................!
real 12.40
user 11.90
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits sctable="SC_DATA" expcube=/scratch/kocevski/48784/ltcube_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits outfile=/scratch/kocevski/48784/expmap_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.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/48784/ltcube_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits
.....................!
real 192.66
user 186.05
sys 6.09

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

Setting source of interest to:
4FGL J0136.5+3906 @ 24.1423 39.1

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits outfile=/scratch/kocevski/48784/cmap_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.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=24.1423 yref=39.1 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits outfile=/scratch/kocevski/48784/cmap_HighResolution_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.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=24.1423 yref=39.1 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits evtable="EVENTS" scfile=/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/48784/Model_4FGL_J0136.5+3906_daily_bin1721.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/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits.....................!
real 90.69
user 89.22
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits', '/scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits', expMap='/scratch/kocevski/48784/expmap_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits', expCube='/scratch/kocevski/48784/ltcube_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/48784/Model_4FGL_J0136.5+3906_daily_bin1721.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0136.5+3906'

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  1.177e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  1.561e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  8.196e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/48784/ft1_filtered_4FGL_J0136.5+3906_daily_bin1721.fits
Spacecraft file(s): /scratch/kocevski/48784/ft2_4FGL_J0136.5+3906_daily_bin1721.fits
Exposure map: /scratch/kocevski/48784/expmap_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits
Exposure cube: /scratch/kocevski/48784/ltcube_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/48784/Model_4FGL_J0136.5+3906_daily_bin1721.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) = 8556.13738258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44387E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.9514       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34702       1.0000          .0000       .10000E+07
     4 'Prefactor '    .51772E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.2062       1.0000          .0000       .10000E+07
     6 'Prefactor '    11.197       1.0000          .0000       .10000E+07
     7 'norm      '    2.3272       1.0000          .0000       .10000E+07
     8 'norm      '    4.1366       1.0000          .0000       .10000E+07
     9 'Prefactor '    .34864E-01   1.0000          .0000       .10000E+07
    10 'norm      '    .75869       1.0000          .0000       .10000E+07
    11 'norm      '    3.1521       1.0000          .0000       .10000E+07
    12 'Prefactor '    .62053       1.0000          .0000       .10000E+07
    13 'Prefactor '    .65088E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .45014       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27063E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .41706E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .61173E-06   1.0000          .0000       .10000E+07
    18 'norm      '    .43995E-05   1.0000          .0000       .10000E+07
    19 'norm      '    1.0447       1.0000          .0000       .10000E+07
    20 'norm      '    .52797       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.5757       1.0000          .0000       .10000E+07
    22 'norm      '    1.0851       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2238       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91619       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8556.034     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1592 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13323E-08    16.092       -.11675E-06** at limit **
   2  norm          3.9408        2.8591        .17297E-07    .14297E-02
   3  Prefactor     .36570        5.9583       -.46817E-07   -.20596E-03
   4  Prefactor     .72164E-09    48.441        .41942E-07** at limit **
   5  Prefactor     2.4841        9.9769       -.12432E-06    .11912E-01
   6  Prefactor     11.082        5.0986        .34945E-07   -.10462    
   7  norm          2.3293        1.4906        .12185E-08    .69278E-03
   8  norm          4.1350        2.9425       -.20888E-08    .64413E-04
   9  Prefactor     .30531E-08    69.928       -.16717E-06** at limit **
  10  norm          .75813        .73544       -.12933E-08   -.98812E-04
  11  norm          3.1525        .96092        .96307E-08    .70336E-02
  12  Prefactor     .72561        21.176       -.40663E-06   -.15467E-01
  13  Prefactor     .16653E-09    8.7248       -.12031E-06** at limit **
  14  Prefactor     .74052E-06    960.69       -.35272E-05** at limit **
  15  Prefactor     .18874E-08    28.137       -.11029E-06** at limit **
  16  norm           .0000        1.0678        .18045E-08** at limit **
  17  Prefactor      .0000        2.3432       -.41677E-07** at limit **
  18  norm           .0000        1.3888        .13885E-07** at limit **
  19  norm          1.0452        .53536        .11178E-07    .71798E-02
  20  norm          .52800        .28001       -.39300E-08   -.29373E-02
  21  Prefactor     2.6004        4.6356        .58449E-07    .11931E-02
  22  norm          1.0772        3.8428       -.60001E-07   -.47583E-03
  23  Normalizat    1.2230        .23432       -.67924E-06    .84983E-04
  24  Prefactor     .91632        .11920        .98483E-06    .21473E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.33227e-09
  norm       = 3.94081
  Prefactor  = 0.365698
  Prefactor  = 7.21645e-10
  Prefactor  = 2.48409
  Prefactor  = 11.0821
  norm       = 2.32931
  norm       = 4.13497
  Prefactor  = 3.05311e-09
  norm       = 0.758128
  norm       = 3.15247
  Prefactor  = 0.725612
  Prefactor  = 1.66533e-10
  Prefactor  = 7.40519e-07
  Prefactor  = 1.88738e-09
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 1.04517
  norm       = 0.527995
  Prefactor  = 2.60039
  norm       = 1.07717
  Normalizat = 1.22299
  Prefactor  = 0.916317
 **********
 **   18 **HESSE 
 **********

 FCN=   8556.034     FROM HESSE     STATUS=OK           465 CALLS     2057 TOTAL
                     EDM=   .71E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13323E-08    16.137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9408        2.8722        .50721E-03   -1.5668    
   3  Prefactor     .36570        5.7871        .95901E-03   -1.5696    
   4  Prefactor     .72164E-09    10.565        .10035E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4841        10.575        .69232E-03   -1.5676    
   6  Prefactor     11.082        16.268        .29915E-03   -1.5641    
   7  norm          2.3293        1.5026        .67202E-03   -1.5677    
   8  norm          4.1350        2.9449        .49537E-03   -1.5667    
   9  Prefactor     .30531E-08    68.566        .16204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .75813        .73312        .56066E-03   -1.5691    
  11  norm          3.1525        .96239        .57067E-03   -1.5672    
  12  Prefactor     .72561        23.019        .67408E-03   -1.5691    
  13  Prefactor     .16653E-09    8.4437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .74052E-06    16.437        .11931E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .18874E-08    28.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        1.0739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.3475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        1.3836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.0452        .54673        .10543E-02   -1.5688    
  20  norm          .52800        .28464        .75945E-03   -1.5693    
  21  Prefactor     2.6004        4.7214        .63568E-03   -1.5676    
  22  norm          1.0772        3.9616        .11522E-02   -1.5687    
  23  Normalizat    1.2230        .20549        .73881E-01   -.85895    
  24  Prefactor     .91632        .10286        .45211E-01   -.95573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.11935e-06
Minuit parameter uncertainties:
  1  0.000294034
  2  2.87219
  3  2.90953
  4  0.000176205
  5  10.2506
  6  16.2683
  7  1.50259
  8  2.94491
  9  0.000918351
  10  0.733118
  11  0.962394
  12  8.17388
  13  7.73349e-05
  14  0.00697749
  15  0.000461686
  16  4.33577e-07
  17  2.23132e-06
  18  2.46224e-06
  19  0.546732
  20  0.284636
  21  4.72141
  22  3.96165
  23  0.205623
  24  0.102881
Done.

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

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  7.581e-01  7.331e-01  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  1.561e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  8.196e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.163e-01  1.029e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.223e+00  2.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.84
Ra Dec: 24.142 39.100
Photon Index (Fixed Index): 1.56 +/- 0.00
Photon Flux (Fixed Index): 9.62e-09 +/- 9.30e-09
Energy Flux (Fixed Index): 2.04e-05 +/- 1.97e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8555.82183579
delta logL = 0.211839805057

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8555.81545596
delta logL = 0.218219636345

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8555.815     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      203 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67839        .62982        .62492E-03   -.82562E-02
   2  alpha         1.0700        .54792        .50000       -.45487E-04
   3  Normalizat    1.2254        .19408        .73802E-01    .20340E-03
   4  Prefactor     .91612        .10133        .45209E-01    .35899E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.678388
  alpha      = 1.07003
  Normalizat = 1.22541
  Prefactor  = 0.916116
 **********
 **   18 **HESSE 
 **********

 FCN=   8555.815     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67839        .68481        .67850E-05   -1.5691    
   2  alpha         1.0700        .63028        .23967E-01   -.60893    
   3  Normalizat    1.2254        .22416        .32660E-03   -.85821    
   4  Prefactor     .91612        .11726        .19312E-03   -.95580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25678e-09
Minuit parameter uncertainties:
  1  0.684811
  2  0.640656
  3  0.224333
  4  0.117288
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/48784': 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) = 8555.81545126
delta logL = 0.21822434038

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  6.784e-01  6.848e-01  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  1.070e+00  6.407e-01  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  8.196e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.870e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  9.161e-01  1.173e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.225e+00  2.243e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.27
Ra Dec: 24.142 39.100
Photon Index (Free Index): 1.07 +/- 0.64
Photon Flux (Free Index): 6.43e-09 +/- 6.40e-09
Energy Flux (Free Index): 5.06e-05 +/- 7.63e-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/48784/cmap_HighResolution_685411201_685670401_4FGL_J0136.5+3906_daily_bin1721.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.62e-09', energy_flux2='5.06e-05', photon_flux_error='9.30e-09', dlogl='2.18e-01', energy_flux='2.04e-05', photon_flux2='6.43e-09', job_status='DONE', time_completed='2022-09-24 00:19:21.600929', photon_index_error2='0.64', photon_index2='1.07', ts='4.84', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='7.63e-05', EG='1.22', time_epoch_completed='1664003961.6', return_code='0', job_id='48784', GAL2='0.92', EG2='1.23', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='6.40e-09', ts2='5.27', photon_index='1.56' WHERE bin_id='1721' AND source_name='4FGL J0136.5+3906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 24 00:19:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 48784: <4FGL_J0136.5+3906_daily_bin1721> in cluster <slac> Done

Job <4FGL_J0136.5+3906_daily_bin1721> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 24 00:05:05 2022
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 24 00:05:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 24 00:05:25 2022
Terminated at Sat Sep 24 00:19:22 2022
Results reported at Sat Sep 24 00:19:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0136.5+3906_daily_bin1721 24.1423 39.1 685411201 685670401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0136.5+3906 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   634.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            857 sec.

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

