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


Performing analysis on: 4FGL_J0841.3+7053_daily_bin1778
RA = 130.342, Dec = 70.8887
tmin = 700185601, tmax = 700444801
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='956001', job_status='RUN', time_executed='2023-03-14 00:31:14.453293', time_epoch_executed='1678779074.45' WHERE source_name='4FGL J0841.3+7053' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/956001

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/956001/ft1_4FGL_J0841.3+7053_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/956001/ft1_4FGL_J0841.3+7053_daily_bin1778.fits outfile=/scratch/kocevski/956001/ft1_filteredMKT_4FGL_J0841.3+7053_daily_bin1778.fits ra=130.342 dec=70.8887 rad=12.0 tmin=700185601.0 tmax=700444801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.96
user 3.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.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/956001/ft1_filteredMKT_4FGL_J0841.3+7053_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.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.33
sys 0.15

Number of photons that the gtmktime cut: 936

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/956001/ltcube_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.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/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits
.....................!
real 12.54
user 12.20
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/956001/ltcube_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits outfile=/scratch/kocevski/956001/expmap_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.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/956001/ltcube_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits
.....................!
real 189.52
user 185.06
sys 4.12

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

Setting source of interest to:
4FGL J0841.3+7053 @ 130.342 70.8887

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits outfile=/scratch/kocevski/956001/cmap_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.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=130.342 yref=70.8887 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits outfile=/scratch/kocevski/956001/cmap_HighResolution_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.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=130.342 yref=70.8887 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.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/956001/Model_4FGL_J0841.3+7053_daily_bin1778.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/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits.....................!
real 107.85
user 106.46
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits', '/scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits', expMap='/scratch/kocevski/956001/expmap_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits', expCube='/scratch/kocevski/956001/ltcube_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/956001/Model_4FGL_J0841.3+7053_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0841.3+7053'

4FGL J0841.3+7053
   Spectrum: LogParabola
