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


Performing analysis on: 4FGL_J1841.0+6115_daily_bin1749
RA = 280.253, Dec = 61.2522
tmin = 692668801, tmax = 692928001
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='959457', job_status='RUN', time_executed='2022-12-17 01:10:59.657696', time_epoch_executed='1671268259.66' WHERE source_name='4FGL J1841.0+6115' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/959457

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/959457/ft1_4FGL_J1841.0+6115_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/959457/ft1_4FGL_J1841.0+6115_daily_bin1749.fits outfile=/scratch/kocevski/959457/ft1_filteredMKT_4FGL_J1841.0+6115_daily_bin1749.fits ra=280.253 dec=61.2522 rad=12.0 tmin=692668801.0 tmax=692928001.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.67
user 3.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.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/959457/ft1_filteredMKT_4FGL_J1841.0+6115_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.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.15

Number of photons that the gtmktime cut: 978

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/959457/ltcube_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.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/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits
.....................!
real 12.71
user 12.38
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/959457/ltcube_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits outfile=/scratch/kocevski/959457/expmap_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.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/959457/ltcube_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits
.....................!
real 191.01
user 186.20
sys 4.49

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
Extended source HB 21 in ROI with RadialDisk spatial model.
Extended source FHES J2129.9+5833 in ROI with RadialGaussian spatial model.
Added 188 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1841.0+6115 @ 280.253 61.2522

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits outfile=/scratch/kocevski/959457/cmap_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.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=280.253 yref=61.2522 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/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits outfile=/scratch/kocevski/959457/cmap_HighResolution_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.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=280.253 yref=61.2522 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/959457/Model_4FGL_J1841.0+6115_daily_bin1749.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 FHES J2129.9+5833
adding source GAL_V02
adding source HB 21
Working on...
/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits.....................!
real 108.40
user 106.96
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits', '/scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits', expMap='/scratch/kocevski/959457/expmap_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits', expCube='/scratch/kocevski/959457/ltcube_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/959457/Model_4FGL_J1841.0+6115_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1841.0+6115'

4FGL J1841.0+6115
   Spectrum: PowerLaw
