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


Performing analysis on: 4FGL_J0011.4+0057_daily_bin1674
RA = 2.8551, Dec = 0.9646
tmin = 673228801, tmax = 673488001
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='668136', job_status='RUN', time_executed='2022-05-06 00:10:02.916820', time_epoch_executed='1651821002.92' WHERE source_name='4FGL J0011.4+0057' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668136/ft1_4FGL_J0011.4+0057_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668136/ft1_4FGL_J0011.4+0057_daily_bin1674.fits outfile=/scratch/kocevski/668136/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1674.fits ra=2.8551 dec=0.9646 rad=12.0 tmin=673228801.0 tmax=673488001.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.83
user 2.52
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.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/668136/ft1_filteredMKT_4FGL_J0011.4+0057_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.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.52
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 487

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/668136/ltcube_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.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/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits
.....................!
real 15.43
user 14.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/668136/ltcube_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits outfile=/scratch/kocevski/668136/expmap_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.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/668136/ltcube_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits
.....................!
real 193.19
user 185.95
sys 5.27

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/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits scfile=/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits outfile=/scratch/kocevski/668136/cmap_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits scfile=/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits outfile=/scratch/kocevski/668136/cmap_HighResolution_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.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.54
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits', '/scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits', expMap='/scratch/kocevski/668136/expmap_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits', expCube='/scratch/kocevski/668136/ltcube_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668136/Model_4FGL_J0011.4+0057_daily_bin1674.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/668136/ft1_filtered_4FGL_J0011.4+0057_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/668136/ft2_4FGL_J0011.4+0057_daily_bin1674.fits
Exposure map: /scratch/kocevski/668136/expmap_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits
Exposure cube: /scratch/kocevski/668136/ltcube_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668136/Model_4FGL_J0011.4+0057_daily_bin1674.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) = 5469.53093677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0468       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .15162E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.8855       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .79311E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.5648       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8058       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.8480       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    22.465       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10711E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.4057       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.7569       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1897       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .99021       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=   5469.450     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     3161 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6122       -.97698E-07** at limit **
   2  Prefactor     .10000E-03    35.174       -.12689E-05** at limit **
   3  Prefactor     4.6747        22.089        .86773E-05   -.44278E-04
   4  Prefactor     .10000E-03    2.4134        .38408E-07** at limit **
   5  norm          .11530        2.1437       -.10621E-05    .15984E-03
   6  Prefactor     .10000E-03    5.2767        .10937E-06** at limit **
   7  norm          .10000E-03    1.3762        .45798E-07** at limit **
   8  norm          5.8865        4.6942       -.47931E-07    .51267E-04
   9  Prefactor     .10000E-03    17.879       -.14084E-05** at limit **
  10  norm          .10001E-03    6.8431        .48470E-06** at limit **
  11  Prefactor     6.5674        5.0225        .21033E-07   -.18670E-04
  12  Prefactor     1.8097        5.7835        .10753E-05   -.16627E-03
  13  Prefactor     .10000E-03    31.733        .55048E-06** at limit **
  14  Prefactor     25.101        216.94        .18202E-04    .44587E-04
  15  Prefactor     8.8545        15.698       -.62021E-06   -.72481E-04
  16  Prefactor     .10000E-03    10.255        .11376E-07** at limit **
  17  norm          22.467        26.657       -.18871E-06   -.39858E-04
  18  Prefactor     .10000E-03    2.8574        .16775E-06** at limit **
  19  Prefactor     9.4142        24.964        .11185E-06   -.72029E-05
  20  Prefactor     .10000E-03    44.643        .40086E-06** at limit **
  21  Prefactor     .10000E-03    19.405        .14038E-05** at limit **
  22  Prefactor     2.7621        7.9710        .38617E-06   -.69026E-04
  23  Normalizat    1.1887        .22553        .38850E-06    .99342E-04
  24  Prefactor     .99055        .15958       -.10961E-05    .16762E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.67474
  Prefactor  = 0.0001
  norm       = 0.1153
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.8865
  Prefactor  = 0.0001
  norm       = 0.000100014
  Prefactor  = 6.56744
  Prefactor  = 1.80966
  Prefactor  = 0.0001
  Prefactor  = 25.1012
  Prefactor  = 8.85446
  Prefactor  = 0.0001
  norm       = 22.4669
  Prefactor  = 0.000100001
  Prefactor  = 9.4142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.76215
  Normalizat = 1.18866
  Prefactor  = 0.99055
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.450     FROM HESSE     STATUS=OK           399 CALLS     3560 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6614        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.6747        31.632        .89495E-03   -1.5276    
   4  Prefactor     .10000E-03    2.4240        .11217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .11530        33.124        .17677E-02   -1.5640    
   6  Prefactor     .10000E-03    5.2874        .16591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.3884        .84686E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.8865        4.6934        .13855E-03   -1.5223    
   9  Prefactor     .10000E-03    18.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10001E-03    39.931        .36320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.5674        5.0356        .13820E-03   -1.5195    
  12  Prefactor     1.8097        5.7974        .30303E-03   -1.5439    
  13  Prefactor     .10000E-03    31.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.101        235.18        .80081E-04   -1.4706    
  15  Prefactor     8.8545        15.343        .13475E-03   -1.5113    
  16  Prefactor     .10000E-03    10.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          22.467        26.519        .84508E-04   -1.4760    
  18  Prefactor     .10000E-03    13.951        .22420E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.4142        24.960        .13067E-03   -1.5094    
  20  Prefactor     .10000E-03    45.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    19.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.7621        7.9809        .24516E-03   -1.5376    
  23  Normalizat    1.1887        .26327        .27853E-03   -.86954    
  24  Prefactor     .99055        .18647        .22876E-03   -.93045    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50074e-09
