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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1118
RA = 222.017, Dec = 36.1344
tmin = 529113601, tmax = 529372801
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='790869', job_status='RUN', time_executed='2021-09-10 10:00:32.628913', time_epoch_executed='1631293232.63' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790869

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790869/ft1_4FGL_J1448.0+3608_daily_bin1118.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790869/ft1_4FGL_J1448.0+3608_daily_bin1118.fits outfile=/scratch/kocevski/790869/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1118.fits ra=222.017 dec=36.1344 rad=12.0 tmin=529113601.0 tmax=529372801.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.86
user 3.64
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits" evtable="EVENTS" scfile=/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits sctable="SC_DATA" outfile=/scratch/kocevski/790869/ltcube_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.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/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits
.....................!
real 13.97
user 13.55
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits evtable="EVENTS" scfile=/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits sctable="SC_DATA" expcube=/scratch/kocevski/790869/ltcube_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits outfile=/scratch/kocevski/790869/expmap_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.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/790869/ltcube_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits
.....................!
real 192.29
user 187.55
sys 4.39

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/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits scfile=/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits outfile=/scratch/kocevski/790869/cmap_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits scfile=/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits outfile=/scratch/kocevski/790869/cmap_HighResolution_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.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.58
user 0.40
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits', '/scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits', expMap='/scratch/kocevski/790869/expmap_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits', expCube='/scratch/kocevski/790869/ltcube_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/790869/Model_4FGL_J1448.0+3608_daily_bin1118.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/790869/ft1_filtered_4FGL_J1448.0+3608_daily_bin1118.fits
Spacecraft file(s): /scratch/kocevski/790869/ft2_4FGL_J1448.0+3608_daily_bin1118.fits
Exposure map: /scratch/kocevski/790869/expmap_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits
Exposure cube: /scratch/kocevski/790869/ltcube_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/790869/Model_4FGL_J1448.0+3608_daily_bin1118.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) = 5165.71414683

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.881       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    43.926       1.0000         .10000E-03   10000.    
     4 'norm      '    .13336       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.704       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4257       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .71356       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    32.779       1.0000         .10000E-03   10000.    
    10 'norm      '    8.4510       1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.939       1.0000         .10000E-03   10000.    
    12 'norm      '    19.239       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.1801       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.4296       1.0000         .10000E-03   10000.    
    18 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .20933E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.960       1.0000         .10000E-03   10000.    
    24 'norm      '    5.5383       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .19699E-01   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .88551       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .82877       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=   5165.610     FROM MIGRAD    STATUS=CONVERGED    784 CALLS     3415 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.879        13.136        .79463E-07   -.82379E-05
   2  Prefactor     .10000E-03    4.5924       -.38097E-08** at limit **
   3  Prefactor     43.917        26.841        .12557E-06    .18516E-04
   4  norm          .11413        2.0752       -.20315E-06    .23251E-04
   5  Prefactor     13.701        13.769        .25964E-06    .51084E-04
   6  Prefactor     4.4153        17.286       -.10981E-06   -.35770E-06
   7  Prefactor     .71346        2.7810        .26200E-06   -.11775E-03
   8  norm          .10000E-03    22.956       -.89173E-07** at limit **
   9  Prefactor     32.767        28.420        .18872E-06    .51872E-05
  10  norm          8.4478        6.6731       -.88650E-07    .41875E-04
  11  Prefactor     42.922        46.743        .16205E-06   -.94541E-04
  12  norm          19.237        7.2648        .40891E-07    .16140E-04
  13  Prefactor     .10000E-03    13.018       -.63173E-07** at limit **
  14  norm          2.1789        7.1832        .35898E-05   -.72345E-03
  15  Prefactor     .10000E-03    5.5148       -.96674E-07** at limit **
  16  Prefactor     .10000E-03    5.2102       -.27221E-08** at limit **
  17  norm          2.4281        1.6498        .14930E-06    .37020E-03
  18  norm          .10000E-03    1.4152        .22400E-06** at limit **
  19  Prefactor     .10013E-03    10.668        .43190E-05** at limit **
  20  Prefactor     .10000E-03    18.165        .65868E-08** at limit **
  21  Prefactor     .10000E-03    5.9847        .78027E-08** at limit **
  22  Prefactor     .10000E-03    7.2195        .22104E-06** at limit **
  23  Prefactor     19.000        11.289       -.18114E-05   -.18162E-02
  24  norm          5.5433        1.9448        .29675E-07    .21221E-03
  25  Prefactor     .10007E-03    9.2534       -.37685E-06** at limit **
  26  Prefactor     .10000E-03    17.623       -.20673E-07** at limit **
  27  Prefactor     .10000E-03    7.9561       -.71522E-08** at limit **
  28  norm          .10000E-03    5.0005       -.16622E-07** at limit **
  29  Normalizat    .88595        .19110       -.13540E-05   -.50685E-03
  30  Prefactor     .82852        .18838        .75965E-06   -.33250E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 16.879
  Prefactor  = 0.0001
  Prefactor  = 43.9166
  norm       = 0.114132
  Prefactor  = 13.7013
  Prefactor  = 4.41527
  Prefactor  = 0.713458
  norm       = 0.0001
  Prefactor  = 32.7673
  norm       = 8.44785
  Prefactor  = 42.9219
  norm       = 19.2371
  Prefactor  = 0.0001
  norm       = 2.1789
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42809
  norm       = 0.0001
  Prefactor  = 0.000100128
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.0001
  norm       = 5.54328
  Prefactor  = 0.000100067
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.88595
  Prefactor  = 0.828517
 **********
 **   18 **HESSE 
 **********

 FCN=   5165.610     FROM HESSE     STATUS=OK           602 CALLS     4017 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.879        13.139        .97480E-04   -1.4886    
   2  Prefactor     .10000E-03    4.5928        .15043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     43.917        26.883        .60490E-04   -1.4382    
   4  norm          .11413        20.968        .19646E-02   -1.5640    
   5  Prefactor     13.701        13.594        .10820E-03   -1.4967    
   6  Prefactor     4.4153        17.016        .19142E-03   -1.5288    
   7  Prefactor     .71346        2.7903        .22261E-03   -1.5539    
   8  norm          .10000E-03    23.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     32.767        28.480        .69989E-04   -1.4562    
  10  norm          8.4478        6.6963        .13790E-03   -1.5127    
  11  Prefactor     42.922        46.562        .61178E-04   -1.4397    
  12  norm          19.237        7.2710        .91314E-04   -1.4830    
  13  Prefactor     .10000E-03    13.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.1789        8.1537        .13941E-02   -1.5413    
  15  Prefactor     .10000E-03    5.4983        .16423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.2163        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.4281        1.6458        .72201E-04   -1.5396    
  18  norm          .10000E-03    1.4272        .83557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10013E-03    7.7302        .55467E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    18.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.0183        .17149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.2274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     19.000        13.216        .91982E-04   -1.4836    
  24  norm          5.5433        2.0787        .46447E-04   -1.5237    
  25  Prefactor     .10007E-03    26.474        .51211E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    17.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.9597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.0023        .15691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .88595        .22724        .23438E-03   -.96956    
  30  Prefactor     .82852        .22505        .25324E-03   -.98686    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.48623e-09
