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


Performing analysis on: 4FGL_J0136.5+3906_daily_bin1729
RA = 24.1423, Dec = 39.1
tmin = 687484801, tmax = 687744001
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='369100', job_status='RUN', time_executed='2022-10-18 00:06:18.508016', time_epoch_executed='1666076778.51' WHERE source_name='4FGL J0136.5+3906' and cadence='daily' and bin_id='1729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/369100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/369100/ft1_4FGL_J0136.5+3906_daily_bin1729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/369100/ft1_4FGL_J0136.5+3906_daily_bin1729.fits outfile=/scratch/kocevski/369100/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1729.fits ra=24.1423 dec=39.1 rad=12.0 tmin=687484801.0 tmax=687744001.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.71
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.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/369100/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1729.fits evtable="EVENTS" outfile="/scratch/kocevski/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.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.64
user 0.33
sys 0.19

Number of photons that the gtmktime cut: 436

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits" evtable="EVENTS" scfile=/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits sctable="SC_DATA" outfile=/scratch/kocevski/369100/ltcube_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.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/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits
.....................!
real 15.30
user 14.47
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits evtable="EVENTS" scfile=/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits sctable="SC_DATA" expcube=/scratch/kocevski/369100/ltcube_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits outfile=/scratch/kocevski/369100/expmap_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.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/369100/ltcube_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits
.....................!
real 190.44
user 185.30
sys 4.72

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/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits scfile=/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits outfile=/scratch/kocevski/369100/cmap_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.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 1.33
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits scfile=/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits outfile=/scratch/kocevski/369100/cmap_HighResolution_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.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 1.54
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits', '/scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits', expMap='/scratch/kocevski/369100/expmap_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits', expCube='/scratch/kocevski/369100/ltcube_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/369100/Model_4FGL_J0136.5+3906_daily_bin1729.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/369100/ft1_filtered_4FGL_J0136.5+3906_daily_bin1729.fits
Spacecraft file(s): /scratch/kocevski/369100/ft2_4FGL_J0136.5+3906_daily_bin1729.fits
Exposure map: /scratch/kocevski/369100/expmap_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits
Exposure cube: /scratch/kocevski/369100/ltcube_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/369100/Model_4FGL_J0136.5+3906_daily_bin1729.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) = 4583.58516123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.011       1.0000          .0000       .10000E+07
     2 'norm      '    2.3201       1.0000          .0000       .10000E+07
     3 'Prefactor '    .95771E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1624       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.217       1.0000          .0000       .10000E+07
     6 'Prefactor '    34.875       1.0000          .0000       .10000E+07
     7 'norm      '    7.5248       1.0000          .0000       .10000E+07
     8 'norm      '    .11415E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .35616E-01   1.0000          .0000       .10000E+07
    10 'norm      '    2.6606       1.0000          .0000       .10000E+07
    11 'norm      '    4.0025       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.8729       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6376       1.0000          .0000       .10000E+07
    14 'Prefactor '    .83208E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    103.37       1.0000          .0000       .10000E+07
    16 'norm      '    .15932E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .19531E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .10541E-04   1.0000          .0000       .10000E+07
    19 'norm      '    .55511E-08   1.0000          .0000       .10000E+07
    20 'norm      '    .14988E-08   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.1034       1.0000          .0000       .10000E+07
    22 'norm      '    27.302       1.0000          .0000       .10000E+07
    23 'Normalizat'    .91878       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0165       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=   4583.582     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2950 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.820        7.4872        .31279E-07   -.19649    
   2  norm          2.3232        2.6593        .10012E-07    .71728E-03
   3  Prefactor      .0000        2.3923       -.15296E-08** at limit **
   4  Prefactor     2.9430        34.479        .13382E-06   -.17231E-01
   5  Prefactor     17.296        13.192        .11527E-06   -.31057E-02
   6  Prefactor     34.759        14.085        .38116E-07    .90485E-01
   7  norm          7.5314        3.2175       -.88257E-08    .18042E-02
   8  norm          .37719E-01    59.631       -.84566E-06** at limit **
   9  Prefactor      .0000        27.930       -.63704E-07** at limit **
  10  norm          2.6595        2.2268       -.93543E-09    .63573E-04
  11  norm          4.0017        1.5236        .31937E-08    .15147E-02
  12  Prefactor     4.7455        5.0393        .60258E-09   -.13893E-01
  13  Prefactor     1.7236        6.5189       -.19691E-06   -.71349E-03
  14  Prefactor     .11879E-07    17.532        .11695E-06** at limit **
  15  Prefactor     100.54        110.31        .31179E-07    .21587E-01
  16  norm           .0000        1.3663       -.26266E-07** at limit **
  17  Prefactor      .0000        2.3627        .39281E-07** at limit **
  18  norm           .0000        3.3417       -.70435E-07** at limit **
  19  norm           .0000        .63977        .10337E-07** at limit **
  20  norm           .0000        .23111        .28832E-08** at limit **
  21  Prefactor     1.1240        18.506       -.13158E-06   -.12768E-02
  22  norm          27.343        14.130       -.80695E-07    .39313E-02
  23  Normalizat    .91975        .34666        .27658E-05    .48838E-04
  24  Prefactor     1.0163        .16920       -.31749E-06    .62446E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.8203
  norm       = 2.3232
  Prefactor  = 0
  Prefactor  = 2.943
  Prefactor  = 17.2959
  Prefactor  = 34.7591
  norm       = 7.53138
  norm       = 0.037719
  Prefactor  = 0
  norm       = 2.65947
  norm       = 4.00171
  Prefactor  = 4.74548
  Prefactor  = 1.72361
  Prefactor  = 1.18794e-08
  Prefactor  = 100.538
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0
  norm       = 0
  Prefactor  = 1.12396
  norm       = 27.3429
  Normalizat = 0.919747
  Prefactor  = 1.01632
 **********
 **   18 **HESSE 
 **********

 FCN=   4583.582     FROM HESSE     STATUS=OK           457 CALLS     3407 TOTAL
                     EDM=   .73E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.820        53.583        .15430E-03   -1.5579    
   2  norm          2.3232        2.6671        .67316E-03   -1.5677    
   3  Prefactor      .0000        2.3893        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.9430        52.119        .56969E-03   -1.5674    
   5  Prefactor     17.296        13.272        .24111E-03   -1.5625    
   6  Prefactor     34.759        25.612        .16935E-03   -1.5590    
   7  norm          7.5314        3.2735        .36536E-03   -1.5653    
   8  norm          .37719E-01    3.7026        .42118E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        27.810        .16168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.6595        2.2339        .62463E-03   -1.5675    
  11  norm          4.0017        1.5234        .50385E-03   -1.5668    
  12  Prefactor     4.7455        27.768        .45544E-03   -1.5664    
  13  Prefactor     1.7236        8.0200        .82558E-03   -1.5682    
  14  Prefactor     .11879E-07    17.406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     100.54        113.49        .98360E-04   -1.5507    
  16  norm           .0000        1.3760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.3581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        3.3229        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .62480        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        .15518        .13958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1240        22.453        .11287E-02   -1.5687    
  22  norm          27.343        15.589        .19142E-03   -1.5603    
  23  Normalizat    .91975        .31021        .84150E-01   -.95770    
  24  Prefactor     1.0163        .14807        .42508E-01   -.92188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27455e-06
