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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1676
RA = 332.817, Dec = -13.4189
tmin = 673747201, tmax = 674006401
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='67775', job_status='RUN', time_executed='2022-05-12 01:28:52.143427', time_epoch_executed='1652344132.14' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/67775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/67775/ft1_4FGL_J2211.2-1325_daily_bin1676.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/67775/ft1_4FGL_J2211.2-1325_daily_bin1676.fits outfile=/scratch/kocevski/67775/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1676.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=673747201.0 tmax=674006401.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.90
user 3.60
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.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/67775/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1676.fits evtable="EVENTS" outfile="/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.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.36
sys 0.15

Number of photons that the gtmktime cut: 581

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits" evtable="EVENTS" scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits sctable="SC_DATA" outfile=/scratch/kocevski/67775/ltcube_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.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/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits
.....................!
real 14.92
user 14.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits sctable="SC_DATA" expcube=/scratch/kocevski/67775/ltcube_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits outfile=/scratch/kocevski/67775/expmap_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.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/67775/ltcube_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits
.....................!
real 191.88
user 186.18
sys 5.17

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

Setting source of interest to:
4FGL J2211.2-1325 @ 332.817 -13.4189

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits outfile=/scratch/kocevski/67775/cmap_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.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=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits outfile=/scratch/kocevski/67775/cmap_HighResolution_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.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=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits evtable="EVENTS" scfile=/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/67775/Model_4FGL_J2211.2-1325_daily_bin1676.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/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits.....................!
real 60.13
user 58.58
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits', '/scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits', expMap='/scratch/kocevski/67775/expmap_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits', expCube='/scratch/kocevski/67775/ltcube_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/67775/Model_4FGL_J2211.2-1325_daily_bin1676.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2211.2-1325'

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.184e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/67775/ft1_filtered_4FGL_J2211.2-1325_daily_bin1676.fits
Spacecraft file(s): /scratch/kocevski/67775/ft2_4FGL_J2211.2-1325_daily_bin1676.fits
Exposure map: /scratch/kocevski/67775/expmap_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits
Exposure cube: /scratch/kocevski/67775/ltcube_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/67775/Model_4FGL_J2211.2-1325_daily_bin1676.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) = 6363.27738768

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.8545       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.2041       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.487       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.191       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1110       1.0000         .10000E-03   10000.    
    10 'Prefactor '    179.15       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4775       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.010       1.0000         .10000E-03   10000.    
    13 'norm      '    4.8449       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .32003       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .83015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10138E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1109       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.840       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .90530       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6363.254     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2638 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8543        4.9364        .10707E-05    .19738E-05
   2  Prefactor     .10000E-03    4.1256        .37440E-06** at limit **
   3  Prefactor     .10000E-03    8.6201       -.15915E-06** at limit **
   4  norm          1.2025        4.6243       -.39002E-05   -.66798E-04
   5  Prefactor     .10000E-03    3.3550        .48453E-07** at limit **
   6  Prefactor     .10000E-03    4.7638        .21452E-06** at limit **
   7  Prefactor     22.485        14.114        .44100E-06   -.10680E-06
   8  Prefactor     31.189        13.996        .23951E-06    .26131E-04
   9  Prefactor     1.0720        30.013       -.26380E-05   -.32551E-04
  10  Prefactor     179.15        111.43        .21122E-05    .25891E-04
  11  Prefactor     2.4793        4.3916        .12806E-05    .16023E-03
  12  Prefactor     47.010        53.448        .28176E-06    .11568E-04
  13  norm          4.8435        4.4049       -.16314E-05    .39704E-04
  14  Prefactor     .10000E-03    93.549       -.16456E-06** at limit **
  15  Prefactor     .10000E-03    29.309        .21844E-05** at limit **
  16  norm          .31921        .84996       -.30507E-07    .22695E-03
  17  Prefactor     .10010E-03    7.5721       -.13374E-05** at limit **
  18  norm          .10000E-03    .43355        .53269E-07** at limit **
  19  Prefactor     .10000E-03    12.023        .11149E-06** at limit **
  20  Prefactor     1.1112        .79701        .24341E-06   -.18245E-03
  21  Prefactor     12.827        22.382       -.94397E-06    .59187E-04
  22  Normalizat    .90549        .22787        .65262E-06    .12806E-03
  23  Prefactor     1.1679        .15158        .11627E-07    .20092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.85432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.20249
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.4851
  Prefactor  = 31.1891
  Prefactor  = 1.07198
  Prefactor  = 179.154
  Prefactor  = 2.47931
  Prefactor  = 47.0104
  norm       = 4.84347
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.319208
  Prefactor  = 0.000100101
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.11116
  Prefactor  = 12.8273
  Normalizat = 0.905486
  Prefactor  = 1.16787
 **********
 **   18 **HESSE 
 **********

 FCN=   6363.254     FROM HESSE     STATUS=OK           374 CALLS     3012 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8543        4.9213        .22449E-03   -1.5370    
   2  Prefactor     .10000E-03    4.1320        .15822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.6738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.2025        4.6039        .32967E-03   -1.5489    
   5  Prefactor     .10000E-03    3.4052        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.7685        .17003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.485        14.110        .84468E-04   -1.4759    
   8  Prefactor     31.189        14.004        .71744E-04   -1.4590    
   9  Prefactor     1.0720        29.794        .44799E-02   -1.5501    
  10  Prefactor     179.15        111.22        .30156E-04   -1.3023    
  11  Prefactor     2.4793        4.3132        .19661E-03   -1.5393    
  12  Prefactor     47.010        53.192        .58481E-04   -1.4336    
  13  norm          4.8435        4.3918        .14664E-03   -1.5268    
  14  Prefactor     .10000E-03    93.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    30.059        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .31921        .81972        .11121E-03   -1.5595    
  17  Prefactor     .10010E-03    35.749        .39322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .61045        .97700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    12.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1112        14.088        .22401E-02   -1.5497    
  21  Prefactor     12.827        22.228        .11179E-03   -1.4992    
  22  Normalizat    .90549        .26366        .32334E-03   -.96268    
  23  Prefactor     1.1679        .17800        .19960E-03   -.87326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19692e-08
