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


Performing analysis on: 4FGL_J0211.2+1051_daily_bin1778
RA = 32.8091, Dec = 10.8569
tmin = 700185601, tmax = 700444801
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='949669', job_status='RUN', time_executed='2023-03-14 00:10:03.598476', time_epoch_executed='1678777803.6' WHERE source_name='4FGL J0211.2+1051' and cadence='daily' and bin_id='1778'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/949669

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/949669/ft1_4FGL_J0211.2+1051_daily_bin1778.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/949669/ft1_4FGL_J0211.2+1051_daily_bin1778.fits outfile=/scratch/kocevski/949669/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1778.fits ra=32.8091 dec=10.8569 rad=12.0 tmin=700185601.0 tmax=700444801.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 4.10
user 3.71
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.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/949669/ft1_filteredMKT_4FGL_J0211.2+1051_daily_bin1778.fits evtable="EVENTS" outfile="/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.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.59
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 660

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits" evtable="EVENTS" scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits sctable="SC_DATA" outfile=/scratch/kocevski/949669/ltcube_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.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/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits
.....................!
real 13.84
user 13.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits sctable="SC_DATA" expcube=/scratch/kocevski/949669/ltcube_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits outfile=/scratch/kocevski/949669/expmap_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.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/949669/ltcube_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits
.....................!
real 190.02
user 184.77
sys 4.91

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

