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 3 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_J0841.3+7053_daily_bin1772
RA = 130.342, Dec = 70.8887
tmin = 698630401, tmax = 698889601
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='622155', job_status='RUN', time_executed='2023-02-24 01:00:32.171491', time_epoch_executed='1677229232.17' WHERE source_name='4FGL J0841.3+7053' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/622155

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/622155/ft1_4FGL_J0841.3+7053_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/622155/ft1_4FGL_J0841.3+7053_daily_bin1772.fits outfile=/scratch/kocevski/622155/ft1_filteredMKT_4FGL_J0841.3+7053_daily_bin1772.fits ra=130.342 dec=70.8887 rad=12.0 tmin=698630401.0 tmax=698889601.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.02
user 2.83
sys 0.18

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

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

Number of photons that the gtmktime cut: 1026

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/622155/ltcube_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.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/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits
.....................!
real 12.21
user 11.86
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/622155/ltcube_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits outfile=/scratch/kocevski/622155/expmap_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.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/622155/ltcube_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits
.....................!
real 190.21
user 185.49
sys 4.37

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/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits scfile=/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits outfile=/scratch/kocevski/622155/cmap_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits scfile=/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits outfile=/scratch/kocevski/622155/cmap_HighResolution_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits', '/scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits', expMap='/scratch/kocevski/622155/expmap_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits', expCube='/scratch/kocevski/622155/ltcube_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/622155/Model_4FGL_J0841.3+7053_daily_bin1772.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/622155/ft1_filtered_4FGL_J0841.3+7053_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/622155/ft2_4FGL_J0841.3+7053_daily_bin1772.fits
Exposure map: /scratch/kocevski/622155/expmap_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits
Exposure cube: /scratch/kocevski/622155/ltcube_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/622155/Model_4FGL_J0841.3+7053_daily_bin1772.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) = 10804.3039733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6596       1.0000          .0000       .10000E+07
     2 'Prefactor '    36.334       1.0000          .0000       .10000E+07
     3 'norm      '    .10178E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .77590       1.0000          .0000       .10000E+07
     5 'norm      '    .15857E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    20.694       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1482       1.0000          .0000       .10000E+07
     8 'norm      '    5.9414       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.9034       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38912E-05   1.0000          .0000       .10000E+07
    11 'norm      '    37.189       1.0000          .0000       .10000E+07
    12 'Prefactor '    .25016E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .83737E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .67970       1.0000          .0000       .10000E+07
    15 'Prefactor '    .59396E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    44.653       1.0000          .0000       .10000E+07
    17 'norm      '    .66687       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.1913       1.0000          .0000       .10000E+07
    19 'Prefactor '    .22248E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .25726E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30300E-03   1.0000          .0000       .10000E+07
    22 'norm      '    2.5374       1.0000          .0000       .10000E+07
    23 'norm      '    1.0966       1.0000          .0000       .10000E+07
    24 'Normalizat'    .94996       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1453       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=   10804.23     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2163 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4140        13.601       -.44994E-06    .37163E-01
   2  Prefactor     36.244        6.9957       -.87334E-07    .29410E-01
   3  norm          .85537E-06    136.40        .57412E-06** at limit **
   4  norm          .77656        .39660        .13132E-08    .39722E-03
   5  norm          .71054E-08    29.951       -.15709E-06** at limit **
   6  Prefactor     20.500        1.9592       -.11997E-09    .36068E-01
   7  Prefactor     1.3124        26.864        .81843E-06    .27654E-01
   8  norm          5.9500        3.5660        .35418E-07    .26268E-02
   9  Prefactor     1.9033        1.8723        .14566E-07    .11140E-02
  10  Prefactor      .0000        1.5574        .25751E-07** at limit **
  11  norm          37.240        4.3222        .27443E-08    .32040E-02
  12  Prefactor     .31580E-06    138.02       -.11496E-05** at limit **
  13  Prefactor     .58842E-08    9.5176       -.14690E-06** at limit **
  14  norm          .68200        1.0631       -.13355E-07   -.67862E-03
  15  Prefactor      .0000        3.0503        .75867E-07** at limit **
  16  Prefactor     44.502        1.7095       -.22887E-08    .16768E-01
  17  norm          .66718        .83338        .19283E-07    .24707E-02
  18  Prefactor     5.4181        10.284        .15217E-08    .43113E-02
  19  Prefactor     .71609E-08    19.501        .59861E-07** at limit **
  20  Prefactor     .55511E-10    88.921       -.28625E-07** at limit **
  21  Prefactor      .0000        6.6437       -.10185E-06** at limit **
  22  norm          2.5344        .80741       -.69786E-08   -.41914E-02
  23  norm          1.0978        2.2574       -.13133E-07   -.64002E-03
  24  Normalizat    .94863        .20580       -.15301E-05    .18738E-04
  25  Prefactor     1.1460        .14389        .13666E-05    .83183E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.41399
  Prefactor  = 36.2443
  norm       = 8.55371e-07
  norm       = 0.776564
  norm       = 7.10543e-09
  Prefactor  = 20.5001
  Prefactor  = 1.31244
  norm       = 5.95001
  Prefactor  = 1.90325
  Prefactor  = 0
  norm       = 37.2399
  Prefactor  = 3.15803e-07
  Prefactor  = 5.88418e-09
  norm       = 0.682003
  Prefactor  = 0
  Prefactor  = 44.5022
  norm       = 0.667179
  Prefactor  = 5.41809
  Prefactor  = 7.16094e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  norm       = 2.53438
  norm       = 1.09781
  Normalizat = 0.948628
  Prefactor  = 1.14601
 **********
 **   18 **HESSE 
 **********

 FCN=   10804.23     FROM HESSE     STATUS=OK           491 CALLS     2654 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4140        26.943        .46598E-03   -1.5666    
   2  Prefactor     36.244        27.873        .16592E-03   -1.5588    
   3  norm          .85537E-06    8.9154        .88795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .77656        .39633        .54749E-03   -1.5690    
   5  norm          .71054E-08    29.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     20.500        25.890        .21989E-03   -1.5617    
   7  Prefactor     1.3124        78.901        .10807E-02   -1.5685    
   8  norm          5.9500        3.6000        .41173E-03   -1.5659    
   9  Prefactor     1.9033        1.8585        .75346E-03   -1.5680    
  10  Prefactor      .0000        1.5233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          37.240        4.3080        .16400E-03   -1.5586    
  12  Prefactor     .31580E-06    138.24        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .58842E-08    9.5639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .68200        1.1169        .62372E-03   -1.5691    
  15  Prefactor      .0000        3.0513        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     44.502        25.753        .14966E-03   -1.5575    
  17  norm          .66718        .85018        .63440E-03   -1.5692    
  18  Prefactor     5.4181        10.430        .44097E-03   -1.5661    
  19  Prefactor     .71609E-08    19.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    88.954        .16686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        6.5729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.5344        .82750        .64087E-03   -1.5676    
  23  norm          1.0978        2.3314        .11371E-02   -1.5687    
  24  Normalizat    .94863        .18210        .78224E-01   -.94772    
  25  Prefactor     1.1460        .12463        .51859E-01   -.88009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.83723e-07
