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 58 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1044.6+8053_daily_bin1686
RA = 161.164, Dec = 80.8941
tmin = 676339201, tmax = 676598401
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='510230', job_status='RUN', time_executed='2022-06-11 00:20:27.960306', time_epoch_executed='1654932027.96' WHERE source_name='4FGL J1044.6+8053' and cadence='daily' and bin_id='1686'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510230/ft1_4FGL_J1044.6+8053_daily_bin1686.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510230/ft1_4FGL_J1044.6+8053_daily_bin1686.fits outfile=/scratch/kocevski/510230/ft1_filteredMKT_4FGL_J1044.6+8053_daily_bin1686.fits ra=161.164 dec=80.8941 rad=12.0 tmin=676339201.0 tmax=676598401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.86
user 2.62
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.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/510230/ft1_filteredMKT_4FGL_J1044.6+8053_daily_bin1686.fits evtable="EVENTS" outfile="/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.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.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 1334

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits" evtable="EVENTS" scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits sctable="SC_DATA" outfile=/scratch/kocevski/510230/ltcube_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.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/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits
.....................!
real 15.07
user 14.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits sctable="SC_DATA" expcube=/scratch/kocevski/510230/ltcube_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits outfile=/scratch/kocevski/510230/expmap_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.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/510230/ltcube_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits
.....................!
real 193.89
user 186.02
sys 5.40

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

Setting source of interest to:
4FGL J1044.6+8053 @ 161.164 80.8941

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits outfile=/scratch/kocevski/510230/cmap_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.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=161.164 yref=80.8941 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits outfile=/scratch/kocevski/510230/cmap_HighResolution_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.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=161.164 yref=80.8941 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits evtable="EVENTS" scfile=/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510230/Model_4FGL_J1044.6+8053_daily_bin1686.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/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits.....................!
real 165.87
user 164.26
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits', '/scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits', expMap='/scratch/kocevski/510230/expmap_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits', expCube='/scratch/kocevski/510230/ltcube_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/510230/Model_4FGL_J1044.6+8053_daily_bin1686.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1044.6+8053'

4FGL J1044.6+8053
   Spectrum: LogParabola