Minuit parameter uncertainties:
  1  2.08237e-06
  2  0.000176672
  3  24.3386
  4  2.96819e-07
  5  3.90907
  6  4.91338e-06
  7  4.05952e-07
  8  4.6937
  9  0.000130233
  10  0.00152084
  11  5.03591
  12  5.79925
  13  8.10588e-05
  14  154.472
  15  15.35
  16  4.20664e-06
  17  26.5324
  18  0.000259029
  19  24.9871
  20  8.232e-05
  21  0.000106944
  22  7.984
  23  0.263563
  24  0.186589
Done.

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

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  4.675e+00  2.434e+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:  9.905e-01  1.866e-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.189e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/668136/likelihoodResults_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.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) = 5469.13362768
delta logL = 0.316593273664

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5469.11106199
delta logL = 0.339158959418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1320       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3551       1.0000          .0000       10.000    
     3 'Normalizat'    1.1373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0118       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.

 FCN=   5469.111     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      228 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1108        122.51        .57269E-02    .50203E-03
   2  Index         3.3571        6.6139        .11919        .13930E-03
   3  Normalizat    1.1378        .68657E-01    .64181E-01    .16424E-04
   4  Prefactor     1.0115        .50945E-01    .43075E-01    .10795E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.11079
  Index      = 3.35709
  Normalizat = 1.13783
  Prefactor  = 1.01147
 **********
 **   18 **HESSE 
 **********

 FCN=   5469.111     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1108        23.396        .15594E-03   -1.5355    
   2  Index         3.3571        2.4411        .70767E-02   -.33480    
   3  Normalizat    1.1378        .25212        .28391E-03   -.88546    
   4  Prefactor     1.0115        .18629        .22663E-03   -.92348    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55049e-10
Minuit parameter uncertainties:
  1  17.0714
  2  2.56544
  3  0.252389
  4  0.186413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668136': 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) = 5469.11105664
delta logL = 0.339164313497

Extracting fit parameters...

4FGL J0011.4+0057
   Spectrum: PowerLaw
51     Prefactor:  3.111e+00  1.707e+01  1.000e-04  1.000e+04 ( 1.000e-13)
52         Index:  3.357e+00  2.565e+00  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.011e+00  1.864e-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.138e+00  2.524e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/668136/cmap_HighResolution_673228801_673488001_4FGL_J0011.4+0057_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.47e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2022-05-06 00:21:08.420206', job_id='668136', GAL2='1.01', fit_tolerance='1e-08', EG2='1.14', EG='1.19', time_epoch_completed='1651821668.42', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.39e-01', ts2='0.79', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1674' AND source_name='4FGL J0011.4+0057' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 00:21:08 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 668137: <4FGL_J0011.4+0057_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:05:22 2022
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 00:06:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 00:06:14 2022
Terminated at Fri May  6 00:18:11 2022
Results reported at Fri May  6 00:18:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1674 2.8551 0.9646 673228801 673488001 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 :                                   672.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             338.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   717 sec.
    Turnaround time :                            769 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 668136: <4FGL_J0011.4+0057_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0011.4+0057_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:05:22 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 00:06:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 00:06:14 2022
Terminated at Fri May  6 00:21:09 2022
Results reported at Fri May  6 00:21:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0011.4+0057_daily_bin1674 2.8551 0.9646 673228801 673488001 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 :                                   658.49 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             262.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            947 sec.

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

