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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1755
RA = 162.911, Dec = 32.8853
tmin = 694224001, tmax = 694483201
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='820568', job_status='RUN', time_executed='2023-01-04 00:52:09.521261', time_epoch_executed='1672822329.52' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820568

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820568/ft1_4FGL_J1051.6+3253_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820568/ft1_4FGL_J1051.6+3253_daily_bin1755.fits outfile=/scratch/kocevski/820568/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1755.fits ra=162.911 dec=32.8853 rad=12.0 tmin=694224001.0 tmax=694483201.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.07
user 2.82
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.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/820568/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.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.53
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 229

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820568/ltcube_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.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/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits
.....................!
real 18.21
user 17.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820568/ltcube_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits outfile=/scratch/kocevski/820568/expmap_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.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/820568/ltcube_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits
.....................!
real 193.66
user 187.99
sys 5.03

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

Setting source of interest to:
4FGL J1051.6+3253 @ 162.911 32.8853

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits outfile=/scratch/kocevski/820568/cmap_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.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=162.911 yref=32.8853 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits outfile=/scratch/kocevski/820568/cmap_HighResolution_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.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=162.911 yref=32.8853 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820568/Model_4FGL_J1051.6+3253_daily_bin1755.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/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits.....................!
real 32.06
user 30.07
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits', '/scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits', expMap='/scratch/kocevski/820568/expmap_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits', expCube='/scratch/kocevski/820568/ltcube_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/820568/Model_4FGL_J1051.6+3253_daily_bin1755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+3253'

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/820568/ft1_filtered_4FGL_J1051.6+3253_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/820568/ft2_4FGL_J1051.6+3253_daily_bin1755.fits
Exposure map: /scratch/kocevski/820568/expmap_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits
Exposure cube: /scratch/kocevski/820568/ltcube_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/820568/Model_4FGL_J1051.6+3253_daily_bin1755.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) = 2541.57953445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33606E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .26221E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .70850E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11657E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18230E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .32870E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    183.85       1.0000          .0000       .10000E+07
     8 'Prefactor '    151.48       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.8314       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.6414       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5933       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11951E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    124.94       1.0000          .0000       .10000E+07
    14 'Prefactor '    41.691       1.0000          .0000       .10000E+07
    15 'Prefactor '    .23350E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .67915E-03   1.0000          .0000       .10000E+07
    17 'norm      '    3.3460       1.0000          .0000       .10000E+07
    18 'Prefactor '    2.3182       1.0000          .0000       .10000E+07
    19 'Prefactor '    20.163       1.0000          .0000       .10000E+07
    20 'Prefactor '    .19442E-03   1.0000          .0000       .10000E+07
    21 'norm      '    4.4431       1.0000          .0000       .10000E+07
    22 'Prefactor '    .17104E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .70960E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    12.465       1.0000          .0000       .10000E+07
    25 'norm      '    2.3368       1.0000          .0000       .10000E+07
    26 'Prefactor '    .69730E-05   1.0000          .0000       .10000E+07
    27 'Prefactor '    .40697E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    1.5014       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .23573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2541.552     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     3983 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24404E-05    23.346        .85051E-06** at limit **
   2  Prefactor     .47740E-08    10.284       -.55446E-06** at limit **
   3  norm          .32502E-05    24.218       -.10580E-05** at limit **
   4  Prefactor      .0000        5.8030       -.11403E-05** at limit **
   5  Prefactor     .49960E-09    18.725       -.10821E-05** at limit **
   6  norm          .83267E-08    80.595        .30816E-05** at limit **
   7  Prefactor     175.69        121.63        .36175E-06   -.57995E-02
   8  Prefactor     147.23        62.734        .15718E-06    .20797E-01
   9  Prefactor     3.9797        15.570       -.65266E-07   -.16652E-02
  10  Prefactor     5.6349        12.493       -.61316E-06    .62976E-03
  11  Prefactor     2.5445        6.1706        .45949E-07   -.20169E-03
  12  Prefactor     .38303E-08    9.7985        .10993E-06** at limit **
  13  Prefactor     125.92        78.037       -.84363E-06    .49875E-01
  14  Prefactor     41.663        4.8646       -.84012E-07    .38257E-01
  15  Prefactor     .61395E-07    122.61       -.48375E-05** at limit **
  16  Prefactor      .0000        7.3970        .31294E-06** at limit **
  17  norm          3.3446        .74199        .35550E-07   -.11723E-02
  18  Prefactor     2.3172        2.8117        .10347E-06    .44446E-03
  19  Prefactor     20.153        12.491        .39005E-06    .18513    
  20  Prefactor     .26349E-05    9.8536        .14976E-06** at limit **
  21  norm          4.3945        5.5061       -.23127E-06   -.93207E-02
  22  Prefactor      .0000        2.9091        .37230E-06** at limit **
  23  Prefactor     .29811E-05    11.461        .34002E-06** at limit **
  24  Prefactor     12.404        7.9387        .98721E-07   -.23669E-02
  25  norm          2.3338        2.9505       -.21655E-06   -.28767E-03
  26  Prefactor     .22204E-09    8.5637       -.18070E-06** at limit **
  27  Prefactor     .16653E-09    9.0688        .13501E-05** at limit **
  28  Normalizat    1.5027        .34906       -.18923E-04   -.50247E-04
  29  Prefactor     .23642        .35234        .91138E-05   -.17573E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44038e-06
  Prefactor  = 4.77396e-09
  norm       = 3.25023e-06
  Prefactor  = 0
  Prefactor  = 4.996e-10
  norm       = 8.32667e-09
  Prefactor  = 175.69
  Prefactor  = 147.231
  Prefactor  = 3.97968
  Prefactor  = 5.63494
  Prefactor  = 2.54448
  Prefactor  = 3.83027e-09
  Prefactor  = 125.919
  Prefactor  = 41.6634
  Prefactor  = 6.13953e-08
  Prefactor  = 0
  norm       = 3.34462
  Prefactor  = 2.31717
  Prefactor  = 20.153
  Prefactor  = 2.63489e-06
  norm       = 4.39447
  Prefactor  = 0
  Prefactor  = 2.98106e-06
  Prefactor  = 12.4039
  norm       = 2.33379
  Prefactor  = 2.22045e-10
  Prefactor  = 1.66533e-10
  Normalizat = 1.50266
  Prefactor  = 0.236417
 **********
 **   18 **HESSE 
 **********

 FCN=   2541.552     FROM HESSE     STATUS=OK           603 CALLS     4586 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24404E-05    26.279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .47740E-08    10.289        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .32502E-05    28.119        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        5.8074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .49960E-09    18.731        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .83267E-08    80.694        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     175.69        136.57        .73758E-04   -1.5443    
   8  Prefactor     147.23        142.31        .81257E-04   -1.5465    
   9  Prefactor     3.9797        16.601        .51537E-03   -1.5668    
  10  Prefactor     5.6349        12.558        .42270E-03   -1.5660    
  11  Prefactor     2.5445        6.3993        .63334E-03   -1.5676    
  12  Prefactor     .38303E-08    9.8058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     125.92        82.257        .89471E-04   -1.5484    
  14  Prefactor     41.663        25.521        .15489E-03   -1.5579    
  15  Prefactor     .61395E-07    122.57        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        7.3978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.3446        .74648        .44467E-03   -1.5671    
  18  Prefactor     2.3172        2.8181        .67346E-03   -1.5678    
  19  Prefactor     20.153        19.396        .22277E-03   -1.5618    
  20  Prefactor     .26349E-05    27.622        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.3945        22.091        .47748E-03   -1.5666    
  22  Prefactor      .0000        2.8874        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .29811E-05    27.212        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     12.404        22.909        .28347E-03   -1.5638    
  25  norm          2.3338        2.9665        .67049E-03   -1.5677    
  26  Prefactor     .22204E-09    8.5596        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .16653E-09    9.0176        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    1.5027        .37569        .51564E-01   -.77704    
  29  Prefactor     .23642        .39995        .12751       -1.2621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2706e-06
