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


Performing analysis on: 4FGL_J0136.5+3906_daily_bin1745
RA = 24.1423, Dec = 39.1
tmin = 691632001, tmax = 691891201
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='637079', job_status='RUN', time_executed='2022-12-05 00:05:06.732031', time_epoch_executed='1670227506.73' WHERE source_name='4FGL J0136.5+3906' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637079

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637079/ft1_4FGL_J0136.5+3906_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637079/ft1_4FGL_J0136.5+3906_daily_bin1745.fits outfile=/scratch/kocevski/637079/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1745.fits ra=24.1423 dec=39.1 rad=12.0 tmin=691632001.0 tmax=691891201.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.42
user 2.15
sys 0.19

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

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

Number of photons that the gtmktime cut: 136

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637079/ft1_filtered_4FGL_J0136.5+3906_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637079/ltcube_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.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/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits
.....................!
real 12.39
user 12.04
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637079/ft1_filtered_4FGL_J0136.5+3906_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637079/ltcube_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.fits outfile=/scratch/kocevski/637079/expmap_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.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/637079/ltcube_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.fits
.....................!
real 194.85
user 190.26
sys 4.15

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/637079/ft1_filtered_4FGL_J0136.5+3906_daily_bin1745.fits scfile=/scratch/kocevski/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits outfile=/scratch/kocevski/637079/cmap_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637079/ft1_filtered_4FGL_J0136.5+3906_daily_bin1745.fits scfile=/scratch/kocevski/637079/ft2_4FGL_J0136.5+3906_daily_bin1745.fits outfile=/scratch/kocevski/637079/cmap_HighResolution_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11722E-01   1.0000          .0000       .10000E+07
     2 'norm      '    4.1172       1.0000          .0000       .10000E+07
     3 'Prefactor '    .45107E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17559       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46601E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.7930       1.0000          .0000       .10000E+07
     7 'norm      '    9.2835       1.0000          .0000       .10000E+07
     8 'norm      '    16.347       1.0000          .0000       .10000E+07
     9 'Prefactor '    104.87       1.0000          .0000       .10000E+07
    10 'norm      '    2.3624       1.0000          .0000       .10000E+07
    11 'norm      '    .65773E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .17128E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.5971       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31944E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    283.75       1.0000          .0000       .10000E+07
    16 'norm      '    .25437E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .41258E-03   1.0000          .0000       .10000E+07
    18 'norm      '    23.692       1.0000          .0000       .10000E+07
    19 'norm      '    .49960E-09   1.0000          .0000       .10000E+07
    20 'norm      '    .41189E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .78080E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .46783E-01   1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1306       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .39866       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=   1538.874     FROM MIGRAD    STATUS=CONVERGED    230 CALLS     2844 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        25.453        .64122E-07** at limit **
   2  norm          4.1195        3.5579        .39625E-08   -.71857E-04
   3  Prefactor      .0000        2.6531        .38699E-07** at limit **
   4  Prefactor      .0000        96.541        .59556E-06** at limit **
   5  Prefactor      .0000        4.8756       -.37524E-07** at limit **
   6  Prefactor     2.8042        19.271       -.28884E-07   -.27830E-03
   7  norm          9.2903        3.6521       -.51746E-09   -.59099E-04
   8  norm          16.202        17.496        .55787E-07   -.79255E-02
   9  Prefactor     108.41        169.41       -.43675E-06   -.17564E-04
  10  norm          2.3603        3.3178        .46873E-08   -.34642E-05
  11  norm           .0000        13.117        .89074E-07** at limit **
  12  Prefactor     .61495E-06    28.883        .28127E-06** at limit **
  13  Prefactor     4.7522        16.360        .69784E-07   -.11972E-02
  14  Prefactor     .93020E-06    24.361       -.13513E-06** at limit **
  15  Prefactor     273.15        338.76       -.16906E-05    .18594E-03
  16  norm           .0000        8.0367       -.69763E-07** at limit **
  17  Prefactor     .48517E-07    35.783       -.11030E-06** at limit **
  18  norm          23.718        17.968       -.32904E-07    .36841E-02
  19  norm           .0000        2.0172        .32178E-07** at limit **
  20  norm           .0000        1.5012       -.62289E-08** at limit **
  21  Prefactor     .23367E-05    13.408        .96581E-07** at limit **
  22  norm           .0000        51.121        .57935E-07** at limit **
  23  Normalizat    1.1306        .43194        .68145E-06    .40883E-07
  24  Prefactor     .39874        .22315        .15684E-06   -.34767E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 4.11946
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.80417
  norm       = 9.29032
  norm       = 16.2024
  Prefactor  = 108.409
  norm       = 2.36027
  norm       = 0
  Prefactor  = 6.14953e-07
  Prefactor  = 4.75224
  Prefactor  = 9.302e-07
  Prefactor  = 273.152
  norm       = 0
  Prefactor  = 4.85167e-08
  norm       = 23.7178
  norm       = 0
  norm       = 0
  Prefactor  = 2.33669e-06
  norm       = 0
  Normalizat = 1.1306
  Prefactor  = 0.398742
 **********
 **   18 **HESSE 
 **********

 FCN=   1538.874     FROM HESSE     STATUS=OK           451 CALLS     3295 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        25.485        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.1195        3.5622        .49656E-03   -1.5667    
   3  Prefactor      .0000        2.6613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        21.188        .95517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        4.8745        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.8042        19.329        .60854E-03   -1.5674    
   7  norm          9.2903        3.6478        .32868E-03   -1.5647    
   8  norm          16.202        17.544        .24745E-03   -1.5627    
   9  Prefactor     108.41        169.66        .97657E-04   -1.5500    
  10  norm          2.3603        3.3314        .66647E-03   -1.5677    
  11  norm           .0000        12.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61495E-06    33.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.7522        16.414        .46922E-03   -1.5664    
  14  Prefactor     .93020E-06    32.007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     273.15        339.30        .59373E-04   -1.5377    
  16  norm           .0000        8.0541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .48517E-07    36.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          23.718        18.006        .20550E-03   -1.5611    
  19  norm           .0000        2.0217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.5033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .23367E-05    32.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        51.224        .15671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1306        .38191        .58821E-01   -.88775    
  24  Prefactor     .39874        .19639        .38233E-01   -1.1687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70861e-07
