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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin608
RA = 332.817, Dec = -13.4189
tmin = 396921601, tmax = 397180801
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='215035', job_status='RUN', time_executed='2021-09-28 06:42:09.208299', time_epoch_executed='1632836529.21' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='608'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/215035

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/215035/ft1_4FGL_J2211.2-1325_daily_bin608.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/215035/ft1_4FGL_J2211.2-1325_daily_bin608.fits outfile=/scratch/kocevski/215035/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin608.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=396921601.0 tmax=397180801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.55
user 4.34
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.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/215035/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin608.fits evtable="EVENTS" outfile="/scratch/kocevski/215035/ft1_filtered_4FGL_J2211.2-1325_daily_bin608.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/215035/ft1_filtered_4FGL_J2211.2-1325_daily_bin608.fits" evtable="EVENTS" scfile=/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits sctable="SC_DATA" outfile=/scratch/kocevski/215035/ltcube_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.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/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits
.....................!
real 11.77
user 11.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/215035/ft1_filtered_4FGL_J2211.2-1325_daily_bin608.fits evtable="EVENTS" scfile=/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits sctable="SC_DATA" expcube=/scratch/kocevski/215035/ltcube_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.fits outfile=/scratch/kocevski/215035/expmap_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.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/215035/ltcube_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.fits
.....................!
real 192.19
user 187.06
sys 4.81

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/215035/ft1_filtered_4FGL_J2211.2-1325_daily_bin608.fits scfile=/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits outfile=/scratch/kocevski/215035/cmap_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/215035/ft1_filtered_4FGL_J2211.2-1325_daily_bin608.fits scfile=/scratch/kocevski/215035/ft2_4FGL_J2211.2-1325_daily_bin608.fits outfile=/scratch/kocevski/215035/cmap_HighResolution_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=332.817 yref=-13.4189 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.0013       1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.4309       1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1609       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3064       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.778       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.6409       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.431       1.0000         .10000E-03   10000.    
    13 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .67950       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .23640E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.9885       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0597       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81530       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=   7569.846     FROM MIGRAD    STATUS=CONVERGED    520 CALLS     2553 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6878        2.6093       -.43859E-07    .13452E-04
   2  Prefactor     4.0011        4.0213       -.77630E-06   -.26711E-04
   3  Prefactor     1.4315        14.983       -.31332E-05   -.61538E-04
   4  norm          .10000E-03    1.6701        .19458E-06** at limit **
   5  Prefactor     1.1591        1.6610        .79348E-06   -.41236E-02
   6  Prefactor     2.3102        7.6135       -.83002E-06   -.91116E-03
   7  Prefactor     .10000E-03    1.6931        .12980E-06** at limit **
   8  Prefactor     .10000E-03    2.9316        .35836E-06** at limit **
   9  Prefactor     .10000E-03    2.0618       -.20709E-07** at limit **
  10  Prefactor     10.777        61.081       -.18928E-05   -.10612E-05
  11  Prefactor     1.6404        2.1248       -.23227E-06   -.13879E-03
  12  Prefactor     21.395        42.710       -.45426E-04   -.54153E-04
  13  norm          .10000E-03    1.5948       -.72769E-07** at limit **
  14  Prefactor     62.272        72.049        .68361E-05    .15444E-04
  15  Prefactor     .10000E-03    4.1236       -.64043E-07** at limit **
  16  norm          .67975        .57377        .36684E-06    .20947E-02
  17  Prefactor     .10000E-03    3.3622       -.11508E-06** at limit **
  18  norm          .10000E-03    .19116       -.59021E-07** at limit **
  19  Prefactor     .10000E-03    23.959       -.85414E-07** at limit **
  20  Prefactor     .10002E-03    5.7473       -.12726E-06** at limit **
  21  Prefactor     5.9889        8.9558       -.30171E-06   -.15110E-06
  22  Normalizat    1.0596        .15885        .25813E-05   -.91291E-04
  23  Prefactor     .81535        .10908       -.57598E-06    .20853E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.68777
  Prefactor  = 4.00106
  Prefactor  = 1.43153
  norm       = 0.0001
  Prefactor  = 1.15914
  Prefactor  = 2.31023
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7772
  Prefactor  = 1.64036
  Prefactor  = 21.395
  norm       = 0.0001
  Prefactor  = 62.2717
  Prefactor  = 0.000100002
  norm       = 0.679745
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100017
  Prefactor  = 5.98894
  Normalizat = 1.05958
  Prefactor  = 0.815347
 **********
 **   18 **HESSE 
 **********

 FCN=   7569.846     FROM HESSE     STATUS=OK           382 CALLS     2935 TOTAL
                     EDM=   .30E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6878        2.6154        .13497E-03   -1.5380    
   2  Prefactor     4.0011        4.0165        .17065E-03   -1.5308    
   3  Prefactor     1.4315        15.017        .36113E-03   -1.5469    
   4  norm          .10000E-03    1.6711        .10980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.1591        4.4244        .16719E-02   -1.5493    
   6  Prefactor     2.3102        7.7753        .13509E-02   -1.5404    
   7  Prefactor     .10000E-03    1.6948        .11056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.9494        .14546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.0659        .12200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.777        60.988        .12204E-03   -1.5051    
  11  Prefactor     1.6404        2.1054        .13895E-03   -1.5452    
  12  Prefactor     21.395        42.832        .86521E-04   -1.4783    
  13  norm          .10000E-03    1.6473        .21413E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     62.272        71.950        .50852E-04   -1.4128    
  15  Prefactor     .10000E-03    32.249        .34199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .67975        .54633        .58027E-03   -1.5543    
  17  Prefactor     .10000E-03    3.3748        .15576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .19433        .37103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    7.1423        .74224E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.9889        8.9543        .16408E-03   -1.5218    
  22  Normalizat    1.0596        .18595        .24278E-03   -.91060    
  23  Prefactor     .81535        .12790        .19262E-03   -.99165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98103e-08