Setting source of interest to:
4FGL J0211.2+1051 @ 32.8091 10.8569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits outfile=/scratch/kocevski/949669/cmap_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.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=32.8091 yref=10.8569 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits outfile=/scratch/kocevski/949669/cmap_HighResolution_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.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=32.8091 yref=10.8569 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits evtable="EVENTS" scfile=/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/949669/Model_4FGL_J0211.2+1051_daily_bin1778.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/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits....................!
real 83.87
user 82.50
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits', '/scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits', expMap='/scratch/kocevski/949669/expmap_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits', expCube='/scratch/kocevski/949669/ltcube_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/949669/Model_4FGL_J0211.2+1051_daily_bin1778.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0211.2+1051'

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  8.760e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/949669/ft1_filtered_4FGL_J0211.2+1051_daily_bin1778.fits
Spacecraft file(s): /scratch/kocevski/949669/ft2_4FGL_J0211.2+1051_daily_bin1778.fits
Exposure map: /scratch/kocevski/949669/expmap_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits
Exposure cube: /scratch/kocevski/949669/ltcube_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/949669/Model_4FGL_J0211.2+1051_daily_bin1778.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) = 6979.42644835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0794       1.0000          .0000       .10000E+07
     2 'norm      '    .11154E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .24079E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.7177       1.0000          .0000       .10000E+07
     5 'norm      '    6.5920       1.0000          .0000       .10000E+07
     6 'Prefactor '    .16636E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.0785       1.0000          .0000       .10000E+07
     8 'norm      '    1.1700       1.0000          .0000       .10000E+07
     9 'Prefactor '    77.086       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.3307       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17977E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.3041       1.0000          .0000       .10000E+07
    13 'Prefactor '    .49096E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    3.0109       1.0000          .0000       .10000E+07
    15 'norm      '    .65421       1.0000          .0000       .10000E+07
    16 'Prefactor '    .89398E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    4.1946       1.0000          .0000       .10000E+07
    18 'norm      '    8.6426       1.0000          .0000       .10000E+07
    19 'Prefactor '    5.5922       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.0722       1.0000          .0000       .10000E+07
    21 'Prefactor '    .34443E-03   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0897       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92481       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6979.363     FROM MIGRAD    STATUS=CONVERGED    154 CALLS     1870 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0567        5.8819       -.15574E-06   -.24784E-03
   2  norm          .38858E-09    5.2127        .23865E-06** at limit **
   3  Prefactor      .0000        2.5040       -.26226E-06** at limit **
   4  Prefactor     6.7166        3.0181        .17378E-07   -.93585E-03
   5  norm          6.5989        4.8189        .57858E-07   -.38128E-03
   6  Prefactor      .0000        1.6107       -.23511E-06** at limit **
   7  Prefactor     1.0695        2.6885       -.70364E-06   -.18229E-03
   8  norm          1.1700        .98051       -.68171E-07   -.12045E-02
   9  Prefactor     78.033        35.965       -.99883E-07   -.10692E-01
  10  Prefactor     6.0943        10.112       -.53263E-06    .48987E-02
  11  Prefactor     .22204E-09    40.881        .29791E-05** at limit **
  12  Prefactor     7.2947        6.8096        .15464E-06   -.11144E-03
  13  Prefactor     .55511E-10    6.5539       -.54109E-06** at limit **
  14  Prefactor     2.9953        8.0902       -.14810E-06    .22592E-02
  15  norm          .65408        .46666       -.52474E-07    .13398E-02
  16  Prefactor     .77716E-09    21.906        .13249E-06** at limit **
  17  Prefactor     3.8639        17.747        .14002E-05   -.47972E-02
  18  norm          8.6593        9.7962        .32939E-06    .64584E-02
  19  Prefactor     5.5966        3.3109       -.16342E-06   -.43179E-01
  20  Prefactor     2.9444        3.7539        .14742E-06   -.32693E-02
  21  Prefactor     .77716E-09    5.3757       -.27817E-06** at limit **
  22  Normalizat    1.0892        .23096        .26680E-06   -.13791E-04
  23  Prefactor     .92460        .12547        .25263E-07   -.22414E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.05668
  norm       = 3.88578e-10
  Prefactor  = 0
  Prefactor  = 6.71661
  norm       = 6.59886
  Prefactor  = 0
  Prefactor  = 1.06951
  norm       = 1.16999
  Prefactor  = 78.0333
  Prefactor  = 6.09433
  Prefactor  = 2.22045e-10
  Prefactor  = 7.29469
  Prefactor  = 5.55112e-11
  Prefactor  = 2.99534
  norm       = 0.654077
  Prefactor  = 7.77156e-10
  Prefactor  = 3.86385
  norm       = 8.65931
  Prefactor  = 5.59658
  Prefactor  = 2.94437
  Prefactor  = 7.77156e-10
  Normalizat = 1.08915
  Prefactor  = 0.924603
 **********
 **   18 **HESSE 
 **********

 FCN=   6979.363     FROM HESSE     STATUS=OK           422 CALLS     2292 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0567        5.8970        .57774E-03   -1.5673    
   2  norm          .38858E-09    5.2261        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.5139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.7166        3.0161        .38691E-03   -1.5656    
   5  norm          6.5989        4.8604        .39062E-03   -1.5657    
   6  Prefactor      .0000        1.6117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.0695        2.7832        .11616E-02   -1.5687    
   8  norm          1.1700        1.0009        .10607E-02   -1.5686    
   9  Prefactor     78.033        37.818        .11390E-03   -1.5531    
  10  Prefactor     6.0943        47.153        .43506E-03   -1.5659    
  11  Prefactor     .22204E-09    41.408        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2947        6.8593        .37089E-03   -1.5654    
  13  Prefactor     .55511E-10    6.5475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9953        8.3705        .58466E-03   -1.5673    
  15  norm          .65408        .49231        .64506E-03   -1.5692    
  16  Prefactor     .77716E-09    21.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.8639        18.501        .49182E-03   -1.5669    
  18  norm          8.6593        10.171        .34073E-03   -1.5649    
  19  Prefactor     5.5966        14.589        .42459E-03   -1.5661    
  20  Prefactor     2.9444        110.62        .57846E-03   -1.5674    
  21  Prefactor     .77716E-09    5.3912        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0892        .20513        .69339E-01   -.90101    
  23  Prefactor     .92460        .10991        .45320E-01   -.95287    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76641e-07
Minuit parameter uncertainties:
  1  5.89702
  2  8.8863e-05
  3  5.80063e-06
  4  3.01612
  5  4.8604
  6  9.57989e-08
  7  2.78318
  8  1.0009
  9  37.8179
  10  33.904
  11  0.000200471
  12  6.85929
  13  4.16527e-05
  14  8.37048
  15  0.492306
  16  0.000263988
  17  16.91
  18  10.1709
  19  14.5887
  20  36.0953
  21  0.000128401
  22  0.20528
  23  0.109938
