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 38 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 = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0136.5+3906_daily_bin1746
RA = 24.1423, Dec = 39.1
tmin = 691891201, tmax = 692150401
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='712564', job_status='RUN', time_executed='2022-12-08 00:07:14.176497', time_epoch_executed='1670486834.18' WHERE source_name='4FGL J0136.5+3906' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/712564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/712564/ft1_4FGL_J0136.5+3906_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/712564/ft1_4FGL_J0136.5+3906_daily_bin1746.fits outfile=/scratch/kocevski/712564/ft1_filteredMKT_4FGL_J0136.5+3906_daily_bin1746.fits ra=24.1423 dec=39.1 rad=12.0 tmin=691891201.0 tmax=692150401.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 7.33
user 4.47
sys 0.25

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

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

Number of photons that the gtmktime cut: 826

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/712564/ft1_filtered_4FGL_J0136.5+3906_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/712564/ltcube_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.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/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits
.....................!
real 12.12
user 11.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/712564/ft1_filtered_4FGL_J0136.5+3906_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/712564/ltcube_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.fits outfile=/scratch/kocevski/712564/expmap_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.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/712564/ltcube_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.fits
.....................!
real 191.87
user 185.81
sys 4.93

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/712564/ft1_filtered_4FGL_J0136.5+3906_daily_bin1746.fits scfile=/scratch/kocevski/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits outfile=/scratch/kocevski/712564/cmap_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/712564/ft1_filtered_4FGL_J0136.5+3906_daily_bin1746.fits scfile=/scratch/kocevski/712564/ft2_4FGL_J0136.5+3906_daily_bin1746.fits outfile=/scratch/kocevski/712564/cmap_HighResolution_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.916       1.0000          .0000       .10000E+07
     2 'norm      '    9.1202       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21289E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12070E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14563E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .41886E-01   1.0000          .0000       .10000E+07
     7 'norm      '    4.4161       1.0000          .0000       .10000E+07
     8 'norm      '    .52025E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7170       1.0000          .0000       .10000E+07
    10 'norm      '    1.8193       1.0000          .0000       .10000E+07
    11 'norm      '    2.9081       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29272E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5561       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.441       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17275E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.3224       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.5188       1.0000          .0000       .10000E+07
    18 'norm      '    3.2628       1.0000          .0000       .10000E+07
    19 'norm      '    .14161       1.0000          .0000       .10000E+07
    20 'norm      '    .65607       1.0000          .0000       .10000E+07
    21 'Prefactor '    .21094E-08   1.0000          .0000       .10000E+07
    22 'norm      '    12.205       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0342       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .95223       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=   8735.070     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1588 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.027        25.336       -.19631E-05    .84299E-03
   2  norm          9.1348        3.3471        .68003E-09    .21084E-03
   3  Prefactor      .0000        1.7501       -.16799E-06** at limit **
   4  Prefactor     .55511E-10    6.7204        .38010E-06** at limit **
   5  Prefactor     .55511E-10    8.5128       -.43884E-06** at limit **
   6  Prefactor     .44409E-09    35.119       -.72597E-06** at limit **
   7  norm          4.4146        1.5981       -.10403E-06    .29460E-03
   8  norm           .0000        2.3671        .15972E-06** at limit **
   9  Prefactor     3.6400        1.5017        .94752E-07    .13660E-01
  10  norm          1.8184        1.0292       -.84663E-08    .18430E-03
  11  norm          2.9076        .92597        .31449E-08    .41833E-03
  12  Prefactor      .0000        4.4309       -.16225E-06** at limit **
  13  Prefactor     1.5533        2.6249       -.27260E-07    .56253E-04
  14  Prefactor     11.456        1.0755       -.13434E-07    .92434E-03
  15  Prefactor     .16653E-09    19.702        .98716E-06** at limit **
  16  norm          1.3020        3.2076       -.86819E-08   -.12093E-04
  17  Prefactor     7.5467        5.8492        .56549E-07    .61358E-04
  18  norm          3.2653        3.0099        .34059E-07   -.27894E-03
  19  norm          .14115        .55051       -.15738E-06** at limit **
  20  norm          .65590        .30776       -.18869E-08    .88682E-04
  21  Prefactor      .0000        2.9498        .18581E-08** at limit **
  22  norm          12.195        6.6984       -.11491E-06    .11774E-03
  23  Normalizat    1.0343        .22106        .11656E-04    .72381E-05
  24  Prefactor     .95247        .11754       -.32404E-05    .13315E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0274
  norm       = 9.13481
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  norm       = 4.41456
  norm       = 0
  Prefactor  = 3.64005
  norm       = 1.81838
  norm       = 2.90764
  Prefactor  = 0
  Prefactor  = 1.5533
  Prefactor  = 11.4564
  Prefactor  = 1.66533e-10
  norm       = 1.302
  Prefactor  = 7.54672
  norm       = 3.26532
  norm       = 0.14115
  norm       = 0.655901
  Prefactor  = 0
  norm       = 12.1948
  Normalizat = 1.03427
  Prefactor  = 0.952468
 **********
 **   18 **HESSE 
 **********

 FCN=   8735.070     FROM HESSE     STATUS=OK           457 CALLS     2045 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.027        25.386        .28995E-03   -1.5642    
   2  norm          9.1348        3.3462        .33163E-03   -1.5648    
   3  Prefactor      .0000        1.7472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-10    6.7162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    8.4455        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .44409E-09    9.9153        .10316E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.4146        1.5977        .47898E-03   -1.5666    
   8  norm           .0000        2.3533        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6400        19.759        .52354E-03   -1.5670    
  10  norm          1.8184        1.0290        .77393E-04   -1.5681    
  11  norm          2.9076        .92572        .59555E-03   -1.5674    
  12  Prefactor      .0000        4.4342        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5533        2.6476        .85307E-03   -1.5683    
  14  Prefactor     11.456        18.472        .29593E-03   -1.5640    
  15  Prefactor     .16653E-09    19.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3020        3.2640        .95612E-03   -1.5685    
  17  Prefactor     7.5467        5.9335        .36550E-03   -1.5653    
  18  norm          3.2653        2.9284        .56040E-03   -1.5672    
  19  norm          .14115        .41746        .22591E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .65590        .30998        .64348E-03   -1.5692    
  21  Prefactor      .0000        2.9460        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          12.195        6.7101        .28648E-03   -1.5638    
  23  Normalizat    1.0343        .19410        .75841E-01   -.91891    
  24  Prefactor     .95247        .10174        .45667E-01   -.94331    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90194e-08