321         norm:  7.490e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
322        alpha:  2.775e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
323         beta:  2.313e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
324           Eb:  3.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/956001/ft1_filtered_4FGL_J0841.3+7053_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/956001/ft2_4FGL_J0841.3+7053_daily_bin1778.fits
Exposure map: /scratch/kocevski/956001/expmap_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits
Exposure cube: /scratch/kocevski/956001/ltcube_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/956001/Model_4FGL_J0841.3+7053_daily_bin1778.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) = 9809.39412385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46687E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60416E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .17905       1.0000          .0000       .10000E+07
     4 'norm      '    1.1216       1.0000          .0000       .10000E+07
     5 'norm      '    .18458E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.1086       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18918E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .12650       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.4525       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0079       1.0000          .0000       .10000E+07
    11 'norm      '    6.0252       1.0000          .0000       .10000E+07
    12 'Prefactor '    38.389       1.0000          .0000       .10000E+07
    13 'Prefactor '    13.200       1.0000          .0000       .10000E+07
    14 'norm      '    .61756       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.9172       1.0000          .0000       .10000E+07
    16 'Prefactor '    .20553E-04   1.0000          .0000       .10000E+07
    17 'norm      '    1.9492       1.0000          .0000       .10000E+07
    18 'Prefactor '    .46698E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .61301E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    259.33       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.2921       1.0000          .0000       .10000E+07
    22 'norm      '    6.6003       1.0000          .0000       .10000E+07
    23 'norm      '    .17377E-03   1.0000          .0000       .10000E+07
    24 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9809.387     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     2159 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    4.0375        .26775E-06** at limit **
   2  Prefactor     .55511E-09    5.1600        .25578E-06** at limit **
   3  norm          .50564E-04    634.66       -.38480E-04** at limit **
   4  norm          1.1210        .48474       -.44744E-07   -.59296E-02
   5  norm          .59397E-08    6.8305        .70037E-06** at limit **
   6  Prefactor     9.0966        1.2534       -.55544E-07   -.20451E-02
   7  Prefactor     .13878E-08    13.666       -.53364E-06** at limit **
   8  norm          .12938        7.4730       -.24805E-06** at limit **
   9  Prefactor     5.4469        4.6087        .45546E-06    .22696E-02
  10  Prefactor     1.0074        1.1640       -.57131E-07   -.34862E-02
  11  norm          6.0253        2.3018        .29560E-07    .98460E-02
  12  Prefactor     38.142        23.119       -.28489E-05   -.66527E-01
  13  Prefactor     13.188        1.6051       -.67423E-07   -.99132E-02
  14  norm          .61749        .53151        .15075E-07   -.60424E-02
  15  Prefactor     3.9209        1.3240       -.78345E-07   -.14692E-01
  16  Prefactor     .53846E-08    11.647       -.14606E-05** at limit **
  17  norm          1.9495        .75067        .27208E-07    .10230E-01
  18  Prefactor     .42966E-07    3.1816        .50696E-06** at limit **
  19  Prefactor     .61617E-08    5.1093        .17497E-06** at limit **
  20  Prefactor     259.25        5.2477       -.24569E-06    .25017    
  21  Prefactor     5.2963        5.7657       -.20791E-06   -.85047E-03
  22  norm          6.6006        1.2024        .99885E-07   -.28297E-02
  23  norm          .11102E-09    6.7634        .88277E-06** at limit **
  24  Normalizat    1.0038        .18307        .64800E-05    .26729E-03
  25  Prefactor     1.0210        .13508       -.36391E-06    .49637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Prefactor  = 5.55112e-10
  norm       = 5.05645e-05
  norm       = 1.12097
  norm       = 5.93969e-09
  Prefactor  = 9.09658
  Prefactor  = 1.38778e-09
  norm       = 0.129384
  Prefactor  = 5.44693
  Prefactor  = 1.00743
  norm       = 6.02529
  Prefactor  = 38.1416
  Prefactor  = 13.1875
  norm       = 0.617486
  Prefactor  = 3.92094
  Prefactor  = 5.38458e-09
  norm       = 1.94948
  Prefactor  = 4.29656e-08
  Prefactor  = 6.16174e-09
  Prefactor  = 259.248
  Prefactor  = 5.29631
  norm       = 6.60061
  norm       = 1.11022e-10
  Normalizat = 1.00376
  Prefactor  = 1.02102
 **********
 **   18 **HESSE 
 **********

 FCN=   9809.387     FROM HESSE     STATUS=OK           487 CALLS     2646 TOTAL
                     EDM=   .95E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    4.0550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-09    5.1958        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .50564E-04    9.1239        .12161E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1210        .48696        .99485E-03   -1.5687    
   5  norm          .59397E-08    7.0357        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.0966        17.173        .33184E-03   -1.5648    
   7  Prefactor     .13878E-08    13.725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .12938        .83850        .57437E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.4469        4.6197        .43008E-03   -1.5661    
  10  Prefactor     1.0074        1.1938        .44043E-03   -1.5688    
  11  norm          6.0253        2.4249        .40881E-03   -1.5659    
  12  Prefactor     38.142        39.636        .16141E-03   -1.5584    
  13  Prefactor     13.188        18.085        .27544E-03   -1.5635    
  14  norm          .61749        .52972        .67670E-04   -1.5692    
  15  Prefactor     3.9209        10.785        .50950E-03   -1.5668    
  16  Prefactor     .53846E-08    11.663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9495        .75748        .74305E-03   -1.5680    
  18  Prefactor     .42966E-07    7.9712        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61617E-08    8.0604        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     259.25        195.50        .62106E-04   -1.5386    
  21  Prefactor     5.2963        5.8086        .43667E-03   -1.5662    
  22  norm          6.6006        1.2134        .39037E-04   -1.5657    
  23  norm          .11102E-09    6.5663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0038        .16109        .67268E-01   -.92904    
  25  Prefactor     1.0210        .11824        .42061E-01   -.92032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.46598e-06