343         norm:  2.944e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
344        alpha:  2.821e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
345         beta:  2.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
346           Eb:  6.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/510230/ft1_filtered_4FGL_J1044.6+8053_daily_bin1686.fits
Spacecraft file(s): /scratch/kocevski/510230/ft2_4FGL_J1044.6+8053_daily_bin1686.fits
Exposure map: /scratch/kocevski/510230/expmap_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits
Exposure cube: /scratch/kocevski/510230/ltcube_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/510230/Model_4FGL_J1044.6+8053_daily_bin1686.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) = 14127.9225465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .29394       1.0000         .10000E-03   10000.    
     3 'norm      '    .47661E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16435E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10405E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.782       1.0000         .10000E-03   10000.    
    12 'norm      '    7.7645       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .15156E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .63063       1.0000         .10000E-03   10000.    
    15 'norm      '    .97511       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.437       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.1428       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0053       1.0000         .10000E-03   10000.    
    22 'norm      '    .68220       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.9691       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.5853       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    15.587       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.0555       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .95849       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14127.91     FROM MIGRAD    STATUS=CONVERGED    752 CALLS     3771 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2840        .90912E-08** at limit **
   2  norm          .13713        10.423       -.11045E-06    .78618E-04
   3  norm          .10015E-03    10.248       -.20406E-05** at limit **
   4  Prefactor     .10000E-03    31.182        .24608E-07** at limit **
   5  Prefactor     .10000E-03    1.6688       -.61404E-08** at limit **
   6  Prefactor     .10000E-03    5.3681        .45139E-08** at limit **
   7  Prefactor     2.1364        4.9512        .30885E-06    .34115E-04
   8  Prefactor     .10000E-03    4.2688       -.20159E-06** at limit **
   9  Prefactor     .10000E-03    6.9297       -.49783E-08** at limit **
  10  Prefactor     .10000E-03    6.0242       -.10375E-06** at limit **
  11  Prefactor     15.823        32.867        .72052E-06   -.26076E-03
  12  norm          7.7638        3.3704        .96269E-08   -.77708E-04
  13  Prefactor     .10000E-03    3.2120       -.45620E-06** at limit **
  14  norm          .63040        .54658       -.15148E-06   -.14077E-02
  15  norm          .97712        2.7142        .13317E-05    .59121E-03
  16  Prefactor     .10000E-03    3.4798       -.11845E-07** at limit **
  17  Prefactor     13.442        7.3120       -.56250E-06   -.23277E-03
  18  Prefactor     .10000E-03    .61448        .57428E-08** at limit **
  19  Prefactor     8.1429        5.8343       -.13682E-06   -.19439E-03
  20  Prefactor     .10000E-03    7.5254       -.17086E-08** at limit **
  21  norm          2.0052        2.0620        .34364E-07   -.25107E-04
  22  norm          .68262        2.1393        .73390E-06    .10865E-03
  23  Prefactor     .10000E-03    16.145        .30308E-08** at limit **
  24  Prefactor     5.9642        7.9328        .37106E-07   -.34283E-04
  25  Prefactor     8.5775        10.215        .49910E-07   -.75370E-04
  26  Prefactor     .10000E-03    15.490        .79730E-08** at limit **
  27  Prefactor     15.561        30.592        .12573E-06    .14744E-04
  28  Normalizat    1.0556        .12080       -.55726E-07   -.23946E-05
  29  Prefactor     .95856        .81058E-01   -.17024E-06    .26248E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.137135
  norm       = 0.000100154
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.13638
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.8228
  norm       = 7.76376
  Prefactor  = 0.0001
  norm       = 0.630399
  norm       = 0.977122
  Prefactor  = 0.0001
  Prefactor  = 13.4422
  Prefactor  = 0.0001
  Prefactor  = 8.14294
  Prefactor  = 0.0001
  norm       = 2.00522
  norm       = 0.682617
  Prefactor  = 0.0001
  Prefactor  = 5.96421
  Prefactor  = 8.57753
  Prefactor  = 0.0001
  Prefactor  = 15.5606
  Normalizat = 1.05556
  Prefactor  = 0.958562
 **********
 **   18 **HESSE 
 **********

 FCN=   14127.91     FROM HESSE     STATUS=OK           569 CALLS     4340 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13713        12.157        .11815       -1.5634    
   3  norm          .10015E-03    36.936        .59683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2761        .29827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1364        4.9579        .28188E-03   -1.5416    
   8  Prefactor     .10000E-03    4.2823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.0584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.0716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.823        33.559        .10082E-03   -1.4912    
  12  norm          7.7638        3.3628        .13576E-03   -1.5151    
  13  Prefactor     .10000E-03    3.1750        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63040        .51206        .67149E-03   -1.5549    
  15  norm          .97712        2.7711        .19306E-03   -1.5510    
  16  Prefactor     .10000E-03    3.4917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.442        7.2945        .54635E-03   -1.4975    
  18  Prefactor     .10000E-03    .61713        .90986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.1429        5.8000        .14050E-03   -1.5137    
  20  Prefactor     .10000E-03    7.6030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0052        2.0559        .16846E-03   -1.5425    
  22  norm          .68262        2.2173        .29141E-03   -1.5543    
  23  Prefactor     .10000E-03    16.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.9642        7.9216        .16435E-03   -1.5219    
  25  Prefactor     8.5775        10.234        .13681E-03   -1.5122    
  26  Prefactor     .10000E-03    15.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     15.561        30.643        .10145E-03   -1.4919    
  28  Normalizat    1.0556        .13706        .27684E-03   -.91192    
  29  Prefactor     .95856        .92163E-01    .19760E-03   -.94124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49088e-09
Minuit parameter uncertainties:
  1  6.53966e-05
  2  2.58201
  3  0.00477878
  4  0.000319968
  5  8.92778e-05
  6  8.98163e-06
  7  4.95886
  8  1.10659e-05
  9  8.97765e-05
  10  6.12763e-05
  11  33.5991
  12  3.36293
  13  1.00177e-05
  14  0.512067
  15  2.7715
  16  1.12249e-06
  17  7.29495
  18  8.37915e-08
  19  5.8004
  20  0.00011432
  21  2.05595
  22  2.21753
  23  0.000158379
  24  7.92299
  25  10.236
  26  0.000123045
  27  30.6742
  28  0.137109
  29  0.0921784
Done.

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

Extracting fit parameters...

4FGL J1044.6+8053
   Spectrum: LogParabola
