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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1464
RA = 332.817, Dec = -13.4189
tmin = 618796801, tmax = 619056001
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='218516', job_status='RUN', time_executed='2021-09-28 06:51:43.817780', time_epoch_executed='1632837103.82' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1464'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/218516

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/218516/ft1_4FGL_J2211.2-1325_daily_bin1464.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/218516/ft1_4FGL_J2211.2-1325_daily_bin1464.fits outfile=/scratch/kocevski/218516/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1464.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=618796801.0 tmax=619056001.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.68
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits" evtable="EVENTS" scfile=/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits sctable="SC_DATA" outfile=/scratch/kocevski/218516/ltcube_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.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/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits
.....................!
real 11.63
user 11.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits sctable="SC_DATA" expcube=/scratch/kocevski/218516/ltcube_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.fits outfile=/scratch/kocevski/218516/expmap_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.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/218516/ltcube_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.fits
.....................!
real 190.08
user 185.03
sys 4.54

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/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits scfile=/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits outfile=/scratch/kocevski/218516/cmap_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits scfile=/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits outfile=/scratch/kocevski/218516/cmap_HighResolution_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits evtable="EVENTS" scfile=/scratch/kocevski/218516/ft2_4FGL_J2211.2-1325_daily_bin1464.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/218516/Model_4FGL_J2211.2-1325_daily_bin1464.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/218516/ft1_filtered_4FGL_J2211.2-1325_daily_bin1464.fits.....................!
real 47.95
user 46.59
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3672       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7106       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.980       1.0000         .10000E-03   10000.    
     4 'norm      '    6.1336       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .99252       1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.307       1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.632       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    62.254       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4599       1.0000         .10000E-03   10000.    
    12 'Prefactor '    70.677       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7653       1.0000         .10000E-03   10000.    
    14 'Prefactor '    85.835       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.8866       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1586       1.0000         .10000E-03   10000.    
    18 'norm      '    .65223       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.400       1.0000         .10000E-03   10000.    
    20 'Prefactor '    32.545       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .59109       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1593       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=   4848.496     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2911 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.3691        9.3040        .53499E-07   -.49010E-05
   2  Prefactor     5.7174        15.767        .20314E-05    .55220E-05
   3  Prefactor     26.984        20.454        .78742E-06    .23688E-04
   4  norm          6.1344        6.7639        .12452E-07   -.44085E-06
   5  Prefactor     .10000E-03    8.5389       -.44007E-06** at limit **
   6  Prefactor     .99773        70.396       -.92401E-05    .55852E-05
   7  Prefactor     15.306        17.262       -.40571E-06   -.64228E-05
   8  Prefactor     22.627        18.796       -.33491E-06    .20298E-04
   9  Prefactor     .10000E-03    3.5117       -.78414E-07** at limit **
  10  Prefactor     62.256        89.125       -.19508E-06    .31411E-05
  11  Prefactor     4.4594        3.9047       -.64792E-07    .12064E-04
  12  Prefactor     70.728        68.171       -.50057E-05   -.86240E-05
  13  norm          2.7661        3.9716       -.51377E-06   -.18973E-06
  14  Prefactor     85.848        88.124       -.12210E-05   -.81919E-06
  15  Prefactor     .10000E-03    10.225       -.17173E-06** at limit **
  16  norm          1.8867        1.0954        .82870E-08    .10654E-03
  17  Prefactor     7.0840        75.336       -.14545E-06    .11804E-04
  18  norm          .65924        4.3485       -.10066E-05    .44272E-04
  19  Prefactor     26.453        53.699        .30610E-05    .87227E-05
  20  Prefactor     32.540        19.186       -.55084E-06    .61806E-05
  21  Prefactor     .10000E-03    5.5961       -.17149E-06** at limit **
  22  Normalizat    .59161        .26798        .20676E-05    .13766E-04
  23  Prefactor     1.1590        .17328       -.27711E-06    .11164E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.3691
  Prefactor  = 5.71744
  Prefactor  = 26.9841
  norm       = 6.13437
  Prefactor  = 0.0001
  Prefactor  = 0.997731
  Prefactor  = 15.3061
  Prefactor  = 22.6271
  Prefactor  = 0.0001
  Prefactor  = 62.2556
  Prefactor  = 4.45943
  Prefactor  = 70.7283
  norm       = 2.76607
  Prefactor  = 85.8482
  Prefactor  = 0.0001
  norm       = 1.88675
  Prefactor  = 7.08401
  norm       = 0.659236
  Prefactor  = 26.4533
  Prefactor  = 32.5405
  Prefactor  = 0.0001
  Normalizat = 0.591607
  Prefactor  = 1.15896
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.496     FROM HESSE     STATUS=OK           382 CALLS     3293 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.3691        9.3060        .13859E-03   -1.5129    
   2  Prefactor     5.7174        15.758        .16808E-03   -1.5230    
   3  Prefactor     26.984        20.359        .77126E-04   -1.4669    
   4  norm          6.1344        6.7641        .16211E-03   -1.5213    
   5  Prefactor     .10000E-03    8.7752        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .99773        70.829        .47030E-02   -1.5508    
   7  Prefactor     15.306        17.261        .10237E-03   -1.4925    
   8  Prefactor     22.627        18.662        .84197E-04   -1.4756    
   9  Prefactor     .10000E-03    3.5176        .12742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     62.256        88.985        .50857E-04   -1.4128    
  11  Prefactor     4.4594        3.8962        .12322E-03   -1.5286    
  12  Prefactor     70.728        68.267        .23875E-03   -1.4024    
  13  norm          2.7661        3.9441        .15448E-03   -1.5375    
  14  Prefactor     85.848        88.026        .21681E-03   -1.3852    
  15  Prefactor     .10000E-03    10.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.8867        1.0930        .52952E-04   -1.5433    
  17  Prefactor     7.0840        75.720        .14992E-03   -1.5176    
  18  norm          .65924        4.3973        .10383E-03   -1.5546    
  19  Prefactor     26.453        53.531        .77966E-04   -1.4679    
  20  Prefactor     32.540        19.216        .70239E-04   -1.4566    
  21  Prefactor     .10000E-03    5.5971        .16088E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .59161        .29172        .38182E-03   -1.0834    
  23  Prefactor     1.1590        .19227        .19267E-03   -.87604    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.13438e-11
