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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1437
RA = 222.017, Dec = 36.1344
tmin = 611798401, tmax = 612057601
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='792520', job_status='RUN', time_executed='2021-09-10 10:05:17.436976', time_epoch_executed='1631293517.44' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792520

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792520/ft1_4FGL_J1448.0+3608_daily_bin1437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792520/ft1_4FGL_J1448.0+3608_daily_bin1437.fits outfile=/scratch/kocevski/792520/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1437.fits ra=222.017 dec=36.1344 rad=12.0 tmin=611798401.0 tmax=612057601.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.54
user 3.26
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.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/792520/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1437.fits evtable="EVENTS" outfile="/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits" evtable="EVENTS" scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits sctable="SC_DATA" outfile=/scratch/kocevski/792520/ltcube_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.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/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits
.....................!
real 12.13
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits sctable="SC_DATA" expcube=/scratch/kocevski/792520/ltcube_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits outfile=/scratch/kocevski/792520/expmap_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.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/792520/ltcube_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits
.....................!
real 190.70
user 185.09
sys 5.12

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

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits outfile=/scratch/kocevski/792520/cmap_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.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=222.017 yref=36.1344 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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits outfile=/scratch/kocevski/792520/cmap_HighResolution_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.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=222.017 yref=36.1344 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits evtable="EVENTS" scfile=/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/792520/Model_4FGL_J1448.0+3608_daily_bin1437.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/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits.....................!
real 43.74
user 42.40
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits', '/scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits', expMap='/scratch/kocevski/792520/expmap_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits', expCube='/scratch/kocevski/792520/ltcube_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/792520/Model_4FGL_J1448.0+3608_daily_bin1437.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/792520/ft1_filtered_4FGL_J1448.0+3608_daily_bin1437.fits
Spacecraft file(s): /scratch/kocevski/792520/ft2_4FGL_J1448.0+3608_daily_bin1437.fits
Exposure map: /scratch/kocevski/792520/expmap_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits
Exposure cube: /scratch/kocevski/792520/ltcube_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/792520/Model_4FGL_J1448.0+3608_daily_bin1437.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) = 5393.47504997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.1335       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8540       1.0000         .10000E-03   10000.    
     8 'norm      '    19.271       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.9881       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.4804       1.0000         .10000E-03   10000.    
    13 'Prefactor '    28.496       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.286       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .80447       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3112       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.2330       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.8655       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1238       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .69479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5393.431     FROM MIGRAD    STATUS=CONVERGED    724 CALLS     3787 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1902       -.12151E-05** at limit **
   2  Prefactor     .10000E-03    5.1611        .40517E-07** at limit **
   3  Prefactor     .10000E-03    8.8428        .60963E-06** at limit **
   4  norm          1.1335        3.3444        .45221E-06   -.23399E-03
   5  Prefactor     .10000E-03    6.2254       -.13399E-05** at limit **
   6  Prefactor     .10000E-03    7.8343        .17662E-05** at limit **
   7  Prefactor     8.8538        3.9373        .58347E-07    .95844E-05
   8  norm          19.272        14.422        .14753E-06    .35786E-04
   9  Prefactor     .10000E-03    9.8251       -.15565E-05** at limit **
  10  norm          5.9882        5.7234        .91583E-08   -.88171E-04
  11  Prefactor     .10001E-03    16.441        .56229E-05** at limit **
  12  norm          9.4800        5.0748        .36977E-07   -.21041E-04
  13  Prefactor     28.493        32.047       -.14044E-05   -.12437E-03
  14  norm          .10000E-03    2.5655       -.67093E-06** at limit **
  15  Prefactor     13.286        12.432       -.14360E-06   -.30685E-04
  16  Prefactor     .80535        9.0753        .18588E-05   -.36488E-03
  17  norm          .10000E-03    .44866       -.60409E-07** at limit **
  18  norm          .10000E-03    1.1885        .28275E-07** at limit **
  19  Prefactor     .10000E-03    2.5763        .71998E-06** at limit **
  20  Prefactor     .10000E-03    26.604       -.32774E-05** at limit **
  21  Prefactor     9.3095        9.9062        .65955E-06   -.48303E-03
  22  Prefactor     .10000E-03    8.2019        .15274E-05** at limit **
  23  Prefactor     .10000E-03    11.071       -.34969E-05** at limit **
  24  norm          2.2328        1.4312       -.30798E-06   -.11405E-03
  25  Prefactor     5.8645        8.5676        .26252E-05   -.11954E-02
  26  Prefactor     .10000E-03    14.256       -.72115E-06** at limit **
  27  Prefactor     .10000E-03    5.1420        .19548E-06** at limit **
  28  norm          .10000E-03    3.2569        .12242E-05** at limit **
  29  Normalizat    1.1237        .16648       -.25626E-06   -.15434E-04
  30  Prefactor     .69487        .17222       -.43218E-06   -.16848E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.1335
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.85379
  norm       = 19.2723
  Prefactor  = 0.0001
  norm       = 5.98825
  Prefactor  = 0.000100006
  norm       = 9.47997
  Prefactor  = 28.4929
  norm       = 0.0001
  Prefactor  = 13.2857
  Prefactor  = 0.80535
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 9.30952
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 2.23283
  Prefactor  = 5.86454
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.12374
  Prefactor  = 0.694872
 **********
 **   18 **HESSE 
 **********

 FCN=   5393.431     FROM HESSE     STATUS=OK           580 CALLS     4367 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2236        .12874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1633        .16295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.8631        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.1335        3.3117        .22092E-03   -1.5495    
   5  Prefactor     .10000E-03    6.2905        .17949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.9326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8538        3.9356        .93049E-04   -1.5113    
   8  norm          19.272        14.399        .91237E-04   -1.4830    
   9  Prefactor     .10000E-03    9.8925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.9882        5.7240        .16409E-03   -1.5219    
  11  Prefactor     .10001E-03    17.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.4800        5.0800        .11713E-03   -1.5092    
  13  Prefactor     28.493        32.212        .75051E-04   -1.4640    
  14  norm          .10000E-03    2.5752        .11509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.286        12.393        .10989E-03   -1.4979    
  16  Prefactor     .80535        9.8570        .42955E-03   -1.5528    
  17  norm          .10000E-03    .45287        .47921E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.1945        .78178E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.5947        .11538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    26.854        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.3095        10.047        .65669E-03   -1.5098    
  22  Prefactor     .10000E-03    8.2815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    11.491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.2328        1.4724        .59802E-04   -1.5409    
  25  Prefactor     5.8645        10.032        .82909E-03   -1.5224    
  26  Prefactor     .10000E-03    14.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    5.1451        .16266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.2903        .13007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1237        .19334        .20781E-03   -.88993    
  30  Prefactor     .69487        .19947        .26972E-03   -1.0373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40112e-09