343         norm:  7.764e+00  3.363e+00  1.000e-04  1.000e+04 ( 1.000e-12)
344        alpha:  2.821e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
345         beta:  2.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
346           Eb:  6.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.586e-01  9.218e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.056e+00  1.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.99
Ra Dec: 161.164 80.894
Photon Index (Fixed Index): 2.82 +/- 0.00
Photon Flux (Fixed Index): 6.16e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 1.52e-05 +/- 6.57e-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) = 14127.4962391
delta logL = 0.415156259774

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14127.4951805
delta logL = 0.416214897341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.151       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3721       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95242       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14127.50     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      244 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.151        78.584        .31441E-02    .16721E-03
   2  alpha         2.3721        3.6175        .41220        .81012E-04
   3  Normalizat    1.0715        .74523E-01    .62190E-01    .85197E-04
   4  Prefactor     .95242        .38265E-01    .45670E-01    .11484E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 10.1511
  alpha      = 2.37213
  Normalizat = 1.07148
  Prefactor  = 0.952418
 **********
 **   18 **HESSE 
 **********

 FCN=   14127.50     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.151        4.8543        .12576E-03   -1.5071    
   2  alpha         2.3721        .49693        .16914E-01   -.51169E-01
   3  Normalizat    1.0715        .13212        .27507E-03   -.90673    
   4  Prefactor     .95242        .89488E-01    .19815E-03   -.94333    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82925e-11
Minuit parameter uncertainties:
  1  4.8545
  2  0.500273
  3  0.132159
  4  0.0895022
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510230': 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) = 14127.4951805
delta logL = 0.416214897379

Extracting fit parameters...

4FGL J1044.6+8053
   Spectrum: LogParabola
343         norm:  1.015e+01  4.854e+00  1.000e-04  1.000e+04 ( 1.000e-12)
344        alpha:  2.372e+00  5.003e-01  0.000e+00  5.000e+00 ( 1.000e+00)
345         beta:  2.167e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
346           Eb:  6.821e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  9.524e-01  8.950e-02  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  1.071e+00  1.322e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.77
Ra Dec: 161.164 80.894
Photon Index (Free Index): 2.37 +/- 0.50
Photon Flux (Free Index): 4.77e-08 +/- 2.75e-08
Energy Flux (Free Index): 1.60e-05 +/- 7.20e-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/510230/cmap_HighResolution_676339201_676598401_4FGL_J1044.6+8053_daily_bin1686.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.16e-08', energy_flux2='1.60e-05', photon_flux_error='2.67e-08', dlogl='4.16e-01', energy_flux='1.52e-05', photon_flux2='4.77e-08', job_status='DONE', time_completed='2022-06-11 00:46:31.082456', photon_index_error2='0.50', photon_index2='2.37', ts='9.99', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='7.20e-06', EG='1.06', time_epoch_completed='1654933591.08', return_code='0', job_id='510230', GAL2='0.95', EG2='1.07', return_code2='0', energy_flux_error='6.57e-06', photon_flux_error2='2.75e-08', ts2='10.77', photon_index='2.82' WHERE bin_id='1686' AND source_name='4FGL J1044.6+8053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jun 11 00:46:31 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 510222: <4FGL_J1044.6+8053_daily_bin1686> in cluster <slac> Done

Job <4FGL_J1044.6+8053_daily_bin1686> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Jun 11 00:06:05 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:19:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:19:07 2022
Terminated at Sat Jun 11 00:46:21 2022
Results reported at Sat Jun 11 00:46:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1044.6+8053_daily_bin1686 161.164 80.8941 676339201 676598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1044.6+8053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1566.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             326.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1634 sec.
    Turnaround time :                            2416 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 510230: <4FGL_J1044.6+8053_daily_bin1686> in cluster <slac> Done

Job <4FGL_J1044.6+8053_daily_bin1686> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jun 11 00:06:06 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jun 11 00:19:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jun 11 00:19:19 2022
Terminated at Sat Jun 11 00:46:31 2022
Results reported at Sat Jun 11 00:46:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1044.6+8053_daily_bin1686 161.164 80.8941 676339201 676598401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1044.6+8053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1561.44 sec.
    Max Memory :                                 1262 MB
    Average Memory :                             353.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1632 sec.
    Turnaround time :                            2425 sec.

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

