/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 60 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 = 7398
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1438
RA = 332.817, Dec = -13.4189
tmin = 612057601, tmax = 612316801
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='221078', job_status='RUN', time_executed='2021-09-28 07:01:28.061518', time_epoch_executed='1632837688.06' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/221078

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/221078/ft1_4FGL_J2211.2-1325_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/221078/ft1_4FGL_J2211.2-1325_daily_bin1438.fits outfile=/scratch/kocevski/221078/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1438.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=612057601.0 tmax=612316801.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.52
user 4.24
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.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/221078/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.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.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/221078/ltcube_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.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/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits
.....................!
real 11.85
user 11.39
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/221078/ltcube_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.fits outfile=/scratch/kocevski/221078/expmap_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.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/221078/ltcube_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.fits
.....................!
real 193.52
user 187.34
sys 5.52

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/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits outfile=/scratch/kocevski/221078/cmap_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits outfile=/scratch/kocevski/221078/cmap_HighResolution_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/221078/ft2_4FGL_J2211.2-1325_daily_bin1438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221078/Model_4FGL_J2211.2-1325_daily_bin1438.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/221078/ft1_filtered_4FGL_J2211.2-1325_daily_bin1438.fits.....................!
real 76.87
user 75.10
sys 1.41

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4449       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.4036       1.0000         .10000E-03   10000.    
     4 'norm      '    5.3529       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10347E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.152       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.066       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.438       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.2483       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2804       1.0000         .10000E-03   10000.    
    13 'norm      '    .11680E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.773       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.294       1.0000         .10000E-03   10000.    
    16 'norm      '    .67230       1.0000         .10000E-03   10000.    
    17 'Prefactor '    48.623       1.0000         .10000E-03   10000.    
    18 'norm      '    2.3424       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .44278E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0831       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79594       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=   9143.004     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2646 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.4440        4.5998        .12018E-05    .23575E-03
   2  Prefactor     .10000E-03    3.0803       -.37727E-07** at limit **
   3  Prefactor     8.4020        12.295        .71812E-06   -.76804E-05
   4  norm          5.3523        4.5584       -.75524E-07   -.54279E-05
   5  Prefactor     .10000E-03    1.9497       -.23837E-07** at limit **
   6  Prefactor     24.152        13.236        .10742E-06   -.15402E-04
   7  Prefactor     .10000E-03    2.6086       -.40690E-07** at limit **
   8  Prefactor     11.068        8.9817        .46309E-06   -.58395E-04
   9  Prefactor     16.437        10.668        .14648E-06   -.64795E-04
  10  Prefactor     .10000E-03    14.820       -.34743E-07** at limit **
  11  Prefactor     1.2475        1.6514        .92194E-07    .47668E-04
  12  Prefactor     4.2771        83.376        .23115E-05   -.21638E-05
  13  norm          .10000E-03    .93643        .25128E-06** at limit **
  14  Prefactor     24.776        48.824       -.44016E-06   -.40841E-04
  15  Prefactor     17.296        10.133        .32992E-06   -.35384E-04
  16  norm          .67212        .57823        .17804E-06    .10529E-02
  17  Prefactor     48.690        33.395        .15115E-05   -.18651E-03
  18  norm          2.3369        2.7590       -.68195E-06   -.93329E-03
  19  Prefactor     .10000E-03    20.221        .18856E-05** at limit **
  20  Prefactor     .10031E-03    3.3378        .55999E-06** at limit **
  21  Prefactor     .10000E-03    5.5965        .59123E-06** at limit **
  22  Normalizat    1.0827        .19264       -.48783E-05   -.13505E-03
  23  Prefactor     .79625        .12476        .26979E-05   -.51657E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.44398
  Prefactor  = 0.0001
  Prefactor  = 8.40203
  norm       = 5.35232
  Prefactor  = 0.0001
  Prefactor  = 24.1519
  Prefactor  = 0.0001
  Prefactor  = 11.068
  Prefactor  = 16.4372
  Prefactor  = 0.0001
  Prefactor  = 1.24746
  Prefactor  = 4.27706
  norm       = 0.0001
  Prefactor  = 24.7758
  Prefactor  = 17.2958
  norm       = 0.672118
  Prefactor  = 48.6902
  norm       = 2.33689
  Prefactor  = 0.0001
  Prefactor  = 0.000100315
  Prefactor  = 0.0001
  Normalizat = 1.08268
  Prefactor  = 0.796252
 **********
 **   18 **HESSE 
 **********

 FCN=   9143.004     FROM HESSE     STATUS=OK           390 CALLS     3036 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.4440        4.6788        .26164E-03   -1.5395    
   2  Prefactor     .10000E-03    3.0981        .16387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.4020        12.270        .13829E-03   -1.5128    
   4  norm          5.3523        4.5608        .17370E-03   -1.5245    
   5  Prefactor     .10000E-03    3.9833        .25752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     24.152        13.223        .81509E-04   -1.4725    
   7  Prefactor     .10000E-03    2.6213        .15080E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.068        8.9782        .12044E-03   -1.5042    
   9  Prefactor     16.437        10.627        .98786E-04   -1.4897    
  10  Prefactor     .10000E-03    14.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.2475        1.6206        .13534E-03   -1.5485    
  12  Prefactor     4.2771        82.816        .19473E-03   -1.5294    
  13  norm          .10000E-03    4.4021        .17678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.776        48.564        .80482E-04   -1.4712    
  15  Prefactor     17.296        10.139        .96311E-04   -1.4876    
  16  norm          .67212        .55656        .65336E-03   -1.5544    
  17  Prefactor     48.690        33.701        .57507E-04   -1.4311    
  18  norm          2.3369        2.8002        .70890E-04   -1.5402    
  19  Prefactor     .10000E-03    20.546        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10031E-03    3.9591        .69583E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.6287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0827        .19863        .26412E-03   -.90310    
  23  Prefactor     .79625        .13082        .20940E-03   -.99867    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56021e-10
