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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1670
RA = 2.8551, Dec = 0.9646
tmin = 672192001, tmax = 672451201
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='862022', job_status='RUN', time_executed='2022-04-24 00:11:44.306685', time_epoch_executed='1650784304.31' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862022

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862022/ft1_4FGL_J0011.4+0057_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862022/ft1_4FGL_J0011.4+0057_daily_bin1670.fits outfile=/scratch/kocevski/862022/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1670.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.13
user 4.83
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.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/862022/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1670.fits evtable="EVENTS" outfile="/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.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.54
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 587

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862022/ltcube_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.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/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits
.....................!
real 13.20
user 12.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862022/ltcube_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits outfile=/scratch/kocevski/862022/expmap_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.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/862022/ltcube_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits
.....................!
real 191.67
user 186.45
sys 4.02

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

Setting source of interest to:
4FGL J0011.4+0057 @ 2.8551 0.9646

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits outfile=/scratch/kocevski/862022/cmap_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.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=2.8551 yref=0.9646 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits outfile=/scratch/kocevski/862022/cmap_HighResolution_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.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=2.8551 yref=0.9646 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/862022/Model_4FGL_J0011.4+0057_daily_bin1670.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/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits.....................!
real 68.88
user 66.93
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits', '/scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits', expMap='/scratch/kocevski/862022/expmap_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits', expCube='/scratch/kocevski/862022/ltcube_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/862022/Model_4FGL_J0011.4+0057_daily_bin1670.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0011.4+0057'

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.882e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/862022/ft1_filtered_4FGL_J0011.4+0057_daily_bin1670.fits
Spacecraft file(s): /scratch/kocevski/862022/ft2_4FGL_J0011.4+0057_daily_bin1670.fits
Exposure map: /scratch/kocevski/862022/expmap_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits
Exposure cube: /scratch/kocevski/862022/ltcube_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/862022/Model_4FGL_J0011.4+0057_daily_bin1670.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) = 6592.19806696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.115       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.184       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10116E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5031       1.0000         .10000E-03   10000.    
     7 'norm      '    1.5120       1.0000         .10000E-03   10000.    
     8 'norm      '    3.7725       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.2644       1.0000         .10000E-03   10000.    
    10 'norm      '    35.265       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.159       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3572       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10361E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10453E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    41.102       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9595       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.661       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0822       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0113       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6592.152     FROM MIGRAD    STATUS=CONVERGED    584 CALLS     2848 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.590        .32034E-06** at limit **
   2  Prefactor     33.118        52.583       -.51961E-06   -.11976E-04
   3  Prefactor     10.187        16.797       -.12800E-06   -.59153E-05
   4  Prefactor     .10000E-03    2.4520        .58511E-07** at limit **
   5  norm          .10000E-03    1.4776       -.45903E-07** at limit **
   6  Prefactor     4.5035        9.6205       -.52594E-06   -.49398E-04
   7  norm          1.5106        3.2321        .16566E-06   -.17230E-03
   8  norm          3.7719        2.5501        .52407E-06   -.22615E-02
   9  Prefactor     8.2645        13.644       -.79934E-06   -.36801E-04
  10  norm          35.262        14.448        .83158E-06    .10703E-03
  11  Prefactor     16.159        5.6732       -.13226E-07   -.42403E-04
  12  Prefactor     1.3567        3.6788        .54968E-07   -.22553E-03
  13  Prefactor     .10000E-03    20.153       -.46753E-06** at limit **
  14  Prefactor     .10000E-03    657.07        .50404E-05** at limit **
  15  Prefactor     .10000E-03    24.723       -.14319E-05** at limit **
  16  Prefactor     .10000E-03    97.240       -.26293E-05** at limit **
  17  norm          41.087        25.556        .43128E-05    .25314E-03
  18  Prefactor     2.9581        3.8831       -.75739E-06   -.11688E-03
  19  Prefactor     .10000E-03    15.144       -.35208E-06** at limit **
  20  Prefactor     .10000E-03    53.824        .13287E-06** at limit **
  21  Prefactor     .10000E-03    5.2425       -.21119E-06** at limit **
  22  Prefactor     12.665        11.656       -.85108E-06   -.87299E-04
  23  Normalizat    1.0822        .22527        .12646E-06   -.21490E-04
  24  Prefactor     1.0113        .15388       -.79609E-06    .25825E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 33.1181
  Prefactor  = 10.1869
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.50352
  norm       = 1.51063
  norm       = 3.77195
  Prefactor  = 8.26445
  norm       = 35.2616
  Prefactor  = 16.1592
  Prefactor  = 1.35669
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 41.0871
  Prefactor  = 2.95811
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.6647
  Normalizat = 1.08216
  Prefactor  = 1.01129
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.152     FROM HESSE     STATUS=OK           401 CALLS     3249 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     33.118        52.583        .69633E-04   -1.4556    
   3  Prefactor     10.187        16.439        .12556E-03   -1.5070    
   4  Prefactor     .10000E-03    2.4571        .12406E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    2.3197        .18533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.5035        9.5809        .18973E-03   -1.5284    
   7  norm          1.5106        3.1904        .20016E-03   -1.5462    
   8  norm          3.7719        4.8415        .96073E-03   -1.5320    
   9  Prefactor     8.2645        13.734        .13946E-03   -1.5133    
  10  norm          35.262        14.440        .67484E-04   -1.4520    
  11  Prefactor     16.159        5.7064        .99634E-04   -1.4904    
  12  Prefactor     1.3567        3.6654        .24945E-03   -1.5475    
  13  Prefactor     .10000E-03    20.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    657.94        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.821        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    100.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          41.087        25.789        .62525E-04   -1.4425    
  18  Prefactor     2.9581        3.8760        .16776E-03   -1.5364    
  19  Prefactor     .10000E-03    15.165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    55.462        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.2498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     12.665        11.721        .11258E-03   -1.4996    
  23  Normalizat    1.0822        .26261        .31125E-03   -.90327    
  24  Prefactor     1.0113        .17840        .23642E-03   -.92354    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49151e-09
