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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1660
RA = 332.817, Dec = -13.4189
tmin = 669600001, tmax = 669859201
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='993267', job_status='RUN', time_executed='2022-03-25 00:38:35.195269', time_epoch_executed='1648193915.2' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/993267

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/993267/ft1_4FGL_J2211.2-1325_daily_bin1660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/993267/ft1_4FGL_J2211.2-1325_daily_bin1660.fits outfile=/scratch/kocevski/993267/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1660.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=669600001.0 tmax=669859201.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.31
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.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/993267/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1660.fits evtable="EVENTS" outfile="/scratch/kocevski/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 457

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits" evtable="EVENTS" scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits sctable="SC_DATA" outfile=/scratch/kocevski/993267/ltcube_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.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/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits
.....................!
real 12.14
user 11.76
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits sctable="SC_DATA" expcube=/scratch/kocevski/993267/ltcube_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.fits outfile=/scratch/kocevski/993267/expmap_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.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/993267/ltcube_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.fits
.....................!
real 191.36
user 185.55
sys 5.34

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/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits outfile=/scratch/kocevski/993267/cmap_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits outfile=/scratch/kocevski/993267/cmap_HighResolution_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.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/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits evtable="EVENTS" scfile=/scratch/kocevski/993267/ft2_4FGL_J2211.2-1325_daily_bin1660.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/993267/Model_4FGL_J2211.2-1325_daily_bin1660.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/993267/ft1_filtered_4FGL_J2211.2-1325_daily_bin1660.fits.....................!
real 51.30
user 49.80
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .45420       1.0000         .10000E-03   10000.    
     4 'norm      '    4.9607       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0823       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.432       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12377E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1217       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    9.2123       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.068       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9871       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2457       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10583E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.0689       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13217E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.961       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .12020E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1316       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92043       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=   5163.438     FROM MIGRAD    STATUS=CONVERGED    931 CALLS     2949 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.4210        .14676E-02** at limit **
   2  Prefactor     .10000E-03    4.3871        .14690E-02** at limit **
   3  Prefactor     .30728        37.426        .82781E-01    .18111E-03
   4  norm          4.9637        6.4807        .18057E-03    .28836E-04
   5  Prefactor     .10000E-03    3.9333        .13854E-02** at limit **
   6  Prefactor     .10000E-03    7.2318        .18142E-02** at limit **
   7  Prefactor     4.0815        8.9009        .19954E-03   -.57543E-05
   8  Prefactor     .10000E-03    16.823        .18142E-02** at limit **
   9  Prefactor     21.433        18.596        .86519E-04    .11169E-04
  10  Prefactor     .10000E-03    102.81        .18142E-02** at limit **
  11  Prefactor     7.1214        5.9315        .14193E-03   -.27795E-04
  12  Prefactor     .10000E-03    17.014        .18142E-02** at limit **
  13  norm          9.2113        5.1727        .57289E-03   -.24706E-03
  14  Prefactor     19.290        73.266        .91722E-04    .16237E-04
  15  Prefactor     6.9763        19.879        .15177E-03   -.22472E-05
  16  norm          1.2457        .86667        .54379E-04    .88643E-04
  17  Prefactor     .10000E-03    56.941        .36285E-03** at limit **
  18  norm          3.0688        1.5579        .60603E-04    .59767E-03
  19  Prefactor     .10000E-03    65.205        .18142E-02** at limit **
  20  Prefactor     13.949        14.299        .10720E-03    .14847E-04
  21  Prefactor     .10000E-03    91.475        .18142E-02** at limit **
  22  Normalizat    1.1321        .29142        .29032E-03    .29387E-03
  23  Prefactor     .92020        .18077        .21220E-03    .10721E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.307278
  norm       = 4.9637
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.08147
  Prefactor  = 0.0001
  Prefactor  = 21.4333
  Prefactor  = 0.0001
  Prefactor  = 7.12137
  Prefactor  = 0.0001
  norm       = 9.2113
  Prefactor  = 19.2896
  Prefactor  = 6.97633
  norm       = 1.24568
  Prefactor  = 0.000100001
  norm       = 3.06879
  Prefactor  = 0.0001
  Prefactor  = 13.9489
  Prefactor  = 0.0001
  Normalizat = 1.13211
  Prefactor  = 0.920195
 **********
 **   18 **HESSE 
 **********

 FCN=   5163.438     FROM HESSE     STATUS=OK           356 CALLS     3305 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4222        .29351E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.3873        .29380E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .30728        30.195        .93458E-01   -1.5597    
   4  norm          4.9637        6.4787        .72227E-05   -1.5262    
   5  Prefactor     .10000E-03    3.9340        .27708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2320        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0815        8.9005        .79817E-05   -1.5304    
   8  Prefactor     .10000E-03    16.832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     21.433        18.586        .34608E-05   -1.4782    
  10  Prefactor     .10000E-03    102.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     7.1214        5.9303        .56771E-05   -1.5174    
  12  Prefactor     .10000E-03    17.014        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          9.2113        5.1706        .22916E-04   -1.5101    
  14  Prefactor     19.290        73.182        .36689E-05   -1.4829    
  15  Prefactor     6.9763        19.867        .60708E-05   -1.5180    
  16  norm          1.2457        .86661        .21752E-05   -1.5485    
  17  Prefactor     .10000E-03    56.942        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.0688        1.5574        .24241E-05   -1.5358    
  19  Prefactor     .10000E-03    65.216        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.949        14.299        .42880E-05   -1.4961    
  21  Prefactor     .10000E-03    91.553        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1321        .29051        .58064E-04   -.88728    
  23  Prefactor     .92020        .18088        .84879E-05   -.95439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.65801e-10
