/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 4 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 = 7680
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1208.9+5441_daily_bin256
RA = 182.226, Dec = 54.6995
tmin = 305683201, tmax = 305942401
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='352921', job_status='RUN', time_executed='2021-09-05 01:11:12.069454', time_epoch_executed='1630829472.07' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352921

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352921/ft1_4FGL_J1208.9+5441_daily_bin256.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352921/ft1_4FGL_J1208.9+5441_daily_bin256.fits outfile=/scratch/kocevski/352921/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin256.fits ra=182.226 dec=54.6995 rad=12.0 tmin=305683201.0 tmax=305942401.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.74
user 4.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.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/352921/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin256.fits evtable="EVENTS" outfile="/scratch/kocevski/352921/ft1_filtered_4FGL_J1208.9+5441_daily_bin256.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.54
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/352921/ft1_filtered_4FGL_J1208.9+5441_daily_bin256.fits" evtable="EVENTS" scfile=/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits sctable="SC_DATA" outfile=/scratch/kocevski/352921/ltcube_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.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/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits
.....................!
real 12.54
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352921/ft1_filtered_4FGL_J1208.9+5441_daily_bin256.fits evtable="EVENTS" scfile=/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits sctable="SC_DATA" expcube=/scratch/kocevski/352921/ltcube_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.fits outfile=/scratch/kocevski/352921/expmap_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.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/352921/ltcube_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.fits
.....................!
real 190.98
user 185.54
sys 4.87

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/352921/ft1_filtered_4FGL_J1208.9+5441_daily_bin256.fits scfile=/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits outfile=/scratch/kocevski/352921/cmap_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352921/ft1_filtered_4FGL_J1208.9+5441_daily_bin256.fits scfile=/scratch/kocevski/352921/ft2_4FGL_J1208.9+5441_daily_bin256.fits outfile=/scratch/kocevski/352921/cmap_HighResolution_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.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.56
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10170E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .90318       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7188       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .33288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10079E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0251       1.0000         .10000E-03   10000.    
    11 'norm      '    .18474E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2384       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    14.219       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10963E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.195       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11458       1.0000         .10000E-03   10000.    
    21 'norm      '    2.1693       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4988       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.0397       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.6382       1.0000         .10000E-03   10000.    
    26 'norm      '    6.7386       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .94450       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2130       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=   6933.717     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3500 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.222       -.16534E-05** at limit **
   2  norm          .90332        1.2381       -.10725E-08    .22437E-04
   3  Prefactor     6.7209        62.599        .84543E-06    .13349E-05
   4  Prefactor     .10000E-03    7.3129       -.89502E-07** at limit **
   5  Prefactor     .10000E-03    32.809        .39644E-05** at limit **
   6  norm          .10000E-03    15.916       -.10413E-05** at limit **
   7  Prefactor     .33433        2.8735       -.27370E-06    .78003E-04
   8  Prefactor     .10000E-03    7.0147        .25301E-06** at limit **
   9  norm          .10000E-03    8.0191       -.35571E-06** at limit **
  10  Prefactor     5.0243        3.4592        .14411E-06   -.12393E-03
  11  norm          .10000E-03    2.6658       -.88335E-06** at limit **
  12  Prefactor     .10000E-03    14.111        .15243E-05** at limit **
  13  Prefactor     1.2449        5.1418        .20582E-05    .88427E-04
  14  Prefactor     .10000E-03    5.7792       -.38820E-06** at limit **
  15  norm          14.220        3.3010        .52560E-07    .11131E-03
  16  Prefactor     .10000E-03    8.2741       -.25011E-06** at limit **
  17  Prefactor     .10000E-03    22.752       -.23879E-05** at limit **
  18  norm          .10005E-03    7.8199       -.76863E-06** at limit **
  19  Prefactor     46.166        24.113       -.17201E-06   -.96078E-04
  20  Prefactor     .11670        3.4174       -.86766E-07   -.70697E-04
  21  norm          2.1692        1.7397       -.68149E-07    .54569E-04
  22  Prefactor     .10000E-03    6.6951        .46659E-06** at limit **
  23  norm          4.4988        2.5045        .31734E-06   -.46735E-03
  24  Prefactor     6.0365        23.889       -.13166E-05    .31472E-05
  25  Prefactor     2.6390        9.2690        .11047E-06   -.25676E-04
  26  norm          6.7385        4.8146        .56100E-09   -.16107E-04
  27  Normalizat    .94454        .16545        .10783E-05    .76278E-04
  28  Prefactor     1.2128        .19858       -.40636E-06    .14087E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.903321
  Prefactor  = 6.72091
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.334328
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.02427
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.24492
  Prefactor  = 0.0001
  norm       = 14.2195
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100047
  Prefactor  = 46.166
  Prefactor  = 0.116704
  norm       = 2.16921
  Prefactor  = 0.0001
  norm       = 4.49882
  Prefactor  = 6.0365
  Prefactor  = 2.63902
  norm       = 6.7385
  Normalizat = 0.944537
  Prefactor  = 1.21283
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.717     FROM HESSE     STATUS=OK           529 CALLS     4029 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    43.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .90332        1.2373        .51276E-04   -1.5518    
   3  Prefactor     6.7209        62.605        .15480E-03   -1.5189    
   4  Prefactor     .10000E-03    7.3266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    15.896        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33433        14.392        .26694E-02   -1.5592    
   8  Prefactor     .10000E-03    7.0163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.1266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.0243        3.4507        .12215E-03   -1.5260    
  11  norm          .10000E-03    4.9223        .25266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    14.059        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2449        5.0917        .36328E-03   -1.5485    
  14  Prefactor     .10000E-03    5.7836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.220        3.3103        .68880E-04   -1.4954    
  16  Prefactor     .10000E-03    8.2953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10005E-03    48.333        .40332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     46.166        24.132        .58992E-04   -1.4348    
  20  Prefactor     .11670        22.088        .29145E-02   -1.5640    
  21  norm          2.1692        1.7398        .93508E-04   -1.5413    
  22  Prefactor     .10000E-03    6.6993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4988        2.4915        .47161E-03   -1.5284    
  24  Prefactor     6.0365        23.908        .16338E-03   -1.5217    
  25  Prefactor     2.6390        9.1968        .25103E-03   -1.5383    
  26  norm          6.7385        4.8145        .14985E-03   -1.5189    
  27  Normalizat    .94454        .19374        .24468E-03   -.94912    
  28  Prefactor     1.2128        .23425        .28084E-03   -.85937    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40354e-08
