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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin944
RA = 182.226, Dec = 54.6995
tmin = 484012801, tmax = 484272001
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='357817', job_status='RUN', time_executed='2021-09-05 01:26:04.192565', time_epoch_executed='1630830364.19' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='944'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/357817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/357817/ft1_4FGL_J1208.9+5441_daily_bin944.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/357817/ft1_4FGL_J1208.9+5441_daily_bin944.fits outfile=/scratch/kocevski/357817/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin944.fits ra=182.226 dec=54.6995 rad=12.0 tmin=484012801.0 tmax=484272001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.31
user 3.26
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.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/357817/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin944.fits evtable="EVENTS" outfile="/scratch/kocevski/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.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 1.18
user 0.33
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits" evtable="EVENTS" scfile=/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits sctable="SC_DATA" outfile=/scratch/kocevski/357817/ltcube_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.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/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits
.....................!
real 15.19
user 14.42
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits evtable="EVENTS" scfile=/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits sctable="SC_DATA" expcube=/scratch/kocevski/357817/ltcube_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits outfile=/scratch/kocevski/357817/expmap_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.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/357817/ltcube_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits
.....................!
real 194.52
user 187.27
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 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/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits scfile=/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits outfile=/scratch/kocevski/357817/cmap_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits scfile=/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits outfile=/scratch/kocevski/357817/cmap_HighResolution_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.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.87
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits', '/scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits', expMap='/scratch/kocevski/357817/expmap_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits', expCube='/scratch/kocevski/357817/ltcube_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/357817/Model_4FGL_J1208.9+5441_daily_bin944.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/357817/ft1_filtered_4FGL_J1208.9+5441_daily_bin944.fits
Spacecraft file(s): /scratch/kocevski/357817/ft2_4FGL_J1208.9+5441_daily_bin944.fits
Exposure map: /scratch/kocevski/357817/expmap_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits
Exposure cube: /scratch/kocevski/357817/ltcube_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/357817/Model_4FGL_J1208.9+5441_daily_bin944.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) = 5440.44707763

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.029       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13853E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.033       1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10907E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.6261       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.1200       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.9568       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.6533       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    31.672       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.7289       1.0000         .10000E-03   10000.    
    21 'norm      '    2.9397       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.902       1.0000         .10000E-03   10000.    
    23 'norm      '    4.4396       1.0000         .10000E-03   10000.    
    24 'Prefactor '    42.945       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .78865       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1508       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=   5440.424     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3450 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    28.616       -.22922E-06** at limit **
   2  norm          .10000E-03    .46173       -.12463E-06** at limit **
   3  Prefactor     12.965        62.409       -.23628E-05   -.50641E-05
   4  Prefactor     .10000E-03    6.5408       -.18088E-06** at limit **
   5  Prefactor     .10000E-03    20.469       -.65988E-07** at limit **
   6  norm          .10000E-03    18.131       -.95656E-09** at limit **
   7  Prefactor     .10002E-03    8.9932       -.36949E-05** at limit **
   8  Prefactor     33.021        28.897        .95540E-06    .46205E-03
   9  norm          .10000E-03    11.120       -.30099E-07** at limit **
  10  Prefactor     .10000E-03    2.2123        .84641E-06** at limit **
  11  norm          2.6264        4.9962        .58361E-06    .46706E-03
  12  Prefactor     .10000E-03    7.4919        .17862E-06** at limit **
  13  Prefactor     7.1177        9.5445        .38972E-07    .14380E-03
  14  Prefactor     .10000E-03    9.4009        .61555E-07** at limit **
  15  norm          3.9570        2.4523       -.63924E-07    .38736E-03
  16  Prefactor     8.6541        23.207       -.69383E-06    .10680E-04
  17  Prefactor     .10000E-03    32.129        .93314E-07** at limit **
  18  norm          .10000E-03    3.2536        .35825E-06** at limit **
  19  Prefactor     31.676        20.587       -.38694E-06   -.58891E-04
  20  Prefactor     9.7291        7.1279       -.86759E-07    .18355E-04
  21  norm          2.9397        2.0157       -.44085E-07   -.84911E-04
  22  Prefactor     21.902        16.415       -.14320E-06   -.20306E-04
  23  norm          4.4395        2.4763       -.21005E-07   -.11745E-04
  24  Prefactor     42.914        42.833       -.27907E-06   -.62514E-04
  25  Prefactor     .10000E-03    3.2224        .10448E-06** at limit **
  26  norm          .10000E-03    .99114        .47479E-07** at limit **
  27  Normalizat    .78858        .18448        .46814E-05    .32517E-03
  28  Prefactor     1.1510        .22461       -.48080E-05    .15855E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.965
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100019
  Prefactor  = 33.0205
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.62644
  Prefactor  = 0.0001
  Prefactor  = 7.11765
  Prefactor  = 0.0001
  norm       = 3.957
  Prefactor  = 8.65407
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 31.6759
  Prefactor  = 9.72909
  norm       = 2.93973
  Prefactor  = 21.9016
  norm       = 4.43946
  Prefactor  = 42.914
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.788583
  Prefactor  = 1.15097
 **********
 **   18 **HESSE 
 **********

 FCN=   5440.424     FROM HESSE     STATUS=OK           515 CALLS     3965 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .46336        .49011E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.965        62.887        .11097E-03   -1.4988    
   4  Prefactor     .10000E-03    6.5483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    18.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    17.889        .33384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     33.021        29.103        .69720E-04   -1.4558    
   9  norm          .10000E-03    11.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8832        .20151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6264        4.9741        .19894E-03   -1.5384    
  12  Prefactor     .10000E-03    7.5114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.1177        9.4725        .15033E-03   -1.5174    
  14  Prefactor     .10000E-03    9.4044        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.9570        2.4511        .85731E-04   -1.5310    
  16  Prefactor     8.6541        23.211        .13627E-03   -1.5120    
  17  Prefactor     .10000E-03    32.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.2831        .12998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     31.676        20.612        .71197E-04   -1.4582    
  20  Prefactor     9.7291        7.1183        .12847E-03   -1.5084    
  21  norm          2.9397        2.0184        .82322E-04   -1.5365    
  22  Prefactor     21.902        16.414        .85588E-04   -1.4772    
  23  norm          4.4395        2.4746        .83581E-04   -1.5287    
  24  Prefactor     42.914        42.892        .61175E-04   -1.4397    
  25  Prefactor     .10000E-03    3.2269        .12930E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    .99175        .71717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .78858        .19810        .23721E-03   -1.0049    
  28  Prefactor     1.1510        .23950        .25805E-03   -.87854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8153e-09
