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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1366
RA = 182.466, Dec = 18.1776
tmin = 593395201, tmax = 593654401
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='382562', job_status='RUN', time_executed='2021-09-05 02:42:43.163258', time_epoch_executed='1630834963.16' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1366'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382562

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382562/ft1_4FGL_J1209.8+1810_daily_bin1366.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382562/ft1_4FGL_J1209.8+1810_daily_bin1366.fits outfile=/scratch/kocevski/382562/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1366.fits ra=182.466 dec=18.1776 rad=12.0 tmin=593395201.0 tmax=593654401.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.12
user 3.89
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382562/ft1_filtered_4FGL_J1209.8+1810_daily_bin1366.fits" evtable="EVENTS" scfile=/scratch/kocevski/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits sctable="SC_DATA" outfile=/scratch/kocevski/382562/ltcube_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.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/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits
.....................!
real 12.50
user 12.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382562/ft1_filtered_4FGL_J1209.8+1810_daily_bin1366.fits evtable="EVENTS" scfile=/scratch/kocevski/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits sctable="SC_DATA" expcube=/scratch/kocevski/382562/ltcube_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.fits outfile=/scratch/kocevski/382562/expmap_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.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/382562/ltcube_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.fits
.....................!
real 192.07
user 186.73
sys 4.87

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/382562/ft1_filtered_4FGL_J1209.8+1810_daily_bin1366.fits scfile=/scratch/kocevski/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits outfile=/scratch/kocevski/382562/cmap_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382562/ft1_filtered_4FGL_J1209.8+1810_daily_bin1366.fits scfile=/scratch/kocevski/382562/ft2_4FGL_J1209.8+1810_daily_bin1366.fits outfile=/scratch/kocevski/382562/cmap_HighResolution_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    36.057       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11177E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.940       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4162       1.0000         .10000E-03   10000.    
     6 'Prefactor '    55.972       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39835E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.680       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.4676       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3007       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.311       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    61.064       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94710       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92022       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=   5095.071     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     2769 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6957        .15876E-06** at limit **
   2  Prefactor     36.059        42.553        .10114E-05   -.36206E-05
   3  Prefactor     .10015E-03    77.752        .11609E-04** at limit **
   4  Prefactor     23.943        12.685       -.14687E-06   -.22266E-04
   5  Prefactor     1.4164        1.3004       -.51212E-07    .13528E-03
   6  Prefactor     55.874        86.028       -.11996E-05    .46565E-05
   7  Prefactor     .10000E-03    3.6322        .92993E-06** at limit **
   8  norm          .10000E-03    .33252        .31470E-07** at limit **
   9  Prefactor     .10000E-03    8.6013        .21482E-05** at limit **
  10  Prefactor     .10078E-03    8.4093       -.30070E-05** at limit **
  11  Prefactor     24.406        86.824        .12515E-05   -.77076E-06
  12  Prefactor     3.4710        3.2240       -.76299E-06   -.26679E-03
  13  Prefactor     .10000E-03    1.9829        .11532E-05** at limit **
  14  Prefactor     3.3008        2.3862        .60319E-07    .12222E-04
  15  Prefactor     .10000E-03    29.646        .53876E-06** at limit **
  16  Prefactor     .10000E-03    2.9708        .16914E-06** at limit **
  17  norm          .10000E-03    .70885E-01   -.13843E-06** at limit **
  18  norm          15.310        5.9398       -.35535E-07    .10793E-03
  19  Prefactor     .10000E-03    4.4882        .15932E-06** at limit **
  20  Prefactor     .10000E-03    6.9952        .13040E-06** at limit **
  21  Prefactor     61.057        31.386        .44621E-06   -.13673E-04
  22  Prefactor     .10000E-03    2.7037        .64420E-07** at limit **
  23  Normalizat    .94686        .20327       -.36925E-05    .13301E-03
  24  Prefactor     .92055        .19041        .16686E-05   -.11375E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 36.0587
  Prefactor  = 0.000100155
  Prefactor  = 23.9427
  Prefactor  = 1.41643
  Prefactor  = 55.8744
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100775
  Prefactor  = 24.406
  Prefactor  = 3.47103
  Prefactor  = 0.0001
  Prefactor  = 3.30076
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 15.3104
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.0565
  Prefactor  = 0.0001
  Normalizat = 0.946861
  Prefactor  = 0.920555
 **********
 **   18 **HESSE 
 **********

 FCN=   5095.071     FROM HESSE     STATUS=OK           405 CALLS     3174 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.7366        .18045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     36.059        42.565        .66741E-04   -1.4506    
   3  Prefactor     .10015E-03    86.340        .44180E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.943        12.653        .81868E-04   -1.4729    
   5  Prefactor     1.4164        1.2802        .74882E-04   -1.5470    
   6  Prefactor     55.874        85.984        .26809E-03   -1.4212    
   7  Prefactor     .10000E-03    3.6718        .13329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .33845        .40194E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.7705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10078E-03    47.713        .19095E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.406        87.150        .40317E-03   -1.4720    
  12  Prefactor     3.4710        3.2226        .11509E-03   -1.5335    
  13  Prefactor     .10000E-03    2.0990        .19884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3008        2.3849        .89821E-04   -1.5345    
  15  Prefactor     .10000E-03    29.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.9863        .12014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .86777E-01    .35482E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.310        5.9425        .10236E-03   -1.4925    
  19  Prefactor     .10000E-03    4.4948        .14761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.0210        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     61.057        31.374        .51347E-04   -1.4144    
  22  Prefactor     .10000E-03    2.7119        .11464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94686        .22284        .24199E-03   -.94833    
  24  Prefactor     .92055        .21347        .24828E-03   -.95427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78887e-08
