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


Performing analysis on: 4FGL_J2209.8-5028_daily_bin1338
RA = 332.474, Dec = -50.4702
tmin = 586137601, tmax = 586396801
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='211650', job_status='RUN', time_executed='2021-09-28 06:31:05.754818', time_epoch_executed='1632835865.75' WHERE source_name='4FGL J2209.8-5028' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/211650

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/211650/ft1_4FGL_J2209.8-5028_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/211650/ft1_4FGL_J2209.8-5028_daily_bin1338.fits outfile=/scratch/kocevski/211650/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1338.fits ra=332.474 dec=-50.4702 rad=12.0 tmin=586137601.0 tmax=586396801.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.57
user 4.29
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.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/211650/ft1_filteredMKT_4FGL_J2209.8-5028_daily_bin1338.fits evtable="EVENTS" outfile="/scratch/kocevski/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/211650/ltcube_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.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/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits
.....................!
real 10.33
user 9.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/211650/ltcube_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.fits outfile=/scratch/kocevski/211650/expmap_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.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/211650/ltcube_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.fits
.....................!
real 191.01
user 184.77
sys 5.62

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/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits outfile=/scratch/kocevski/211650/cmap_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits outfile=/scratch/kocevski/211650/cmap_HighResolution_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/211650/ft2_4FGL_J2209.8-5028_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/211650/Model_4FGL_J2209.8-5028_daily_bin1338.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/211650/ft1_filtered_4FGL_J2209.8-5028_daily_bin1338.fits.....................!
real 45.11
user 43.72
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.613       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .65978       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    66.981       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4948       1.0000         .10000E-03   10000.    
     7 'norm      '    10.046       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    61.598       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.0831       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.4622       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .17207E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    184.34       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5038       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10538E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    40.039       1.0000         .10000E-03   10000.    
    23 'norm      '    4.1573       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .99296       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1310       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=   5663.242     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2995 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.415       -.10997E-05** at limit **
   2  Prefactor     50.534        53.225       -.79053E-05   -.55646E-03
   3  Prefactor     .63803        4.3191       -.47136E-07    .53687E-04
   4  Prefactor     .10000E-03    9.6375       -.89593E-07** at limit **
   5  Prefactor     66.977        40.531        .94036E-06   -.36602E-04
   6  Prefactor     1.4940        3.4573        .46750E-06   -.33316E-04
   7  norm          10.045        5.3639       -.20243E-06   -.31920E-03
   8  Prefactor     .10000E-03    5.6111        .32343E-07** at limit **
   9  Prefactor     61.626        40.890        .16106E-05    .23419E-03
  10  Prefactor     .10000E-03    8.1567        .50520E-06** at limit **
  11  Prefactor     6.0850        4.4431        .95813E-07   -.55501E-04
  12  Prefactor     .10000E-03    153.63        .35805E-05** at limit **
  13  norm          8.4616        6.9631        .34250E-08    .48681E-05
  14  Prefactor     .10000E-03    .96492        .24729E-08** at limit **
  15  Prefactor     .10000E-03    15.047        .78184E-08** at limit **
  16  Prefactor     .10000E-03    3.1607        .71731E-07** at limit **
  17  Prefactor     .10000E-03    12.610       -.30683E-06** at limit **
  18  Prefactor     .10000E-03    11.426       -.27904E-06** at limit **
  19  Prefactor     184.29        146.25       -.31755E-05   -.13529E-03
  20  Prefactor     4.5074        8.8923        .62796E-05   -.50438E-03
  21  Prefactor     .10000E-03    30.911        .14681E-06** at limit **
  22  Prefactor     40.042        26.913       -.27555E-06   -.17278E-04
  23  norm          4.1577        8.5373        .51588E-05   -.40585E-03
  24  Normalizat    .99184        .22012       -.17575E-05    .32263E-04
  25  Prefactor     1.1320        .17227        .66709E-06   -.78459E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 50.5338
  Prefactor  = 0.638031
  Prefactor  = 0.0001
  Prefactor  = 66.9766
  Prefactor  = 1.49404
  norm       = 10.0449
  Prefactor  = 0.0001
  Prefactor  = 61.6258
  Prefactor  = 0.0001
  Prefactor  = 6.08503
  Prefactor  = 0.000100004
  norm       = 8.46157
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 184.29
  Prefactor  = 4.50739
  Prefactor  = 0.0001
  Prefactor  = 40.0419
  norm       = 4.15765
  Normalizat = 0.991843
  Prefactor  = 1.132
 **********
 **   18 **HESSE 
 **********

 FCN=   5663.242     FROM HESSE     STATUS=OK           421 CALLS     3416 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    49.388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     50.534        56.357        .28185E-03   -1.4285    
   3  Prefactor     .63803        17.373        .29598E-02   -1.5548    
   4  Prefactor     .10000E-03    9.6466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     66.977        40.568        .49041E-04   -1.4069    
   6  Prefactor     1.4940        3.4079        .20346E-03   -1.5464    
   7  norm          10.045        5.3697        .12335E-03   -1.5074    
   8  Prefactor     .10000E-03    5.6222        .17410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     61.626        41.023        .51125E-04   -1.4136    
  10  Prefactor     .10000E-03    8.3053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.0850        4.4438        .12962E-03   -1.5215    
  12  Prefactor     .10000E-03    154.21        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.4616        6.9646        .13781E-03   -1.5126    
  14  Prefactor     .10000E-03    .96662        .72186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.051        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.2048        .13061E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     184.29        147.24        .14869E-03   -1.2984    
  20  Prefactor     4.5074        9.0239        .94857E-03   -1.5283    
  21  Prefactor     .10000E-03    30.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     40.042        27.063        .63347E-04   -1.4442    
  23  norm          4.1577        8.6085        .98839E-03   -1.5300    
  24  Normalizat    .99184        .25495        .29424E-03   -.93304    
  25  Prefactor     1.1320        .20049        .22294E-03   -.88450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27733e-09