Minuit parameter uncertainties:
  1  1.93558e-05
  2  2.91509e-06
  3  57.2052
  4  1.23477e-05
  5  2.32535e-06
  6  6.95849e-06
  7  0.00117152
  8  29.1159
  9  1.06331e-06
  10  5.81895e-05
  11  4.9749
  12  4.38377e-06
  13  9.47453
  14  1.04063e-05
  15  2.45116
  16  23.2356
  17  2.76415e-06
  18  2.29828e-05
  19  20.6167
  20  7.11892
  21  2.01841
  22  16.4176
  23  2.47464
  24  42.9226
  25  5.44775e-06
  26  1.46331e-06
  27  0.198281
  28  0.239723
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.957e+00  2.451e+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:  1.151e+00  2.397e-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:  7.886e-01  1.983e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.78
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 6.19e-08 +/- 3.83e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.01e-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) = 5439.87715293
delta logL = 0.546437948245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5439.8653404
delta logL = 0.558250478953

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1885       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3978       1.0000          .0000       5.0000    
     3 'Normalizat'    .73515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1995       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=   5439.865     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1878        29.911        .56733E-02    .26795E-03
   2  alpha         3.3979        3.5277        .41278        .29429E-04
   3  Normalizat    .73515        .69880E-01    .42758E-01    .17118E-04
   4  Prefactor     1.1996        .89817E-01    .57331E-01    .43033E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.1878
  alpha      = 3.39788
  Normalizat = 0.735148
  Prefactor  = 1.19957
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.865     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1878        2.7321        .63642E-04   -1.5351    
   2  alpha         3.3979        1.0079        .17581E-01    .36736    
   3  Normalizat    .73515        .19252        .24465E-03   -1.0252    
   4  Prefactor     1.1996        .24345        .25352E-03   -.86345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0428e-12
Minuit parameter uncertainties:
  1  2.73223
  2  1.04217
  3  0.192702
  4  0.24368
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/357817': 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) = 5439.86534033
delta logL = 0.558250548519

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.188e+00  2.732e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  3.398e+00  1.042e+00  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:  1.200e+00  2.437e-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:  7.351e-01  1.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.05
Ra Dec: 182.226 54.700
Photon Index (Free Index): 3.40 +/- 1.04
Photon Flux (Free Index): 9.74e-08 +/- 5.42e-08
Energy Flux (Free Index): 1.68e-05 +/- 8.82e-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/357817/cmap_HighResolution_484012801_484272001_4FGL_J1208.9+5441_daily_bin944.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.19e-08', energy_flux2='1.68e-05', photon_flux_error='3.83e-08', dlogl='5.58e-01', energy_flux='1.64e-05', photon_flux2='9.74e-08', job_status='DONE', time_completed='2021-09-05 01:42:02.441359', photon_index_error2='1.04', photon_index2='3.40', ts='4.78', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='8.82e-06', EG='0.79', time_epoch_completed='1630831322.44', return_code='0', job_id='357817', GAL2='1.20', EG2='0.74', return_code2='0', energy_flux_error='1.01e-05', photon_flux_error2='5.42e-08', ts2='6.05', photon_index='2.51' WHERE bin_id='944' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:42:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 357817: <4FGL_J1208.9+5441_daily_bin944> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin944> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 01:25:47 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 01:25:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 01:25:49 2021
Terminated at Sun Sep  5 01:42:03 2021
Results reported at Sun Sep  5 01:42:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin944 182.226 54.6995 484012801 484272001 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 :                                   729.41 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             295.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            976 sec.

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

