/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 6 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 = 7398
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1209.8+1810_daily_bin30
RA = 182.466, Dec = 18.1776
tmin = 247104001, tmax = 247363201
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='373661', job_status='RUN', time_executed='2021-09-05 02:15:44.748665', time_epoch_executed='1630833344.75' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='30'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373661

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373661/ft1_4FGL_J1209.8+1810_daily_bin30.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373661/ft2_4FGL_J1209.8+1810_daily_bin30.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373661/ft1_4FGL_J1209.8+1810_daily_bin30.fits outfile=/scratch/kocevski/373661/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin30.fits ra=182.466 dec=18.1776 rad=12.0 tmin=247104001.0 tmax=247363201.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 1.55
user 1.32
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373661/ft1_filtered_4FGL_J1209.8+1810_daily_bin30.fits evtable="EVENTS" scfile=/scratch/kocevski/373661/ft2_4FGL_J1209.8+1810_daily_bin30.fits sctable="SC_DATA" expcube=/scratch/kocevski/373661/ltcube_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.fits outfile=/scratch/kocevski/373661/expmap_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.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/373661/ltcube_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.fits
.....................!
real 190.82
user 185.56
sys 4.88

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/373661/ft1_filtered_4FGL_J1209.8+1810_daily_bin30.fits scfile=/scratch/kocevski/373661/ft2_4FGL_J1209.8+1810_daily_bin30.fits outfile=/scratch/kocevski/373661/cmap_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=182.466 yref=18.1776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373661/ft1_filtered_4FGL_J1209.8+1810_daily_bin30.fits scfile=/scratch/kocevski/373661/ft2_4FGL_J1209.8+1810_daily_bin30.fits outfile=/scratch/kocevski/373661/cmap_HighResolution_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11261E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8333       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .53005       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10042E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.4368       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0374       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0669       1.0000         .10000E-03   10000.    
    11 'Prefactor '    67.233       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .78775       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3337       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.2696       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .57621       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .44089E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    1.3021       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.8286       1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.834       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .16456E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2194       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89160       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8822.738     FROM MIGRAD    STATUS=CONVERGED    606 CALLS     2834 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9882         .0000    ** at limit **
   2  Prefactor     .10000E-03    17.188         .0000    ** at limit **
   3  Prefactor     .10000E-03    6.8629         .0000    ** at limit **
   4  Prefactor     3.8352        4.8485         .0000        .20065E-02
   5  Prefactor     .53066        1.3714         .0000        .15004E-02
   6  Prefactor     .10017E-03    637.59         .0000    ** at limit **
   7  Prefactor     .10000E-03    4.1130         .0000    ** at limit **
   8  norm          3.4370        1.2059         .0000        .75382E-03
   9  Prefactor     1.0435        22.364         .0000        .16649E-01
  10  Prefactor     1.0678        2.5061         .0000        .16442E-02
  11  Prefactor     67.167        60.492         .0000        .81488E-03
  12  Prefactor     .78896        1.5961         .0000        .80835E-03
  13  Prefactor     4.3325        2.5688         .0000       -.14021E-03
  14  Prefactor     1.2692        1.5839         .0000        .12497E-02
  15  Prefactor     .50571        16.272         .0000        .24840E-03
  16  Prefactor     .10000E-03    1.3974         .0000    ** at limit **
  17  norm          .44133E-01    .91998E-01     .0000        .57982E-02
  18  norm          1.3016        2.1985         .0000        .14240E-02
  19  Prefactor     8.8205        7.6770         .0000        .17123E-03
  20  Prefactor     21.850        12.220         .0000        .22421E-03
  21  Prefactor     .10000E-03    101.80         .0000    ** at limit **
  22  Prefactor     .10000E-03    1.4041         .0000    ** at limit **
  23  Normalizat    1.2192        .15233         .0000       -.12981E-04
  24  Prefactor     .89156        .14362         .0000       -.79286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.83517
  Prefactor  = 0.530662
  Prefactor  = 0.000100172
  Prefactor  = 0.0001
  norm       = 3.43703
  Prefactor  = 1.04352
  Prefactor  = 1.06783
  Prefactor  = 67.1665
  Prefactor  = 0.788957
  Prefactor  = 4.33246
  Prefactor  = 1.26919
  Prefactor  = 0.505711
  Prefactor  = 0.0001
  norm       = 0.0441331
  norm       = 1.30162
  Prefactor  = 8.82053
  Prefactor  = 21.8496
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Normalizat = 1.21924
  Prefactor  = 0.891563
 **********
 **   18 **HESSE 
 **********

 FCN=   8822.738     FROM HESSE     STATUS=OK           413 CALLS     3247 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.8797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8352        4.8393        .10307E-02   -1.5316    
   5  Prefactor     .53066        1.6612        .16336E-02   -1.5562    
   6  Prefactor     .10017E-03    643.66        .18146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.4370        1.2054        .59114E-04   -1.5337    
   9  Prefactor     1.0435        22.492        .24685E-02   -1.5504    
  10  Prefactor     1.0678        2.4392        .21439E-03   -1.5501    
  11  Prefactor     67.167        59.616        .48949E-04   -1.4067    
  12  Prefactor     .78896        1.3478        .15452E-02   -1.5530    
  13  Prefactor     4.3325        2.5191        .10711E-03   -1.5292    
  14  Prefactor     1.2692        1.5507        .12574E-03   -1.5483    
  15  Prefactor     .50571        19.412        .12295       -1.5566    
  16  Prefactor     .10000E-03    1.4019        .10839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .44133E-01    .70965E-01    .39626E-03   -1.5666    
  18  norm          1.3016        2.1542        .17521E-03   -1.5480    
  19  Prefactor     8.8205        7.6484        .13490E-03   -1.5114    
  20  Prefactor     21.850        12.182        .85721E-04   -1.4773    
  21  Prefactor     .10000E-03    104.60        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.4054        .10869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2192        .17539        .23556E-03   -.86010    
  24  Prefactor     .89156        .16724        .26608E-03   -.96437    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82202e-08