Minuit parameter uncertainties:
  1  13.1409
  2  7.12776e-08
  3  26.8899
  4  3.09368
  5  13.5967
  6  17.0351
  7  2.7908
  8  5.45492e-06
  9  28.4916
  10  6.69689
  11  46.6016
  12  7.27131
  13  2.45798e-05
  14  8.15784
  15  8.45226e-05
  16  5.76658e-05
  17  1.64586
  18  1.49718e-05
  19  0.00199073
  20  7.11057e-05
  21  4.61516e-05
  22  2.04007e-06
  23  13.2184
  24  2.07877
  25  0.00267077
  26  3.73422e-05
  27  2.68949e-05
  28  2.26188e-05
  29  0.227483
  30  0.225304
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.179e+00  8.158e+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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  8.285e-01  2.253e-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:  8.859e-01  2.275e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/790869/likelihoodResults_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.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) = 5165.43524652
delta logL = 0.174685434925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5165.43490028
delta logL = 0.175031678034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3038       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3519       1.0000          .0000       5.0000    
     3 'Normalizat'    .87997       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82916       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=   5165.435     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      235 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3029        6.5825        .18703E-03   -.63734E-03
   2  alpha         2.3532        1.2949        .14694E-01   -.66161E-04
   3  Normalizat    .88015        .20920        .23499E-03   -.29142E-03
   4  Prefactor     .82894        .22017        .25304E-03   -.37312E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30292
  alpha      = 2.35319
  Normalizat = 0.880145
  Prefactor  = 0.828945
 **********
 **   18 **HESSE 
 **********

 FCN=   5165.435     FROM HESSE     STATUS=OK            25 CALLS      260 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3029        5.7715        .74811E-05   -1.5404    
   2  alpha         2.3532        1.1489        .58775E-03   -.58759E-01
   3  Normalizat    .88015        .20928        .46998E-04   -.97161    
   4  Prefactor     .82894        .22025        .50609E-04   -.98670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.4073e-10
Minuit parameter uncertainties:
  1  5.77294
  2  1.19394
  3  0.209476
  4  0.220485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790869': 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) = 5165.43489875
delta logL = 0.175033199544

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  2.303e+00  5.773e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.353e+00  1.194e+00  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:  8.289e-01  2.205e-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:  8.801e-01  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 222.017 36.134

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/790869/cmap_HighResolution_529113601_529372801_4FGL_J1448.0+3608_daily_bin1118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.64e-05', job_status='DONE', photon_flux_upper_limit='3.49e-08', time_completed='2021-09-10 10:13:09.693694', job_id='790869', GAL2='0.83', fit_tolerance='1e-08', EG2='0.88', EG='0.89', time_epoch_completed='1631293989.69', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.75e-01', ts2='0.43', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1118' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 790869: <4FGL_J1448.0+3608_daily_bin1118> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1118> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:41 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:57:42 2021
Terminated at Fri Sep 10 10:13:10 2021
Results reported at Fri Sep 10 10:13:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1118 222.017 36.1344 529113601 529372801 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 :                                   756.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

