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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1510
RA = 182.466, Dec = 18.1776
tmin = 630720001, tmax = 630979201
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='382772', job_status='RUN', time_executed='2021-09-05 02:40:55.001135', time_epoch_executed='1630834855.0' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1510'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382772

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382772/ft1_4FGL_J1209.8+1810_daily_bin1510.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382772/ft1_4FGL_J1209.8+1810_daily_bin1510.fits outfile=/scratch/kocevski/382772/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1510.fits ra=182.466 dec=18.1776 rad=12.0 tmin=630720001.0 tmax=630979201.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.71
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382772/ft1_filtered_4FGL_J1209.8+1810_daily_bin1510.fits" evtable="EVENTS" scfile=/scratch/kocevski/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits sctable="SC_DATA" outfile=/scratch/kocevski/382772/ltcube_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.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/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits
.....................!
real 15.84
user 15.33
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382772/ft1_filtered_4FGL_J1209.8+1810_daily_bin1510.fits evtable="EVENTS" scfile=/scratch/kocevski/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits sctable="SC_DATA" expcube=/scratch/kocevski/382772/ltcube_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.fits outfile=/scratch/kocevski/382772/expmap_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.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/382772/ltcube_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.fits
.....................!
real 199.12
user 186.33
sys 4.67

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/382772/ft1_filtered_4FGL_J1209.8+1810_daily_bin1510.fits scfile=/scratch/kocevski/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits outfile=/scratch/kocevski/382772/cmap_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382772/ft1_filtered_4FGL_J1209.8+1810_daily_bin1510.fits scfile=/scratch/kocevski/382772/ft2_4FGL_J1209.8+1810_daily_bin1510.fits outfile=/scratch/kocevski/382772/cmap_HighResolution_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.816       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .96556E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.0745       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.4483       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.3409       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5600       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.5895       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51118E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.0702       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      '    .14555       1.0000         .10000E-03   10000.    
    18 'norm      '    10.169       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10297E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.136       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-02   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2074       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91017       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=   8261.057     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2383 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.816        12.083        .11180E-06    .12798E-03
   2  Prefactor     .10000E-03    37.881       -.21437E-05** at limit **
   3  Prefactor     .10025E-03    13.150        .11291E-04** at limit **
   4  Prefactor     6.0731        8.4454       -.22038E-05    .50283E-04
   5  Prefactor     1.4494        1.2887       -.11192E-07    .22940E-03
   6  Prefactor     .10000E-03    62.925       -.24249E-05** at limit **
   7  Prefactor     3.3407        4.3093       -.29233E-06   -.37785E-03
   8  norm          2.5603        1.0469       -.94686E-08    .22386E-03
   9  Prefactor     4.5885        7.8124       -.46870E-06   -.42224E-03
  10  Prefactor     .10000E-03    1.7673        .30868E-07** at limit **
  11  Prefactor     .10000E-03    48.919        .41597E-05** at limit **
  12  Prefactor     .10000E-03    .84344        .29936E-07** at limit **
  13  Prefactor     .10000E-03    .99777       -.12244E-06** at limit **
  14  Prefactor     1.0706        1.4185       -.19685E-06   -.39922E-03
  15  Prefactor     .10000E-03    18.759        .13175E-06** at limit **
  16  Prefactor     .10000E-03    1.0162       -.20025E-06** at limit **
  17  norm          .14553        .14149       -.27959E-08    .13520E-02
  18  norm          10.168        3.9748        .10381E-06    .28337E-03
  19  Prefactor     .10000E-03    3.2328        .17920E-06** at limit **
  20  Prefactor     .10000E-03    3.8483       -.95887E-07** at limit **
  21  Prefactor     21.132        19.323       -.38890E-06   -.73290E-04
  22  Prefactor     .10006E-03    112.22       -.54165E-04** at limit **
  23  Normalizat    1.2076        .15737       -.33695E-06    .99083E-04
  24  Prefactor     .91004        .15196        .99526E-06    .36170E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.8156
  Prefactor  = 0.0001
  Prefactor  = 0.000100255
  Prefactor  = 6.07307
  Prefactor  = 1.44938
  Prefactor  = 0.000100001
  Prefactor  = 3.34073
  norm       = 2.56028
  Prefactor  = 4.58848
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.07064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.145534
  norm       = 10.1682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.1323
  Prefactor  = 0.000100064
  Normalizat = 1.20756
  Prefactor  = 0.910035
 **********
 **   18 **HESSE 
 **********

 FCN=   8261.057     FROM HESSE     STATUS=OK           413 CALLS     2796 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.816        12.092        .87789E-04   -1.4795    
   2  Prefactor     .10000E-03    38.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10025E-03    58.405        .52656E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.0731        8.4498        .81451E-03   -1.5215    
   5  Prefactor     1.4494        1.2551        .92366E-04   -1.5467    
   6  Prefactor     .10000E-03    63.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.3407        4.3061        .20887E-03   -1.5342    
   8  norm          2.5603        1.0452        .12758E-03   -1.5388    
   9  Prefactor     4.5885        7.7995        .18789E-03   -1.5280    
  10  Prefactor     .10000E-03    1.8108        .23570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    48.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.8682        .15776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9128        .17359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.0706        1.3832        .12018E-03   -1.5501    
  15  Prefactor     .10000E-03    18.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.0191        .89507E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14553        .13166        .32172E-03   -1.5632    
  18  norm          10.168        3.9721        .10906E-03   -1.5070    
  19  Prefactor     .10000E-03    3.2401        .15955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.8656        .17412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     21.132        19.321        .87123E-04   -1.4788    
  22  Prefactor     .10006E-03    3.4635        .55040E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2076        .18123        .23415E-03   -.86370    
  24  Prefactor     .91004        .17787        .26793E-03   -.95791    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.09804e-09