Minuit parameter uncertainties:
  1  0.000113307
  2  0.000127969
  3  0.000101355
  4  4.8398
  5  1.66131
  6  0.0212721
  7  5.24501e-05
  8  1.20541
  9  9.693
  10  2.43941
  11  59.669
  12  1.3479
  13  2.5192
  14  1.55072
  15  6.26789
  16  1.31575e-05
  17  0.0709651
  18  2.15432
  19  7.64927
  20  12.1834
  21  0.000882702
  22  1.532e-05
  23  0.175478
  24  0.16734
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  7.890e-01  1.348e+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.916e-01  1.673e-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.219e+00  1.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/373661/likelihoodResults_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.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) = 8822.63184378
delta logL = 0.106396997568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8822.62321999
delta logL = 0.115020779798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96385       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8525       1.0000          .0000       10.000    
     3 'Normalizat'    1.2262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88653       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=   8822.623     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      272 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96268        1.4457        .16774E-02    .41838E-02
   2  Index         1.8522        .94011        .16885E-01   -.10324E-04
   3  Normalizat    1.2262        .16887        .23499E-03    .18868E-04
   4  Prefactor     .88659        .16673        .26671E-03   -.60870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.962679
  Index      = 1.85224
  Normalizat = 1.22618
  Prefactor  = 0.886587
 **********
 **   18 **HESSE 
 **********

 FCN=   8822.623     FROM HESSE     STATUS=OK            27 CALLS      299 TOTAL
                     EDM=   .20E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96268        1.4532        .33548E-03   -1.5512    
   2  Index         1.8522        .94616        .67540E-03   -.68098    
   3  Normalizat    1.2262        .16897        .93994E-05   -.85798    
   4  Prefactor     .88659        .16686        .10668E-04   -.96611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01311e-11
Minuit parameter uncertainties:
  1  1.45327
  2  0.955775
  3  0.16905
  4  0.166957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373661': 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) = 8822.62321959
delta logL = 0.115021182284

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  9.627e-01  1.453e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.852e+00  9.558e-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:  8.866e-01  1.670e-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.226e+00  1.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.50
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/373661/cmap_HighResolution_247104001_247363201_4FGL_J1209.8+1810_daily_bin30.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.74e-03', job_status='DONE', photon_flux_upper_limit='6.13e-08', time_completed='2021-09-05 02:30:42.443678', job_id='373661', GAL2='0.89', fit_tolerance='1e-08', EG2='1.23', EG='1.22', time_epoch_completed='1630834242.44', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.15e-01', ts2='0.73', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='30' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:30:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 373661: <4FGL_J1209.8+1810_daily_bin30> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin30> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 02:15:29 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:15:30 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:15:30 2021
Terminated at Sun Sep  5 02:30:43 2021
Results reported at Sun Sep  5 02:30:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin30 182.466 18.1776 247104001 247363201 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 :                                   893.20 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             347.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            914 sec.

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

