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


Performing analysis on: 4FGL_J0824.9+3915_daily_bin1780
RA = 126.236, Dec = 39.2574
tmin = 700704001, tmax = 700963201
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='55259', job_status='RUN', time_executed='2023-03-20 00:27:10.789612', time_epoch_executed='1679297230.79' WHERE source_name='4FGL J0824.9+3915' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55259

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55259/ft1_4FGL_J0824.9+3915_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55259/ft1_4FGL_J0824.9+3915_daily_bin1780.fits outfile=/scratch/kocevski/55259/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1780.fits ra=126.236 dec=39.2574 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.09
user 3.85
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.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/55259/ft1_filteredMKT_4FGL_J0824.9+3915_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.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.16

Number of photons that the gtmktime cut: 952

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/55259/ltcube_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.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/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits
.....................!
real 12.13
user 11.77
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/55259/ltcube_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits outfile=/scratch/kocevski/55259/expmap_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.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/55259/ltcube_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits
.....................!
real 191.36
user 186.57
sys 4.44

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

Setting source of interest to:
4FGL J0824.9+3915 @ 126.236 39.2574

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits outfile=/scratch/kocevski/55259/cmap_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.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=126.236 yref=39.2574 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits outfile=/scratch/kocevski/55259/cmap_HighResolution_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.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=126.236 yref=39.2574 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55259/Model_4FGL_J0824.9+3915_daily_bin1780.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/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits.....................!
real 88.26
user 86.89
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits', '/scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits', expMap='/scratch/kocevski/55259/expmap_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits', expCube='/scratch/kocevski/55259/ltcube_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55259/Model_4FGL_J0824.9+3915_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0824.9+3915'

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.301e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/55259/ft1_filtered_4FGL_J0824.9+3915_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/55259/ft2_4FGL_J0824.9+3915_daily_bin1780.fits
Exposure map: /scratch/kocevski/55259/expmap_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits
Exposure cube: /scratch/kocevski/55259/ltcube_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55259/Model_4FGL_J0824.9+3915_daily_bin1780.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) = 10385.2980119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12505E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .74092E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .21705E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .53110       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.4254       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10861E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    11.988       1.0000          .0000       .10000E+07
     8 'Prefactor '    .68509E-04   1.0000          .0000       .10000E+07
     9 'norm      '    1.2376       1.0000          .0000       .10000E+07
    10 'Prefactor '    .92417E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    5.1096       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.8242       1.0000          .0000       .10000E+07
    13 'Prefactor '    61.179       1.0000          .0000       .10000E+07
    14 'Prefactor '    .66279E-04   1.0000          .0000       .10000E+07
    15 'norm      '    1.4038       1.0000          .0000       .10000E+07
    16 'Prefactor '    .13785E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    5.0697       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.8279       1.0000          .0000       .10000E+07
    19 'norm      '    .42966E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .41540E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    1.2372       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.2027       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89191       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10385.19     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1559 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.8791       -.18444E-06** at limit **
   2  Prefactor      .0000        4.6912        .16542E-06** at limit **
   3  norm           .0000        4.4116        .34141E-06** at limit **
   4  norm          .53214        1.8539        .89285E-07    .13230E-03
   5  Prefactor     7.4901        7.1608       -.12193E-06   -.67148E-03
   6  Prefactor     .19484E-06    15.592       -.15410E-06** at limit **
   7  Prefactor     12.028        4.6056        .14033E-06    .72261E-03
   8  Prefactor     .13054E-04    46.876       -.89900E-06** at limit **
   9  norm          1.2348        .49169       -.21564E-11    .36837E-03
  10  Prefactor     .12212E-08    9.6225        .13600E-06** at limit **
  11  Prefactor     5.1077        10.630        .89337E-07    .12898E-01
  12  Prefactor     1.8167        2.2085       -.11057E-07   -.40631E-03
  13  Prefactor     62.246        22.553       -.75059E-07   -.15366    
  14  Prefactor      .0000        3.0006        .30085E-07** at limit **
  15  norm          1.4051        2.0122        .45713E-07    .25522E-03
  16  Prefactor     .96750E-06    18.958        .38266E-06** at limit **
  17  Prefactor     5.0662        3.2048       -.46977E-07   -.56724E-03
  18  Prefactor     4.0117        20.500       -.56074E-06   -.16274E-01
  19  norm           .0000        .10008       -.19587E-07** at limit **
  20  norm          .25998E-04    53.994       -.11965E-05** at limit **
  21  Prefactor     1.2371        2.1434        .25072E-07   -.22298E-03
  22  Normalizat    1.2011        .17940       -.10131E-05   -.93915E-04
  23  Prefactor     .89231        .14111       -.16641E-05   -.10436E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  norm       = 0.532139
  Prefactor  = 7.49009
  Prefactor  = 1.94844e-07
  Prefactor  = 12.0282
  Prefactor  = 1.30541e-05
  norm       = 1.2348
  Prefactor  = 1.22125e-09
  Prefactor  = 5.10766
  Prefactor  = 1.81666
  Prefactor  = 62.2464
  Prefactor  = 0
  norm       = 1.40507
  Prefactor  = 9.67504e-07
  Prefactor  = 5.06625
  Prefactor  = 4.01172
  norm       = 0
  norm       = 2.59983e-05
  Prefactor  = 1.23713
  Normalizat = 1.20115
  Prefactor  = 0.892309
 **********
 **   18 **HESSE 
 **********

 FCN=   10385.19     FROM HESSE     STATUS=OK           424 CALLS     1983 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.8751        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        4.6959        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        4.4022        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .53214        1.8555        .75640E-03   -1.5693    
   5  Prefactor     7.4901        7.1766        .36782E-03   -1.5653    
   6  Prefactor     .19484E-06    15.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.028        4.6135        .28907E-03   -1.5639    
   8  Prefactor     .13054E-04    60.860        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.2348        .49957        .96292E-03   -1.5686    
  10  Prefactor     .12212E-08    9.6477        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1077        10.946        .44455E-03   -1.5663    
  12  Prefactor     1.8167        2.2608        .77267E-03   -1.5681    
  13  Prefactor     62.246        27.525        .12786E-03   -1.5550    
  14  Prefactor      .0000        3.0016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4051        2.0412        .91497E-03   -1.5684    
  16  Prefactor     .96750E-06    20.060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.0662        3.2501        .44633E-03   -1.5663    
  18  Prefactor     4.0117        28.691        .51561E-03   -1.5668    
  19  norm           .0000        .99705E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .25998E-04    8.8732        .68947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.2371        2.2149        .10087E-02   -1.5686    
  22  Normalizat    1.2011        .15221        .58598E-01   -.86567    
  23  Prefactor     .89231        .11960        .44902E-01   -.96410    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90068e-07