Minuit parameter uncertainties:
  1  12.0939
  2  0.000140655
  3  0.00772088
  4  8.45141
  5  1.25508
  6  0.000540284
  7  4.30652
  8  1.04522
  9  7.80125
  10  1.17318e-05
  11  0.000112609
  12  4.19568e-06
  13  1.40293e-05
  14  1.38321
  15  2.50614e-05
  16  1.69e-05
  17  0.13166
  18  3.97221
  19  2.66221e-05
  20  1.57448e-05
  21  19.327
  22  0.000942073
  23  0.181324
  24  0.177982
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.100e-01  1.780e-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.208e+00  1.813e-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: 6.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382772/likelihoodResults_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.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) = 8261.05749835
delta logL = -0.000542509576917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8261.05694777
delta logL = 8.0753598013e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50850E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5543       1.0000          .0000       10.000    
     3 'Normalizat'    1.2075       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90998       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=   8261.014     FROM MIGRAD    STATUS=CONVERGED    173 CALLS      360 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10715E-02    .19587E-01    .19912E-02** at limit **
   2  Index         6.0574        2.5567        .23349        .63603E-04
   3  Normalizat    1.1914        .13784E-01    .53278E-01   -.19346E-03
   4  Prefactor     .92026        .13981E-01    .45132E-01   -.18836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00107148
  Index      = 6.05735
  Normalizat = 1.19138
  Prefactor  = 0.920261
 **********
 **   18 **HESSE 
 **********

 FCN=   8261.014     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      393 TOTAL
                     EDM=   .77E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10715E-02    .59875        .69870E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.0574        6.7532        .13743E-01    .21308    
   3  Normalizat    1.1914        .87806E-01    .23557E-03   -.86870    
   4  Prefactor     .92026        .87924E-01    .26664E-03   -.95437    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.71931e-08
Minuit parameter uncertainties:
  1  0.0482363
  2  22.0138
  3  0.087817
  4  0.0879379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382772': 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) = 8261.01398703
delta logL = 0.0429688140939

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.071e-03  4.824e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  6.057e+00  2.201e+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:  9.203e-01  8.794e-02  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.191e+00  8.782e-02  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/382772/cmap_HighResolution_630720001_630979201_4FGL_J1209.8+1810_daily_bin1510.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.73e-03', job_status='DONE', photon_flux_upper_limit='6.12e-08', time_completed='2021-09-05 02:55:13.390003', job_id='382772', GAL2='0.92', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1630835713.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='4.30e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1510' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:55:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 382772: <4FGL_J1209.8+1810_daily_bin1510> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1510 182.466 18.1776 630720001 630979201 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 :                                   834.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

