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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin456
RA = 332.817, Dec = -13.4189
tmin = 357523201, tmax = 357782401
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='214789', job_status='RUN', time_executed='2021-09-28 06:42:25.504226', time_epoch_executed='1632836545.5' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/214789

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/214789/ft1_4FGL_J2211.2-1325_daily_bin456.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/214789/ft1_4FGL_J2211.2-1325_daily_bin456.fits outfile=/scratch/kocevski/214789/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin456.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=357523201.0 tmax=357782401.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.65
user 3.34
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits" evtable="EVENTS" scfile=/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits sctable="SC_DATA" outfile=/scratch/kocevski/214789/ltcube_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.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/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits
.....................!
real 11.92
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits sctable="SC_DATA" expcube=/scratch/kocevski/214789/ltcube_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.fits outfile=/scratch/kocevski/214789/expmap_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.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/214789/ltcube_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.fits
.....................!
real 191.05
user 185.58
sys 5.11

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/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits scfile=/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits outfile=/scratch/kocevski/214789/cmap_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits scfile=/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits outfile=/scratch/kocevski/214789/cmap_HighResolution_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/214789/ft2_4FGL_J2211.2-1325_daily_bin456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/214789/Model_4FGL_J2211.2-1325_daily_bin456.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/214789/ft1_filtered_4FGL_J2211.2-1325_daily_bin456.fits.....................!
real 53.73
user 52.40
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.666       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.2579       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.320       1.0000         .10000E-03   10000.    
     4 'norm      '    3.7536       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12036E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12565E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.9316       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39842E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3132       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.1152       1.0000         .10000E-03   10000.    
    16 'norm      '    1.8813       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13346E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .63869       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.999       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2647       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .82968       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=   5594.670     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2211 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.666        7.1031        .75643E-07   -.32444E-04
   2  Prefactor     7.2590        6.9987       -.58933E-06   -.28524E-03
   3  Prefactor     10.312        14.919        .32408E-06   -.36231E-04
   4  norm          3.7538        4.1525       -.29571E-07    .12833E-04
   5  Prefactor     .10000E-03    3.5682       -.21903E-08** at limit **
   6  Prefactor     .10000E-03    50.843        .12315E-05** at limit **
   7  Prefactor     .10000E-03    4.9687        .39449E-07** at limit **
   8  Prefactor     .10007E-03    9.2422       -.23561E-07** at limit **
   9  Prefactor     6.9301        8.1673        .11961E-05   -.14227E-03
  10  Prefactor     .10006E-03    347.38       -.17103E-04** at limit **
  11  Prefactor     .10000E-03    3.4551       -.20816E-07** at limit **
  12  Prefactor     .10000E-03    23.583        .27732E-05** at limit **
  13  norm          1.3141        4.1137        .80550E-06    .88915E-05
  14  Prefactor     .10000E-03    24.572       -.84231E-06** at limit **
  15  Prefactor     5.1105        14.813        .56820E-05   -.14715E-03
  16  norm          1.8815        .97114       -.53001E-08    .14612E-03
  17  Prefactor     .10000E-03    24.299       -.16116E-05** at limit **
  18  norm          .63925        .89604       -.85312E-07    .24073E-03
  19  Prefactor     17.012        28.105        .41143E-07    .81230E-04
  20  Prefactor     .10000E-03    2.9897        .69971E-08** at limit **
  21  Prefactor     .10000E-03    7.5061        .19489E-07** at limit **
  22  Normalizat    1.2649        .22201       -.14836E-05    .44164E-04
  23  Prefactor     .82963        .14127       -.13024E-07   -.48775E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6659
  Prefactor  = 7.25902
  Prefactor  = 10.3123
  norm       = 3.75385
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 6.93012
  Prefactor  = 0.000100058
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.31415
  Prefactor  = 0.0001
  Prefactor  = 5.11053
  norm       = 1.88145
  Prefactor  = 0.0001
  norm       = 0.63925
  Prefactor  = 17.0119
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26487
  Prefactor  = 0.829625
 **********
 **   18 **HESSE 
 **********

 FCN=   5594.670     FROM HESSE     STATUS=OK           376 CALLS     2587 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.666        7.1031        .11255E-03   -1.4996    
   2  Prefactor     7.2590        7.0657        .14889E-03   -1.5169    
   3  Prefactor     10.312        14.920        .12473E-03   -1.5066    
   4  norm          3.7538        4.1553        .15648E-03   -1.5320    
   5  Prefactor     .10000E-03    3.6099        .13792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    52.351        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.9816        .16283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10007E-03    101.77        .42969E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.9301        8.1903        .76191E-03   -1.5181    
  10  Prefactor     .10006E-03    368.88        .21265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.5988        .27116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3141        4.1241        .24979E-03   -1.5479    
  14  Prefactor     .10000E-03    24.635        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.1105        15.099        .88883E-03   -1.5256    
  16  norm          1.8815        .96924        .50982E-04   -1.5434    
  17  Prefactor     .10000E-03    24.761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .63925        .84270        .71848E-03   -1.5548    
  19  Prefactor     17.012        27.796        .97141E-04   -1.4883    
  20  Prefactor     .10000E-03    2.9899        .12631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    7.5199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2649        .26274        .26419E-03   -.84621    
  23  Prefactor     .82963        .17022        .21322E-03   -.98645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18977e-09
