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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1208
RA = 332.474, Dec = -50.4702
tmin = 552441601, tmax = 552700801
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='210896', job_status='RUN', time_executed='2021-09-28 06:26:46.415442', time_epoch_executed='1632835606.42' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1208'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210896

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210896/ft1_4FGL_J2209.8-5028_daily_bin1208.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210896/ft1_4FGL_J2209.8-5028_daily_bin1208.fits outfile=/scratch/kocevski/210896/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1208.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=552441601.0 tmax=552700801.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.08
user 2.87
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.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/210896/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1208.fits evtable="EVENTS" outfile="/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits" evtable="EVENTS" scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits sctable="SC_DATA" outfile=/scratch/kocevski/210896/ltcube_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.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/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits
.....................!
real 12.69
user 12.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits evtable="EVENTS" scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits sctable="SC_DATA" expcube=/scratch/kocevski/210896/ltcube_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits outfile=/scratch/kocevski/210896/expmap_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.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/210896/ltcube_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits
.....................!
real 191.03
user 185.51
sys 5.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 185 point sources and 0 extended sources

Setting source of interest to:
4FGL J2209.8-5028 @ 332.474 -50.4702

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits outfile=/scratch/kocevski/210896/cmap_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.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.474 yref=-50.4702 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits outfile=/scratch/kocevski/210896/cmap_HighResolution_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.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.474 yref=-50.4702 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/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits evtable="EVENTS" scfile=/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210896/Model_4FGL_J2209.8-5028_daily_bin1208.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/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits.....................!
real 38.25
user 36.96
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits', '/scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits', expMap='/scratch/kocevski/210896/expmap_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits', expCube='/scratch/kocevski/210896/ltcube_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/210896/Model_4FGL_J2209.8-5028_daily_bin1208.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2209.8-5028'

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  7.258e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/210896/ft1_filtered_4FGL_J2209.8-5028_daily_bin1208.fits
Spacecraft file(s): /scratch/kocevski/210896/ft2_4FGL_J2209.8-5028_daily_bin1208.fits
Exposure map: /scratch/kocevski/210896/expmap_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits
Exposure cube: /scratch/kocevski/210896/ltcube_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/210896/Model_4FGL_J2209.8-5028_daily_bin1208.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) = 4444.98778992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.405       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.689       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.009       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3416       1.0000         .10000E-03   10000.    
     7 'norm      '    3.8625       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.414       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.912       1.0000         .10000E-03   10000.    
    10 'Prefactor '    28.712       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3622       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.7020       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5631       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11126E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .34121       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4444.975     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2853 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.329       -.13404E-05** at limit **
   2  Prefactor     .10000E-03    15.911        .10453E-04** at limit **
   3  Prefactor     11.410        12.625        .73015E-06   -.58293E-04
   4  Prefactor     42.689        39.278       -.41808E-06   -.53415E-05
   5  Prefactor     26.016        25.689        .15903E-05   -.26667E-04
   6  Prefactor     3.3435        6.0320       -.57916E-06   -.39079E-03
   7  norm          3.8647        5.7055       -.19297E-05   -.25499E-03
   8  Prefactor     11.415        12.277       -.35465E-07    .26396E-05
   9  Prefactor     31.867        58.429       -.61623E-04   -.16960E-04
  10  Prefactor     28.717        13.932        .51851E-05   -.65936E-04
  11  Prefactor     6.3631        4.9164        .12627E-05   -.14856E-03
  12  Prefactor     .10000E-03    68.713        .17880E-04** at limit **
  13  norm          4.7021        7.6599       -.13886E-06   -.95550E-04
  14  Prefactor     5.5642        4.1841        .44567E-06   -.86709E-04
  15  Prefactor     .10000E-03    15.617       -.64621E-05** at limit **
  16  Prefactor     .10000E-03    1.5541        .56512E-08** at limit **
  17  Prefactor     .10000E-03    15.613       -.34459E-05** at limit **
  18  Prefactor     .10000E-03    7.1403       -.13717E-06** at limit **
  19  Prefactor     .10000E-03    38.577       -.35397E-05** at limit **
  20  Prefactor     .10000E-03    2.4474       -.72699E-07** at limit **
  21  Prefactor     .10002E-03    147.87       -.79288E-04** at limit **
  22  Prefactor     .10000E-03    3.7513        .12614E-07** at limit **
  23  norm          .10000E-03    2.4627       -.31243E-07** at limit **
  24  Normalizat    .34112        .23752        .86122E-05    .19043E-03
  25  Prefactor     1.3749        .20506       -.44412E-06    .27677E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.41
  Prefactor  = 42.6887
  Prefactor  = 26.0157
  Prefactor  = 3.34353
  norm       = 3.8647
  Prefactor  = 11.4155
  Prefactor  = 31.8668
  Prefactor  = 28.7171
  Prefactor  = 6.3631
  Prefactor  = 0.0001
  norm       = 4.70215
  Prefactor  = 5.56424
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.34112
  Prefactor  = 1.37491
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.975     FROM HESSE     STATUS=OK           425 CALLS     3278 TOTAL
                     EDM=   .70E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.410        12.575        .11863E-03   -1.5032    
   4  Prefactor     42.689        39.143        .61357E-04   -1.4400    
   5  Prefactor     26.016        25.676        .78549E-04   -1.4687    
   6  Prefactor     3.3435        6.0108        .20622E-03   -1.5342    
   7  norm          3.8647        5.6857        .17901E-03   -1.5315    
   8  Prefactor     11.415        12.274        .11858E-03   -1.5032    
   9  Prefactor     31.867        58.540        .70930E-04   -1.4578    
  10  Prefactor     28.717        13.887        .74769E-04   -1.4636    
  11  Prefactor     6.3631        4.9013        .12368E-03   -1.5203    
  12  Prefactor     .10000E-03    68.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7021        7.6512        .18558E-03   -1.5274    
  14  Prefactor     5.5642        4.1666        .11228E-03   -1.5236    
  15  Prefactor     .10000E-03    15.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.5594        .81162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    15.673        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.1987        .17395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    38.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.4581        .10185E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10002E-03    152.35        .41381E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.7557        .12611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.4641        .10218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .34112        .23634        .40359E-03   -1.2046    
  25  Prefactor     1.3749        .20899        .18718E-03   -.81106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.00763e-10