Minuit parameter uncertainties:
  1  25.3865
  2  3.34622
  3  5.99686e-07
  4  3.01123e-05
  5  3.90751e-05
  6  0.000132513
  7  1.59775
  8  2.82642e-06
  9  16.9615
  10  1.02896
  11  0.925722
  12  2.26933e-08
  13  2.64763
  14  18.4719
  15  0.000113976
  16  3.26397
  17  5.93354
  18  2.92839
  19  0.417462
  20  0.309979
  21  8.51279e-07
  22  6.71008
  23  0.194238
  24  0.101761
Done.

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

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  1.818e+00  1.029e+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:  9.525e-01  1.018e-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.034e+00  1.942e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 27.49
Ra Dec: 24.142 39.100
Photon Index (Fixed Index): 1.56 +/- 0.00
Photon Flux (Fixed Index): 2.31e-08 +/- 1.31e-08
Energy Flux (Fixed Index): 4.88e-05 +/- 2.76e-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) = 8734.2685764
delta logL = 0.801186502078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8734.21458493
delta logL = 0.855177970832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2887       1.0000          .0000       .10000E+07
     2 'alpha     '    .97790       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95296       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=   8734.215     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      208 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2877        .75417        .97556E-03   -.56198E-02
   2  alpha         .97748        .33749        .34654       -.37424E-04
   3  Normalizat    1.0420        .18369        .75579E-01    .24629E-04
   4  Prefactor     .95301        .10060        .45676E-01    .35826E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.28768
  alpha      = 0.977477
  Normalizat = 1.04195
  Prefactor  = 0.953014
 **********
 **   18 **HESSE 
 **********

 FCN=   8734.215     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .59E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2877        .97815        .58440E-04   -1.5685    
   2  alpha         .97748        .43397        .15032E-02   -.65481    
   3  Normalizat    1.0420        .21125        .33449E-03   -.91638    
   4  Prefactor     .95301        .11589        .18964E-03   -.94313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.92763e-13
Minuit parameter uncertainties:
  1  0.978146
  2  0.437514
  3  0.21142
  4  0.115924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/712564': 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) = 8734.21458411
delta logL = 0.855178787642

Extracting fit parameters...

4FGL J0136.5+3906
   Spectrum: LogParabola
252         norm:  1.288e+00  9.781e-01  0.000e+00  1.000e+06 ( 1.000e-12)
253        alpha:  9.775e-01  4.375e-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.530e-01  1.159e-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.042e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 29.19
Ra Dec: 24.142 39.100
Photon Index (Free Index): 0.98 +/- 0.44
Photon Flux (Free Index): 1.24e-08 +/- 8.39e-09
Energy Flux (Free Index): 1.22e-04 +/- 1.07e-04

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/712564/cmap_HighResolution_691891201_692150401_4FGL_J0136.5+3906_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.31e-08', energy_flux2='1.22e-04', photon_flux_error='1.31e-08', dlogl='8.55e-01', energy_flux='4.88e-05', photon_flux2='1.24e-08', job_status='DONE', time_completed='2022-12-08 00:17:51.290633', photon_index_error2='0.44', photon_index2='0.98', ts='27.49', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.07e-04', EG='1.03', time_epoch_completed='1670487471.29', return_code='0', job_id='712564', GAL2='0.95', EG2='1.04', return_code2='0', energy_flux_error='2.76e-05', photon_flux_error2='8.39e-09', ts2='29.19', photon_index='1.56' WHERE bin_id='1746' AND source_name='4FGL J0136.5+3906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:17:51 PST 2022

----------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 712563: <4FGL_J0136.5+3906_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0136.5+3906_daily_bin1746> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Dec  8 00:05:40 2022
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:05:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:05:45 2022
Terminated at Thu Dec  8 00:15:31 2022
Results reported at Thu Dec  8 00:15:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0136.5+3906_daily_bin1746 24.1423 39.1 691891201 692150401 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 :                                   517.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   585 sec.
    Turnaround time :                            591 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 712564: <4FGL_J0136.5+3906_daily_bin1746> in cluster <slac> Done

Job <4FGL_J0136.5+3906_daily_bin1746> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Dec  8 00:05:40 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:05:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:05:45 2022
Terminated at Thu Dec  8 00:17:52 2022
Results reported at Thu Dec  8 00:17:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0136.5+3906_daily_bin1746 24.1423 39.1 691891201 692150401 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 :                                   630.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             314.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            732 sec.

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