Minuit parameter uncertainties:
  1  4.92203
  2  1.4446e-06
  3  3.11684e-06
  4  4.60524
  5  9.13352e-07
  6  5.78196e-07
  7  14.112
  8  14.0054
  9  11.3086
  10  111.349
  11  4.3137
  12  53.2454
  13  4.39214
  14  0.000104429
  15  6.85792e-05
  16  0.819747
  17  0.00380888
  18  1.08613e-05
  19  1.47849e-05
  20  7.91494
  21  22.2424
  22  0.26404
  23  0.178087
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.119e+01  1.401e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.725e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.168e+00  1.781e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.055e-01  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.59
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.26e-07 +/- 5.67e-08
Energy Flux (Fixed Index): 2.99e-05 +/- 1.34e-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) = 6362.82468159
delta logL = 0.429232201596

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6362.82387162
delta logL = 0.430042167519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.287       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3369       1.0000          .0000       10.000    
     3 'Normalizat'    .93399       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1509       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+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=   6362.824     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      288 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.283        17.369        .64774E-04    .76172E-04
   2  Index         2.3369        .38449        .62467E-02    .18675E-04
   3  Normalizat    .93401        .25618        .31894E-03    .18935E-03
   4  Prefactor     1.1508        .17672        .20078E-03    .34903E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.2828
  Index      = 2.3369
  Normalizat = 0.934008
  Prefactor  = 1.15078
 **********
 **   18 **HESSE 
 **********

 FCN=   6362.824     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .82E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.283        17.288        .25910E-05   -1.4470    
   2  Index         2.3369        .38264        .24987E-03   -.56169    
   3  Normalizat    .93401        .25643        .12757E-04   -.95275    
   4  Prefactor     1.1508        .17687        .40155E-04   -.87860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.19606e-11
Minuit parameter uncertainties:
  1  17.2901
  2  0.383168
  3  0.25677
  4  0.176957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/67775': 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) = 6362.82387116
delta logL = 0.430042632265

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  3.828e+01  1.729e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.337e+00  3.832e-01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  4.751e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.151e+00  1.770e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  9.340e-01  2.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.41
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.34 +/- 0.38
Photon Flux (Free Index): 1.09e-07 +/- 5.45e-08
Energy Flux (Free Index): 3.91e-05 +/- 2.18e-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/67775/cmap_HighResolution_673747201_674006401_4FGL_J2211.2-1325_daily_bin1676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.26e-07', energy_flux2='3.91e-05', photon_flux_error='5.67e-08', dlogl='4.30e-01', energy_flux='2.99e-05', photon_flux2='1.09e-07', job_status='DONE', time_completed='2022-05-12 01:38:38.297478', photon_index_error2='0.38', photon_index2='2.34', ts='9.59', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', energy_flux_error2='2.18e-05', EG='0.91', time_epoch_completed='1652344718.3', return_code='0', job_id='67775', GAL2='1.15', EG2='0.93', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='5.45e-08', ts2='10.41', photon_index='2.72' WHERE bin_id='1676' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu May 12 01:38:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 67775: <4FGL_J2211.2-1325_daily_bin1676> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1676> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu May 12 01:25:44 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu May 12 01:28:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu May 12 01:28:26 2022
Terminated at Thu May 12 01:38:39 2022
Results reported at Thu May 12 01:38:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1676 332.817 -13.4189 673747201 674006401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2211.2-1325 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   587.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   612 sec.
    Turnaround time :                            775 sec.

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