Minuit parameter uncertainties:
  1  0.0160164
  2  0.000443858
  3  0.0191201
  4  1.40262e-05
  5  0.00019197
  6  0.0016395
  7  136.573
  8  142.311
  9  16.2565
  10  12.5581
  11  6.39928
  12  0.000387881
  13  82.2582
  14  25.5208
  15  0.00548624
  16  1.48262e-05
  17  0.746482
  18  2.81808
  19  19.3962
  20  0.0170623
  21  19.7056
  22  2.22911e-06
  23  0.0180133
  24  22.9095
  25  2.96649
  26  8.55449e-05
  27  7.88828e-05
  28  0.376389
  29  0.404723
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.259e+02  8.226e+01  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  2.364e-01  4.047e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.503e+00  3.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.86
Ra Dec: 162.911 32.885
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 8.21e-08
Energy Flux (Fixed Index): 7.68e-05 +/- 5.02e-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) = 2541.20348319
delta logL = 0.348849064421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2541.19824377
delta logL = 0.354088482281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.865       1.0000          .0000       .10000E+07
     2 'Index     '    2.4969       1.0000          .0000       10.000    
     3 'Normalizat'    1.4376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .28029       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+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=   2541.198     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      295 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.848        91.186        .51275E-05    .14886E-02
   2  Index         2.4969        .64177        .24507E-02    .11430E-03
   3  Normalizat    1.4372        .34610        .23173E-03   -.35229E-04
   4  Prefactor     .28074        .35623        .52010E-03   -.12118E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.8479
  Index      = 2.49691
  Normalizat = 1.43721
  Prefactor  = 0.280737
 **********
 **   18 **HESSE 
 **********

 FCN=   2541.198     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.848        78.152        .10255E-05   -1.5552    
   2  Index         2.4969        .55009        .98026E-04   -.52431    
   3  Normalizat    1.4372        .34351        .46347E-04   -.79558    
   4  Prefactor     .28074        .35395        .20804E-04   -1.2341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.94812e-10