Minuit parameter uncertainties:
  1  4.67949
  2  1.50167e-06
  3  12.2734
  4  4.56109
  5  3.67199e-05
  6  13.2249
  7  3.14005e-06
  8  8.97929
  9  10.6281
  10  4.45157e-06
  11  1.6207
  12  37.7008
  13  3.39337e-05
  14  48.6412
  15  10.1404
  16  0.556569
  17  33.7142
  18  2.80039
  19  0.000200067
  20  0.00223293
  21  3.03029e-05
  22  0.19877
  23  0.13087
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.107e+01  8.979e+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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  7.963e-01  1.309e-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.083e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.05
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 4.49e-08 +/- 3.64e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 8.60e-06

TS (Fixed Index): 2.05
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/221078/likelihoodResults_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.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) = 9142.25582866
delta logL = 0.748525985549

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9142.24263738
delta logL = 0.761717271593

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7076       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9081       1.0000          .0000       10.000    
     3 'Normalizat'    1.0405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81764       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=   9142.243     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      247 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7051        46.223        .46366E-02    .56313E-03
   2  Index         3.9077        3.5262        .20351        .13065E-03
   3  Normalizat    1.0406        .49176E-01    .60742E-01   -.47060E-05
   4  Prefactor     .81761        .33935E-01    .43946E-01   -.14308E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.70514
  Index      = 3.9077
  Normalizat = 1.04061
  Prefactor  = 0.817607
 **********
 **   18 **HESSE 
 **********

 FCN=   9142.243     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .54E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7051        12.942        .12042E-03   -1.5274    
   2  Index         3.9077        2.1081        .71418E-02   -.22024    
   3  Normalizat    1.0406        .18994        .26864E-03   -.91682    
   4  Prefactor     .81761        .12960        .20690E-03   -.99083    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38535e-08
Minuit parameter uncertainties:
  1  12.9497
  2  2.17986
  3  0.190067
  4  0.12965
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/221078': 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) = 9142.24263618
delta logL = 0.761718466982

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  4.705e+00  1.295e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  3.908e+00  2.180e+00  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.176e-01  1.296e-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.041e+00  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 3.91 +/- 2.18
Photon Flux (Free Index): 7.17e-08 +/- 4.46e-08
Energy Flux (Free Index): 1.09e-05 +/- 8.22e-06

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/221078/cmap_HighResolution_612057601_612316801_4FGL_J2211.2-1325_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', comment='SUCCESS', photon_flux='4.49e-08', energy_flux2='1.09e-05', photon_flux_error='3.64e-08', dlogl='7.62e-01', energy_flux='1.06e-05', photon_flux2='7.17e-08', job_status='DONE', time_completed='2021-09-28 07:14:31.242699', photon_index_error2='2.18', photon_index2='3.91', ts='2.05', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.17e-07', energy_flux_error2='8.22e-06', EG='1.08', time_epoch_completed='1632838471.24', return_code='0', job_id='221078', GAL2='0.82', EG2='1.04', return_code2='0', energy_flux_error='8.60e-06', photon_flux_error2='4.46e-08', ts2='3.70', photon_index='2.72' WHERE bin_id='1438' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:14:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 221078: <4FGL_J2211.2-1325_daily_bin1438> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1438> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 07:00:17 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:00:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:00:19 2021
Terminated at Tue Sep 28 07:14:32 2021
Results reported at Tue Sep 28 07:14:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1438 332.817 -13.4189 612057601 612316801 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 :                                   778.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            855 sec.

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