Done.

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

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  6.599e+00  4.860e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  2.051e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
246         beta:  5.238e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.246e-01  1.099e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.089e+00  2.053e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.25
Ra Dec: 32.809 10.857
Photon Index (Fixed Index): 2.05 +/- 0.00
Photon Flux (Fixed Index): 4.38e-08 +/- 3.22e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.76e-05

TS (Fixed Index): 3.25
Ra Dec: 32.809 10.857
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.24e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/949669/likelihoodResults_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.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) = 6978.83435797
delta logL = 0.528336977445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6978.80733986
delta logL = 0.55535508844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9225       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7129       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93484       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+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=   6978.807     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      292 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9220        4.8979        .10635E-04    .78478E-02
   2  alpha         2.7130        .71978        .11653E-01    .70177E-04
   3  Normalizat    1.0524        .21582        .31107E-03   -.28127E-03
   4  Prefactor     .93487        .12370        .18936E-03   -.61521E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.92196
  alpha      = 2.71296
  Normalizat = 1.05238
  Prefactor  = 0.934872
 **********
 **   18 **HESSE 
 **********

 FCN=   6978.807     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9220        4.4799        .42538E-06   -1.5664    
   2  alpha         2.7130        .65945        .46614E-03    .85287E-01
   3  Normalizat    1.0524        .21555        .12443E-04   -.91296    
   4  Prefactor     .93487        .12359        .37872E-04   -.94933    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.89323e-10
Minuit parameter uncertainties:
  1  4.47994
  2  0.667403
  3  0.215725
  4  0.123629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/949669': 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) = 6978.80733849
delta logL = 0.5553564593

Extracting fit parameters...

4FGL J0211.2+1051
   Spectrum: LogParabola
244         norm:  4.922e+00  4.480e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        alpha:  2.713e+00  6.674e-01  0.000e+00  5.000e+00 ( 1.000e+00)
246         beta:  5.238e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
247           Eb:  8.380e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  9.349e-01  1.236e-01  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  1.052e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.37
Ra Dec: 32.809 10.857
Photon Index (Free Index): 2.71 +/- 0.67
Photon Flux (Free Index): 7.99e-08 +/- 5.44e-08
Energy Flux (Free Index): 1.96e-05 +/- 1.22e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/949669/cmap_HighResolution_700185601_700444801_4FGL_J0211.2+1051_daily_bin1778.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-05', comment='SUCCESS', photon_flux='4.38e-08', energy_flux2='1.96e-05', photon_flux_error='3.22e-08', dlogl='5.55e-01', energy_flux='2.39e-05', photon_flux2='7.99e-08', job_status='DONE', time_completed='2023-03-14 00:20:56.342764', photon_index_error2='0.67', photon_index2='2.71', ts='3.25', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.22e-05', EG='1.09', time_epoch_completed='1678778456.34', return_code='0', job_id='949669', GAL2='0.93', EG2='1.05', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.44e-08', ts2='4.37', photon_index='2.05' WHERE bin_id='1778' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:20:56 PDT 2023

1.05', return_code2='0', energy_flux_error='1.76e-05', photon_flux_error2='5.44e-08', ts2='4.37', photon_index='2.05' WHERE bin_id='1778' AND source_name='4FGL J0211.2+1051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Mar 14 00:20:32 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 949670: <4FGL_J0211.2+1051_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1778> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Mar 14 00:05:49 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:06:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:06:08 2023
Terminated at Tue Mar 14 00:20:33 2023
Results reported at Tue Mar 14 00:20:33 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1778 32.8091 10.8569 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0211.2+1051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   652.00 sec.
    Max Memory :                                 618 MB
    Average Memory :                             250.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            884 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0149>
Subject: Job 949669: <4FGL_J0211.2+1051_daily_bin1778> in cluster <slac> Done

Job <4FGL_J0211.2+1051_daily_bin1778> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Mar 14 00:05:49 2023
Job was executed on host(s) <bullet0149>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Mar 14 00:06:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Mar 14 00:06:08 2023
Terminated at Tue Mar 14 00:20:57 2023
Results reported at Tue Mar 14 00:20:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0211.2+1051_daily_bin1778 32.8091 10.8569 700185601 700444801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0211.2+1051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   654.01 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            908 sec.

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

