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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1526
RA = 182.466, Dec = 18.1776
tmin = 634867201, tmax = 635126401
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='382796', job_status='RUN', time_executed='2021-09-05 02:44:40.777302', time_epoch_executed='1630835080.78' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1526'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382796

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382796/ft1_4FGL_J1209.8+1810_daily_bin1526.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382796/ft1_4FGL_J1209.8+1810_daily_bin1526.fits outfile=/scratch/kocevski/382796/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1526.fits ra=182.466 dec=18.1776 rad=12.0 tmin=634867201.0 tmax=635126401.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.00
user 2.78
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382796/ft1_filtered_4FGL_J1209.8+1810_daily_bin1526.fits" evtable="EVENTS" scfile=/scratch/kocevski/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits sctable="SC_DATA" outfile=/scratch/kocevski/382796/ltcube_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.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/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits
.....................!
real 12.98
user 12.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382796/ft1_filtered_4FGL_J1209.8+1810_daily_bin1526.fits evtable="EVENTS" scfile=/scratch/kocevski/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits sctable="SC_DATA" expcube=/scratch/kocevski/382796/ltcube_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.fits outfile=/scratch/kocevski/382796/expmap_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.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/382796/ltcube_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.fits
.....................!
real 190.98
user 185.21
sys 5.22

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/382796/ft1_filtered_4FGL_J1209.8+1810_daily_bin1526.fits scfile=/scratch/kocevski/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits outfile=/scratch/kocevski/382796/cmap_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.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.58
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382796/ft1_filtered_4FGL_J1209.8+1810_daily_bin1526.fits scfile=/scratch/kocevski/382796/ft2_4FGL_J1209.8+1810_daily_bin1526.fits outfile=/scratch/kocevski/382796/cmap_HighResolution_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.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.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.099       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    34.882       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.3130       1.0000         .10000E-03   10000.    
     6 'Prefactor '    605.20       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.327       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.781       1.0000         .10000E-03   10000.    
    11 'Prefactor '    120.79       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5404       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69496       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.0594       1.0000         .10000E-03   10000.    
    18 'norm      '    16.586       1.0000         .10000E-03   10000.    
    19 'Prefactor '    70.027       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.905       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9182       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11505E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .12077       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.6022       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=   2306.270     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     2768 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.090        2.1990       -.32133E-05    .15552E-02
   2  Prefactor     .10006E-03    260.90       -.32901E-03** at limit **
   3  Prefactor     34.880        1.1078       -.97164E-06    .36065E-03
   4  Prefactor     .10000E-03    8.4108        .37898E-06** at limit **
   5  Prefactor     2.3127        4.7497       -.49385E-05    .25514E-05
   6  Prefactor     605.20        1.0055       -.55311E-07    .39127E-03
   7  Prefactor     .10000E-03    10.323        .29977E-05** at limit **
   8  norm          11.327        4.3895        .21166E-05    .38987E-03
   9  Prefactor     .10002E-03    96.561        .15925E-03** at limit **
  10  Prefactor     21.779        1.3396        .15306E-07   -.28079E-03
  11  Prefactor     120.79        1.0521       -.37270E-06    .54083E-03
  12  Prefactor     1.5403        5.9233        .15312E-04    .12258E-04
  13  Prefactor     .10000E-03    5.2752        .62441E-06** at limit **
  14  Prefactor     .69502        4.3022       -.78985E-06    .42754E-03
  15  Prefactor     .10000E-03    56.886       -.75284E-04** at limit **
  16  Prefactor     .10000E-03    2.7610       -.14257E-05** at limit **
  17  norm          1.0593        .54877       -.12252E-06    .89124E-03
  18  norm          16.586        1.0197       -.15002E-06    .84295E-04
  19  Prefactor     70.028        1.0797       -.65591E-06    .49714E-03
  20  Prefactor     21.904        1.0147        .12050E-06    .21745E-03
  21  Prefactor     1.9242        1.3938        .69213E-05   -.38378E-04
  22  Prefactor     .10001E-03    39.889        .19231E-04** at limit **
  23  Normalizat    .12089        .37936        .42932E-05    .78601E-04
  24  Prefactor     1.6021        .38818       -.18063E-05   -.68747E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.0902
  Prefactor  = 0.000100057
  Prefactor  = 34.8796
  Prefactor  = 0.0001
  Prefactor  = 2.31266
  Prefactor  = 605.197
  Prefactor  = 0.0001
  norm       = 11.3269
  Prefactor  = 0.000100019
  Prefactor  = 21.7793
  Prefactor  = 120.789
  Prefactor  = 1.54028
  Prefactor  = 0.0001
  Prefactor  = 0.695018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.05929
  norm       = 16.5857
  Prefactor  = 70.0284
  Prefactor  = 21.9036
  Prefactor  = 1.92421
  Prefactor  = 0.000100014
  Normalizat = 0.120891
  Prefactor  = 1.60211
 **********
 **   18 **HESSE 
 **********

 FCN=   2306.270     FROM HESSE     STATUS=NOT POSDEF   455 CALLS     3223 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.090        62.165        .13510E-02   -1.4222    
   2  Prefactor     .10006E-03    248.09        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     34.880        112.03        .16963E-02   -1.4526    
   4  Prefactor     .10000E-03    7.9820        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.3127        5.1857        .67439E-02   -1.5404    
   6  Prefactor     605.20        516.29        .41938E-03   -1.0737    
   7  Prefactor     .10000E-03    9.7973        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.327        5.0573        .29759E-02   -1.5035    
   9  Prefactor     .10002E-03    91.881        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     21.779        17.654        .21456E-02   -1.4774    
  11  Prefactor     120.79        255.14        .91543E-03   -1.3505    
  12  Prefactor     1.5403        13.591        .85883E-02   -1.5460    
  13  Prefactor     .10000E-03    5.0195        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .69502        6.4541        .12043E-01   -1.5541    
  15  Prefactor     .10000E-03    53.948        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.6208        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0593        1.2011        .52815E-02   -1.5502    
  18  norm          16.586        8.6771        .24586E-02   -1.4893    
  19  Prefactor     70.028        32.090        .11992E-02   -1.4032    
  20  Prefactor     21.904        18.553        .21395E-02   -1.4772    
  21  Prefactor     1.9242        593.49        .75015E-02   -1.5431    
  22  Prefactor     .10001E-03    17.778        .55081E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .12089        8.5650        .17789       -1.3597    
  24  Prefactor     1.6021        1.9454        .52621E-01   -.74719    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.42e-08