349    Prefactor:  3.678e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/959457/ft1_filtered_4FGL_J1841.0+6115_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/959457/ft2_4FGL_J1841.0+6115_daily_bin1749.fits
Exposure map: /scratch/kocevski/959457/expmap_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits
Exposure cube: /scratch/kocevski/959457/ltcube_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/959457/Model_4FGL_J1841.0+6115_daily_bin1749.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) = 10061.3286698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .40811E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .60887E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.0736       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25319E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.199       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10321       1.0000          .0000       .10000E+07
     7 'norm      '    1.4356       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30128E-02   1.0000          .0000       .10000E+07
     9 'norm      '    14.481       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19297E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    65.874       1.0000          .0000       .10000E+07
    12 'Prefactor '    .50404E-04   1.0000          .0000       .10000E+07
    13 'norm      '    9.0333       1.0000          .0000       .10000E+07
    14 'Prefactor '    33.464       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11008E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14174       1.0000          .0000       .10000E+07
    17 'norm      '    2.3759       1.0000          .0000       .10000E+07
    18 'norm      '    .82539       1.0000          .0000       .10000E+07
    19 'norm      '    .13758E-03   1.0000          .0000       .10000E+07
    20 'norm      '    10.023       1.0000          .0000       .10000E+07
    21 'Prefactor '    .42766E-02   1.0000          .0000       .10000E+07
    22 'norm      '    2.2604       1.0000          .0000       .10000E+07
    23 'norm      '    10.546       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.9673       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1030       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .93478       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6340E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10061.27     FROM MIGRAD    STATUS=CONVERGED    190 CALLS     2230 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    16.696       -.75864E-07** at limit **
   2  Prefactor      .0000        3.9743       -.31449E-06** at limit **
   3  Prefactor     3.0813        7.5242       -.27166E-06    .38290E-03
   4  Prefactor     .55511E-10    22.614       -.67676E-07** at limit **
   5  Prefactor     32.905        53.039        .77975E-08   -.36045E-03
   6  Prefactor      .0000        50.594        .31844E-06** at limit **
   7  norm          1.4360        1.6508        .12634E-07    .26141E-04
   8  Prefactor      .0000        6.8783       -.55514E-07** at limit **
   9  norm          14.467        5.2981       -.93528E-08    .29380E-03
  10  Prefactor      .0000        12.794       -.21691E-07** at limit **
  11  Prefactor     64.690        76.003       -.60712E-06    .20203E-03
  12  Prefactor      .0000        1.9456        .79310E-07** at limit **
  13  norm          9.0229        8.8369        .74666E-07    .35433E-03
  14  Prefactor     33.371        1.6845        .23127E-08    .62443E-02
  15  Prefactor      .0000        8.7706       -.11524E-06** at limit **
  16  Prefactor     .16653E-09    57.231        .14664E-06** at limit **
  17  norm          2.3745        2.3232       -.19259E-07    .21422E-03
  18  norm          .82308        2.0153       -.33082E-07    .16314E-03
  19  norm           .0000        2.0449        .28329E-06** at limit **
  20  norm          9.9558        1.3722        .55181E-08    .84836E-02
  21  Prefactor      .0000        19.372       -.77780E-07** at limit **
  22  norm          2.2596        1.1922        .19212E-07   -.51358E-03
  23  norm          10.510        10.916        .10417E-06   -.23710E-02
  24  Prefactor     2.0350        1.8344        .36488E-07    .75103E-02
  25  Normalizat    1.1050        .20917        .38967E-05   -.35622E-05
  26  Prefactor     .93446        .10192       -.15467E-05    .73837E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 3.08128
  Prefactor  = 5.55112e-11
  Prefactor  = 32.9053
  Prefactor  = 0
  norm       = 1.43601
  Prefactor  = 0
  norm       = 14.4666
  Prefactor  = 0
  Prefactor  = 64.6905
  Prefactor  = 0
  norm       = 9.02293
  Prefactor  = 33.3705
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  norm       = 2.37447
  norm       = 0.823085
  norm       = 0
  norm       = 9.95578
  Prefactor  = 0
  norm       = 2.25958
  norm       = 10.5096
  Prefactor  = 2.035
  Normalizat = 1.10501
  Prefactor  = 0.934465
 **********
 **   18 **HESSE 
 **********

 FCN=   10061.27     FROM HESSE     STATUS=OK           510 CALLS     2740 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    16.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.9550        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0813        7.5524        .57832E-03   -1.5673    
   4  Prefactor     .55511E-10    22.632        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     32.905        52.972        .16398E-03   -1.5593    
   6  Prefactor      .0000        50.601        .13844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4360        1.6637        .90065E-03   -1.5684    
   8  Prefactor      .0000        6.8974        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.467        5.3082        .26295E-03   -1.5632    
  10  Prefactor      .0000        12.681        .17083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     64.690        76.011        .12322E-03   -1.5547    
  12  Prefactor      .0000        1.9423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.0229        8.8528        .33323E-03   -1.5648    
  14  Prefactor     33.371        20.031        .17289E-03   -1.5592    
  15  Prefactor      .0000        8.7562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    57.099        .12921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.3745        2.3301        .66437E-03   -1.5677    
  18  norm          .82308        2.0256        .51062E-03   -1.5690    
  19  norm           .0000        2.0442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          9.9558        11.978        .31626E-03   -1.5645    
  21  Prefactor      .0000        19.360        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          2.2596        1.2118        .68299E-03   -1.5678    
  23  norm          10.510        11.043        .30828E-03   -1.5643    
  24  Prefactor     2.0350        39.449        .73907E-03   -1.5679    
  25  Normalizat    1.1050        .18738        .79770E-01   -.89591    
  26  Prefactor     .93446        .90850E-01    .45447E-01   -.94947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55978e-08
Minuit parameter uncertainties:
  1  0.000129056
  2  1.37569e-06
  3  7.55244
  4  6.64626e-05
  5  52.9731
  6  1.56121e-05
  7  1.66374
  8  1.62483e-05
  9  5.30822
  10  5.29977e-06
  11  76.0122
  12  2.21648e-06
  13  8.85279
  14  20.0315
  15  3.74885e-06
  16  0.00019179
  17  2.33006
  18  2.0256
  19  5.03111e-06
  20  11.978
  21  4.54874e-05
  22  1.2118
  23  11.0428
  24  17.9199
  25  0.187491
  26  0.0908652