Minuit parameter uncertainties:
  1  5.21564e-05
  2  52.6562
  3  16.4466
  4  1.98632e-06
  5  6.48696e-06
  6  9.58418
  7  3.19075
  8  4.842
  9  13.7392
  10  14.4416
  11  5.70654
  12  3.66603
  13  2.27626e-05
  14  0.000456925
  15  0.000587326
  16  3.26913e-05
  17  25.7958
  18  3.87632
  19  1.23273e-05
  20  9.15603e-05
  21  1.89173e-06
  22  11.7228
  23  0.262928
  24  0.178505
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  1.019e+01  1.645e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.334e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.011e+00  1.785e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.082e+00  2.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.50
Ra Dec: 2.855 0.965
Photon Flux Upper Limit: 1.16e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862022/likelihoodResults_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.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) = 6592.13119886
delta logL = 0.0208866913663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6592.12564857
delta logL = 0.0264369809875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5070       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5304       1.0000          .0000       10.000    
     3 'Normalizat'    1.0772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0135       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6592.126     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      259 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.4959        17.583        .68720E-03    .55609E-04
   2  Index         2.5320        .95788        .81090E-02    .25345E-03
   3  Normalizat    1.0773        .23932        .31187E-03   -.16404E-05
   4  Prefactor     1.0134        .17557        .23620E-03   -.13477E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.49591
  Index      = 2.53201
  Normalizat = 1.0773
  Prefactor  = 1.01341
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.126     FROM HESSE     STATUS=OK            27 CALLS      286 TOTAL
                     EDM=   .82E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.4959        16.355        .13744E-03   -1.5125    
   2  Index         2.5320        .89172        .16218E-02   -.51622    
   3  Normalizat    1.0773        .23955        .12475E-04   -.90484    
   4  Prefactor     1.0134        .17567        .94480E-05   -.92284    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17128e-15
Minuit parameter uncertainties:
  1  16.3631
  2  0.898088
  3  0.239791
  4  0.175773
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862022': 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) = 6592.1256464
delta logL = 0.0264391547698

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  8.496e+00  1.636e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  2.532e+00  8.981e-01  0.000e+00  1.000e+01 (-1.000e+00)
53         Scale:  1.182e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
546    Prefactor:  1.013e+00  1.758e-01  0.000e+00  1.000e+01 ( 1.000e+00)
547        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
548        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  1.077e+00  2.398e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
Ra Dec: 2.855 0.965

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/862022/cmap_HighResolution_672192001_672451201_4FGL_J0011.4+0057_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.90e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2022-04-24 00:23:47.467075', job_id='862022', GAL2='1.01', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1650785027.47', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.64e-02', ts2='0.56', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1670' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:23:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 862106: <4FGL_J0011.4+0057_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:16 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:10:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:10:52 2022
Terminated at Sun Apr 24 00:23:17 2022
Results reported at Sun Apr 24 00:23:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1670 2.8551 0.9646 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            901 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 862022: <4FGL_J0011.4+0057_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:11 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:10:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:10:36 2022
Terminated at Sun Apr 24 00:23:48 2022
Results reported at Sun Apr 24 00:23:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1670 2.8551 0.9646 672192001 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0011.4+0057 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   721.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             330.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   791 sec.
    Turnaround time :                            937 sec.

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

