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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1520
RA = 332.474, Dec = -50.4702
tmin = 633312001, tmax = 633571201
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='211920', job_status='RUN', time_executed='2021-09-28 06:32:06.909233', time_epoch_executed='1632835926.91' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211920

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211920/ft1_4FGL_J2209.8-5028_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211920/ft1_4FGL_J2209.8-5028_daily_bin1520.fits outfile=/scratch/kocevski/211920/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1520.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=633312001.0 tmax=633571201.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.70
user 3.46
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.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/211920/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1520.fits evtable="EVENTS" outfile="/scratch/kocevski/211920/ft1_filtered_4FGL_J2209.8-5028_daily_bin1520.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/211920/ft1_filtered_4FGL_J2209.8-5028_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/211920/ltcube_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.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/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits
.....................!
real 12.26
user 11.91
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211920/ft1_filtered_4FGL_J2209.8-5028_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/211920/ltcube_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.fits outfile=/scratch/kocevski/211920/expmap_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.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/211920/ltcube_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.fits
.....................!
real 189.57
user 184.95
sys 4.31

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/211920/ft1_filtered_4FGL_J2209.8-5028_daily_bin1520.fits scfile=/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits outfile=/scratch/kocevski/211920/cmap_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211920/ft1_filtered_4FGL_J2209.8-5028_daily_bin1520.fits scfile=/scratch/kocevski/211920/ft2_4FGL_J2209.8-5028_daily_bin1520.fits outfile=/scratch/kocevski/211920/cmap_HighResolution_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.784       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .16866E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6101       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.937       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.222       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12747E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.6066       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .33616E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .22310E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0781       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    247.68       1.0000         .10000E-03   10000.    
    13 'norm      '    .13199E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2205       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23672E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11355E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    79.166       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.4958       1.0000         .10000E-03   10000.    
    19 'Prefactor '    36.742       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .96645       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19960E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1952       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67513       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=   5114.177     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     3421 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.749        32.469        .26583E-04   -.29469E-05
   2  Prefactor     .10000E-03    36.265       -.18000E-04** at limit **
   3  Prefactor     9.6134        8.0737        .60884E-06   -.27662E-04
   4  Prefactor     43.888        36.152        .14918E-04    .10926E-04
   5  Prefactor     13.205        19.908        .33031E-04    .12437E-04
   6  Prefactor     .10000E-03    2.4214       -.72453E-06** at limit **
   7  norm          3.6080        3.5093       -.58102E-06    .47871E-04
   8  Prefactor     .10000E-03    21.565       -.80171E-05** at limit **
   9  Prefactor     .10000E-03    13.614       -.11044E-04** at limit **
  10  Prefactor     5.0768        7.1812       -.27386E-05   -.21711E-03
  11  Prefactor     .10000E-03    1.3363       -.89850E-07** at limit **
  12  Prefactor     247.74        126.76        .28695E-04    .88464E-05
  13  norm          .10000E-03    4.1925       -.93808E-07** at limit **
  14  Prefactor     4.2206        3.7576        .33026E-06   -.30789E-03
  15  Prefactor     .10000E-03    13.439        .10396E-04** at limit **
  16  Prefactor     .10000E-03    4.8303       -.98116E-06** at limit **
  17  Prefactor     79.337        45.030        .27765E-04    .60576E-05
  18  Prefactor     5.4788        14.961       -.35439E-05   -.13243E-03
  19  Prefactor     36.659        96.834       -.11772E-03   -.15214E-05
  20  Prefactor     .96548        4.1877       -.31956E-06   -.88734E-03
  21  Prefactor     .10000E-03    20.417        .60646E-05** at limit **
  22  Prefactor     .10000E-03    4.7079        .73808E-07** at limit **
  23  norm          .10000E-03    2.8275        .11107E-06** at limit **
  24  Normalizat    1.1950        .19708       -.95383E-05    .45803E-03
  25  Prefactor     .67528        .14896       -.32870E-05   -.70437E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.749
  Prefactor  = 0.000100001
  Prefactor  = 9.61338
  Prefactor  = 43.8879
  Prefactor  = 13.2047
  Prefactor  = 0.0001
  norm       = 3.608
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.07677
  Prefactor  = 0.0001
  Prefactor  = 247.74
  norm       = 0.0001
  Prefactor  = 4.22058
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 79.337
  Prefactor  = 5.47885
  Prefactor  = 36.6589
  Prefactor  = 0.965477
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.19497
  Prefactor  = 0.675283
 **********
 **   18 **HESSE 
 **********

 FCN=   5114.177     FROM HESSE     STATUS=OK           425 CALLS     3846 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.749        32.476        .80464E-04   -1.4713    
   2  Prefactor     .10000E-03    36.382        .20376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.6134        8.0597        .12927E-03   -1.5088    
   4  Prefactor     43.888        36.103        .60482E-04   -1.4382    
   5  Prefactor     13.205        19.886        .11016E-03   -1.4981    
   6  Prefactor     .10000E-03    18.690        .21365E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.6080        3.5098        .12652E-03   -1.5328    
   8  Prefactor     .10000E-03    22.583        .42682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0768        7.1619        .17843E-03   -1.5257    
  11  Prefactor     .10000E-03    1.3441        .80715E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     247.74        126.64        .12868E-03   -1.2547    
  13  norm          .10000E-03    4.2282        .14300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2206        3.7600        .12572E-03   -1.5297    
  15  Prefactor     .10000E-03    13.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.8893        .15334E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     79.337        45.015        .45136E-04   -1.3924    
  18  Prefactor     5.4788        14.774        .17139E-03   -1.5240    
  19  Prefactor     36.659        96.599        .66118E-04   -1.4496    
  20  Prefactor     .96548        4.0324        .28492E-03   -1.5511    
  21  Prefactor     .10000E-03    20.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.7134        .15155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    2.8294        .11744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1950        .22793        .23962E-03   -.86758    
  25  Prefactor     .67528        .17208        .24069E-03   -1.0450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45157e-09
