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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin775
RA = 182.466, Dec = 18.1776
tmin = 440208001, tmax = 440467201
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='378179', job_status='RUN', time_executed='2021-09-05 02:30:44.786221', time_epoch_executed='1630834244.79' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='775'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/378179

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/378179/ft1_4FGL_J1209.8+1810_daily_bin775.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/378179/ft1_4FGL_J1209.8+1810_daily_bin775.fits outfile=/scratch/kocevski/378179/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin775.fits ra=182.466 dec=18.1776 rad=12.0 tmin=440208001.0 tmax=440467201.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.42
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.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/378179/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin775.fits evtable="EVENTS" outfile="/scratch/kocevski/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits" evtable="EVENTS" scfile=/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits sctable="SC_DATA" outfile=/scratch/kocevski/378179/ltcube_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.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/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits
.....................!
real 11.88
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits evtable="EVENTS" scfile=/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits sctable="SC_DATA" expcube=/scratch/kocevski/378179/ltcube_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits outfile=/scratch/kocevski/378179/expmap_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.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/378179/ltcube_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits
.....................!
real 191.18
user 186.80
sys 4.01

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/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits scfile=/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits outfile=/scratch/kocevski/378179/cmap_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.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.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits scfile=/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits outfile=/scratch/kocevski/378179/cmap_HighResolution_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.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.54
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits', '/scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits', expMap='/scratch/kocevski/378179/expmap_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits', expCube='/scratch/kocevski/378179/ltcube_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/378179/Model_4FGL_J1209.8+1810_daily_bin775.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/378179/ft1_filtered_4FGL_J1209.8+1810_daily_bin775.fits
Spacecraft file(s): /scratch/kocevski/378179/ft2_4FGL_J1209.8+1810_daily_bin775.fits
Exposure map: /scratch/kocevski/378179/expmap_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits
Exposure cube: /scratch/kocevski/378179/ltcube_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/378179/Model_4FGL_J1209.8+1810_daily_bin775.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) = 7675.14566968

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.464       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .57613       1.0000         .10000E-03   10000.    
     6 'Prefactor '    116.49       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.7221       1.0000         .10000E-03   10000.    
     8 'norm      '    2.7264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.427       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1120       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12278E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7782       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.7522       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25077E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.5681       1.0000         .10000E-03   10000.    
    18 'norm      '    13.227       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.493       1.0000         .10000E-03   10000.    
    21 'Prefactor '    63.812       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .45264E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2326       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74953       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7675.111     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2784 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.0387        .16364E-05** at limit **
   2  Prefactor     .10000E-03    6.3630       -.95321E-06** at limit **
   3  Prefactor     32.469        21.035        .11739E-05    .59670E-03
   4  Prefactor     .10000E-03    9.0559       -.20937E-05** at limit **
   5  Prefactor     .57499        1.4419       -.68108E-06    .17142E-02
   6  Prefactor     116.47        134.77        .64809E-05    .79394E-04
   7  Prefactor     5.7190        10.636       -.95853E-06   -.19265E-03
   8  norm          2.7262        1.3187        .96300E-08    .74877E-03
   9  Prefactor     13.424        10.842       -.23681E-06   -.34539E-03
  10  Prefactor     3.1107        3.5654       -.20913E-07    .97001E-03
  11  Prefactor     .10003E-03    77.483        .15548E-04** at limit **
  12  Prefactor     .10001E-03    7.8302       -.13956E-04** at limit **
  13  Prefactor     2.7754        3.4266       -.11857E-05   -.70146E-03
  14  Prefactor     5.7515        2.6675        .11506E-07    .19488E-03
  15  Prefactor     .10000E-03    20.336       -.11244E-05** at limit **
  16  Prefactor     .10000E-03    2.7971       -.37683E-06** at limit **
  17  norm          1.5679        .32195       -.64937E-08   -.23276E-02
  18  norm          13.218        5.3537       -.26037E-06   -.76698E-03
  19  Prefactor     .10000E-03    2.9682        .70668E-08** at limit **
  20  Prefactor     17.492        11.697       -.90666E-07   -.65360E-04
  21  Prefactor     63.810        28.441        .25783E-06   -.88671E-05
  22  Prefactor     .10011E-03    43.733        .34154E-04** at limit **
  23  Normalizat    1.2327        .17556        .40995E-06    .13062E-03
  24  Prefactor     .74947        .15781        .25032E-06   -.75071E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.4692
  Prefactor  = 0.0001
  Prefactor  = 0.574986
  Prefactor  = 116.471
  Prefactor  = 5.71899
  norm       = 2.72624
  Prefactor  = 13.4236
  Prefactor  = 3.11067
  Prefactor  = 0.00010003
  Prefactor  = 0.000100005
  Prefactor  = 2.7754
  Prefactor  = 5.75155
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.5679
  norm       = 13.2183
  Prefactor  = 0.0001
  Prefactor  = 17.4921
  Prefactor  = 63.8102
  Prefactor  = 0.000100108
  Normalizat = 1.23273
  Prefactor  = 0.749465
 **********
 **   18 **HESSE 
 **********

 FCN=   7675.111     FROM HESSE     STATUS=OK           405 CALLS     3189 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.1062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     32.469        21.063        .70327E-04   -1.4568    
   4  Prefactor     .10000E-03    9.3652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .57499        1.4773        .16135E-03   -1.5556    
   6  Prefactor     116.47        135.76        .37280E-04   -1.3545    
   7  Prefactor     5.7190        10.633        .16791E-03   -1.5230    
   8  norm          2.7262        1.3151        .67271E-04   -1.5378    
   9  Prefactor     13.424        10.845        .10931E-03   -1.4975    
  10  Prefactor     3.1107        3.5483        .16775E-03   -1.5355    
  11  Prefactor     .10003E-03    80.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    14.776        .16960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7754        3.3011        .16264E-03   -1.5375    
  14  Prefactor     5.7515        2.6664        .92708E-04   -1.5228    
  15  Prefactor     .10000E-03    20.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.6712        .27875E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.5679        .32205        .21361E-04   -1.5458    
  18  norm          13.218        5.2603        .11014E-03   -1.4981    
  19  Prefactor     .10000E-03    2.9712        .14736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.492        11.700        .95762E-04   -1.4871    
  21  Prefactor     63.810        28.522        .50236E-04   -1.4109    
  22  Prefactor     .10011E-03    4.5661        .58676E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2327        .20772        .25227E-03   -.85597    
  24  Prefactor     .74947        .18462        .29939E-03   -1.0162    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2539e-09