Minuit parameter uncertainties:
  1  62.2381
  2  0.00757609
  3  112.718
  4  3.66246e-05
  5  5.18669
  6  520.417
  7  0.000116814
  8  5.05746
  9  0.00265879
  10  17.6586
  11  257.518
  12  9.15336
  13  2.30242e-05
  14  4.23621
  15  0.000290426
  16  9.57582e-06
  17  1.20111
  18  8.67774
  19  32.0982
  20  18.5575
  21  68.2794
  22  0.00100883
  23  2.35553
  24  2.05053
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 2306.26960052

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.540e+00  9.153e+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:  1.602e+00  2.051e+00  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.209e-01  2.356e+00  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/382796/likelihoodResults_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.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) = 2306.16664214
delta logL = 0.102958383288

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2306.1523681
delta logL = 0.11723241553

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0382       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2466       1.0000          .0000       10.000    
     3 'Normalizat'    .93982E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6154       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=   2306.152     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      216 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0395        142.68        .12324E-01    .35406E-03
   2  Index         3.2461        5.3780        .21596E-01    .49068E-04
   3  Normalizat    .93250E-01    .13124        .20434        .48103E-04
   4  Prefactor     1.6161        .13546        .52386E-01   -.12059E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.03953
  Index      = 3.24608
  Normalizat = 0.0932497
  Prefactor  = 1.61613
 **********
 **   18 **HESSE 
 **********

 FCN=   2306.152     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0395        3.6947        .94559E-04   -1.5504    
   2  Index         3.2461        1.8226        .86385E-03   -.35841    
   3  Normalizat    .93250E-01    .49115        .83344E-02   -1.3880    
   4  Prefactor     1.6161        .41638        .23155E-03   -.74337    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33243e-11
Minuit parameter uncertainties:
  1  3.69548
  2  1.87211
  3  0.40959
  4  0.417272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382796': 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) = 2306.15236607
delta logL = 0.117234446758

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.040e+00  3.695e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.246e+00  1.872e+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.616e+00  4.173e-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.325e-02  4.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/382796/cmap_HighResolution_634867201_635126401_4FGL_J1209.8+1810_daily_bin1526.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-02', job_status='DONE', photon_flux_upper_limit='2.47e-07', time_completed='2021-09-05 02:55:03.553609', job_id='382796', GAL2='1.62', fit_tolerance='1e-08', EG2='0.09', EG='0.12', time_epoch_completed='1630835703.55', return_code2='0', ts='0.08', comment='SUCCESS', return_code='102', GAL='1.60', dlogl='1.17e-01', ts2='0.32', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1526' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:55:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 382796: <4FGL_J1209.8+1810_daily_bin1526> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1526 182.466 18.1776 634867201 635126401 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 :                                   474.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             181.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            864 sec.

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