Minuit parameter uncertainties:
  1  32.4991
  2  0.000396247
  3  8.06057
  4  36.1207
  5  19.8963
  6  0.00016094
  7  3.51003
  8  0.000375978
  9  1.54999e-05
  10  7.16306
  11  1.60489e-05
  12  126.779
  13  2.48482e-05
  14  3.76019
  15  1.78533e-05
  16  0.000199211
  17  45.0342
  18  14.7835
  19  97.0156
  20  3.94648
  21  9.13957e-07
  22  9.28453e-06
  23  3.8805e-06
  24  0.228123
  25  0.172211
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  2.477e+02  1.268e+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:  6.753e-01  1.722e-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:  1.195e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.36
Ra Dec: 332.474 -50.470
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 8.71e-08 +/- 4.45e-08
Energy Flux (Fixed Index): 2.97e-05 +/- 1.52e-05

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) = 5113.67151041
delta logL = 0.505373391829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5113.67105652
delta logL = 0.505827280936

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    369.46       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9402       1.0000          .0000       10.000    
     3 'Normalizat'    1.2209       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66358       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=   5113.671     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      298 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     369.47        209.49        .10603E-03   -.20512E-03
   2  Index         1.9401        .40958        .55766E-02   -.28495E-03
   3  Normalizat    1.2209        .21486        .23756E-03    .12263E-03
   4  Prefactor     .66356        .16636        .24268E-03    .13722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 369.473
  Index      = 1.94015
  Normalizat = 1.22095
  Prefactor  = 0.663565
 **********
 **   18 **HESSE 
 **********

 FCN=   5113.671     FROM HESSE     STATUS=OK            23 CALLS      321 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     369.47        206.99        .21206E-04   -1.1840    
   2  Index         1.9401        .40453        .22307E-03   -.65855    
   3  Normalizat    1.2209        .21496        .47511E-04   -.85958    
   4  Prefactor     .66356        .16646        .97070E-05   -1.0497    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48959e-10
Minuit parameter uncertainties:
  1  207.407
  2  0.405243
  3  0.215114
  4  0.166584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211920': 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) = 5113.67105652
delta logL = 0.505827288679

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  3.695e+02  2.074e+02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  1.940e+00  4.052e-01  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:  6.636e-01  1.666e-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:  1.221e+00  2.151e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.41
Ra Dec: 332.474 -50.470
Photon Index (Free Index): 1.94 +/- 0.41
Photon Flux (Free Index): 6.15e-08 +/- 4.06e-08
Energy Flux (Free Index): 4.95e-05 +/- 4.14e-05

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/211920/cmap_HighResolution_633312001_633571201_4FGL_J2209.8-5028_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.71e-08', energy_flux2='4.95e-05', photon_flux_error='4.45e-08', dlogl='5.06e-01', energy_flux='2.97e-05', photon_flux2='6.15e-08', job_status='DONE', time_completed='2021-09-28 06:44:05.830375', photon_index_error2='0.41', photon_index2='1.94', ts='14.36', fit_tolerance='1e-08', GAL='0.68', photon_index_error='0.00', energy_flux_error2='4.14e-05', EG='1.19', time_epoch_completed='1632836645.83', return_code='0', job_id='211920', GAL2='0.66', EG2='1.22', return_code2='0', energy_flux_error='1.52e-05', photon_flux_error2='4.06e-08', ts2='15.41', photon_index='2.37' WHERE bin_id='1520' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:44:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 211920: <4FGL_J2209.8-5028_daily_bin1520> in cluster <slac> Done

Job <4FGL_J2209.8-5028_daily_bin1520> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 06:30:37 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:30:39 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:30:39 2021
Terminated at Tue Sep 28 06:44:06 2021
Results reported at Tue Sep 28 06:44:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1520 332.474 -50.4702 633312001 633571201 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 :                                   619.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

