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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin469
RA = 332.474, Dec = -50.4702
tmin = 360892801, tmax = 361152001
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='207439', job_status='RUN', time_executed='2021-09-28 06:18:22.048273', time_epoch_executed='1632835102.05' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='469'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/207439

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/207439/ft1_4FGL_J2209.8-5028_daily_bin469.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/207439/ft1_4FGL_J2209.8-5028_daily_bin469.fits outfile=/scratch/kocevski/207439/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin469.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=360892801.0 tmax=361152001.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.65
user 3.35
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.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/207439/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin469.fits evtable="EVENTS" outfile="/scratch/kocevski/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.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.66
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits" evtable="EVENTS" scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits sctable="SC_DATA" outfile=/scratch/kocevski/207439/ltcube_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.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/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits
.....................!
real 12.17
user 11.69
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits sctable="SC_DATA" expcube=/scratch/kocevski/207439/ltcube_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.fits outfile=/scratch/kocevski/207439/expmap_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.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/207439/ltcube_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.fits
.....................!
real 198.85
user 193.48
sys 4.84

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/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits outfile=/scratch/kocevski/207439/cmap_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.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/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits outfile=/scratch/kocevski/207439/cmap_HighResolution_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.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.61
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits evtable="EVENTS" scfile=/scratch/kocevski/207439/ft2_4FGL_J2209.8-5028_daily_bin469.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/207439/Model_4FGL_J2209.8-5028_daily_bin469.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/207439/ft1_filtered_4FGL_J2209.8-5028_daily_bin469.fits.....................!
real 55.66
user 54.17
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.801       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.347       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.053       1.0000         .10000E-03   10000.    
     5 'Prefactor '    32.831       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.6242       1.0000         .10000E-03   10000.    
     7 'norm      '    9.1029       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3804       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4844       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .21098E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0097       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5883       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.052       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10435E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    27.880       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.7499       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .93183       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98089       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7670.081     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     2440 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.804        7.7146       -.57238E-05   -.41772E-02
   2  Prefactor     .10000E-03    11.038        .25248E-05** at limit **
   3  Prefactor     24.346        1.0879       -.18753E-06   -.45541E-03
   4  Prefactor     20.054        1.2281        .48254E-06    .10578E-02
   5  Prefactor     32.831        4.5973        .21635E-05    .44097E-02
   6  Prefactor     9.6241        4.3112       -.51914E-06    .18828E-03
   7  norm          9.1027        4.0284        .29461E-05   -.27566E-04
   8  Prefactor     .10000E-03    2.9717        .37631E-06** at limit **
   9  Prefactor     .10000E-03    12.301        .54511E-06** at limit **
  10  Prefactor     3.3698        6.1827        .69188E-05   -.33644E-03
  11  Prefactor     2.4842        3.0687        .86924E-06    .22758E-04
  12  Prefactor     .10020E-03    522.61       -.36406E-04** at limit **
  13  norm          .10000E-03    2.5061       -.33813E-06** at limit **
  14  Prefactor     1.0096        2.5631       -.11244E-06   -.19584E-05
  15  Prefactor     .10007E-03    4.6697       -.28084E-05** at limit **
  16  Prefactor     3.5876        1.5923        .10761E-05    .75637E-03
  17  Prefactor     18.084        22.334       -.13610E-04    .25064E-02
  18  Prefactor     .10000E-03    37.783       -.94517E-05** at limit **
  19  Prefactor     27.909        6.8973        .95118E-06   -.17366E-02
  20  Prefactor     .10000E-03    5.1992       -.99501E-06** at limit **
  21  Prefactor     .10006E-03    5.7034        .23177E-06** at limit **
  22  Prefactor     4.7501        1.0134       -.16008E-06   -.42605E-04
  23  norm          .10000E-03    1.9630       -.22196E-05** at limit **
  24  Normalizat    .93189        .18443        .40256E-05    .93642E-05
  25  Prefactor     .98085        .14641       -.93639E-06    .10475E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8035
  Prefactor  = 0.000100003
  Prefactor  = 24.3463
  Prefactor  = 20.0544
  Prefactor  = 32.8314
  Prefactor  = 9.62406
  norm       = 9.10274
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.3698
  Prefactor  = 2.48421
  Prefactor  = 0.000100196
  norm       = 0.0001
  Prefactor  = 1.00959
  Prefactor  = 0.000100073
  Prefactor  = 3.58756
  Prefactor  = 18.0843
  Prefactor  = 0.0001
  Prefactor  = 27.9086
  Prefactor  = 0.0001
  Prefactor  = 0.000100058
  Prefactor  = 4.7501
  norm       = 0.0001
  Normalizat = 0.931886
  Prefactor  = 0.980853
 **********
 **   18 **HESSE 
 **********

 FCN=   7670.081     FROM HESSE     STATUS=OK           483 CALLS     2923 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.804        19.398        .26955E-02   -1.4965    
   2  Prefactor     .10000E-03    11.279        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     24.346        7.9291        .20295E-02   -1.4721    
   4  Prefactor     20.054        19.752        .22360E-02   -1.4812    
   5  Prefactor     32.831        19.829        .17483E-02   -1.4561    
   6  Prefactor     9.6241        4.3866        .32294E-02   -1.5087    
   7  norm          9.1027        4.1414        .33210E-02   -1.5104    
   8  Prefactor     .10000E-03    2.9666        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.341        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3698        6.2792        .55018E-02   -1.5341    
  11  Prefactor     2.4842        3.0909        .64839E-02   -1.5393    
  12  Prefactor     .10020E-03    533.84        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5004        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0096        2.6081        .13198E-01   -1.5507    
  15  Prefactor     .10007E-03    9.8501        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.5876        5.1872        .53332E-02   -1.5329    
  17  Prefactor     18.084        26.298        .23567E-02   -1.4857    
  18  Prefactor     .10000E-03    6.7709        .79489E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     27.909        74.692        .18969E-02   -1.4651    
  20  Prefactor     .10000E-03    5.1136        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10006E-03    9.7297        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.7501        14.343        .46154E-02   -1.5272    
  23  norm          .10000E-03    1.9628        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .93189        .16847        .45307E-01   -.95349    
  25  Prefactor     .98085        .12988        .46028E-01   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28586e-07