Minuit parameter uncertainties:
  1  4.7179e-05
  2  3.56222
  3  6.77673e-07
  4  4.84394e-05
  5  7.18207e-06
  6  14.7243
  7  3.64782
  8  17.5442
  9  169.672
  10  3.3314
  11  1.68261e-05
  12  0.00912907
  13  16.4147
  14  0.0109131
  15  339.321
  16  1.65215e-05
  17  0.00264573
  18  18.0061
  19  1.0154e-06
  20  3.61747e-07
  21  0.0174584
  22  7.02393e-06
  23  0.382854
  24  0.196725
Done.

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

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  2.360e+00  3.331e+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:  3.987e-01  1.967e-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.131e+00  3.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/637079/likelihoodResults_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.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) = 1538.42089586
delta logL = 0.453575665549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1538.40037368
delta logL = 0.474097847891

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1209       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8209       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0187       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42700       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=   1538.400     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      243 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1159        25.225        .79825E-03   -.14620E-02
   2  alpha         2.8234        3.9010        .16526        .91930E-05
   3  Normalizat    1.0187        .13924        .43553E-01   -.19215E-04
   4  Prefactor     .42694        .64866E-01    .38640E-01   -.28705E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11585
  alpha      = 2.82343
  Normalizat = 1.01869
  Prefactor  = 0.426943
 **********
 **   18 **HESSE 
 **********

 FCN=   1538.400     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1159        22.553        .35771E-05   -1.5687    
   2  alpha         2.8234        3.8399        .65050E-02    .12974    
   3  Normalizat    1.0187        .69711        .27147E-03   -.92407    
   4  Prefactor     .42694        .33411        .21150E-03   -1.1545    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41213e-11
Minuit parameter uncertainties:
  1  10.0331
  2  5.06022
  3  0.703497
  4  0.33565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637079': 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) = 1538.40037206
delta logL = 0.474099467096

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  1.116e+00  1.003e+01  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  2.823e+00  5.060e+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:  4.269e-01  3.357e-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.019e+00  7.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 24.142 39.100
Photon Index (Free Index): 2.82 +/- 5.06
Photon Flux (Free Index): 1.49e-07 +/- 4.09e-07
Energy Flux (Free Index): 3.78e-05 +/- 5.29e-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/637079/cmap_HighResolution_691632001_691891201_4FGL_J0136.5+3906_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-04', comment='SUCCESS', energy_flux2='3.78e-05', dlogl='4.74e-01', photon_flux2='1.49e-07', job_status='DONE', time_completed='2022-12-05 00:12:17.950892', photon_index_error2='5.06', photon_index2='2.82', ts='0.85', fit_tolerance='1e-08', GAL='0.40', photon_index_error='0.00', photon_flux_upper_limit='1.56e-07', energy_flux_error2='5.29e-05', EG='1.13', time_epoch_completed='1670227937.95', return_code='0', job_id='637079', GAL2='0.43', EG2='1.02', return_code2='0', photon_flux_error2='4.09e-07', ts2='1.78', photon_index='1.56' WHERE bin_id='1745' AND source_name='4FGL J0136.5+3906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:12:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 637079: <4FGL_J0136.5+3906_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0136.5+3906_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:52 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:04:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:04:53 2022
Terminated at Mon Dec  5 00:12:18 2022
Results reported at Mon Dec  5 00:12:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0136.5+3906_daily_bin1745 24.1423 39.1 691632001 691891201 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 :                                   399.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   445 sec.
    Turnaround time :                            446 sec.

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

