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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1379
RA = 332.817, Dec = -13.4189
tmin = 596764801, tmax = 597024001
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='218376', job_status='RUN', time_executed='2021-09-28 06:52:52.357385', time_epoch_executed='1632837172.36' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1379'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218376

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218376/ft1_4FGL_J2211.2-1325_daily_bin1379.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218376/ft1_4FGL_J2211.2-1325_daily_bin1379.fits outfile=/scratch/kocevski/218376/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1379.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=596764801.0 tmax=597024001.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.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits" evtable="EVENTS" scfile=/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits sctable="SC_DATA" outfile=/scratch/kocevski/218376/ltcube_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.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/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits
.....................!
real 11.69
user 11.32
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits sctable="SC_DATA" expcube=/scratch/kocevski/218376/ltcube_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.fits outfile=/scratch/kocevski/218376/expmap_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.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/218376/ltcube_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.fits
.....................!
real 191.77
user 186.36
sys 5.09

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/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits scfile=/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits outfile=/scratch/kocevski/218376/cmap_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits scfile=/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits outfile=/scratch/kocevski/218376/cmap_HighResolution_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits evtable="EVENTS" scfile=/scratch/kocevski/218376/ft2_4FGL_J2211.2-1325_daily_bin1379.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218376/Model_4FGL_J2211.2-1325_daily_bin1379.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/218376/ft1_filtered_4FGL_J2211.2-1325_daily_bin1379.fits.....................!
real 49.48
user 48.22
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7782       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.0800       1.0000         .10000E-03   10000.    
     3 'Prefactor '    36.037       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .59466       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1332       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2076       1.0000         .10000E-03   10000.    
    12 'Prefactor '    128.79       1.0000         .10000E-03   10000.    
    13 'norm      '    .12540E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.643       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.662       1.0000         .10000E-03   10000.    
    16 'norm      '    .10515E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.216       1.0000         .10000E-03   10000.    
    18 'norm      '    .84315       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.6568       1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.208       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82579       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0562       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=   5012.580     FROM MIGRAD    STATUS=CONVERGED    527 CALLS     2641 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7757        8.5884        .34443E-05    .75970E-03
   2  Prefactor     8.0798        10.342        .50312E-07    .37589E-05
   3  Prefactor     36.027        28.078        .53384E-06    .62313E-04
   4  norm          .10000E-03    15.888       -.26735E-06** at limit **
   5  Prefactor     .56591        4.3336        .27827E-06   -.13454E-03
   6  Prefactor     .10000E-03    42.929       -.43480E-07** at limit **
   7  Prefactor     .10000E-03    5.0573       -.53053E-08** at limit **
   8  Prefactor     .10000E-03    5.2380       -.91151E-07** at limit **
   9  Prefactor     2.1252        18.177        .73405E-06   -.15658E-04
  10  Prefactor     .10000E-03    84.490        .17097E-07** at limit **
  11  Prefactor     2.2090        3.8315        .36754E-07   -.13912E-03
  12  Prefactor     128.75        88.333        .89333E-06   -.47090E-04
  13  norm          .10030E-03    4.5622        .21980E-05** at limit **
  14  Prefactor     29.649        60.341        .29703E-07   -.27741E-04
  15  Prefactor     20.664        17.427        .56116E-07    .99590E-05
  16  norm          .10000E-03    .53260       -.36201E-06** at limit **
  17  Prefactor     72.244        40.389        .52619E-06    .21592E-03
  18  norm          .84149        2.7382       -.34774E-06   -.24365E-03
  19  Prefactor     .10000E-03    29.988        .39731E-06** at limit **
  20  Prefactor     1.6560        23.039        .10966E-05    .32489E-04
  21  Prefactor     24.208        26.925        .17476E-06    .19568E-04
  22  Normalizat    .82572        .25486        .22026E-06   -.17155E-04
  23  Prefactor     1.0564        .15903       -.55938E-06    .11509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.77571
  Prefactor  = 8.07981
  Prefactor  = 36.0274
  norm       = 0.0001
  Prefactor  = 0.565914
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.12519
  Prefactor  = 0.000100001
  Prefactor  = 2.20904
  Prefactor  = 128.751
  norm       = 0.000100299
  Prefactor  = 29.6489
  Prefactor  = 20.6636
  norm       = 0.0001
  Prefactor  = 72.2443
  norm       = 0.84149
  Prefactor  = 0.000100001
  Prefactor  = 1.65605
  Prefactor  = 24.208
  Normalizat = 0.825718
  Prefactor  = 1.05639
 **********
 **   18 **HESSE 
 **********

 FCN=   5012.580     FROM HESSE     STATUS=OK           378 CALLS     3019 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7757        8.8932        .92029E-03   -1.5271    
   2  Prefactor     8.0798        10.337        .14105E-03   -1.5139    
   3  Prefactor     36.027        28.082        .66759E-04   -1.4507    
   4  norm          .10000E-03    16.634        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .56591        16.365        .27084E-02   -1.5558    
   6  Prefactor     .10000E-03    43.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.0702        .15549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.2466        .15824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1252        17.530        .28226E-03   -1.5416    
  10  Prefactor     .10000E-03    84.568        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2090        3.7374        .16464E-03   -1.5411    
  12  Prefactor     128.75        88.283        .17738E-03   -1.3434    
  13  norm          .10030E-03    20.702        .19830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.649        60.125        .73588E-04   -1.4618    
  15  Prefactor     20.664        17.455        .88116E-04   -1.4799    
  16  norm          .10000E-03    .78556        .97269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     72.244        39.310        .47242E-04   -1.4006    
  18  norm          .84149        2.6719        .11610E-03   -1.5525    
  19  Prefactor     .10000E-03    30.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.6560        23.046        .32785E-03   -1.5451    
  21  Prefactor     24.208        26.923        .81414E-04   -1.4724    
  22  Normalizat    .82572        .29286        .33031E-03   -.99122    
  23  Prefactor     1.0564        .18488        .19861E-03   -.90873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53013e-08