Minuit parameter uncertainties:
  1  6.95223e-05
  2  56.4166
  3  6.66038
  4  7.4489e-06
  5  40.5845
  6  3.40831
  7  5.36994
  8  2.04316e-06
  9  41.0419
  10  2.19106e-05
  11  4.44407
  12  0.00149339
  13  6.96523
  14  1.34112e-06
  15  3.5098e-06
  16  1.0831e-06
  17  2.03963e-05
  18  0.000105792
  19  147.534
  20  9.02662
  21  4.76531e-05
  22  27.0712
  23  8.61104
  24  0.255266
  25  0.200622
Done.

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

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  1.493e-03  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.132e+00  2.006e-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.918e-01  2.553e-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: 8.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/211650/likelihoodResults_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.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) = 5663.24232026
delta logL = -3.07610034724e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5663.24232026
delta logL = -3.0760313166e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96363E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3719       1.0000          .0000       10.000    
     3 'Normalizat'    .99184       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1320       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=   5663.242     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      203 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    133.32        .90712E-02** at limit **
   2  Index         2.3088        5.6065        .50000        .29192E-05
   3  Normalizat    .99184        .45730E-02    .66522E-01   -.22701E-03
   4  Prefactor     1.1320        .36914E-02    .36480E-01    .11180E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100021
  Index      = 2.30877
  Normalizat = 0.991835
  Prefactor  = 1.13201
 **********
 **   18 **HESSE 
 **********

 FCN=   5663.242     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      234 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    676.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3088        5.9588        .50000       -.56835    
   3  Normalizat    .99184        .10393E-01    .29424E-03   -.93304    
   4  Prefactor     1.1320        .84006E-02    .22294E-03   -.88450    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.74736e-08
Minuit parameter uncertainties:
  1  0.00771049
  2  376.58
  3  0.0103934
  4  0.00840057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/211650': 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) = 5663.24228945
delta logL = 4.76575223729e-08

Extracting fit parameters...

4FGL J2209.8-5028
   Spectrum: PowerLaw
347    Prefactor:  1.000e-04  7.710e-03  1.000e-04  1.000e+04 ( 1.000e-14)
348        Index:  2.309e+00  3.766e+02  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.132e+00  8.401e-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.918e-01  1.039e-02  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/211650/cmap_HighResolution_586137601_586396801_4FGL_J2209.8-5028_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2021-09-28 06:45:23.210011', job_id='211650', GAL2='1.13', fit_tolerance='1e-08', EG2='0.99', EG='0.99', time_epoch_completed='1632836723.21', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='4.77e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1338' AND source_name='4FGL J2209.8-5028' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:45:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 211650: <4FGL_J2209.8-5028_daily_bin1338> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2209.8-5028_daily_bin1338 332.474 -50.4702 586137601 586396801 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 :                                   692.19 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             291.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            904 sec.

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

