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


Performing analysis on: 4FGL_J2211.2-1325_weekly_bin733
RA = 332.817, Dec = -13.4189
tmin = 682300801, tmax = 682905601
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='341279', job_status='RUN', time_executed='2022-09-17 05:22:18.746412', time_epoch_executed='1663417338.75' WHERE source_name='4FGL J2211.2-1325' and cadence='weekly' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/341279

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/341279/ft1_4FGL_J2211.2-1325_weekly_bin733.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/341279/ft1_4FGL_J2211.2-1325_weekly_bin733.fits outfile=/scratch/kocevski/341279/ft1_filteredMKT_4FGL_J2211.2-1325_weekly_bin733.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=682300801.0 tmax=682905601.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 7.99
user 7.60
sys 0.31

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

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

Number of photons that the gtmktime cut: 982

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/341279/ltcube_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.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/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits
.....................!
real 34.36
user 33.75
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/341279/ltcube_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits outfile=/scratch/kocevski/341279/expmap_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.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/341279/ltcube_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits
.....................!
real 192.28
user 186.93
sys 4.72

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/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits scfile=/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits outfile=/scratch/kocevski/341279/cmap_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.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.60
user 0.43
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits scfile=/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits outfile=/scratch/kocevski/341279/cmap_HighResolution_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.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.63
user 0.42
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/341279/Model_4FGL_J2211.2-1325_weekly_bin733.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/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits.....................!
real 97.01
user 95.49
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits', '/scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits', expMap='/scratch/kocevski/341279/expmap_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits', expCube='/scratch/kocevski/341279/ltcube_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/341279/Model_4FGL_J2211.2-1325_weekly_bin733.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  0.000e+00  1.000e+06 ( 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/341279/ft1_filtered_4FGL_J2211.2-1325_weekly_bin733.fits
Spacecraft file(s): /scratch/kocevski/341279/ft2_4FGL_J2211.2-1325_weekly_bin733.fits
Exposure map: /scratch/kocevski/341279/expmap_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits
Exposure cube: /scratch/kocevski/341279/ltcube_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/341279/Model_4FGL_J2211.2-1325_weekly_bin733.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) = 11296.5358067

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22204E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21479E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.7588       1.0000          .0000       .10000E+07
     4 'norm      '    .12308E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .36082E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    31.257       1.0000          .0000       .10000E+07
     7 'Prefactor '    .40868E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    26.202       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.1995       1.0000          .0000       .10000E+07
    10 'Prefactor '    .19484E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    21.386       1.0000          .0000       .10000E+07
    12 'norm      '    1.5079       1.0000          .0000       .10000E+07
    13 'Prefactor '    .21092E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    19.121       1.0000          .0000       .10000E+07
    15 'norm      '    1.4744       1.0000          .0000       .10000E+07
    16 'Prefactor '    5.8875       1.0000          .0000       .10000E+07
    17 'norm      '    .29032E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87170E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    1.8581       1.0000          .0000       .10000E+07
    20 'Normalizat'    .67833       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1497       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11296.42     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1351 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.7181        .43349E-06** at limit **
   2  Prefactor     .59841E-07    48.418        .22952E-06** at limit **
   3  Prefactor     5.7828        9.6517       -.44136E-06   -.35659E-01
   4  norm           .0000        6.5225       -.29456E-07** at limit **
   5  Prefactor      .0000        1.4103       -.82599E-07** at limit **
   6  Prefactor     31.563        12.084        .37269E-06   -.78469E-01
   7  Prefactor      .0000        2.8147        .51791E-06** at limit **
   8  Prefactor     26.097        7.4471        .17031E-07    .72096E-01
   9  Prefactor     5.1814        7.2167        .38836E-07   -.37340E-02
  10  Prefactor      .0000        1.7562        .42936E-06** at limit **
  11  Prefactor     21.394        4.7919       -.18924E-07    .12017E-01
  12  norm          1.5115        2.6520        .76923E-07    .11712E-03
  13  Prefactor     .53747E-05    37.103       -.20275E-05** at limit **
  14  Prefactor     19.343        5.9839        .15341E-06    .88382E-01
  15  norm          1.4746        .69218        .11886E-07    .19706E-02
  16  Prefactor     5.9373        7.7422       -.55648E-06    .32337E-02
  17  norm           .0000        .69909       -.10485E-06** at limit **
  18  Prefactor     .27746E-04    541.81       -.73359E-06** at limit **
  19  Prefactor     1.7888        7.4815       -.44809E-06   -.35400E-01
  20  Normalizat    .67787        .17579       -.75948E-05   -.74952E-04
  21  Prefactor     1.1498        .11949        .15325E-05   -.11810E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.9841e-08
  Prefactor  = 5.78279
  norm       = 0
  Prefactor  = 0
  Prefactor  = 31.5628
  Prefactor  = 0
  Prefactor  = 26.0972
  Prefactor  = 5.1814
  Prefactor  = 0
  Prefactor  = 21.3941
  norm       = 1.51151
  Prefactor  = 5.3747e-06
  Prefactor  = 19.3433
  norm       = 1.47464
  Prefactor  = 5.93734
  norm       = 0
  Prefactor  = 2.77459e-05
  Prefactor  = 1.78879
  Normalizat = 0.677874
  Prefactor  = 1.14978
 **********
 **   18 **HESSE 
 **********

 FCN=   11296.42     FROM HESSE     STATUS=OK           381 CALLS     1732 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.7097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .59841E-07    3.6037        .70512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7828        12.478        .41830E-03   -1.5660    
   4  norm           .0000        6.3466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.4120        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     31.563        15.806        .17889E-03   -1.5596    
   7  Prefactor      .0000        2.8109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.097        12.098        .19540E-03   -1.5606    
   9  Prefactor     5.1814        7.3051        .44061E-03   -1.5662    
  10  Prefactor      .0000        1.7470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     21.394        37.532        .21630E-03   -1.5615    
  12  norm          1.5115        2.7014        .87097E-03   -1.5683    
  13  Prefactor     .53747E-05    186.44        .16966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.343        14.477        .22877E-03   -1.5620    
  15  norm          1.4746        .70263        .88428E-03   -1.5684    
  16  Prefactor     5.9373        9.7728        .41364E-03   -1.5659    
  17  norm           .0000        .47174        .21071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .27746E-04    10.829        .14287E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.7888        27.374        .76426E-03   -1.5681    
  20  Normalizat    .67787        .16662        .77689E-01   -1.0477    
  21  Prefactor     1.1498        .10469        .35944E-01   -.87891    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.84188e-07