Minuit parameter uncertainties:
  1  6.64227e-05
  2  1.05211e-05
  3  12.5779
  4  39.1666
  5  25.6866
  6  6.01183
  7  5.68645
  8  12.2768
  9  58.6455
  10  13.8889
  11  4.90159
  12  6.15684e-05
  13  7.65277
  14  4.16684
  15  1.56741e-05
  16  2.22126e-07
  17  5.40332e-05
  18  3.56363e-05
  19  1.88879e-05
  20  7.41346e-06
  21  0.00359181
  22  5.45439e-06
  23  1.56536e-06
  24  0.237037
  25  0.209121
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  6.157e-05  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.372e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.375e+00  2.091e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  3.411e-01  2.370e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 9.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.10e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/210896/likelihoodResults_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.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) = 4444.97556052
delta logL = -6.92267403792e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4444.97556051
delta logL = -6.92137755323e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96332E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3719       1.0000          .0000       10.000    
     3 'Normalizat'    .34112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3749       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4444.975     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      202 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.051        .90715E-02** at limit **
   2  Index         2.3687        6.1840        .50000        .40088E-06
   3  Normalizat    .34112        .22415        .91113E-01   -.68689E-05
   4  Prefactor     1.3749        .20090        .31417E-01    .67911E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.36866
  Normalizat = 0.341115
  Prefactor  = 1.37491
 **********
 **   18 **HESSE 
 **********

 FCN=   4444.975     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.200        .18143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3687        6.1843        .50000       -.55420    
   3  Normalizat    .34112        .22659        .40358E-03   -1.2046    
   4  Prefactor     1.3749        .20363        .18718E-03   -.81106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30914e-10
Minuit parameter uncertainties:
  1  0.000755467
  2  4.29282
  3  0.227201
  4  0.203747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210896': 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) = 4444.97549129
delta logL = 3.22870619129e-10

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  7.555e-04  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.369e+00  4.293e+00  0.000e+00  1.000e+01 (-1.000e+00)
349        Scale:  1.353e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.375e+00  2.037e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  3.411e-01  2.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 332.474 -50.470

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/210896/cmap_HighResolution_552441601_552700801_4FGL_J2209.8-5028_daily_bin1208.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.10e-03', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2021-09-28 06:37:56.532616', job_id='210896', GAL2='1.37', fit_tolerance='1e-08', EG2='0.34', EG='0.34', time_epoch_completed='1632836276.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='3.23e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1208' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:37:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 210896: <4FGL_J2209.8-5028_daily_bin1208> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1208> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:25:53 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:25:54 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:25:54 2021
Terminated at Tue Sep 28 06:37:57 2021
Results reported at Tue Sep 28 06:37:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1208 332.474 -50.4702 552441601 552700801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2209.8-5028 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   591.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