Minuit parameter uncertainties:
  1  9.30765
  2  15.7697
  3  20.3639
  4  6.76494
  5  1.90064e-05
  6  16.8328
  7  17.2669
  8  18.6672
  9  4.69084e-07
  10  89.1763
  11  3.8964
  12  68.3431
  13  3.94448
  14  88.1598
  15  4.08948e-06
  16  1.09305
  17  46.3955
  18  3.40531
  19  53.6282
  20  19.2191
  21  1.3521e-06
  22  0.292485
  23  0.192386
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.159e+00  1.924e-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:  5.916e-01  2.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.09
Ra Dec: 332.817 -13.419
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 9.17e-08 +/- 7.56e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.79e-05

TS (Fixed Index): 2.09
Ra Dec: 332.817 -13.419
Photon Flux Upper Limit: 2.41e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.90e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/218516/likelihoodResults_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.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) = 4848.27369833
delta logL = 0.222135541025

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4848.2547626
delta logL = 0.241071272887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.172       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2683       1.0000          .0000       10.000    
     3 'Normalizat'    .62421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1388       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=   4848.255     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      268 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.176        21.320        .75481E-04   -.15351E-03
   2  Index         2.2684        .57190        .76329E-02   -.48022E-04
   3  Normalizat    .62417        .27606        .37224E-03   -.33434E-03
   4  Prefactor     1.1387        .18901        .19402E-03   -.58066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.1761
  Index      = 2.26842
  Normalizat = 0.624173
  Prefactor  = 1.13874
 **********
 **   18 **HESSE 
 **********

 FCN=   4848.255     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.176        21.320        .15096E-04   -1.4646    
   2  Index         2.2684        .57176        .30532E-03   -.57796    
   3  Normalizat    .62417        .27622        .14889E-04   -1.0697    
   4  Prefactor     1.1387        .18906        .38804E-04   -.88238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50538e-10
Minuit parameter uncertainties:
  1  21.3258
  2  0.573551
  3  0.276837
  4  0.189175
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/218516': 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) = 4848.2547618
delta logL = 0.24107207555

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  2.818e+01  2.133e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.268e+00  5.736e-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.139e+00  1.892e-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.242e-01  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.53
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 2.27 +/- 0.57
Photon Flux (Free Index): 7.62e-08 +/- 6.72e-08
Energy Flux (Free Index): 3.04e-05 +/- 2.75e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/218516/cmap_HighResolution_618796801_619056001_4FGL_J2211.2-1325_daily_bin1464.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', comment='SUCCESS', photon_flux='9.17e-08', energy_flux2='3.04e-05', photon_flux_error='7.56e-08', dlogl='2.41e-01', energy_flux='2.17e-05', photon_flux2='7.62e-08', job_status='DONE', time_completed='2021-09-28 07:01:24.184657', photon_index_error2='0.57', photon_index2='2.27', ts='2.09', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='2.41e-07', energy_flux_error2='2.75e-05', EG='0.59', time_epoch_completed='1632837684.18', return_code='0', job_id='218516', GAL2='1.14', EG2='0.62', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='6.72e-08', ts2='2.53', photon_index='2.72' WHERE bin_id='1464' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 218516: <4FGL_J2211.2-1325_daily_bin1464> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1464> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:51:19 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:51:20 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:20 2021
Terminated at Tue Sep 28 07:01:24 2021
Results reported at Tue Sep 28 07:01:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1464 332.817 -13.4189 618796801 619056001 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 :                                   549.45 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             276.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   604 sec.
    Turnaround time :                            605 sec.

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

