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 198 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_J0734.0+5021_daily_bin1745
RA = 113.524, Dec = 50.3572
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='637911', job_status='RUN', time_executed='2022-12-05 00:09:56.751883', time_epoch_executed='1670227796.75' WHERE source_name='4FGL J0734.0+5021' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637911

Creating custom pfile directory:
/scratch/kocevski/637911/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/637911/ft1_4FGL_J0734.0+5021_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/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637911/ft1_4FGL_J0734.0+5021_daily_bin1745.fits outfile=/scratch/kocevski/637911/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin1745.fits ra=113.524 dec=50.3572 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.35
user 2.15
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_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/637911/ft1_filteredMKT_4FGL_J0734.0+5021_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 276

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637911/ltcube_691632001_691891201_4FGL_J0734.0+5021_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/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits
.....................!
real 12.88
user 12.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637911/ltcube_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits outfile=/scratch/kocevski/637911/expmap_691632001_691891201_4FGL_J0734.0+5021_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/637911/ltcube_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits
.....................!
real 190.41
user 184.41
sys 5.28

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

Setting source of interest to:
4FGL J0734.0+5021 @ 113.524 50.3572

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits outfile=/scratch/kocevski/637911/cmap_691632001_691891201_4FGL_J0734.0+5021_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=113.524 yref=50.3572 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits outfile=/scratch/kocevski/637911/cmap_HighResolution_691632001_691891201_4FGL_J0734.0+5021_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=113.524 yref=50.3572 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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637911/Model_4FGL_J0734.0+5021_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/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits......................!
real 40.33
user 39.04
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits', '/scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits', expMap='/scratch/kocevski/637911/expmap_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits', expCube='/scratch/kocevski/637911/ltcube_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637911/Model_4FGL_J0734.0+5021_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0734.0+5021'

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  9.135e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/637911/ft1_filtered_4FGL_J0734.0+5021_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637911/ft2_4FGL_J0734.0+5021_daily_bin1745.fits
Exposure map: /scratch/kocevski/637911/expmap_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637911/ltcube_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637911/Model_4FGL_J0734.0+5021_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) = 3186.3151566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    234.31       1.0000          .0000       .10000E+07
     2 'norm      '    6.1537       1.0000          .0000       .10000E+07
     3 'norm      '    1.3094       1.0000          .0000       .10000E+07
     4 'norm      '    .28493E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .42878E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    27.174       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12673       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11475E-02   1.0000          .0000       .10000E+07
     9 'norm      '    .16971E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    35.887       1.0000          .0000       .10000E+07
    11 'Prefactor '    .95420E-05   1.0000          .0000       .10000E+07
    12 'norm      '    .51009       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40073E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .51675E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .12661E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.8407       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4989       1.0000          .0000       .10000E+07
    18 'Prefactor '    11.201       1.0000          .0000       .10000E+07
    19 'norm      '    .16933E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .82379E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .24170E-03   1.0000          .0000       .10000E+07
    22 'norm      '    1.1100       1.0000          .0000       .10000E+07
    23 'Prefactor '    .54914E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    15.988       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1989       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .85354       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3186.016     FROM MIGRAD    STATUS=CONVERGED    228 CALLS     2323 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     256.04        140.74       -.85936E-07    .90719E-04
   2  norm          6.0150        11.982       -.21935E-06    .43903E-03
   3  norm          1.3552        15.845        .15143E-06    .13078E-03
   4  norm          .11102E-09    9.7515        .35054E-06** at limit **
   5  Prefactor     .22204E-09    10.086       -.20093E-06** at limit **
   6  Prefactor     27.079        3.9053       -.79462E-08   -.96566E-02
   7  Prefactor     .48295E-08    2.9500        .48183E-07** at limit **
   8  Prefactor     .27756E-09    19.884        .59221E-06** at limit **
   9  norm          .61062E-09    10.663       -.20398E-06** at limit **
  10  Prefactor     37.045        47.311       -.40276E-06    .31486E-03
  11  Prefactor     .11102E-09    28.274        .15171E-06** at limit **
  12  norm          .51804        1.7416        .51641E-07    .22960E-03
  13  Prefactor     .55511E-10    8.6566       -.54423E-06** at limit **
  14  Prefactor     .11102E-09    14.349       -.48339E-06** at limit **
  15  norm          .33307E-09    7.9066        .20877E-06** at limit **
  16  Prefactor     5.3071        13.056       -.45420E-06    .98170E-03
  17  Prefactor     .22204E-09    270.92        .24644E-05** at limit **
  18  Prefactor     11.347        10.975       -.96696E-07   -.56163E-03
  19  norm          .63050E-06    14.077       -.65210E-07** at limit **
  20  norm           .0000        1.5626        .17226E-07** at limit **
  21  Prefactor      .0000        40.043       -.37766E-06** at limit **
  22  norm          1.1115        .84930       -.92502E-08    .54969E-04
  23  Prefactor      .0000        2.6583        .96206E-07** at limit **
  24  Prefactor     16.321        13.400        .64674E-07    .66734E-03
  25  Normalizat    1.1903        .36728       -.96504E-05    .19108E-04
  26  Prefactor     .85336        .22324        .34243E-05    .19699E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 256.037
  norm       = 6.01502
  norm       = 1.35518
  norm       = 1.11022e-10
  Prefactor  = 2.22045e-10
  Prefactor  = 27.0787
  Prefactor  = 4.82947e-09
  Prefactor  = 2.77556e-10
  norm       = 6.10623e-10
  Prefactor  = 37.0446
  Prefactor  = 1.11022e-10
  norm       = 0.518038
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 3.33067e-10
  Prefactor  = 5.30713
  Prefactor  = 2.22045e-10
  Prefactor  = 11.3465
  norm       = 6.30496e-07
  norm       = 0
  Prefactor  = 0
  norm       = 1.11153
  Prefactor  = 0
  Prefactor  = 16.3207
  Normalizat = 1.19035
  Prefactor  = 0.853355
 **********
 **   18 **HESSE 
 **********

 FCN=   3186.016     FROM HESSE     STATUS=OK           514 CALLS     2837 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     256.04        140.59        .65336E-04   -1.5388    
   2  norm          6.0150        12.266        .40446E-03   -1.5659    
   3  norm          1.3552        16.428        .96343E-03   -1.5685    
   4  norm          .11102E-09    9.9771        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .22204E-09    10.439        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.079        20.047        .19187E-03   -1.5604    
   7  Prefactor     .48295E-08    131.61        .13261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .27756E-09    19.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .61062E-09    11.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     37.045        47.642        .16695E-03   -1.5586    
  11  Prefactor     .11102E-09    28.642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .51804        1.7732        .77701E-03   -1.5694    
  13  Prefactor     .55511E-10    8.7700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    14.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33307E-09    14.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.3071        18.286        .45698E-03   -1.5662    
  17  Prefactor     .22204E-09    271.54        .87448E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.347        11.232        .29909E-03   -1.5641    
  19  norm          .63050E-06    3.6328        .70501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.5820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        39.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.1115        .84613        .98179E-03   -1.5687    
  23  Prefactor      .0000        2.6738        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     16.321        13.536        .25022E-03   -1.5627    
  25  Normalizat    1.1903        .32814        .69723E-01   -.86902    
  26  Prefactor     .85336        .19378        .44410E-01   -.97791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02915e-09