Minuit parameter uncertainties:
  1  6.93507e-06
  2  1.2726e-06
  3  6.09419
  4  6.47959
  5  4.81278e-06
  6  4.76993e-07
  7  8.90336
  8  2.29735e-05
  9  18.5912
  10  0.000192323
  11  5.93083
  12  2.74991e-06
  13  5.17082
  14  73.5253
  15  19.8861
  16  0.86662
  17  0.000430098
  18  1.55737
  19  0.000129871
  20  14.3021
  21  9.32128e-05
  22  0.290925
  23  0.180998
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  9.202e-01  1.810e-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.132e+00  2.909e-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.28e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.01e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/993267/likelihoodResults_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.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) = 5163.4381132
delta logL = -0.000283273247078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5163.43782994
delta logL = -1.58324837685e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7475       1.0000          .0000       10.000    
     3 'Normalizat'    1.1321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92020       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=   5163.438     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1803.9        .90712E-02** at limit **
   2  Index         2.7718        8.6135        .50000       -.13467E-04
   3  Normalizat    1.1321        .72944E-01    .65628E-01    .10254E-03
   4  Prefactor     .92020        .48383E-01    .45262E-01    .98477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.77177
  Normalizat = 1.1321
  Prefactor  = 0.920198
 **********
 **   18 **HESSE 
 **********

 FCN=   5163.438     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7718        6.0013        .50000       -.46190    
   3  Normalizat    1.1321        .26260        .29032E-03   -.88728    
   4  Prefactor     .92020        .17617        .21220E-03   -.95439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.41965e-10
Minuit parameter uncertainties:
  1  0.000874456
  2  7.47927
  3  0.262906
  4  0.176274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/993267': 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) = 5163.43782979
delta logL = 1.37923052534e-07

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  1.000e-04  8.745e-04  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.772e+00  7.479e+00  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:  9.202e-01  1.763e-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.132e+00  2.629e-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/993267/cmap_HighResolution_669600001_669859201_4FGL_J2211.2-1325_daily_bin1660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.01e-02', job_status='DONE', photon_flux_upper_limit='1.28e-07', time_completed='2022-03-25 00:48:15.117312', job_id='993267', GAL2='0.92', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1648194495.12', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='1.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1660' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 25 00:48:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 993267: <4FGL_J2211.2-1325_daily_bin1660> in cluster <slac> Done

Job <4FGL_J2211.2-1325_daily_bin1660> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Mar 25 00:35:43 2022
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 25 00:35:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 25 00:35:45 2022
Terminated at Fri Mar 25 00:48:18 2022
Results reported at Fri Mar 25 00:48:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1660 332.817 -13.4189 669600001 669859201 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 :                                   579.21 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             299.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            755 sec.

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