Minuit parameter uncertainties:
  1  9.1764e-05
  2  6.00045e-05
  3  21.0677
  4  3.08785e-05
  5  1.47738
  6  136.126
  7  10.6369
  8  1.31513
  9  10.8466
  10  3.54855
  11  0.00313531
  12  0.000561299
  13  3.30128
  14  2.66645
  15  0.000158432
  16  0.000117377
  17  0.322053
  18  5.26051
  19  9.15039e-06
  20  11.7011
  21  28.5285
  22  0.00140365
  23  0.207857
  24  0.184775
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  5.613e-04  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:  7.495e-01  1.848e-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:  1.233e+00  2.079e-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.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/378179/likelihoodResults_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.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) = 7675.11176885
delta logL = -0.000325936923218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7675.11139746
delta logL = 4.54516039099e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25221E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5423       1.0000          .0000       10.000    
     3 'Normalizat'    1.2327       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74956       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=   7675.026     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      261 TOTAL
                     EDM=   .88E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .17387        11.981        .10005E-02    .90393E-03
   2  Index         3.7506        3.7803        .23389        .70003E-04
   3  Normalizat    1.2103        .32453E-01    .57481E-01    .56978E-05
   4  Prefactor     .76008        .30675E-01    .67222E-01    .67123E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.173866
  Index      = 3.75056
  Normalizat = 1.21026
  Prefactor  = 0.760084
 **********
 **   18 **HESSE 
 **********

 FCN=   7675.026     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .17387        49.962        .40018E-04   -1.5625    
   2  Index         3.7506        7.5601        .10903E-01   -.25256    
   3  Normalizat    1.2103        .20429        .25420E-03   -.86286    
   4  Prefactor     .76008        .19646        .29741E-03   -1.0122    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67756e-09
Minuit parameter uncertainties:
  1  5.89794
  2  18.2732
  3  0.20442
  4  0.196643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/378179': 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) = 7675.02555709
delta logL = 0.0858858209504

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.739e-01  5.898e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.751e+00  1.827e+01  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:  7.601e-01  1.966e-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:  1.210e+00  2.044e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/378179/cmap_HighResolution_440208001_440467201_4FGL_J1209.8+1810_daily_bin775.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-03', job_status='DONE', photon_flux_upper_limit='7.57e-08', time_completed='2021-09-05 02:44:30.917504', job_id='378179', GAL2='0.76', fit_tolerance='1e-08', EG2='1.21', EG='1.23', time_epoch_completed='1630835070.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='8.59e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='775' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:44:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0090>
Subject: Job 378179: <4FGL_J1209.8+1810_daily_bin775> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin775> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Sep  5 02:30:27 2021
Job was executed on host(s) <bullet0090>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:30:28 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:30:28 2021
Terminated at Sun Sep  5 02:44:31 2021
Results reported at Sun Sep  5 02:44:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin775 182.466 18.1776 440208001 440467201 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 :                                   823.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            844 sec.

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

