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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1465
RA = 182.466, Dec = 18.1776
tmin = 619056001, tmax = 619315201
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='382706', job_status='RUN', time_executed='2021-09-05 02:43:17.422914', time_epoch_executed='1630834997.42' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382706

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382706/ft1_4FGL_J1209.8+1810_daily_bin1465.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382706/ft1_4FGL_J1209.8+1810_daily_bin1465.fits outfile=/scratch/kocevski/382706/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1465.fits ra=182.466 dec=18.1776 rad=12.0 tmin=619056001.0 tmax=619315201.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.58
user 3.35
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits" evtable="EVENTS" scfile=/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits sctable="SC_DATA" outfile=/scratch/kocevski/382706/ltcube_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.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/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits
.....................!
real 12.38
user 11.96
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits sctable="SC_DATA" expcube=/scratch/kocevski/382706/ltcube_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.fits outfile=/scratch/kocevski/382706/expmap_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.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/382706/ltcube_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.fits
.....................!
real 190.08
user 185.61
sys 4.14

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/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits scfile=/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits outfile=/scratch/kocevski/382706/cmap_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits scfile=/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits outfile=/scratch/kocevski/382706/cmap_HighResolution_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.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/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits evtable="EVENTS" scfile=/scratch/kocevski/382706/ft2_4FGL_J1209.8+1810_daily_bin1465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/382706/Model_4FGL_J1209.8+1810_daily_bin1465.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/382706/ft1_filtered_4FGL_J1209.8+1810_daily_bin1465.fits.....................!
real 54.90
user 53.66
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.499       1.0000         .10000E-03   10000.    
     2 'Prefactor '    91.264       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .18513E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .30719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    87.438       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10327E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .43555       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .32096E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2509       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .56833       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.1291       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.3060       1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.931       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.763       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9994       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.921       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.3614       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1125       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83995       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=   5786.618     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2855 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.495        14.960        .41610E-06    .81594E-04
   2  Prefactor     91.257        52.597        .21897E-06    .10204E-04
   3  Prefactor     .10337E-03    22.538       -.11628E-05** at limit **
   4  Prefactor     .10000E-03    17.180        .44624E-06** at limit **
   5  Prefactor     .30744        2.2415       -.34444E-06    .53053E-03
   6  Prefactor     87.353        130.56        .20271E-05    .33439E-04
   7  Prefactor     .10000E-03    7.6952        .59892E-06** at limit **
   8  norm          .43547        .71975        .53639E-06    .12381E-02
   9  Prefactor     .10000E-03    88.650       -.23265E-05** at limit **
  10  Prefactor     2.2517        4.3578       -.41891E-06    .10614E-03
  11  Prefactor     .10000E-03    79.151       -.15061E-05** at limit **
  12  Prefactor     .56736        2.5223       -.70920E-06   -.95814E-04
  13  Prefactor     5.1296        3.7285       -.91669E-07    .20378E-03
  14  Prefactor     1.3059        1.3328       -.89934E-08    .33838E-04
  15  Prefactor     11.915        30.785       -.67027E-06   -.29910E-04
  16  Prefactor     13.761        6.3613       -.80388E-07    .32769E-05
  17  norm          .10000E-03    .96165E-01   -.10550E-06** at limit **
  18  norm          .10000E-03    1.8005       -.15954E-06** at limit **
  19  Prefactor     2.9972        9.5122       -.61851E-06   -.44075E-04
  20  Prefactor     .10000E-03    4.7497       -.28232E-07** at limit **
  21  Prefactor     23.924        25.490        .26271E-06    .15528E-04
  22  Prefactor     3.3608        5.6294       -.92448E-07   -.76419E-05
  23  Normalizat    1.1126        .19853       -.20328E-05    .28972E-03
  24  Prefactor     .83994        .18069        .16196E-05    .11600E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4951
  Prefactor  = 91.2573
  Prefactor  = 0.000103365
  Prefactor  = 0.0001
  Prefactor  = 0.307439
  Prefactor  = 87.3528
  Prefactor  = 0.0001
  norm       = 0.43547
  Prefactor  = 0.000100003
  Prefactor  = 2.25171
  Prefactor  = 0.000100001
  Prefactor  = 0.567357
  Prefactor  = 5.12959
  Prefactor  = 1.30585
  Prefactor  = 11.9147
  Prefactor  = 13.7615
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.99723
  Prefactor  = 0.0001
  Prefactor  = 23.9235
  Prefactor  = 3.36085
  Normalizat = 1.1126
  Prefactor  = 0.839942
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.618     FROM HESSE     STATUS=OK           419 CALLS     3274 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.495        14.989        .10519E-03   -1.4946    
   2  Prefactor     91.257        52.650        .42064E-04   -1.3794    
   3  Prefactor     .10337E-03    24.787        .85611E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30744        4.1354        .18994E-02   -1.5597    
   6  Prefactor     87.353        132.26        .21483E-03   -1.3836    
   7  Prefactor     .10000E-03    7.7767        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .43547        .70379        .93199E-03   -1.5576    
   9  Prefactor     .10000E-03    87.551        .53451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2517        4.2711        .20162E-03   -1.5408    
  11  Prefactor     .10000E-03    79.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .56736        2.5034        .22069E-03   -1.5557    
  13  Prefactor     5.1296        3.6783        .11346E-03   -1.5255    
  14  Prefactor     1.3059        1.3383        .86258E-04   -1.5479    
  15  Prefactor     11.915        30.839        .11598E-03   -1.5017    
  16  Prefactor     13.761        6.3583        .10797E-03   -1.4966    
  17  norm          .10000E-03    .11202        .44859E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8147        .99640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9972        9.4370        .23438E-03   -1.5362    
  20  Prefactor     .10000E-03    4.7581        .16191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     23.924        25.289        .81901E-04   -1.4729    
  22  Prefactor     3.3608        5.6216        .22073E-03   -1.5341    
  23  Normalizat    1.1126        .22326        .24264E-03   -.89348    
  24  Prefactor     .83994        .20529        .26520E-03   -.98272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22034e-09
