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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1150
RA = 332.474, Dec = -50.4702
tmin = 537408001, tmax = 537667201
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='210807', job_status='RUN', time_executed='2021-09-28 06:27:17.276643', time_epoch_executed='1632835637.28' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1150'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/210807

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/210807/ft1_4FGL_J2209.8-5028_daily_bin1150.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/210807/ft1_4FGL_J2209.8-5028_daily_bin1150.fits outfile=/scratch/kocevski/210807/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1150.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=537408001.0 tmax=537667201.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.54
user 4.29
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits" evtable="EVENTS" scfile=/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits sctable="SC_DATA" outfile=/scratch/kocevski/210807/ltcube_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.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/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits
.....................!
real 11.85
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits sctable="SC_DATA" expcube=/scratch/kocevski/210807/ltcube_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits outfile=/scratch/kocevski/210807/expmap_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.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/210807/ltcube_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits
.....................!
real 191.40
user 186.04
sys 5.00

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/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits scfile=/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits outfile=/scratch/kocevski/210807/cmap_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.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.57
user 0.37
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits scfile=/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits outfile=/scratch/kocevski/210807/cmap_HighResolution_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits evtable="EVENTS" scfile=/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/210807/Model_4FGL_J2209.8-5028_daily_bin1150.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/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits.....................!
real 44.03
user 42.70
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits', '/scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits', expMap='/scratch/kocevski/210807/expmap_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits', expCube='/scratch/kocevski/210807/ltcube_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/210807/Model_4FGL_J2209.8-5028_daily_bin1150.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/210807/ft1_filtered_4FGL_J2209.8-5028_daily_bin1150.fits
Spacecraft file(s): /scratch/kocevski/210807/ft2_4FGL_J2209.8-5028_daily_bin1150.fits
Exposure map: /scratch/kocevski/210807/expmap_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits
Exposure cube: /scratch/kocevski/210807/ltcube_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/210807/Model_4FGL_J2209.8-5028_daily_bin1150.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) = 5410.19262832

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.415       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.629       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10831E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0033       1.0000         .10000E-03   10000.    
     7 'norm      '    11.595       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.7100       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12541E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.135       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.7319       1.0000         .10000E-03   10000.    
    12 'Prefactor '    49.003       1.0000         .10000E-03   10000.    
    13 'norm      '    16.180       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6315       1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.081       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6237       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.4205       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   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'    .72359       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2638       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=   5410.186     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     2901 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.681        .13914E-06** at limit **
   2  Prefactor     11.410        44.211       -.61461E-06   -.26969E-04
   3  Prefactor     .10000E-03    9.4059        .13947E-06** at limit **
   4  Prefactor     12.624        36.082       -.13795E-05   -.29125E-04
   5  Prefactor     .10000E-03    102.80        .19173E-05** at limit **
   6  Prefactor     1.0036        2.9075        .91494E-06    .97770E-04
   7  norm          11.595        6.4416       -.15327E-06   -.65135E-05
   8  Prefactor     2.7097        10.026        .12747E-04   -.51904E-03
   9  Prefactor     .10000E-03    153.65        .68393E-06** at limit **
  10  Prefactor     12.130        10.419        .12882E-05   -.18269E-03
  11  Prefactor     3.7326        4.3361        .34009E-06   -.52327E-04
  12  Prefactor     48.873        127.96       -.22292E-04   -.27459E-03
  13  norm          16.183        12.168        .26906E-06   -.44137E-04
  14  Prefactor     1.6303        2.9898        .26749E-06   -.21876E-04
  15  Prefactor     21.043        52.623       -.56896E-05   -.18498E-03
  16  Prefactor     8.6250        6.6424        .18736E-06   -.12976E-04
  17  Prefactor     .10000E-03    34.934       -.17188E-06** at limit **
  18  Prefactor     .10000E-03    4.3452        .14448E-07** at limit **
  19  Prefactor     .10000E-03    99.991       -.14728E-05** at limit **
  20  Prefactor     4.4206        6.6996        .30376E-06    .92302E-05
  21  Prefactor     .10000E-03    14.521        .50435E-07** at limit **
  22  Prefactor     .10000E-03    4.9678        .45851E-07** at limit **
  23  norm          .10000E-03    2.7832        .57204E-08** at limit **
  24  Normalizat    .72361        .21697        .10214E-05   -.11424E-03
  25  Prefactor     1.2637        .17606       -.80822E-06   -.55013E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.4098
  Prefactor  = 0.0001
  Prefactor  = 12.6244
  Prefactor  = 0.0001
  Prefactor  = 1.00357
  norm       = 11.5949
  Prefactor  = 2.70965
  Prefactor  = 0.000100002
  Prefactor  = 12.13
  Prefactor  = 3.73256
  Prefactor  = 48.8734
  norm       = 16.1829
  Prefactor  = 1.63035
  Prefactor  = 21.0428
  Prefactor  = 8.62504
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.42057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.723606
  Prefactor  = 1.26369
 **********
 **   18 **HESSE 
 **********

 FCN=   5410.186     FROM HESSE     STATUS=OK           427 CALLS     3328 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.410        44.254        .11857E-03   -1.5032    
   3  Prefactor     .10000E-03    9.5065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.624        36.047        .11272E-03   -1.4997    
   5  Prefactor     .10000E-03    105.82        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0036        2.6313        .20532E-02   -1.5508    
   7  norm          11.595        6.4360        .11765E-03   -1.5027    
   8  Prefactor     2.7097        10.284        .12371E-02   -1.5379    
   9  Prefactor     .10000E-03    155.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.130        10.484        .11499E-03   -1.5011    
  11  Prefactor     3.7326        4.3258        .15580E-03   -1.5322    
  12  Prefactor     48.873        136.07        .28642E-03   -1.4309    
  13  norm          16.183        12.172        .99570E-04   -1.4903    
  14  Prefactor     1.6303        2.9504        .16464E-03   -1.5453    
  15  Prefactor     21.043        53.111        .87237E-04   -1.4790    
  16  Prefactor     8.6250        6.6573        .13650E-03   -1.5121    
  17  Prefactor     .10000E-03    35.244        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.3603        .14973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    100.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.4206        6.6898        .19154E-03   -1.5287    
  21  Prefactor     .10000E-03    14.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.9742        .16011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.7847        .11984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .72361        .24786        .31544E-03   -1.0297    
  25  Prefactor     1.2637        .20263        .20390E-03   -.84393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22623e-09
