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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1612
RA = 182.226, Dec = 54.6995
tmin = 657158401, tmax = 657417601
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='326935', job_status='RUN', time_executed='2021-12-07 22:52:31.041652', time_epoch_executed='1638946351.04' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1612'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/326935

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/326935/ft1_4FGL_J1208.9+5441_daily_bin1612.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/326935/ft1_4FGL_J1208.9+5441_daily_bin1612.fits outfile=/scratch/kocevski/326935/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1612.fits ra=182.226 dec=54.6995 rad=12.0 tmin=657158401.0 tmax=657417601.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.68
user 3.45
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.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/326935/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1612.fits evtable="EVENTS" outfile="/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.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/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits" evtable="EVENTS" scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits sctable="SC_DATA" outfile=/scratch/kocevski/326935/ltcube_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.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/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits
.....................!
real 14.76
user 14.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits sctable="SC_DATA" expcube=/scratch/kocevski/326935/ltcube_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits outfile=/scratch/kocevski/326935/expmap_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.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/326935/ltcube_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits
.....................!
real 193.72
user 188.51
sys 4.66

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 221 point sources and 0 extended sources

Setting source of interest to:
4FGL J1208.9+5441 @ 182.226 54.6995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits outfile=/scratch/kocevski/326935/cmap_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.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.226 yref=54.6995 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits outfile=/scratch/kocevski/326935/cmap_HighResolution_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.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.226 yref=54.6995 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits evtable="EVENTS" scfile=/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/326935/Model_4FGL_J1208.9+5441_daily_bin1612.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/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits.....................!
real 46.07
user 44.63
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits', '/scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits', expMap='/scratch/kocevski/326935/expmap_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits', expCube='/scratch/kocevski/326935/ltcube_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/326935/Model_4FGL_J1208.9+5441_daily_bin1612.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1208.9+5441'

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  2.729e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/326935/ft1_filtered_4FGL_J1208.9+5441_daily_bin1612.fits
Spacecraft file(s): /scratch/kocevski/326935/ft2_4FGL_J1208.9+5441_daily_bin1612.fits
Exposure map: /scratch/kocevski/326935/expmap_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits
Exposure cube: /scratch/kocevski/326935/ltcube_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/326935/Model_4FGL_J1208.9+5441_daily_bin1612.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) = 5013.23320581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.8466       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9515       1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.770       1.0000         .10000E-03   10000.    
     6 'norm      '    24.982       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    40.032       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7530       1.0000         .10000E-03   10000.    
    11 'norm      '    .97523E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5321       1.0000         .10000E-03   10000.    
    15 'norm      '    4.9933       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3871       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1660       1.0000         .10000E-03   10000.    
    21 'norm      '    4.0550       1.0000         .10000E-03   10000.    
    22 'Prefactor '    69.154       1.0000         .10000E-03   10000.    
    23 'norm      '    5.3247       1.0000         .10000E-03   10000.    
    24 'Prefactor '    63.205       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .93424       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .71521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5013.210     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     3503 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.048        .56431E-06** at limit **
   2  norm          2.8469        2.0024       -.27103E-06   -.63059E-05
   3  Prefactor     .10000E-03    48.049       -.75882E-06** at limit **
   4  Prefactor     1.9525        25.141        .11512E-04    .48002E-04
   5  Prefactor     54.751        72.516        .82195E-06   -.10180E-03
   6  norm          24.983        30.403       -.88162E-08    .46957E-05
   7  Prefactor     .10000E-03    1.9469       -.24981E-07** at limit **
   8  Prefactor     40.036        24.482       -.15302E-06    .35174E-04
   9  norm          .10000E-03    4.0278       -.83243E-08** at limit **
  10  Prefactor     2.7512        3.3693        .10972E-06   -.22879E-04
  11  norm          .11625        2.5621       -.11664E-05    .30125E-03
  12  Prefactor     .10000E-03    15.214       -.18815E-07** at limit **
  13  Prefactor     .10000E-03    5.9817       -.96402E-07** at limit **
  14  Prefactor     5.5382        17.327        .32473E-06    .23961E-04
  15  norm          4.9943        2.5284        .38836E-07    .27478E-04
  16  Prefactor     .10000E-03    9.4427        .14005E-07** at limit **
  17  Prefactor     .10000E-03    111.36        .16114E-06** at limit **
  18  norm          .10000E-03    2.3600       -.28970E-07** at limit **
  19  Prefactor     1.3929        50.128        .16189E-05    .99326E-05
  20  Prefactor     1.1664        14.770        .17105E-05   -.21532E-05
  21  norm          4.0552        2.9274       -.11680E-06   -.49271E-04
  22  Prefactor     69.164        29.178       -.82264E-08    .76122E-04
  23  norm          5.3249        2.6323       -.25713E-08   -.16582E-04
  24  Prefactor     63.217        52.574       -.11455E-06    .11253E-03
  25  Prefactor     .10000E-03    5.1946       -.13594E-07** at limit **
  26  norm          .10000E-03    1.8507        .24533E-07** at limit **
  27  Normalizat    .93392        .16451       -.11831E-05    .71414E-04
  28  Prefactor     .71555        .19562        .85562E-06    .43992E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  norm       = 2.84692
  Prefactor  = 0.000100003
  Prefactor  = 1.95248
  Prefactor  = 54.751
  norm       = 24.9825
  Prefactor  = 0.0001
  Prefactor  = 40.0359
  norm       = 0.0001
  Prefactor  = 2.75124
  norm       = 0.116251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.53821
  norm       = 4.99432
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.39294
  Prefactor  = 1.16639
  norm       = 4.05521
  Prefactor  = 69.1645
  norm       = 5.32493
  Prefactor  = 63.2166
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.933925
  Prefactor  = 0.71555
 **********
 **   18 **HESSE 
 **********

 FCN=   5013.210     FROM HESSE     STATUS=OK           521 CALLS     4024 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.8469        2.0026        .79662E-04   -1.5370    
   3  Prefactor     .10000E-03    48.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.9525        25.496        .14853E-02   -1.5428    
   5  Prefactor     54.751        72.931        .54200E-04   -1.4227    
   6  norm          24.983        30.406        .80145E-04   -1.4708    
   7  Prefactor     .10000E-03    1.9521        .96457E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     40.036        24.509        .63352E-04   -1.4442    
   9  norm          .10000E-03    4.0295        .13878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7512        3.3564        .13514E-03   -1.5376    
  11  norm          .11625        20.502        .19879E-02   -1.5640    
  12  Prefactor     .10000E-03    15.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.9963        .16827E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.5382        17.209        .17082E-03   -1.5237    
  15  norm          4.9943        2.5349        .75876E-04   -1.5261    
  16  Prefactor     .10000E-03    9.4692        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    111.74        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.3606        .10604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3929        50.177        .36918E-03   -1.5472    
  20  Prefactor     1.1664        13.929        .42576E-03   -1.5492    
  21  norm          4.0552        2.8266        .87014E-04   -1.5305    
  22  Prefactor     69.164        29.147        .48269E-04   -1.4043    
  23  norm          5.3249        2.6296        .77910E-04   -1.5246    
  24  Prefactor     63.217        52.768        .25237E-03   -1.4116    
  25  Prefactor     .10000E-03    5.2086        .15753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.8630        .94062E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .93392        .19518        .20484E-03   -.95278    
  28  Prefactor     .71555        .23183        .28861E-03   -1.0292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33802e-09