Done.

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

Extracting fit parameters...

4FGL J1841.0+6115
   Spectrum: PowerLaw
349    Prefactor:  3.337e+01  2.003e+01  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  2.547e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
351        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
627    Prefactor:  9.345e-01  9.087e-02  0.000e+00  1.000e+01 ( 1.000e+00)
628        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
629        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  1.105e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.97
Ra Dec: 280.253 61.252
Photon Index (Fixed Index): 2.55 +/- 0.00
Photon Flux (Fixed Index): 9.91e-08 +/- 5.94e-08
Energy Flux (Fixed Index): 2.74e-05 +/- 1.64e-05

TS (Fixed Index): 3.97
Ra Dec: 280.253 61.252
Photon Flux Upper Limit: 2.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.68e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/959457/likelihoodResults_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.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) = 10059.8056617
delta logL = 1.46311434201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10059.785724
delta logL = 1.48305204174

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10059.79     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      275 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5490        45.492        .36488E-03    .42399E-02
   2  Index         3.6426        2.0826        .99208E-01    .27731E-03
   3  Normalizat    1.0327        .77687E-01    .81973E-01   -.42613E-04
   4  Prefactor     .95505        .35907E-01    .45703E-01   -.16455E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.54903
  Index      = 3.64256
  Normalizat = 1.03267
  Prefactor  = 0.955051
 **********
 **   18 **HESSE 
 **********

 FCN=   10059.79     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      304 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5490        72.555        .11504E-04   -1.5653    
   2  Index         3.6426        2.9435        .38063E-02   -.27494    
   3  Normalizat    1.0327        .21671        .36290E-03   -.91944    
   4  Prefactor     .95505        .10383        .18656E-03   -.94243    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.85985e-09
Minuit parameter uncertainties:
  1  46.8075
  2  3.16727
  3  0.216893
  4  0.103856
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/959457': 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): 102
logL (Free Index) = 10059.7857157
delta logL = 1.48306028541

Extracting fit parameters...

4FGL J1841.0+6115
   Spectrum: PowerLaw
349    Prefactor:  7.549e+00  4.681e+01  0.000e+00  1.000e+06 ( 1.000e-13)
350        Index:  3.643e+00  3.167e+00  0.000e+00  1.000e+01 (-1.000e+00)
351        Scale:  1.110e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
627    Prefactor:  9.551e-01  1.039e-01  0.000e+00  1.000e+01 ( 1.000e+00)
628        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
629        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
623   Normalization:  1.033e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.22
Ra Dec: 280.253 61.252
Photon Index (Free Index): 3.64 +/- 3.17
Photon Flux (Free Index): 1.84e-07 +/- 9.28e-08
Energy Flux (Free Index): 2.95e-05 +/- 1.95e-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/959457/cmap_HighResolution_692668801_692928001_4FGL_J1841.0+6115_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.68e-02', comment='SUCCESS', photon_flux='9.91e-08', energy_flux2='2.95e-05', photon_flux_error='5.94e-08', dlogl='1.48e+00', energy_flux='2.74e-05', photon_flux2='1.84e-07', job_status='DONE', time_completed='2022-12-17 01:26:25.497872', photon_index_error2='3.17', photon_index2='3.64', ts='3.97', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='2.15e-07', energy_flux_error2='1.95e-05', EG='1.11', time_epoch_completed='1671269185.5', return_code='0', job_id='959457', GAL2='0.96', EG2='1.03', return_code2='102', energy_flux_error='1.64e-05', photon_flux_error2='9.28e-08', ts2='7.22', photon_index='2.55' WHERE bin_id='1749' AND source_name='4FGL J1841.0+6115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 01:26:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 959457: <4FGL_J1841.0+6115_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1841.0+6115_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 01:10:16 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 01:10:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 01:10:17 2022
Terminated at Sat Dec 17 01:26:26 2022
Results reported at Sat Dec 17 01:26:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1841.0+6115_daily_bin1749 280.253 61.2522 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1841.0+6115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   928.00 sec.
    Max Memory :                                 1051 MB
    Average Memory :                             341.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            970 sec.

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