Minuit parameter uncertainties:
  1  1.4671e-06
  2  44.3814
  3  1.46568e-05
  4  36.1088
  5  0.0003607
  6  2.63161
  7  6.4364
  8  10.2905
  9  0.0011642
  10  10.4851
  11  4.32612
  12  136.944
  13  12.1734
  14  2.95069
  15  53.2309
  16  6.65784
  17  6.27415e-05
  18  2.00224e-06
  19  0.000691653
  20  6.69095
  21  1.0377e-06
  22  1.51445e-06
  23  4.65279e-07
  24  0.248248
  25  0.202754
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  4.887e+01  1.369e+02  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.264e+00  2.028e-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:  7.236e-01  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.20
Ra Dec: 332.474 -50.470
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/210807/likelihoodResults_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.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) = 5409.98450417
delta logL = 0.201544144735

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5409.97130318
delta logL = 0.21474512953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.349       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2162       1.0000          .0000       10.000    
     3 'Normalizat'    .69578       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2766       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5409.971     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      328 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.350        236.55        .86688E-04    .11292E-03
   2  Index         3.2165        2.8682        .58253E-02    .11350E-03
   3  Normalizat    .69523        .24614        .32115E-03    .77420E-04
   4  Prefactor     1.2771        .20230        .20290E-03    .34011E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.3501
  Index      = 3.21653
  Normalizat = 0.69523
  Prefactor  = 1.27705
 **********
 **   18 **HESSE 
 **********

 FCN=   5409.971     FROM HESSE     STATUS=OK            25 CALLS      353 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.350        68.466        .34675E-05   -1.4784    
   2  Index         3.2165        1.4580        .23301E-03   -.36473    
   3  Normalizat    .69523        .24494        .12846E-04   -1.0408    
   4  Prefactor     1.2771        .20089        .40580E-04   -.83992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25062e-10
Minuit parameter uncertainties:
  1  68.7193
  2  1.48281
  3  0.245325
  4  0.201008
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/210807': 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) = 5409.97130055
delta logL = 0.214747768197

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.135e+01  6.872e+01  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  3.217e+00  1.483e+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.277e+00  2.010e-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:  6.952e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.20
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/210807/cmap_HighResolution_537408001_537667201_4FGL_J2209.8-5028_daily_bin1150.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.19e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-28 06:38:45.503722', job_id='210807', GAL2='1.28', fit_tolerance='1e-08', EG2='0.70', EG='0.72', time_epoch_completed='1632836325.5', return_code2='0', ts='0.20', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='2.15e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1150' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:38:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 210807: <4FGL_J2209.8-5028_daily_bin1150> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1150> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 06:25:43 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:25:45 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:45 2021
Terminated at Tue Sep 28 06:38:46 2021
Results reported at Tue Sep 28 06:38:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1150 332.474 -50.4702 537408001 537667201 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 :                                   671.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            783 sec.

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