Minuit parameter uncertainties:
  1  0.000670448
  2  2.0026
  3  0.000731482
  4  14.1181
  5  73.0504
  6  30.4248
  7  2.6277e-06
  8  24.515
  9  6.18454e-07
  10  3.35663
  11  3.08738
  12  1.64797e-05
  13  6.16432e-06
  14  17.2248
  15  2.535
  16  9.20065e-06
  17  0.000219509
  18  3.65296e-06
  19  16.735
  20  8.06352
  21  2.82673
  22  29.1528
  23  2.62969
  24  52.8069
  25  1.76786e-06
  26  1.99972e-06
  27  0.195326
  28  0.232148
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.994e+00  2.535e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  7.155e-01  2.321e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.339e-01  1.953e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.93
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 7.82e-08 +/- 3.96e-08
Energy Flux (Fixed Index): 2.07e-05 +/- 1.05e-05

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) = 5013.05110054
delta logL = 0.158457994187

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5013.04504084
delta logL = 0.164517693926

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7504       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8654       1.0000          .0000       5.0000    
     3 'Normalizat'    .90869       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73842       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5013.045     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      232 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7530        47.648        .46152E-02    .26409E-03
   2  alpha         2.8663        3.1323        .35451        .26346E-04
   3  Normalizat    .90868        .10441        .45013E-01   -.25404E-04
   4  Prefactor     .73849        .14644        .64312E-01   -.14363E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.75304
  alpha      = 2.86626
  Normalizat = 0.908684
  Prefactor  = 0.738488
 **********
 **   18 **HESSE 
 **********

 FCN=   5013.045     FROM HESSE     STATUS=OK            33 CALLS      265 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7530        2.4934        .68905E-04   -1.5272    
   2  alpha         2.8663        .64226        .14561E-01    .14703    
   3  Normalizat    .90868        .19119        .20725E-03   -.96156    
   4  Prefactor     .73849        .23409        .28450E-03   -1.0204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36118e-11
Minuit parameter uncertainties:
  1  2.49345
  2  0.649711
  3  0.191335
  4  0.234401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/326935': 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) = 5013.04503776
delta logL = 0.16452077786

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.753e+00  2.493e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.866e+00  6.497e-01  0.000e+00  5.000e+00 ( 1.000e+00)
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  7.385e-01  2.344e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  9.087e-01  1.913e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.25
Ra Dec: 182.226 54.700
Photon Index (Free Index): 2.87 +/- 0.65
Photon Flux (Free Index): 9.48e-08 +/- 5.10e-08
Energy Flux (Free Index): 2.00e-05 +/- 9.60e-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/326935/cmap_HighResolution_657158401_657417601_4FGL_J1208.9+5441_daily_bin1612.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.82e-08', energy_flux2='2.00e-05', photon_flux_error='3.96e-08', dlogl='1.65e-01', energy_flux='2.07e-05', photon_flux2='9.48e-08', job_status='DONE', time_completed='2021-12-07 23:04:26.114470', photon_index_error2='0.65', photon_index2='2.87', ts='8.93', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='9.60e-06', EG='0.93', time_epoch_completed='1638947066.11', return_code='0', job_id='326935', GAL2='0.74', EG2='0.91', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='5.10e-08', ts2='9.25', photon_index='2.51' WHERE bin_id='1612' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec  7 23:04:26 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 326935: <4FGL_J1208.9+5441_daily_bin1612> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1612> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec  7 22:50:25 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec  7 22:52:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec  7 22:52:19 2021
Terminated at Tue Dec  7 23:04:26 2021
Results reported at Tue Dec  7 23:04:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1612 182.226 54.6995 657158401 657417601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1208.9+5441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   714.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            841 sec.

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

