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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1099
RA = 332.817, Dec = -13.4189
tmin = 524188801, tmax = 524448001
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='217916', job_status='RUN', time_executed='2021-09-28 06:51:17.325446', time_epoch_executed='1632837077.33' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217916/ft1_4FGL_J2211.2-1325_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217916/ft1_4FGL_J2211.2-1325_daily_bin1099.fits outfile=/scratch/kocevski/217916/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1099.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=524188801.0 tmax=524448001.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.40
user 3.18
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/217916/ltcube_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.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/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits
.....................!
real 12.18
user 11.83
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/217916/ltcube_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.fits outfile=/scratch/kocevski/217916/expmap_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.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/217916/ltcube_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.fits
.....................!
real 190.34
user 185.32
sys 4.64

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/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits scfile=/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits outfile=/scratch/kocevski/217916/cmap_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits scfile=/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits outfile=/scratch/kocevski/217916/cmap_HighResolution_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/217916/ft2_4FGL_J2211.2-1325_daily_bin1099.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217916/Model_4FGL_J2211.2-1325_daily_bin1099.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/217916/ft1_filtered_4FGL_J2211.2-1325_daily_bin1099.fits.....................!
real 55.81
user 54.44
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.515       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.6588       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.288       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.999       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6185       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.815       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .88368       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.952       1.0000         .10000E-03   10000.    
    13 'norm      '    2.3116       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.024       1.0000         .10000E-03   10000.    
    16 'norm      '    .33443       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.999       1.0000         .10000E-03   10000.    
    18 'norm      '    1.9506       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .27686E-02   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91975       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .91233       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=   5696.982     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2218 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1870        4.3603        .11443E-07   -.61148E-03
   2  Prefactor     .10000E-03    3.2678        .94032E-08** at limit **
   3  Prefactor     14.520        20.324        .65737E-06    .47718E-04
   4  norm          .10000E-03    2.1331        .65758E-08** at limit **
   5  Prefactor     4.6590        4.4478        .41411E-06    .83577E-03
   6  Prefactor     17.288        14.611       -.25123E-07   -.41270E-04
   7  Prefactor     11.001        11.257        .15964E-06   -.10016E-03
   8  Prefactor     7.6203        11.273        .20587E-06   -.62488E-04
   9  Prefactor     11.803        11.913       -.11408E-05   -.25699E-03
  10  Prefactor     .10000E-03    129.91       -.10726E-05** at limit **
  11  Prefactor     .89039        4.1255        .35823E-05    .62302E-03
  12  Prefactor     30.957        34.309        .58788E-06    .12580E-03
  13  norm          2.3111        4.5029        .78793E-06    .46881E-03
  14  Prefactor     .10002E-03    59.065        .30192E-05** at limit **
  15  Prefactor     29.029        17.501        .24924E-06    .12638E-04
  16  norm          .33434        .61253        .78353E-07    .25706E-03
  17  Prefactor     21.067        22.969        .50573E-06    .29043E-03
  18  norm          1.9460        1.7769       -.73319E-07    .69175E-03
  19  Prefactor     .10000E-03    16.049        .90620E-07** at limit **
  20  Prefactor     .10000E-03    10.761        .68250E-07** at limit **
  21  Prefactor     .10050E-03    28.323       -.70386E-05** at limit **
  22  Normalizat    .91931        .21902       -.18093E-05   -.45304E-04
  23  Prefactor     .91261        .13876        .15207E-07   -.83183E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.18704
  Prefactor  = 0.0001
  Prefactor  = 14.5202
  norm       = 0.0001
  Prefactor  = 4.65901
  Prefactor  = 17.2878
  Prefactor  = 11.0007
  Prefactor  = 7.62027
  Prefactor  = 11.8028
  Prefactor  = 0.000100004
  Prefactor  = 0.890394
  Prefactor  = 30.9574
  norm       = 2.31109
  Prefactor  = 0.000100022
  Prefactor  = 29.0293
  norm       = 0.334336
  Prefactor  = 21.0667
  norm       = 1.94605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100499
  Normalizat = 0.919312
  Prefactor  = 0.912607
 **********
 **   18 **HESSE 
 **********

 FCN=   5696.982     FROM HESSE     STATUS=OK           376 CALLS     2594 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1870        4.3974        .21827E-03   -1.5412    
   2  Prefactor     .10000E-03    3.2700        .13325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.520        20.366        .10513E-03   -1.4946    
   4  norm          .10000E-03    2.1335        .10766E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.6590        4.4776        .15063E-03   -1.5276    
   6  Prefactor     17.288        14.598        .96327E-04   -1.4876    
   7  Prefactor     11.001        11.267        .12080E-03   -1.5044    
   8  Prefactor     7.6203        11.278        .14529E-03   -1.5156    
   9  Prefactor     11.803        11.971        .11654E-03   -1.5021    
  10  Prefactor     .10000E-03    130.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .89039        4.5230        .28947E-03   -1.5519    
  12  Prefactor     30.957        34.361        .72019E-04   -1.4595    
  13  norm          2.3111        4.4282        .20260E-03   -1.5404    
  14  Prefactor     .10002E-03    59.931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.029        17.611        .74366E-04   -1.4630    
  16  norm          .33434        .61230        .42300E-04   -1.5592    
  17  Prefactor     21.067        25.353        .87406E-04   -1.4790    
  18  norm          1.9460        1.9461        .61245E-04   -1.5429    
  19  Prefactor     .10000E-03    16.071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10050E-03    62.212        .49490E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91931        .26303        .29289E-03   -.95785    
  23  Prefactor     .91261        .16767        .19800E-03   -.95702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00164e-08