Minuit parameter uncertainties:
  1  6.06714e-05
  2  2.14765e-06
  3  4.96303e-05
  4  3.31223
  5  9.61885e-05
  6  0.000135219
  7  3.93574
  8  14.4012
  9  0.000136581
  10  5.72452
  11  0.000644559
  12  5.08027
  13  32.2315
  14  2.97482e-05
  15  12.395
  16  5.63581
  17  9.56155e-07
  18  1.20566e-06
  19  3.33328e-05
  20  0.000470469
  21  10.0489
  22  0.000124629
  23  0.00030747
  24  1.47246
  25  10.0348
  26  7.57555e-05
  27  1.20374e-05
  28  6.15409e-05
  29  0.193463
  30  0.199676
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  2.975e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  6.949e-01  1.997e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.124e+00  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 1.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.78e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/792520/likelihoodResults_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5393.4330436
delta logL = -0.00159244896167

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5393.43145123
delta logL = -7.35499270377e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5392.051     FROM MIGRAD    STATUS=CONVERGED    205 CALLS      352 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21563E-01    .52863        .11509E-02   -.37874E-02
   2  alpha         5.0000        3.6704        .50000    ** at limit **
   3  Normalizat    1.0306        .15296        .20781E-02   -.36356E-03
   4  Prefactor     .75509        .15544        .26972E-02   -.39439E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0215626
  alpha      = 5
  Normalizat = 1.03056
  Prefactor  = 0.755087
 **********
 **   18 **HESSE 
 **********

 FCN=   5392.051     FROM HESSE     STATUS=OK            31 CALLS      383 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21563E-01    .19222E-01    .72224E-05   -1.5679    
   2  alpha         5.0000        .76088        .38861        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0306        .19625        .83122E-04   -.92013    
   4  Prefactor     .75509        .20061        .10789E-03   -1.0141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93707e-10
Minuit parameter uncertainties:
  1  0.0192221
  2  8.97207e-05
  3  0.196392
  4  0.200802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792520': 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) = 5392.05136114
delta logL = 1.38009001166

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.156e-02  1.922e-02  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  5.000e+00  8.972e-05  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.551e-01  2.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  1.031e+00  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 222.017 36.134
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 7.42e-08 +/- 6.58e-08
Energy Flux (Free Index): 1.04e-05 +/- 9.24e-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/792520/cmap_HighResolution_611798401_612057601_4FGL_J1448.0+3608_daily_bin1437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.78e-05', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='1.38e+00', photon_flux2='7.42e-08', job_status='DONE', time_completed='2021-09-10 10:18:17.357341', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='1.98e-08', energy_flux_error2='9.24e-06', EG='1.12', time_epoch_completed='1631294297.36', return_code='0', job_id='792520', GAL2='0.76', EG2='1.03', return_code2='0', photon_flux_error2='6.58e-08', ts2='2.93', photon_index='1.60' WHERE bin_id='1437' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:18:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 792520: <4FGL_J1448.0+3608_daily_bin1437> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1437> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:47 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:49 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 10:02:49 2021
Terminated at Fri Sep 10 10:18:18 2021
Results reported at Fri Sep 10 10:18:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1437 222.017 36.1344 611798401 612057601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   777.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            931 sec.

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

