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


Performing analysis on: 4FGL_J2211.2-1325_daily_bin1075
RA = 332.817, Dec = -13.4189
tmin = 517968001, tmax = 518227201
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='217877', job_status='RUN', time_executed='2021-09-28 06:51:13.121509', time_epoch_executed='1632837073.12' WHERE source_name='4FGL J2211.2-1325' and cadence='daily' and bin_id='1075'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217877

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217877/ft1_4FGL_J2211.2-1325_daily_bin1075.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217877/ft1_4FGL_J2211.2-1325_daily_bin1075.fits outfile=/scratch/kocevski/217877/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1075.fits ra=332.817 dec=-13.4189 rad=12.0 tmin=517968001.0 tmax=518227201.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.73
user 3.49
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.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/217877/ft1_filteredMKT_4FGL_J2211.2-1325_daily_bin1075.fits evtable="EVENTS" outfile="/scratch/kocevski/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.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/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits" evtable="EVENTS" scfile=/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits sctable="SC_DATA" outfile=/scratch/kocevski/217877/ltcube_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.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/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits
.....................!
real 11.92
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits sctable="SC_DATA" expcube=/scratch/kocevski/217877/ltcube_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits outfile=/scratch/kocevski/217877/expmap_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.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/217877/ltcube_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits
.....................!
real 190.03
user 185.41
sys 4.30

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/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits scfile=/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits outfile=/scratch/kocevski/217877/cmap_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.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.38
sys 0.14

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

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

This is gtbin version HEAD
real 0.55
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits evtable="EVENTS" scfile=/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217877/Model_4FGL_J2211.2-1325_daily_bin1075.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/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits.....................!
real 57.89
user 56.53
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits', '/scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits', expMap='/scratch/kocevski/217877/expmap_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits', expCube='/scratch/kocevski/217877/ltcube_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217877/Model_4FGL_J2211.2-1325_daily_bin1075.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/217877/ft1_filtered_4FGL_J2211.2-1325_daily_bin1075.fits
Spacecraft file(s): /scratch/kocevski/217877/ft2_4FGL_J2211.2-1325_daily_bin1075.fits
Exposure map: /scratch/kocevski/217877/expmap_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits
Exposure cube: /scratch/kocevski/217877/ltcube_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217877/Model_4FGL_J2211.2-1325_daily_bin1075.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6416.87294916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70376       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    56.156       1.0000         .10000E-03   10000.    
     4 'norm      '    5.7428       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.9023       1.0000         .10000E-03   10000.    
     6 'Prefactor '    24.704       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.8055       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5879       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13291E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12627E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.297       1.0000         .10000E-03   10000.    
    13 'norm      '    16.140       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.6916       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2570       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.7032       1.0000         .10000E-03   10000.    
    18 'norm      '    6.3626       1.0000         .10000E-03   10000.    
    19 'Prefactor '    68.564       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9794       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .49998E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .51947       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.3153       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6416.808     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     2227 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70519        8.5539       -.83688E-06   -.38036E-04
   2  Prefactor     13.341        6.9005       -.62461E-07    .41778E-02
   3  Prefactor     56.158        1.1496       -.46385E-08    .23593E-02
   4  norm          5.7430        5.3457       -.75748E-06    .11761E-02
   5  Prefactor     3.9025        6.6888        .24096E-05    .16952E-02
   6  Prefactor     24.705        1.3840        .10687E-07    .82854E-03
   7  Prefactor     .10000E-03    3.6753        .89102E-06** at limit **
   8  Prefactor     7.8001        5.9475        .13651E-07   -.58712E-03
   9  Prefactor     3.5753        7.0910        .24445E-06   -.27951E-02
  10  Prefactor     .39067E-03    31.154        .78964E-05** at limit **
  11  Prefactor     .10000E-03    11.889        .15724E-06** at limit **
  12  Prefactor     23.205        9.3189        .11670E-05    .45077E-02
  13  norm          16.135        5.6498        .77544E-06    .13208E-02
  14  Prefactor     .10004E-03    60.784        .63378E-05** at limit **
  15  Prefactor     6.6864        1.3825        .46463E-07    .14542E-03
  16  norm          1.2576        .94814        .10132E-06   -.16378E-04
  17  Prefactor     7.6081        9.2545        .21890E-05    .22207E-03
  18  norm          6.3696        1.9427       -.38148E-06   -.42362E-03
  19  Prefactor     68.581        2.6991       -.89900E-07   -.83942E-02
  20  Prefactor     3.9798        1.0311       -.32195E-07   -.17038E-03
  21  Prefactor     .12032E-03    440.05        .28000E-04** at limit **
  22  Normalizat    .51961        .25723       -.48704E-05   -.98251E-04
  23  Prefactor     1.3152        .17725       -.29194E-06   -.19975E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.705189
  Prefactor  = 13.3408
  Prefactor  = 56.1575
  norm       = 5.74302
  Prefactor  = 3.90249
  Prefactor  = 24.7048
  Prefactor  = 0.0001
  Prefactor  = 7.80009
  Prefactor  = 3.57529
  Prefactor  = 0.000390667
  Prefactor  = 0.0001
  Prefactor  = 23.2048
  norm       = 16.1347
  Prefactor  = 0.000100044
  Prefactor  = 6.68637
  norm       = 1.25759
  Prefactor  = 7.60812
  norm       = 6.36961
  Prefactor  = 68.5805
  Prefactor  = 3.97976
  Prefactor  = 0.000120321
  Normalizat = 0.519614
  Prefactor  = 1.31516
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.808     FROM HESSE     STATUS=OK           442 CALLS     2669 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70519        8.3247        .12076E-01   -1.5540    
   2  Prefactor     13.341        11.799        .27418E-02   -1.4977    
   3  Prefactor     56.158        21.542        .13383E-02   -1.4208    
   4  norm          5.7430        5.3491        .41902E-02   -1.5229    
   5  Prefactor     3.9025        6.8117        .51061E-02   -1.5313    
   6  Prefactor     24.705        22.067        .20148E-02   -1.4713    
   7  Prefactor     .10000E-03    3.6707        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.8001        12.632        .35881E-02   -1.5149    
   9  Prefactor     3.5753        11.970        .53335E-02   -1.5330    
  10  Prefactor     .39067E-03    277.29        .10282E-01   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.4781        .64688E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.205        54.175        .20747E-02   -1.4744    
  13  norm          16.135        5.7390        .24923E-02   -1.4904    
  14  Prefactor     .10004E-03    60.967        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.6864        16.682        .38780E-02   -1.5191    
  16  norm          1.2576        .97341        .99553E-02   -1.5484    
  17  Prefactor     7.6081        74.567        .36121E-02   -1.5156    
  18  norm          6.3696        3.6991        .39781E-02   -1.5203    
  19  Prefactor     68.581        49.635        .12119E-02   -1.4050    
  20  Prefactor     3.9798        8.4300        .50547E-02   -1.5309    
  21  Prefactor     .12032E-03    15.586        .11567       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .51961        .26926        .97788E-01   -1.1151    
  23  Prefactor     1.3152        .16909        .32348E-01   -.82857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62869e-06