Minuit parameter uncertainties:
  1  1.96169e-05
  2  1.23734
  3  41.0814
  4  3.51197e-06
  5  6.14025e-05
  6  8.67467e-06
  7  4.38755
  8  4.14754e-06
  9  7.89186e-07
  10  3.45082
  11  9.95889e-05
  12  3.48459e-05
  13  5.0359
  14  3.33813e-06
  15  3.31031
  16  6.32101e-06
  17  1.35071e-05
  18  0.00300228
  19  24.1368
  20  3.21091
  21  1.73988
  22  2.50406e-06
  23  2.49158
  24  23.9461
  25  9.20167
  26  4.81474
  27  0.193886
  28  0.234456
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.422e+01  3.310e+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.213e+00  2.345e-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.445e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 48.33
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 2.23e-07 +/- 5.18e-08
Energy Flux (Fixed Index): 5.88e-05 +/- 1.37e-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) = 6933.63382409
delta logL = 0.0834848807044

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6933.62940315
delta logL = 0.0879058147984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.302       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3975       1.0000          .0000       5.0000    
     3 'Normalizat'    .96137       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1986       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=   6933.629     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .12E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.305        3.6327        .26477E-02    .62173E-04
   2  alpha         2.3976        .27921        .19198       -.62790E-05
   3  Normalizat    .96133        .15708        .45681E-01    .66452E-05
   4  Prefactor     1.1987        .19833        .63820E-01    .31817E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.3053
  alpha      = 2.39757
  Normalizat = 0.961326
  Prefactor  = 1.19873
 **********
 **   18 **HESSE 
 **********

 FCN=   6933.629     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .73E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.305        3.3858        .70531E-04   -1.4951    
   2  alpha         2.3976        .26850        .82381E-02   -.40984E-01
   3  Normalizat    .96133        .18779        .24293E-03   -.94338    
   4  Prefactor     1.1987        .23522        .28228E-03   -.86370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26403e-14
Minuit parameter uncertainties:
  1  3.38585
  2  0.269016
  3  0.187917
  4  0.235429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352921': 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) = 6933.62940264
delta logL = 0.0879063296297

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.431e+01  3.386e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.398e+00  2.690e-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:  1.199e+00  2.354e-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.613e-01  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 48.24
Ra Dec: 182.226 54.700
Photon Index (Free Index): 2.40 +/- 0.27
Photon Flux (Free Index): 2.09e-07 +/- 5.90e-08
Energy Flux (Free Index): 6.09e-05 +/- 1.55e-05

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/352921/cmap_HighResolution_305683201_305942401_4FGL_J1208.9+5441_daily_bin256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.23e-07', energy_flux2='6.09e-05', photon_flux_error='5.18e-08', dlogl='8.79e-02', energy_flux='5.88e-05', photon_flux2='2.09e-07', job_status='DONE', time_completed='2021-09-05 01:25:36.954633', photon_index_error2='0.27', photon_index2='2.40', ts='48.33', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='0.94', time_epoch_completed='1630830336.95', return_code='0', job_id='352921', GAL2='1.20', EG2='0.96', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.90e-08', ts2='48.24', photon_index='2.51' WHERE bin_id='256' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:25:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 352921: <4FGL_J1208.9+5441_daily_bin256> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin256> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 01:10:57 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 01:10:59 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:10:59 2021
Terminated at Sun Sep  5 01:25:37 2021
Results reported at Sun Sep  5 01:25:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin256 182.226 54.6995 305683201 305942401 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 :                                   857.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

