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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin285
RA = 182.226, Dec = 54.6995
tmin = 313200001, tmax = 313459201
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='352952', job_status='RUN', time_executed='2021-09-05 01:11:15.819725', time_epoch_executed='1630829475.82' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='285'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/352952

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/352952/ft1_4FGL_J1208.9+5441_daily_bin285.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/352952/ft1_4FGL_J1208.9+5441_daily_bin285.fits outfile=/scratch/kocevski/352952/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin285.fits ra=182.226 dec=54.6995 rad=12.0 tmin=313200001.0 tmax=313459201.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.46
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.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/352952/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin285.fits evtable="EVENTS" outfile="/scratch/kocevski/352952/ft1_filtered_4FGL_J1208.9+5441_daily_bin285.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/352952/ft1_filtered_4FGL_J1208.9+5441_daily_bin285.fits" evtable="EVENTS" scfile=/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits sctable="SC_DATA" outfile=/scratch/kocevski/352952/ltcube_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.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/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits
.....................!
real 13.15
user 12.81
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/352952/ft1_filtered_4FGL_J1208.9+5441_daily_bin285.fits evtable="EVENTS" scfile=/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits sctable="SC_DATA" expcube=/scratch/kocevski/352952/ltcube_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.fits outfile=/scratch/kocevski/352952/expmap_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.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/352952/ltcube_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.fits
.....................!
real 191.96
user 187.15
sys 4.43

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/352952/ft1_filtered_4FGL_J1208.9+5441_daily_bin285.fits scfile=/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits outfile=/scratch/kocevski/352952/cmap_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/352952/ft1_filtered_4FGL_J1208.9+5441_daily_bin285.fits scfile=/scratch/kocevski/352952/ft2_4FGL_J1208.9+5441_daily_bin285.fits outfile=/scratch/kocevski/352952/cmap_HighResolution_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.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.60
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12075E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    3.1499       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.795       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .63567E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .27705E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11870E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17761E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .21103E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4092       1.0000         .10000E-03   10000.    
    11 'norm      '    .11319       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2906       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69120E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .40426       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    15.430       1.0000         .10000E-03   10000.    
    18 'norm      '    .78855       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .57007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.4700       1.0000         .10000E-03   10000.    
    21 'norm      '    2.0071       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .53020E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.4043       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.6823       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .68596E-02   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .96047       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1168       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=   6544.592     FROM MIGRAD    STATUS=CONVERGED    792 CALLS     2658 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    77.817       -.44926E-05** at limit **
   2  norm          3.1614        1.9480       -.38757E-07    .36087E-04
   3  Prefactor     26.724        47.872        .21857E-05    .34596E-05
   4  Prefactor     11.663        17.900        .60206E-06   -.56126E-05
   5  Prefactor     .10000E-03    21.985       -.42782E-06** at limit **
   6  norm          .10000E-03    16.125       -.35573E-06** at limit **
   7  Prefactor     .10000E-03    3.6091       -.13110E-06** at limit **
   8  Prefactor     .10000E-03    6.5901        .20796E-07** at limit **
   9  norm          .10000E-03    57.759       -.71825E-05** at limit **
  10  Prefactor     2.4101        2.0091       -.18602E-07    .44764E-05
  11  norm          .10706        4.8535        .19523E-05   -.24840E-03
  12  Prefactor     .10000E-03    5.1445        .59038E-07** at limit **
  13  Prefactor     4.3458        5.6583       -.37686E-06   -.12928E-03
  14  Prefactor     .10000E-03    23.178       -.16024E-06** at limit **
  15  norm          .40629        1.5300       -.48834E-07    .32007E-03
  16  Prefactor     .10000E-03    12.973        .24049E-06** at limit **
  17  Prefactor     16.624        52.192        .67141E-06   -.71877E-05
  18  norm          .79049        6.4259       -.22867E-05   -.46420E-04
  19  Prefactor     .10000E-03    25.665       -.26452E-06** at limit **
  20  Prefactor     2.4862        7.6662       -.81314E-06   -.17920E-04
  21  norm          2.0036        2.4239        .13543E-06    .88251E-05
  22  Prefactor     .10000E-03    4.8809        .63475E-07** at limit **
  23  norm          3.4034        2.0301        .20352E-07   -.17710E-05
  24  Prefactor     3.9143        115.52       -.16964E-05   -.17746E-06
  25  Prefactor     .10000E-03    2.3192        .32741E-07** at limit **
  26  norm          .32204E-01    2.5028       -.42727E-06    .61855E-04
  27  Normalizat    .96060        .15591        .10192E-05   -.10495E-03
  28  Prefactor     1.1160        .19173       -.15449E-05   -.64007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.16135
  Prefactor  = 26.7244
  Prefactor  = 11.663
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 2.41012
  norm       = 0.107061
  Prefactor  = 0.0001
  Prefactor  = 4.34579
  Prefactor  = 0.0001
  norm       = 0.406294
  Prefactor  = 0.0001
  Prefactor  = 16.6245
  norm       = 0.790489
  Prefactor  = 0.0001
  Prefactor  = 2.48618
  norm       = 2.00359
  Prefactor  = 0.0001
  norm       = 3.40342
  Prefactor  = 3.91435
  Prefactor  = 0.0001
  norm       = 0.0322037
  Normalizat = 0.960599
  Prefactor  = 1.11605
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.592     FROM HESSE     STATUS=OK           537 CALLS     3195 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.879        .18167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.1614        1.9439        .84415E-04   -1.5352    
   3  Prefactor     26.724        48.182        .77391E-04   -1.4674    
   4  Prefactor     11.663        17.921        .11528E-03   -1.5025    
   5  Prefactor     .10000E-03    21.987        .21033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.124        .21423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.7264        .30006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.5948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    64.242        .46840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4101        2.0051        .10125E-03   -1.5397    
  11  norm          .10706        26.287        .20882E-02   -1.5643    
  12  Prefactor     .10000E-03    5.1515        .17921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.3458        5.7671        .19450E-03   -1.5291    
  14  Prefactor     .10000E-03    23.321        .18720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .40629        2.3329        .17526E-02   -1.5580    
  16  Prefactor     .10000E-03    13.056        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.624        52.089        .10196E-03   -1.4892    
  18  norm          .79049        6.5891        .39245E-03   -1.5530    
  19  Prefactor     .10000E-03    26.364        .42182E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.4862        7.5433        .26018E-03   -1.5393    
  21  norm          2.0036        2.3657        .10802E-03   -1.5425    
  22  Prefactor     .10000E-03    4.8858        .17456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.4034        2.0287        .86154E-04   -1.5339    
  24  Prefactor     3.9143        115.45        .21048E-03   -1.5312    
  25  Prefactor     .10000E-03    2.3216        .12031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .32204E-01    2.1797        .42912E-01   -1.5672    
  27  Normalizat    .96060        .17886        .21885E-03   -.94362    
  28  Prefactor     1.1160        .22322        .26563E-03   -.88955    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00481e-09