Minuit parameter uncertainties:
  1  1.17188e-06
  2  0.000928644
  3  12.4782
  4  4.60111e-06
  5  7.33878e-06
  6  15.8056
  7  5.35849e-06
  8  12.0983
  9  7.30513
  10  1.5959e-06
  11  37.5328
  12  2.70145
  13  0.0633132
  14  14.4773
  15  0.702626
  16  9.77287
  17  2.22204e-06
  18  0.0346679
  19  13.9952
  20  0.166742
  21  0.104711
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.610e+01  1.210e+01  0.000e+00  1.000e+06 ( 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.150e+00  1.047e-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:  6.779e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.14
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.90e-08
Energy Flux (Fixed Index): 2.50e-05 +/- 1.16e-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) = 11296.0003464
delta logL = 0.421419482675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11295.9417065
delta logL = 0.48005936568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.944       1.0000          .0000       .10000E+07
     2 'Index     '    3.2281       1.0000          .0000       10.000    
     3 'Normalizat'    .63726       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1700       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=   11295.94     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      264 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.955        110.62        .22400E-03    .77583E-03
   2  Index         3.2290        3.2336        .17580        .16243E-03
   3  Normalizat    .63705        .62263E-01    .79921E-01    .63138E-04
   4  Prefactor     1.1700        .42051E-01    .35381E-01    .54635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.9548
  Index      = 3.22899
  Normalizat = 0.637049
  Prefactor  = 1.16996
 **********
 **   18 **HESSE 
 **********

 FCN=   11295.94     FROM HESSE     STATUS=OK            33 CALLS      297 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.955        13.443        .89598E-05   -1.5619    
   2  Index         3.2290        .60359        .65914E-02   -.36206    
   3  Normalizat    .63705        .18219        .35390E-03   -1.0643    
   4  Prefactor     1.1700        .12177        .18361E-03   -.87261    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.1162e-09
Minuit parameter uncertainties:
  1  13.4428
  2  0.605277
  3  0.182361
  4  0.121795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/341279': 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) = 11295.9416972
delta logL = 0.480068678396

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.995e+01  1.344e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  3.229e+00  6.053e-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.170e+00  1.218e-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:  6.370e-01  1.824e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.39
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.23 +/- 0.61
Photon Flux (Free Index): 1.37e-07 +/- 6.08e-08
Energy Flux (Free Index): 2.49e-05 +/- 1.06e-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/341279/cmap_HighResolution_682300801_682905601_4FGL_J2211.2-1325_weekly_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='2.49e-05', photon_flux_error='4.90e-08', dlogl='4.80e-01', energy_flux='2.50e-05', photon_flux2='1.37e-07', job_status='DONE', time_completed='2022-09-17 05:33:41.160589', photon_index_error2='0.61', photon_index2='3.23', ts='7.14', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.06e-05', EG='0.68', time_epoch_completed='1663418021.16', return_code='0', job_id='341279', GAL2='1.17', EG2='0.64', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='6.08e-08', ts2='8.39', photon_index='2.72' WHERE bin_id='733' AND source_name='4FGL J2211.2-1325' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Sep 17 05:33:41 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 341279: <4FGL_J2211.2-1325_weekly_bin733> in cluster <slac> Done

Job <4FGL_J2211.2-1325_weekly_bin733> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 17 05:20:23 2022
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 17 05:20:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 17 05:20:48 2022
Terminated at Sat Sep 17 05:33:42 2022
Results reported at Sat Sep 17 05:33:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_weekly_bin733 332.817 -13.4189 682300801 682905601 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 :                                   682.00 sec.
    Max Memory :                                 1077 MB
    Average Memory :                             312.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            799 sec.

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