Minuit parameter uncertainties:
  1  4.8463
  2  11.8008
  3  21.5452
  4  5.34955
  5  6.81304
  6  22.0739
  7  1.67964e-05
  8  12.636
  9  11.9776
  10  0.570454
  11  3.45893e-05
  12  54.2897
  13  5.73915
  14  0.00327977
  15  16.6932
  16  0.973424
  17  47.7142
  18  3.69926
  19  49.6653
  20  8.43248
  21  0.0356033
  22  0.269942
  23  0.169159
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
487    Prefactor:  1.315e+00  1.692e-01  0.000e+00  1.000e+01 ( 1.000e+00)
488        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
489        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
486   Normalization:  5.196e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/217877/likelihoodResults_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.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) = 6416.79555017
delta logL = 0.0126026922126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6416.79394186
delta logL = 0.0142110010574

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2097       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9109       1.0000          .0000       10.000    
     3 'Normalizat'    .51529       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3170       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=   6416.794     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      201 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1963        14.391        .37347E-02    .22007E-02
   2  Index         2.9155        1.3372        .22319E-01    .47191E-03
   3  Normalizat    .51512        .24096        .98192E-01    .39039E-04
   4  Prefactor     1.3172        .16635        .32319E-01   -.14787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.19635
  Index      = 2.91547
  Normalizat = 0.515124
  Prefactor  = 1.31723
 **********
 **   18 **HESSE 
 **********

 FCN=   6416.794     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .22E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1963        12.568        .74694E-03   -1.5171    
   2  Index         2.9155        1.1754        .44639E-02   -.43004    
   3  Normalizat    .51512        .25407        .43518E-03   -1.1172    
   4  Prefactor     1.3172        .17619        .19740E-03   -.82796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24115e-11
Minuit parameter uncertainties:
  1  12.5722
  2  1.18894
  3  0.25464
  4  0.176272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217877': 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) = 6416.79393319
delta logL = 0.0142196771485

Extracting fit parameters...

4FGL J2211.2-1325
   Spectrum: PowerLaw
244    Prefactor:  7.196e+00  1.257e+01  1.000e-04  1.000e+04 ( 1.000e-12)
245        Index:  2.915e+00  1.189e+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:  1.317e+00  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:  5.151e-01  2.546e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
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/217877/cmap_HighResolution_517968001_518227201_4FGL_J2211.2-1325_daily_bin1075.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2021-09-28 07:04:41.697850', job_id='217877', GAL2='1.32', fit_tolerance='1e-08', EG2='0.52', EG='0.52', time_epoch_completed='1632837881.7', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='1.42e-02', ts2='0.52', photon_index_error='0.00', photon_index='2.72' WHERE bin_id='1075' AND source_name='4FGL J2211.2-1325' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:04:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0188>
Subject: Job 217877: <4FGL_J2211.2-1325_daily_bin1075> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2211.2-1325_daily_bin1075 332.817 -13.4189 517968001 518227201 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 :                                   605.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            863 sec.

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