Minuit parameter uncertainties:
  1  21.8109
  2  27.8729
  3  0.00552298
  4  0.396327
  5  0.000920985
  6  25.8901
  7  20.3524
  8  3.59996
  9  1.85855
  10  3.04375e-06
  11  4.30801
  12  0.0132144
  13  0.000474618
  14  1.11692
  15  1.62554e-05
  16  25.7529
  17  0.850176
  18  10.4299
  19  0.000752261
  20  0.000105166
  21  2.32852e-05
  22  0.827496
  23  2.33143
  24  0.182215
  25  0.124667
Done.

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

Extracting fit parameters...

4FGL J0841.3+7053
   Spectrum: LogParabola
321         norm:  3.724e+01  4.308e+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.146e+00  1.247e-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:  9.486e-01  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 206.07
Ra Dec: 130.342 70.889
Photon Index (Fixed Index): 2.77 +/- 0.00
Photon Flux (Fixed Index): 6.70e-07 +/- 7.74e-08
Energy Flux (Fixed Index): 1.48e-04 +/- 1.71e-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) = 10803.5112753
delta logL = 0.718512815263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10803.3222028
delta logL = 0.907585369407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.075       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5457       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1111       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.

 FCN=   10803.32     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      210 TOTAL
                     EDM=   .51E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.074        5.7859        .15798E-03    .17357E-03
   2  alpha         2.5458        .19111        .13682        .31016E-04
   3  Normalizat    1.0149        .17921        .76074E-01    .19302E-04
   4  Prefactor     1.1111        .12538        .37180E-01    .15155E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 40.074
  alpha      = 2.54581
  Normalizat = 1.01487
  Prefactor  = 1.11111
 **********
 **   18 **HESSE 
 **********

 FCN=   10803.32     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.074        4.9869        .63193E-05   -1.5581    
   2  alpha         2.5458        .16674        .59995E-03    .18325E-01
   3  Normalizat    1.0149        .20589        .33666E-03   -.92534    
   4  Prefactor     1.1111        .14339        .23213E-03   -.89112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27424e-12
Minuit parameter uncertainties:
  1  4.98691
  2  0.166868
  3  0.206053
  4  0.14344
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/622155': 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) = 10803.3222026
delta logL = 0.907585577774

Extracting fit parameters...

4FGL J0841.3+7053
   Spectrum: LogParabola
321         norm:  4.007e+01  4.987e+00  0.000e+00  1.000e+06 ( 1.000e-11)
322        alpha:  2.546e+00  1.669e-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.111e+00  1.434e-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.015e+00  2.061e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 203.40
Ra Dec: 130.342 70.889
Photon Index (Free Index): 2.55 +/- 0.17
Photon Flux (Free Index): 6.17e-07 +/- 8.39e-08
Energy Flux (Free Index): 1.53e-04 +/- 1.84e-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/622155/cmap_HighResolution_698630401_698889601_4FGL_J0841.3+7053_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.70e-07', energy_flux2='1.53e-04', photon_flux_error='7.74e-08', dlogl='9.08e-01', energy_flux='1.48e-04', photon_flux2='6.17e-07', job_status='DONE', time_completed='2023-02-24 01:16:48.759817', photon_index_error2='0.17', photon_index2='2.55', ts='206.07', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.84e-05', EG='0.95', time_epoch_completed='1677230208.76', return_code='0', job_id='622155', GAL2='1.11', EG2='1.01', return_code2='0', energy_flux_error='1.71e-05', photon_flux_error2='8.39e-08', ts2='203.40', photon_index='2.77' WHERE bin_id='1772' AND source_name='4FGL J0841.3+7053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:16:48 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 622155: <4FGL_J0841.3+7053_daily_bin1772> in cluster <slac> Done

Job <4FGL_J0841.3+7053_daily_bin1772> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb 24 01:00:20 2023
Job was executed on host(s) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:00:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:00:21 2023
Terminated at Fri Feb 24 01:16:49 2023
Results reported at Fri Feb 24 01:16:49 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0841.3+7053_daily_bin1772 130.342 70.8887 698630401 698889601 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 :                                   978.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             355.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            989 sec.

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