Minuit parameter uncertainties:
  1  53.5836
  2  2.6671
  3  4.34328e-06
  4  24.7702
  5  13.2723
  6  25.6119
  7  3.27349
  8  0.747419
  9  5.34569e-05
  10  2.2339
  11  1.52343
  12  22.9585
  13  7.43596
  14  0.000909477
  15  113.497
  16  4.55985e-06
  17  7.81251e-06
  18  5.09777e-06
  19  9.24568e-07
  20  1.50926e-07
  21  10.0472
  22  15.5888
  23  0.310817
  24  0.148133
Done.

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

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  2.659e+00  2.234e+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

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.016e+00  1.481e-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:  9.197e-01  3.108e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.97
Ra Dec: 24.142 39.100
Photon Index (Fixed Index): 1.56 +/- 0.00
Photon Flux (Fixed Index): 3.37e-08 +/- 2.83e-08
Energy Flux (Fixed Index): 7.14e-05 +/- 6.00e-05

TS (Fixed Index): 2.97
Ra Dec: 24.142 39.100
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/369100/likelihoodResults_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.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) = 4582.32711136
delta logL = 1.25510811235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4582.29616738
delta logL = 1.28605209571

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4582.296     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      280 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .75289        11.228        .31199E-05    .31928E-01
   2  alpha         2.9385        3.9341        .63091E-02    .12640E-03
   3  Normalizat    .76003        .42192        .40601E-03    .45865E-04
   4  Prefactor     1.0682        .20890        .18609E-03    .27130E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.752887
  alpha      = 2.93846
  Normalizat = 0.760031
  Prefactor  = 1.06817
 **********
 **   18 **HESSE 
 **********

 FCN=   4582.296     FROM HESSE     STATUS=OK            25 CALLS      305 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .75289        1.6497        .12480E-06   -1.5691    
   2  alpha         2.9385        1.0221        .25236E-03    .17630    
   3  Normalizat    .76003        .32209        .16241E-04   -1.0157    
   4  Prefactor     1.0682        .16875        .37218E-04   -.90490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08373e-10
Minuit parameter uncertainties:
  1  1.64974
  2  1.054
  3  0.322898
  4  0.168839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/369100': 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) = 4582.29616728
delta logL = 1.28605219546

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  7.529e-01  1.650e+00  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  2.938e+00  1.054e+00  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:  1.068e+00  1.688e-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:  7.600e-01  3.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.74
Ra Dec: 24.142 39.100
Photon Index (Free Index): 2.94 +/- 1.05
Photon Flux (Free Index): 1.31e-07 +/- 8.47e-08
Energy Flux (Free Index): 3.08e-05 +/- 2.00e-05

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/369100/cmap_HighResolution_687484801_687744001_4FGL_J0136.5+3906_daily_bin1729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-04', comment='SUCCESS', photon_flux='3.37e-08', energy_flux2='3.08e-05', photon_flux_error='2.83e-08', dlogl='1.29e+00', energy_flux='7.14e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2022-10-18 00:16:29.795369', photon_index_error2='1.05', photon_index2='2.94', ts='2.97', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='2.00e-05', EG='0.92', time_epoch_completed='1666077389.8', return_code='0', job_id='369100', GAL2='1.07', EG2='0.76', return_code2='0', energy_flux_error='6.00e-05', photon_flux_error2='8.47e-08', ts2='5.74', photon_index='1.56' WHERE bin_id='1729' AND source_name='4FGL J0136.5+3906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Oct 18 00:16:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 369100: <4FGL_J0136.5+3906_daily_bin1729> in cluster <slac> Done

Job <4FGL_J0136.5+3906_daily_bin1729> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Oct 18 00:05:11 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Oct 18 00:05:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Oct 18 00:05:12 2022
Terminated at Tue Oct 18 00:16:30 2022
Results reported at Tue Oct 18 00:16:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0136.5+3906_daily_bin1729 24.1423 39.1 687484801 687744001 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 :                                   585.58 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             302.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   678 sec.
    Turnaround time :                            679 sec.

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