Minuit parameter uncertainties:
  1  140.593
  2  12.2661
  3  9.43677
  4  6.32756e-05
  5  9.65604e-05
  6  20.0468
  7  0.00159409
  8  0.00015414
  9  0.000168399
  10  47.642
  11  0.000112752
  12  1.77319
  13  4.91928e-05
  14  8.17855e-05
  15  0.000141144
  16  18.2867
  17  0.000493194
  18  11.2318
  19  0.00302681
  20  2.27089e-06
  21  5.36918e-05
  22  0.846125
  23  5.83695e-06
  24  13.5357
  25  0.328707
  26  0.193931
Done.

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

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  1.110e-10  1.128e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.471e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  8.534e-01  1.939e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.190e+00  3.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 113.524 50.357
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.22e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637911/likelihoodResults_691632001_691891201_4FGL_J0734.0+5021_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): 102
logL (Free Index) = 3186.03263149
delta logL = -0.0166912120158

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3185.64261531
delta logL = 0.373324971008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35741E-04   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    1.1246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88096       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3186.016     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      428 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24425E-08    30.958        .42118E-03** at limit **
   2  Index         2.2920        7.5253        .50000        .34106E-10
   3  Normalizat    1.1903        .29940        .69727E-01   -.79814E-03
   4  Prefactor     .85336        .18859        .44762E-01   -.69236E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44249e-09
  Index      = 2.29195
  Normalizat = 1.19033
  Prefactor  = 0.85336
 **********
 **   18 **HESSE 
 **********

 FCN=   3186.016     FROM HESSE     STATUS=OK            29 CALLS      457 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24425E-08    27.679        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2920        7.3959        .50000       -84.251    
   3  Normalizat    1.1903        .34371        .30850E-03    112.23    
   4  Prefactor     .85336        .21673        .22397E-03    49.288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4633e-09
Minuit parameter uncertainties:
  1  0.000519465
  2  4.21246
  3  0.344368
  4  0.216948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637911': 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) = 3186.01594028
delta logL = -1.24009602587e-09

Extracting fit parameters...

4FGL J0734.0+5021
   Spectrum: PowerLaw
282    Prefactor:  2.442e-09  5.195e-04  0.000e+00  1.000e+06 ( 1.000e-13)
283        Index:  2.292e+00  4.212e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  8.412e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  8.534e-01  2.169e-01  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  1.190e+00  3.444e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 113.524 50.357

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/637911/cmap_HighResolution_691632001_691891201_4FGL_J0734.0+5021_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.22e-02', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2022-12-05 00:18:25.551224', job_id='637911', GAL2='0.85', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1670228305.55', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-1.24e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1745' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:18:25 PST 2022

CCESS', return_code='0', GAL='0.85', dlogl='-1.24e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1745' AND source_name='4FGL J0734.0+5021' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:17:01 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0170>
Subject: Job 637912: <4FGL_J0734.0+5021_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0734.0+5021_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:42 2022
Job was executed on host(s) <bullet0170>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:25 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:06:25 2022
Terminated at Mon Dec  5 00:17:02 2022
Results reported at Mon Dec  5 00:17:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0734.0+5021_daily_bin1745 113.524 50.3572 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0734.0+5021 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 :                             302.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            680 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 637911: <4FGL_J0734.0+5021_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0734.0+5021_daily_bin1745> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Dec  5 00:05:42 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:06:25 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:06:25 2022
Terminated at Mon Dec  5 00:18:26 2022
Results reported at Mon Dec  5 00:18:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0734.0+5021_daily_bin1745 113.524 50.3572 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0734.0+5021 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   511.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            764 sec.

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

