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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1017
RA = 182.466, Dec = 18.1776
tmin = 502934401, tmax = 503193601
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='380392', job_status='RUN', time_executed='2021-09-05 02:38:44.760387', time_epoch_executed='1630834724.76' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1017'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/380392

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/380392/ft1_4FGL_J1209.8+1810_daily_bin1017.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/380392/ft1_4FGL_J1209.8+1810_daily_bin1017.fits outfile=/scratch/kocevski/380392/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1017.fits ra=182.466 dec=18.1776 rad=12.0 tmin=502934401.0 tmax=503193601.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.57
user 3.38
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.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/380392/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1017.fits evtable="EVENTS" outfile="/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.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/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits" evtable="EVENTS" scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits sctable="SC_DATA" outfile=/scratch/kocevski/380392/ltcube_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.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/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits
.....................!
real 11.72
user 11.28
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits sctable="SC_DATA" expcube=/scratch/kocevski/380392/ltcube_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits outfile=/scratch/kocevski/380392/expmap_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.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/380392/ltcube_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits
.....................!
real 192.86
user 187.23
sys 5.30

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1209.8+1810 @ 182.466 18.1776

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits outfile=/scratch/kocevski/380392/cmap_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.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=182.466 yref=18.1776 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.60
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits outfile=/scratch/kocevski/380392/cmap_HighResolution_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.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=182.466 yref=18.1776 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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits evtable="EVENTS" scfile=/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/380392/Model_4FGL_J1209.8+1810_daily_bin1017.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/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits.....................!
real 55.21
user 53.93
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits', '/scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits', expMap='/scratch/kocevski/380392/expmap_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits', expCube='/scratch/kocevski/380392/ltcube_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/380392/Model_4FGL_J1209.8+1810_daily_bin1017.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1209.8+1810'

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/380392/ft1_filtered_4FGL_J1209.8+1810_daily_bin1017.fits
Spacecraft file(s): /scratch/kocevski/380392/ft2_4FGL_J1209.8+1810_daily_bin1017.fits
Exposure map: /scratch/kocevski/380392/expmap_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits
Exposure cube: /scratch/kocevski/380392/ltcube_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/380392/Model_4FGL_J1209.8+1810_daily_bin1017.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) = 5912.09059321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6638       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28774E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.4146       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13115E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.194       1.0000         .10000E-03   10000.    
     8 'norm      '    6.3589       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11606E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1520       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.4311       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.0552       1.0000         .10000E-03   10000.    
    17 'norm      '    .23393       1.0000         .10000E-03   10000.    
    18 'norm      '    6.3314       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.609       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.157       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.8423       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .97811       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0076       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5912.087     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     2281 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.6632        4.9487       -.95523E-07    .43372E-02
   2  Prefactor     .10492E-03    1081.2        .10681E-04** at limit **
   3  Prefactor     .10000E-03    6.3492        .52269E-06** at limit **
   4  Prefactor     2.4144        2.7621       -.44966E-06    .30607E-02
   5  Prefactor     .10000E-03    .84318       -.18195E-06** at limit **
   6  Prefactor     .10000E-03    77.749        .14067E-06** at limit **
   7  Prefactor     15.202        2.2429        .59174E-07    .19440E-02
   8  norm          6.3590        1.7187        .18218E-06    .27486E-03
   9  Prefactor     .10000E-03    5.1609        .63440E-07** at limit **
  10  Prefactor     .10000E-03    1.4994        .69491E-08** at limit **
  11  Prefactor     .10000E-03    21.282       -.53680E-07** at limit **
  12  Prefactor     .10000E-03    3.1964        .12372E-06** at limit **
  13  Prefactor     .10000E-03    3.9012        .13860E-07** at limit **
  14  Prefactor     2.1512        2.1101        .30640E-06   -.60176E-04
  15  Prefactor     8.4278        1.1818        .70141E-07   -.88510E-03
  16  Prefactor     1.0559        3.9060        .75054E-07   -.71781E-03
  17  norm          .23392        .15795       -.22709E-08   -.90509E-03
  18  norm          6.3295        4.1566        .59960E-06    .78323E-02
  19  Prefactor     13.600        10.795       -.84248E-06    .29833E-02
  20  Prefactor     .10000E-03    3.7594       -.91477E-07** at limit **
  21  Prefactor     24.138        3.3758        .10147E-06   -.55118E-02
  22  Prefactor     8.8390        6.5739        .73312E-06   -.43577E-02
  23  Normalizat    .97824        .20332       -.50862E-05   -.43473E-03
  24  Prefactor     1.0077        .20614       -.14505E-06   -.37894E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.66322
  Prefactor  = 0.000104923
  Prefactor  = 0.0001
  Prefactor  = 2.41444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.2022
  norm       = 6.35903
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.15118
  Prefactor  = 8.42776
  Prefactor  = 1.05595
  norm       = 0.233915
  norm       = 6.32946
  Prefactor  = 13.6003
  Prefactor  = 0.0001
  Prefactor  = 24.1379
  Prefactor  = 8.83901
  Normalizat = 0.978236
  Prefactor  = 1.00768
 **********
 **   18 **HESSE 
 **********

 FCN=   5912.087     FROM HESSE     STATUS=OK           467 CALLS     2748 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.6632        7.6537        .46588E-02   -1.5276    
   2  Prefactor     .10492E-03    63.378        .12558       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.3377        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.4144        8.6475        .65859E-02   -1.5397    
   5  Prefactor     .10000E-03    .81768        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    77.742        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.202        10.579        .25688E-02   -1.4928    
   8  norm          6.3590        1.7216        .39793E-02   -1.5204    
   9  Prefactor     .10000E-03    5.1550        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.4799        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.296        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.7966        .34276E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.1814        .36755E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1512        2.1250        .70217E-02   -1.5415    
  15  Prefactor     8.4278        24.714        .34515E-02   -1.5127    
  16  Prefactor     1.0559        4.1031        .11989E-01   -1.5502    
  17  norm          .23392        .15780        .54828E-02   -1.5611    
  18  norm          6.3295        4.8815        .39880E-02   -1.5205    
  19  Prefactor     13.600        12.305        .27145E-02   -1.4970    
  20  Prefactor     .10000E-03    3.7575        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.138        28.747        .20375E-02   -1.4725    
  22  Prefactor     8.8390        7.2930        .33698E-02   -1.5113    
  23  Normalizat    .97824        .18207        .45892E-01   -.93763    
  24  Prefactor     1.0077        .18021        .43707E-01   -.92474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04648e-06