Minuit parameter uncertainties:
  1  78.1534
  2  0.551578
  3  0.344063
  4  0.356716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820568': 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) = 2541.19824288
delta logL = 0.354089372845

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  6.085e+01  7.815e+01  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.497e+00  5.516e-01  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  2.807e-01  3.567e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.437e+00  3.441e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.44
Ra Dec: 162.911 32.885
Photon Index (Free Index): 2.50 +/- 0.55
Photon Flux (Free Index): 1.93e-07 +/- 1.30e-07
Energy Flux (Free Index): 5.63e-05 +/- 3.54e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/820568/cmap_HighResolution_694224001_694483201_4FGL_J1051.6+3253_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='5.63e-05', photon_flux_error='8.21e-08', dlogl='3.54e-01', energy_flux='7.68e-05', photon_flux2='1.93e-07', job_status='DONE', time_completed='2023-01-04 01:00:56.283715', photon_index_error2='0.55', photon_index2='2.50', ts='5.86', fit_tolerance='1e-08', GAL='0.24', photon_index_error='0.00', energy_flux_error2='3.54e-05', EG='1.50', time_epoch_completed='1672822856.28', return_code='0', job_id='820568', GAL2='0.28', EG2='1.44', return_code2='0', energy_flux_error='5.02e-05', photon_flux_error2='1.30e-07', ts2='6.44', photon_index='2.05' WHERE bin_id='1755' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:00:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 820568: <4FGL_J1051.6+3253_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:20 2023
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:51:05 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:51:05 2023
Terminated at Wed Jan  4 01:00:57 2023
Results reported at Wed Jan  4 01:00:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1755 162.911 32.8853 694224001 694483201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.6+3253 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   528.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   591 sec.
    Turnaround time :                            637 sec.

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