Minuit parameter uncertainties:
  1  7.10355
  2  7.06647
  3  14.9257
  4  4.15557
  5  4.24258e-06
  6  0.000329496
  7  5.49632e-06
  8  0.00548997
  9  8.19165
  10  0.0092875
  11  1.37642e-06
  12  0.000453336
  13  4.125
  14  0.000136807
  15  15.1104
  16  0.969249
  17  0.000213393
  18  0.842716
  19  27.8171
  20  9.87395e-08
  21  1.92709e-06
  22  0.263015
  23  0.170331
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.001e-04  5.490e-03  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:  8.296e-01  1.703e-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.265e+00  2.630e-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: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/214789/likelihoodResults_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.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) = 5594.67029032
delta logL = -4.55577201137e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5594.4487334
delta logL = 0.221511362754

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21744       1.0000         .10000E-03   10000.    
     2 'Index     '    5.8929       1.0000          .0000       10.000    
     3 'Normalizat'    1.2068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85497       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=   5594.449     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      455 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21707        6.1155        .10057E-01    .20153E-02
   2  Index         5.8941        7.5066        .20484        .83523E-04
   3  Normalizat    1.2069        .37901E-01    .60964E-01    .48740E-05
   4  Prefactor     .85494        .25477E-01    .44428E-01    .22890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.217069
  Index      = 5.8941
  Normalizat = 1.20688
  Prefactor  = 0.854937
 **********
 **   18 **HESSE 
 **********

 FCN=   5594.449     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      488 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21707        26.545        .53808E-04   -1.5615    
   2  Index         5.8941        5.7269        .12488E-01    .17979    
   3  Normalizat    1.2069        .19824        .26964E-03   -.86390    
   4  Prefactor     .85494        .13014        .21039E-03   -.97734    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.20904e-06
Minuit parameter uncertainties:
  1  4.80198
  2  15.7874
  3  0.198365
  4  0.130182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/214789': 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): 102
logL (Free Index) = 5594.44873335
delta logL = 0.221511413883

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  8.549e-01  1.302e-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.207e+00  1.984e-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/214789/cmap_HighResolution_357523201_357782401_4FGL_J2211.2-1325_daily_bin456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.51e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-28 06:51:57.372795', job_id='214789', GAL2='0.85', fit_tolerance='1e-08', EG2='1.21', EG='1.26', time_epoch_completed='1632837117.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.22e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='456' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:51:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 214789: <4FGL_J2211.2-1325_daily_bin456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin456 332.817 -13.4189 357523201 357782401 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 :                                   569.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            700 sec.

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