Minuit parameter uncertainties:
  1  7.6553
  2  0.035364
  3  1.83722e-05
  4  8.65193
  5  2.37734e-06
  6  0.000201795
  7  10.5804
  8  1.72165
  9  2.95056e-05
  10  5.33813e-08
  11  0.000145129
  12  4.3397e-06
  13  2.07393e-06
  14  2.12507
  15  24.7435
  16  4.10419
  17  0.157799
  18  4.88178
  19  12.307
  20  1.2586e-07
  21  28.7637
  22  7.29378
  23  0.182189
  24  0.180321
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  4.340e-06  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.008e+00  1.803e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.782e-01  1.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/380392/likelihoodResults_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.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) = 5912.08879166
delta logL = -0.00149561624403

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5912.08729674
delta logL = -6.97251380188e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4227       1.0000          .0000       10.000    
     3 'Normalizat'    .97816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5912.087     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.7337        .33710E-01** at limit **
   2  Index         2.4340        6.1316        .50000       -.31444E-04
   3  Normalizat    .97824        .57377E-02    .45893E-01    .34587E-03
   4  Prefactor     1.0077        .58650E-02    .43660E-01    .34835E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.43396
  Normalizat = 0.978238
  Prefactor  = 1.00768
 **********
 **   18 **HESSE 
 **********

 FCN=   5912.087     FROM HESSE     STATUS=OK            31 CALLS      251 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.4041        .19196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4340        6.1301        .50000       -.53892    
   3  Normalizat    .97824        .19954        .25179E-03   -.93763    
   4  Prefactor     1.0077        .20399        .25270E-03   -.92474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13566e-09
Minuit parameter uncertainties:
  1  0.000188351
  2  5.5626
  3  0.199694
  4  0.204147
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/380392': 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) = 5912.08729588
delta logL = 1.6895137378e-07

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.884e-04  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.434e+00  5.563e+00  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  1.008e+00  2.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  9.782e-01  1.997e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.466 18.178

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/380392/cmap_HighResolution_502934401_503193601_4FGL_J1209.8+1810_daily_bin1017.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.11e-03', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-05 02:50:01.470774', job_id='380392', GAL2='1.01', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1630835401.47', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.69e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1017' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:50:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 380392: <4FGL_J1209.8+1810_daily_bin1017> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1017> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 02:35:35 2021
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:35:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 02:35:36 2021
Terminated at Sun Sep  5 02:50:02 2021
Results reported at Sun Sep  5 02:50:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1017 182.466 18.1776 502934401 503193601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1209.8+1810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   665.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   865 sec.
    Turnaround time :                            867 sec.

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