Minuit parameter uncertainties:
  1  3.44259e-06
  2  42.6009
  3  0.00731865
  4  12.6549
  5  1.28023
  6  86.1762
  7  6.26748e-05
  8  5.67983e-07
  9  0.000229335
  10  0.0121741
  11  87.6096
  12  3.2228
  13  3.7636e-05
  14  2.38501
  15  2.65286e-05
  16  6.443e-06
  17  3.35022e-06
  18  5.94268
  19  5.27669e-06
  20  5.95308e-06
  21  31.3825
  22  1.30675e-06
  23  0.223056
  24  0.213662
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  3.471e+00  3.223e+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:  9.206e-01  2.137e-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.469e-01  2.231e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.56
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 4.75e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.42e-05

TS (Fixed Index): 1.56
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.37e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382562/likelihoodResults_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.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) = 5093.09657957
delta logL = 1.97458464472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5092.9037803
delta logL = 2.16738391234

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28446E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    6.6422       1.0000          .0000       10.000    
     3 'Normalizat'    .85126       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0031       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=   5092.904     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      328 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27923E-02    .26126E-01    .49405E-03    .16013E-01
   2  Index         6.6515        2.5744        .85919E-01    .15568E-03
   3  Normalizat    .85137        .60994E-01    .44276E-01    .17510E-04
   4  Prefactor     1.0029        .62144E-01    .44650E-01    .10221E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00279228
  Index      = 6.65152
  Normalizat = 0.851371
  Prefactor  = 1.00287
 **********
 **   18 **HESSE 
 **********

 FCN=   5092.904     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      361 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27923E-02    .44221E-01    .20245E-05   -1.5698    
   2  Index         6.6515        3.4022        .36125E-02    .33663    
   3  Normalizat    .85137        .19196        .25304E-03   -.98191    
   4  Prefactor     1.0029        .19273        .23911E-03   -.92634    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0903e-11
Minuit parameter uncertainties:
  1  0.0218224
  2  3.79961
  3  0.19211
  4  0.192865
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382562': 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) = 5092.90377623
delta logL = 2.16738798391

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  2.792e-03  2.182e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  6.652e+00  3.800e+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.003e+00  1.929e-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:  8.514e-01  1.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.22
Ra Dec: 182.466 18.178
Photon Index (Free Index): 6.65 +/- 3.80
Photon Flux (Free Index): 1.01e-07 +/- 5.64e-08
Energy Flux (Free Index): 1.22e-05 +/- 7.58e-06

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/382562/cmap_HighResolution_593395201_593654401_4FGL_J1209.8+1810_daily_bin1366.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', comment='SUCCESS', photon_flux='4.75e-08', energy_flux2='1.22e-05', photon_flux_error='4.41e-08', dlogl='2.17e+00', energy_flux='1.53e-05', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-05 02:55:18.565824', photon_index_error2='3.80', photon_index2='6.65', ts='1.56', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='7.58e-06', EG='0.95', time_epoch_completed='1630835718.57', return_code='0', job_id='382562', GAL2='1.00', EG2='0.85', return_code2='102', energy_flux_error='1.42e-05', photon_flux_error2='5.64e-08', ts2='6.22', photon_index='2.41' WHERE bin_id='1366' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:55:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 382562: <4FGL_J1209.8+1810_daily_bin1366> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1366 182.466 18.1776 593395201 593654401 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            895 sec.

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