Minuit parameter uncertainties:
  1  3.27274e-06
  2  7.58181e-06
  3  2.5045e-06
  4  1.85553
  5  7.17661
  6  0.00351069
  7  4.61353
  8  0.0563734
  9  0.499572
  10  0.000218606
  11  10.9458
  12  2.26076
  13  27.5246
  14  5.71301e-06
  15  2.04117
  16  0.00881088
  17  3.25015
  18  21.4569
  19  1.19272e-07
  20  0.0303769
  21  2.2149
  22  0.152268
  23  0.11964
Done.

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

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.817e+00  2.261e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  2.432e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  8.923e-01  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.201e+00  1.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 126.236 39.257
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 2.32e-08 +/- 2.88e-08
Energy Flux (Fixed Index): 7.30e-06 +/- 9.08e-06

TS (Fixed Index): 1.01
Ra Dec: 126.236 39.257
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.48e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55259/likelihoodResults_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.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) = 10384.7511621
delta logL = 0.435822633826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10384.7471362
delta logL = 0.439848503454

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10384.75     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8768        2.0716        .75974E-03   -.87149E-02
   2  Index         1.6609        .48392        .28199       -.10279E-03
   3  Normalizat    1.2182        .14572        .58264E-01    .20313E-03
   4  Prefactor     .88339        .11815        .44794E-01    .28012E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.87683
  Index      = 1.66087
  Normalizat = 1.21822
  Prefactor  = 0.883387
 **********
 **   18 **HESSE 
 **********

 FCN=   10384.75     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8768        2.1887        .13870E-04   -1.5681    
   2  Index         1.6609        .66429        .11941E-01   -.73128    
   3  Normalizat    1.2182        .17031        .25767E-03   -.86042    
   4  Prefactor     .88339        .13827        .24012E-03   -.96724    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.80172e-10
Minuit parameter uncertainties:
  1  2.18869
  2  0.667864
  3  0.170387
  4  0.138323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55259': 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) = 10384.7471352
delta logL = 0.439849518791

Extracting fit parameters...

4FGL J0824.9+3915
   Spectrum: PowerLaw
314    Prefactor:  1.877e+00  2.189e+00  0.000e+00  1.000e+06 ( 1.000e-12)
315        Index:  1.661e+00  6.679e-01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  8.513e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
622    Prefactor:  8.834e-01  1.383e-01  0.000e+00  1.000e+01 ( 1.000e+00)
623        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
624        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
621   Normalization:  1.218e+00  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.90
Ra Dec: 126.236 39.257
Photon Index (Free Index): 1.66 +/- 0.67
Photon Flux (Free Index): 9.85e-09 +/- 1.43e-08
Energy Flux (Free Index): 1.83e-05 +/- 2.77e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/55259/cmap_HighResolution_700704001_700963201_4FGL_J0824.9+3915_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.48e-03', comment='SUCCESS', photon_flux='2.32e-08', energy_flux2='1.83e-05', photon_flux_error='2.88e-08', dlogl='4.40e-01', energy_flux='7.30e-06', photon_flux2='9.85e-09', job_status='DONE', time_completed='2023-03-20 00:40:34.330214', photon_index_error2='0.67', photon_index2='1.66', ts='1.01', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='8.37e-08', energy_flux_error2='2.77e-05', EG='1.20', time_epoch_completed='1679298034.33', return_code='0', job_id='55259', GAL2='0.88', EG2='1.22', return_code2='0', energy_flux_error='9.08e-06', photon_flux_error2='1.43e-08', ts2='1.90', photon_index='2.43' WHERE bin_id='1780' AND source_name='4FGL J0824.9+3915' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:40:34 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 55259: <4FGL_J0824.9+3915_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0824.9+3915_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:25:19 2023
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:25:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:25:21 2023
Terminated at Mon Mar 20 00:40:35 2023
Results reported at Mon Mar 20 00:40:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0824.9+3915_daily_bin1780 126.236 39.2574 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0824.9+3915 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   805.08 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   913 sec.
    Turnaround time :                            916 sec.

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