Minuit parameter uncertainties:
  1  8.18312e-05
  2  0.000106307
  3  0.042958
  4  0.486957
  5  0.000408206
  6  17.1734
  7  0.000274314
  8  0.658753
  9  4.61967
  10  1.19376
  11  2.42487
  12  39.6364
  13  18.0847
  14  0.529716
  15  10.7855
  16  0.000501052
  17  0.757484
  18  0.00117056
  19  0.000445804
  20  195.504
  21  5.80857
  22  1.21338
  23  5.53695e-05
  24  0.161169
  25  0.11827
Done.

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

Extracting fit parameters...

4FGL J0841.3+7053
   Spectrum: LogParabola
321         norm:  6.025e+00  2.425e+00  0.000e+00  1.000e+06 ( 1.000e-11)
322        alpha:  2.775e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
323         beta:  2.313e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
324           Eb:  3.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.021e+00  1.183e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  1.004e+00  1.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.63
Ra Dec: 130.342 70.889
Photon Index (Fixed Index): 2.77 +/- 0.00
Photon Flux (Fixed Index): 1.08e-07 +/- 4.36e-08
Energy Flux (Fixed Index): 2.40e-05 +/- 9.65e-06

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) = 9809.3045407
delta logL = 0.0825995774612

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9809.29720205
delta logL = 0.0899382247644

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4312       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5796       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0133       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0160       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9809.297     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      274 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4311        2.6112        .92482E-05    .13232E-01
   2  alpha         2.5797        .45532        .15519E-01    .76389E-04
   3  Normalizat    1.0133        .18033        .29632E-03   -.12070E-03
   4  Prefactor     1.0160        .13473        .22342E-03   -.98615E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.43115
  alpha      = 2.57972
  Normalizat = 1.01334
  Prefactor  = 1.01596
 **********
 **   18 **HESSE 
 **********

 FCN=   9809.297     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4311        2.5887        .36993E-06   -1.5657    
   2  alpha         2.5797        .45129        .62077E-03    .31893E-01
   3  Normalizat    1.0133        .18051        .11853E-04   -.92585    
   4  Prefactor     1.0160        .13484        .89368E-05   -.92199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10468e-10
Minuit parameter uncertainties:
  1  2.58868
  2  0.45378
  3  0.180615
  4  0.134883
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/956001': 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) = 9809.297202
delta logL = 0.0899382811422

Extracting fit parameters...

4FGL J0841.3+7053
   Spectrum: LogParabola
321         norm:  6.431e+00  2.589e+00  0.000e+00  1.000e+06 ( 1.000e-11)
322        alpha:  2.580e+00  4.538e-01  0.000e+00  5.000e+00 ( 1.000e+00)
323         beta:  2.313e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
324           Eb:  3.737e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  1.016e+00  1.349e-01  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  1.013e+00  1.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.73
Ra Dec: 130.342 70.889
Photon Index (Free Index): 2.58 +/- 0.45
Photon Flux (Free Index): 1.01e-07 +/- 4.34e-08
Energy Flux (Free Index): 2.46e-05 +/- 9.63e-06

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/956001/cmap_HighResolution_700185601_700444801_4FGL_J0841.3+7053_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-07', energy_flux2='2.46e-05', photon_flux_error='4.36e-08', dlogl='8.99e-02', energy_flux='2.40e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2023-03-14 00:46:35.747395', photon_index_error2='0.45', photon_index2='2.58', ts='12.63', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='9.63e-06', EG='1.00', time_epoch_completed='1678779995.75', return_code='0', job_id='956001', GAL2='1.02', EG2='1.01', return_code2='0', energy_flux_error='9.65e-06', photon_flux_error2='4.34e-08', ts2='12.73', photon_index='2.77' WHERE bin_id='1778' AND source_name='4FGL J0841.3+7053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:46:35 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 956001: <4FGL_J0841.3+7053_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0841.3+7053_daily_bin1778> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Mar 14 00:30:15 2023
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:30:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:30:15 2023
Terminated at Tue Mar 14 00:46:36 2023
Results reported at Tue Mar 14 00:46:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0841.3+7053_daily_bin1778 130.342 70.8887 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0841.3+7053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   923.05 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             343.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            981 sec.

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

