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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1685
RA = 332.817, Dec = -13.4189
tmin = 676080001, tmax = 676339201
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='383698', job_status='RUN', time_executed='2022-06-08 01:10:55.294742', time_epoch_executed='1654675855.29' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/383698

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/383698/ft1_4FGL_J2211.2-1325_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/383698/ft1_4FGL_J2211.2-1325_daily_bin1685.fits outfile=/scratch/kocevski/383698/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1685.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=676080001.0 tmax=676339201.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.60
user 3.38
sys 0.20

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

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

Number of photons that the gtmktime cut: 923

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/383698/ltcube_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.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/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits
.....................!
real 14.66
user 14.23
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/383698/ltcube_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits outfile=/scratch/kocevski/383698/expmap_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.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/383698/ltcube_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits
.....................!
real 193.75
user 187.34
sys 5.59

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/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits scfile=/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits outfile=/scratch/kocevski/383698/cmap_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits scfile=/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits outfile=/scratch/kocevski/383698/cmap_HighResolution_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.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.58
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/383698/Model_4FGL_J2211.2-1325_daily_bin1685.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/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits.....................!
real 82.33
user 80.67
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits', '/scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits', expMap='/scratch/kocevski/383698/expmap_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits', expCube='/scratch/kocevski/383698/ltcube_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/383698/Model_4FGL_J2211.2-1325_daily_bin1685.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/383698/ft1_filtered_4FGL_J2211.2-1325_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/383698/ft2_4FGL_J2211.2-1325_daily_bin1685.fits
Exposure map: /scratch/kocevski/383698/expmap_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits
Exposure cube: /scratch/kocevski/383698/ltcube_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/383698/Model_4FGL_J2211.2-1325_daily_bin1685.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) = 9765.70975912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10259E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.575       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.291       1.0000         .10000E-03   10000.    
     9 'Prefactor '    75.623       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.9258       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.9922       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.3414       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1023       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2580       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .94040       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=   9765.639     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2165 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8166        .89715E-07** at limit **
   2  Prefactor     .10000E-03    2.1899        .17181E-07** at limit **
   3  Prefactor     .10000E-03    13.432        .10101E-04** at limit **
   4  norm          .10001E-03    2.9957       -.62642E-06** at limit **
   5  Prefactor     .10000E-03    3.2518        .78183E-07** at limit **
   6  Prefactor     24.577        16.145       -.74940E-07   -.10481E-03
   7  Prefactor     .10000E-03    2.2890        .12054E-07** at limit **
   8  Prefactor     40.291        11.717        .92755E-08   -.39367E-04
   9  Prefactor     75.622        13.873        .94825E-07    .27536E-05
  10  Prefactor     .10000E-03    52.141       -.34465E-05** at limit **
  11  Prefactor     1.9258        2.7677       -.20717E-07   -.23842E-04
  12  Prefactor     .10000E-03    16.773       -.84397E-05** at limit **
  13  norm          .10000E-03    1.0182       -.15610E-07** at limit **
  14  Prefactor     .10000E-03    15.747       -.48466E-05** at limit **
  15  Prefactor     .10000E-03    15.164       -.27894E-05** at limit **
  16  norm          2.9922        .88670        .10130E-07   -.34496E-04
  17  Prefactor     .10000E-03    5.4173       -.60263E-07** at limit **
  18  norm          .10000E-03    .19630       -.47030E-07** at limit **
  19  Prefactor     .10000E-03    21.161        .89024E-05** at limit **
  20  Prefactor     3.3406        5.9220       -.84957E-06   -.43166E-04
  21  Prefactor     1.1007        1.4965        .10688E-06   -.44033E-03
  22  Normalizat    1.2581        .17313       -.13391E-06   -.10330E-03
  23  Prefactor     .94041        .11869        .92346E-07   -.97172E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 24.5766
  Prefactor  = 0.0001
  Prefactor  = 40.2912
  Prefactor  = 75.6218
  Prefactor  = 0.0001
  Prefactor  = 1.92576
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.99216
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.34059
  Prefactor  = 1.10072
  Normalizat = 1.25805
  Prefactor  = 0.940405
 **********
 **   18 **HESSE 
 **********

 FCN=   9765.639     FROM HESSE     STATUS=OK           366 CALLS     2531 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.8244        .13006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    2.1918        .14282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    10.755        .33155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.3523        .34783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.577        16.145        .80805E-04   -1.4716    
   7  Prefactor     .10000E-03    2.2941        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.291        11.758        .63149E-04   -1.4438    
   9  Prefactor     75.622        13.823        .46173E-04   -1.3967    
  10  Prefactor     .10000E-03    52.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.9258        2.7413        .18659E-03   -1.5430    
  12  Prefactor     .10000E-03    16.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.0343        .97325E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.9922        .88642        .48477E-04   -1.5362    
  17  Prefactor     .10000E-03    5.4736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .25135        .84994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.3406        5.9095        .22142E-03   -1.5342    
  21  Prefactor     1.1007        17.827        .22605E-02   -1.5498    
  22  Normalizat    1.2581        .20677        .28434E-03   -.84827    
  23  Prefactor     .94041        .14139        .22448E-03   -.94743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74689e-09