Minuit parameter uncertainties:
  1  14.993
  2  52.6774
  3  0.0182746
  4  6.68231e-05
  5  2.25495
  6  132.704
  7  8.41606e-06
  8  0.703806
  9  0.00110289
  10  4.27165
  11  0.000531737
  12  2.3835
  13  3.6785
  14  1.33834
  15  30.8802
  16  6.3586
  17  1.63248e-06
  18  1.64233e-06
  19  9.44165
  20  1.62293e-07
  21  25.3003
  22  5.62248
  23  0.223445
  24  0.205476
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  5.674e-01  2.384e+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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  8.399e-01  2.055e-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.113e+00  2.234e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/382706/likelihoodResults_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.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): 0
logL (Free Index) = 5786.60538301
delta logL = 0.0124023264543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5786.60520997
delta logL = 0.0125753659577

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54787       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6522       1.0000          .0000       10.000    
     3 'Normalizat'    1.1102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84075       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5786.605     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      261 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54230        2.1296        .18559E-03   -.29771E-04
   2  Index         2.6494        1.5373        .10181E-01    .74303E-04
   3  Normalizat    1.1103        .20962        .24285E-03    .65540E-06
   4  Prefactor     .84074        .20189        .26507E-03   -.53182E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.542296
  Index      = 2.64941
  Normalizat = 1.11031
  Prefactor  = 0.840738
 **********
 **   18 **HESSE 
 **********

 FCN=   5786.605     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .21E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54230        2.0478        .74236E-05   -1.5561    
   2  Index         2.6494        1.4812        .20362E-02   -.48942    
   3  Normalizat    1.1103        .20984        .97139E-05   -.89421    
   4  Prefactor     .84074        .20205        .10603E-04   -.98244    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08054e-12
Minuit parameter uncertainties:
  1  2.04811
  2  1.51051
  3  0.209994
  4  0.202228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382706': 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) = 5786.60520129
delta logL = 0.0125840464316

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  5.423e-01  2.048e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.649e+00  1.511e+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:  8.407e-01  2.022e-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.110e+00  2.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/382706/cmap_HighResolution_619056001_619315201_4FGL_J1209.8+1810_daily_bin1465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.33e-03', job_status='DONE', photon_flux_upper_limit='9.48e-08', time_completed='2021-09-05 02:56:54.002303', job_id='382706', GAL2='0.84', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630835814.0', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='1.26e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1465' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:56:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 382706: <4FGL_J1209.8+1810_daily_bin1465> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1465> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:34 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:35 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:40:35 2021
Terminated at Sun Sep  5 02:56:54 2021
Results reported at Sun Sep  5 02:56:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1465 182.466 18.1776 619056001 619315201 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 :                                   688.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   979 sec.
    Turnaround time :                            980 sec.

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