Minuit parameter uncertainties:
  1  19.4068
  2  0.000346098
  3  7.92948
  4  19.7579
  5  19.8327
  6  4.38678
  7  4.14153
  8  1.82672e-07
  9  0.000139956
  10  6.28041
  11  3.09109
  12  0.0206629
  13  3.32231e-07
  14  2.60843
  15  0.00169455
  16  5.18788
  17  26.3147
  18  6.20922e-05
  19  74.9438
  20  4.65717e-07
  21  0.00149716
  22  14.353
  23  1.27632e-06
  24  0.168562
  25  0.129924
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.002e-04  2.066e-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:  9.809e-01  1.299e-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:  9.319e-01  1.686e-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: 6.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/207439/likelihoodResults_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7670.08112484
delta logL = -8.72986765899e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7670.08112484
delta logL = -8.72965756571e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96364E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3719       1.0000          .0000       10.000    
     3 'Normalizat'    .93188       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98085       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=   7670.081     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      202 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    370.28        .90712E-02** at limit **
   2  Index         2.3153        5.9333        .50000        .92721E-06
   3  Normalizat    .93189        .31985E-02    .45308E-01    .44039E-03
   4  Prefactor     .98085        .26295E-02    .46027E-01    .57018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100041
  Index      = 2.31528
  Normalizat = 0.931886
  Prefactor  = 0.980854
 **********
 **   18 **HESSE 
 **********

 FCN=   7670.081     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      231 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    6497.5        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3153        6.1431        .50000       -.56681    
   3  Normalizat    .93189        .95024E-02    .27164E-03   -.95349    
   4  Prefactor     .98085        .78133E-02    .21709E-03   -.93370    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.3895e-08
Minuit parameter uncertainties:
  1  0.0234439
  2  1037.4
  3  0.00950239
  4  0.00781326
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/207439': 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): 102
logL (Free Index) = 7670.08111609
delta logL = 1.23473000713e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  2.344e-02  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.315e+00  1.037e+03  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:  9.809e-01  7.813e-03  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:  9.319e-01  9.502e-03  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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/207439/cmap_HighResolution_360892801_361152001_4FGL_J2209.8-5028_daily_bin469.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', job_status='DONE', photon_flux_upper_limit='6.39e-08', time_completed='2021-09-28 06:31:22.287081', job_id='207439', GAL2='0.98', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1632835882.29', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.23e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='469' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:31:22 PDT 2021


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

Job <4FGL_J2209.8-5028_daily_bin469> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:15:27 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:15:29 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:15:29 2021
Terminated at Tue Sep 28 06:31:23 2021
Results reported at Tue Sep 28 06:31:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin469 332.474 -50.4702 360892801 361152001 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 :                                   777.06 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            956 sec.

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