Minuit parameter uncertainties:
  1  1.78404e-07
  2  1.5278e-07
  3  4.13951e-05
  4  0.000490506
  5  1.71944e-06
  6  16.148
  7  5.78808e-09
  8  11.7582
  9  13.8239
  10  1.35295e-05
  11  2.7415
  12  3.63184e-06
  13  1.00989e-07
  14  1.18105e-06
  15  1.97688e-05
  16  0.886425
  17  6.76581e-06
  18  9.50899e-07
  19  3.2723e-05
  20  5.91055
  21  8.86227
  22  0.206903
  23  0.141446
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.029e+01  1.176e+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:  9.404e-01  1.414e-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:  1.258e+00  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 30.27
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.63e-07 +/- 4.76e-08
Energy Flux (Fixed Index): 3.86e-05 +/- 1.13e-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) = 9762.39055382
delta logL = 3.2487312145

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9762.38004672
delta logL = 3.25923831484

Fit tolerance = 1e-08

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

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

 FCN=   9762.380     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      215 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.456        13.400        .15381E-02   -.25704E-02
   2  Index         1.9601        .22757        .13301        .85626E-04
   3  Normalizat    1.3526        .17091        .62429E-01   -.88854E-04
   4  Prefactor     .89708        .11796        .44968E-01   -.22500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.4562
  Index      = 1.96008
  Normalizat = 1.35256
  Prefactor  = 0.897076
 **********
 **   18 **HESSE 
 **********

 FCN=   9762.380     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.456        14.758        .61524E-04   -1.4404    
   2  Index         1.9601        .26897        .54806E-02   -.65352    
   3  Normalizat    1.3526        .20468        .27612E-03   -.82011    
   4  Prefactor     .89708        .14071        .22914E-03   -.96243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99942e-09
Minuit parameter uncertainties:
  1  14.7592
  2  0.269178
  3  0.204807
  4  0.140765
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/383698': 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) = 9762.38004672
delta logL = 3.25923831938

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.246e+01  1.476e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.960e+00  2.692e-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:  8.971e-01  1.408e-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:  1.353e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 36.58
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.96 +/- 0.27
Photon Flux (Free Index): 9.37e-08 +/- 4.00e-08
Energy Flux (Free Index): 7.16e-05 +/- 3.69e-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/383698/cmap_HighResolution_676080001_676339201_4FGL_J2211.2-1325_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.63e-07', energy_flux2='7.16e-05', photon_flux_error='4.76e-08', dlogl='3.26e+00', energy_flux='3.86e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2022-06-08 01:22:14.021298', photon_index_error2='0.27', photon_index2='1.96', ts='30.27', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='1.26', time_epoch_completed='1654676534.02', return_code='0', job_id='383698', GAL2='0.90', EG2='1.35', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='4.00e-08', ts2='36.58', photon_index='2.72' WHERE bin_id='1685' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:22:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 383698: <4FGL_J2211.2-1325_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1685> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jun  8 01:05:45 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:08:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:08:56 2022
Terminated at Wed Jun  8 01:22:14 2022
Results reported at Wed Jun  8 01:22:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1685 332.817 -13.4189 676080001 676339201 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 :                                   680.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             308.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            989 sec.

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