Minuit parameter uncertainties:
  1  2.50287e-05
  2  1.94392
  3  48.2519
  4  17.9296
  5  3.99985e-07
  6  3.55227e-06
  7  1.08263e-05
  8  3.93765e-06
  9  0.00104842
  10  2.00513
  11  3.3551
  12  5.2231e-06
  13  5.76782
  14  4.16399e-05
  15  1.94701
  16  2.0745e-05
  17  52.2319
  18  4.56486
  19  4.77643e-05
  20  7.54622
  21  2.36582
  22  4.13026e-06
  23  2.02871
  24  42.6063
  25  2.9968e-06
  26  0.529085
  27  0.178968
  28  0.223412
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  4.063e-01  1.947e+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.116e+00  2.234e-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.606e-01  1.790e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 182.226 54.700
Photon Flux Upper Limit: 7.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.06e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/352952/likelihoodResults_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6544.4416896
delta logL = 0.150262910805

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6544.43003218
delta logL = 0.16192033325

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .60522       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7843       1.0000          .0000       5.0000    
     3 'Normalizat'    .93412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1359       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=   6544.430     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .60801        29.582        .11693E-01    .16213E-02
   2  alpha         3.7816        2.5883        .50000        .31292E-04
   3  Normalizat    .93443        .35962E-01    .45336E-01    .10846E-04
   4  Prefactor     1.1355        .47252E-01    .59615E-01    .82930E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.608015
  alpha      = 3.78157
  Normalizat = 0.934426
  Prefactor  = 1.13551
 **********
 **   18 **HESSE 
 **********

 FCN=   6544.430     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .60801        1.9005        .98314E-04   -1.5552    
   2  alpha         3.7816        4.0844        .56059E-02    .53824    
   3  Normalizat    .93443        .17745        .22159E-03   -.95261    
   4  Prefactor     1.1355        .22439        .26365E-03   -.88340    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57271e-12
Minuit parameter uncertainties:
  1  1.90068
  2  2.99176
  3  0.177566
  4  0.224575
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/352952': 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) = 6544.43002862
delta logL = 0.161923890806

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  6.080e-01  1.901e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  3.782e+00  2.992e+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.136e+00  2.246e-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.344e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 182.226 54.700

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/352952/cmap_HighResolution_313200001_313459201_4FGL_J1208.9+5441_daily_bin285.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.06e-05', job_status='DONE', photon_flux_upper_limit='7.78e-08', time_completed='2021-09-05 01:25:47.945801', job_id='352952', GAL2='1.14', fit_tolerance='1e-08', EG2='0.93', EG='0.96', time_epoch_completed='1630830347.95', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='1.62e-01', ts2='0.40', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='285' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:25:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 352952: <4FGL_J1208.9+5441_daily_bin285> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin285 182.226 54.6995 313200001 313459201 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 :                                   861.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             333.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            887 sec.

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