Minuit parameter uncertainties:
  1  2.61551
  2  4.01674
  3  9.2756
  4  6.75799e-07
  5  4.42568
  6  7.77874
  7  1.04213e-06
  8  6.08849e-06
  9  3.57983e-06
  10  51.355
  11  2.10548
  12  42.8936
  13  1.48669e-05
  14  72.0512
  15  0.000559441
  16  0.546331
  17  2.63698e-06
  18  3.99445e-07
  19  5.13544e-05
  20  0.000694359
  21  8.95632
  22  0.186064
  23  0.127942
Done.

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

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  6.088e-06  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.153e-01  1.279e-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.060e+00  1.861e-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: 5.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/215035/likelihoodResults_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.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) = 7569.84805215
delta logL = -0.0016150208794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7569.84643709
delta logL = 3.87854015571e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7156       1.0000          .0000       10.000    
     3 'Normalizat'    1.0596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81535       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7569.846     FROM MIGRAD    STATUS=FAILED        87 CALLS      237 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    94.299        .14594E-02** at limit **
   2  Index         2.6451        6.8648        .50000        .20114E-04
   3  Normalizat    1.0596        .22609E-01    .24278E-03   -.88973E-06
   4  Prefactor     .81535        .16021E-01    .19262E-03   -.68466E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7569.846     FROM SIMPLEX   STATUS=UNCHANGED    141 CALLS      378 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10087E-03    94.299        .34942E-03** at limit **
   2  Index         2.6451        6.8648        .22151E-03    .20114E-04
   3  Normalizat    1.0596        .22609E-01    .54407E-05   -.88973E-06
   4  Prefactor     .81535        .16021E-01    .31606E-05   -.68466E-05
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7569.846     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      419 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    503.80        .29188E-03** at limit **
   2  Index         2.4445        8.1738        .50000        .37039E-07
   3  Normalizat    1.0596        .67743E-01    .97110E-05    .19668E-04
   4  Prefactor     .81535        .48006E-01    .77047E-05    .28921E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.44454
  Normalizat = 1.05958
  Prefactor  = 0.815345
 **********
 **   18 **HESSE 
 **********

 FCN=   7569.846     FROM HESSE     STATUS=OK            29 CALLS      448 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.7313        .58375E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4445        6.0330        .50000       -.53645    
   3  Normalizat    1.0596        .17991        .19422E-05   -.91060    
   4  Prefactor     .81535        .12752        .15409E-05   -.99165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06572e-12
Minuit parameter uncertainties:
  1  2.9337e-06
  2  118.786
  3  0.180016
  4  0.127565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/215035': 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) = 7569.84643625
delta logL = 8.82089807419e-07

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  2.934e-06  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.445e+00  1.188e+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:  8.153e-01  1.276e-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.060e+00  1.800e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/215035/cmap_HighResolution_396921601_397180801_4FGL_J2211.2-1325_daily_bin608.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-03', job_status='DONE', photon_flux_upper_limit='5.01e-08', time_completed='2021-09-28 06:53:39.172984', job_id='215035', GAL2='0.82', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632837219.17', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='8.82e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='608' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:53:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 215035: <4FGL_J2211.2-1325_daily_bin608> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin608 332.817 -13.4189 396921601 397180801 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 :                                   687.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