Minuit parameter uncertainties:
  1  8.89568
  2  10.3397
  3  28.0925
  4  8.61661e-05
  5  6.08764
  6  0.000551542
  7  4.24257e-07
  8  1.10565e-05
  9  12.2117
  10  0.00054702
  11  3.73775
  12  88.3733
  13  0.0049776
  14  60.2482
  15  17.4589
  16  5.34873e-06
  17  39.3241
  18  2.67225
  19  0.000336884
  20  12.361
  21  26.9361
  22  0.293418
  23  0.18499
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  1.106e-05  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.056e+00  1.850e-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:  8.257e-01  2.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 9.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218376/likelihoodResults_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.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): 102
logL (Free Index) = 5012.58126115
delta logL = -0.00090637457015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5012.58035478
delta logL = -5.78802428208e-09

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 'Index     '    2.7262       1.0000          .0000       10.000    
     3 'Normalizat'    .82572       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0564       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=   5012.580     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      240 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    433.19        .15825E-02** at limit **
   2  Index         2.7490        7.8672        .50000       -.20411E-05
   3  Normalizat    .82572        .59306E-01    .33031E-03   -.23129E-04
   4  Prefactor     1.0564        .40143E-01    .19861E-03   -.13051E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010005
  Index      = 2.74897
  Normalizat = 0.825718
  Prefactor  = 1.05639
 **********
 **   18 **HESSE 
 **********

 FCN=   5012.580     FROM HESSE     STATUS=OK            29 CALLS      269 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    77.053        .31650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7490        5.9076        .50000       -.46700    
   3  Normalizat    .82572        .26740        .13213E-04   -.99122    
   4  Prefactor     1.0564        .18117        .79442E-05   -.90873    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.035e-08
Minuit parameter uncertainties:
  1  0.00394583
  2  853.113
  3  0.267827
  4  0.181272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218376': 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) = 5012.58035476
delta logL = 8.27549229143e-09

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.001e-04  3.946e-03  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.749e+00  8.531e+02  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.056e+00  1.813e-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:  8.257e-01  2.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.817 -13.419

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/218376/cmap_HighResolution_596764801_597024001_4FGL_J2211.2-1325_daily_bin1379.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.69e-03', job_status='DONE', photon_flux_upper_limit='9.76e-08', time_completed='2021-09-28 07:05:18.003746', job_id='218376', GAL2='1.06', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1632837918.0', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='8.28e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1379' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:05:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 218376: <4FGL_J2211.2-1325_daily_bin1379> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1379> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:05 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:51:07 2021
Terminated at Tue Sep 28 07:05:18 2021
Results reported at Tue Sep 28 07:05:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1379 332.817 -13.4189 596764801 597024001 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 :                                   550.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            853 sec.

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