Minuit parameter uncertainties:
  1  4.3981
  2  1.52169e-06
  3  20.3756
  4  1.93508e-07
  5  4.47795
  6  14.6013
  7  11.269
  8  11.2813
  9  11.9733
  10  0.0013884
  11  4.01386
  12  34.3829
  13  4.42882
  14  0.00231527
  15  17.6145
  16  0.612315
  17  25.3659
  18  1.9462
  19  3.08662e-05
  20  1.75475e-05
  21  0.0111602
  22  0.263404
  23  0.167762
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.620e+00  1.128e+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:  9.126e-01  1.678e-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:  9.193e-01  2.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/217916/likelihoodResults_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.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) = 5695.92952989
delta logL = 1.05254697224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5695.87364255
delta logL = 1.10843431193

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.558       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6683       1.0000          .0000       10.000    
     3 'Normalizat'    .94228       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89526       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=   5695.874     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      215 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.558        10.051        .29459E-02   -.32852E-02
   2  Index         1.6683        .35063        .18609       -.86015E-04
   3  Normalizat    .94228        .20190        .65431E-01    .14691E-04
   4  Prefactor     .89525        .13683        .44945E-01    .60109E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5582
  Index      = 1.66833
  Normalizat = 0.942283
  Prefactor  = 0.895249
 **********
 **   18 **HESSE 
 **********

 FCN=   5695.874     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.558        12.481        .11784E-03   -1.5028    
   2  Index         1.6683        .51745        .69364E-02   -.72928    
   3  Normalizat    .94228        .24210        .28942E-03   -.94990    
   4  Prefactor     .89525        .16418        .19942E-03   -.96307    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50963e-08
Minuit parameter uncertainties:
  1  12.4841
  2  0.51913
  3  0.242384
  4  0.16427
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217916': 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) = 5695.87364255
delta logL = 1.10843431567

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.156e+01  1.248e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  1.668e+00  5.191e-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.952e-01  1.643e-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:  9.423e-01  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.83
Ra Dec: 332.817 -13.419
Photon Index (Free Index): 1.67 +/- 0.52
Photon Flux (Free Index): 2.31e-08 +/- 2.59e-08
Energy Flux (Free Index): 4.17e-05 +/- 5.45e-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/217916/cmap_HighResolution_524188801_524448001_4FGL_J2211.2-1325_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', comment='SUCCESS', energy_flux2='4.17e-05', dlogl='1.11e+00', photon_flux2='2.31e-08', job_status='DONE', time_completed='2021-09-28 07:01:00.052469', photon_index_error2='0.52', photon_index2='1.67', ts='0.61', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='5.45e-05', EG='0.92', time_epoch_completed='1632837660.05', return_code='0', job_id='217916', GAL2='0.90', EG2='0.94', return_code2='0', photon_flux_error2='2.59e-08', ts2='2.83', photon_index='2.72' WHERE bin_id='1099' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:01:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 217916: <4FGL_J2211.2-1325_daily_bin1099> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1099 332.817 -13.4189 524188801 524448001 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 :                                   558.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             287.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            636 sec.

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

