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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin590
RA = 222.017, Dec = 36.1344
tmin = 392256001, tmax = 392515201
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='787224', job_status='RUN', time_executed='2021-09-10 09:46:40.991848', time_epoch_executed='1631292400.99' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='590'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/787224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/787224/ft1_4FGL_J1448.0+3608_daily_bin590.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/787224/ft1_4FGL_J1448.0+3608_daily_bin590.fits outfile=/scratch/kocevski/787224/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin590.fits ra=222.017 dec=36.1344 rad=12.0 tmin=392256001.0 tmax=392515201.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.31
user 3.09
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.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/787224/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin590.fits evtable="EVENTS" outfile="/scratch/kocevski/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits" evtable="EVENTS" scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits sctable="SC_DATA" outfile=/scratch/kocevski/787224/ltcube_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.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/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits
.....................!
real 11.97
user 11.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits sctable="SC_DATA" expcube=/scratch/kocevski/787224/ltcube_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.fits outfile=/scratch/kocevski/787224/expmap_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.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/787224/ltcube_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.fits
.....................!
real 191.26
user 185.24
sys 5.66

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/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits outfile=/scratch/kocevski/787224/cmap_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits outfile=/scratch/kocevski/787224/cmap_HighResolution_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.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/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits evtable="EVENTS" scfile=/scratch/kocevski/787224/ft2_4FGL_J1448.0+3608_daily_bin590.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/787224/Model_4FGL_J1448.0+3608_daily_bin590.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/787224/ft1_filtered_4FGL_J1448.0+3608_daily_bin590.fits.....................!
real 46.79
user 45.41
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11214E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.145       1.0000         .10000E-03   10000.    
     4 'norm      '    2.5470       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10409E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.998       1.0000         .10000E-03   10000.    
    12 'norm      '    4.1409       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35285E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    4.7473       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .35216E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .66484       1.0000         .10000E-03   10000.    
    18 'norm      '    .10187E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12428E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .20430E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.643       1.0000         .10000E-03   10000.    
    24 'norm      '    2.4076       1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.677       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .88213       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1020       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=   5889.239     FROM MIGRAD    STATUS=CONVERGED    770 CALLS     3909 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.195        .55355E-07** at limit **
   2  Prefactor     .10000E-03    32.335        .27218E-06** at limit **
   3  Prefactor     28.131        24.487        .14122E-06   -.54872E-05
   4  norm          2.5471        3.6954        .30140E-06   -.65128E-05
   5  Prefactor     .10000E-03    3.6946       -.21610E-07** at limit **
   6  Prefactor     .10000E-03    5.2799        .11783E-07** at limit **
   7  Prefactor     .10000E-03    2.0554        .73620E-07** at limit **
   8  norm          .10000E-03    4.4118       -.11604E-07** at limit **
   9  Prefactor     .10000E-03    30.504       -.81703E-06** at limit **
  10  norm          .10000E-03    1.6348       -.18436E-06** at limit **
  11  Prefactor     14.952        39.724       -.38607E-06   -.59846E-04
  12  norm          4.1413        4.1448        .78678E-07    .45564E-04
  13  Prefactor     .10000E-03    157.20       -.22055E-05** at limit **
  14  norm          4.7475        4.8606       -.88118E-07    .12851E-04
  15  Prefactor     .10000E-03    5.0013       -.71208E-07** at limit **
  16  Prefactor     .10000E-03    5.2045       -.37384E-06** at limit **
  17  norm          .66624        1.1624        .33243E-06    .53965E-03
  18  norm          .10000E-03    2.9501        .35995E-07** at limit **
  19  Prefactor     .10000E-03    6.8938       -.10451E-06** at limit **
  20  Prefactor     .10000E-03    112.59        .66133E-06** at limit **
  21  Prefactor     .10000E-03    1.8409        .97727E-08** at limit **
  22  Prefactor     .10000E-03    5.3268        .36666E-07** at limit **
  23  Prefactor     10.603        12.709        .47788E-06    .12803E-04
  24  norm          2.4083        1.3460       -.24367E-06    .38797E-04
  25  Prefactor     11.672        10.031        .17602E-05   -.87412E-04
  26  Prefactor     .10000E-03    15.940       -.77541E-07** at limit **
  27  Prefactor     .10000E-03    9.0206        .61538E-07** at limit **
  28  norm          .10000E-03    5.6675       -.91287E-08** at limit **
  29  Normalizat    .88205        .17218       -.53917E-06    .31084E-04
  30  Prefactor     1.1020        .18084       -.25747E-06    .16608E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1311
  norm       = 2.54706
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.9522
  norm       = 4.1413
  Prefactor  = 0.000100001
  norm       = 4.74745
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.666244
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6032
  norm       = 2.40831
  Prefactor  = 11.6725
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.882047
  Prefactor  = 1.10197
 **********
 **   18 **HESSE 
 **********

 FCN=   5889.239     FROM HESSE     STATUS=OK           584 CALLS     4493 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    33.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.131        24.554        .75516E-04   -1.4647    
   4  norm          2.5471        3.6795        .17043E-03   -1.5389    
   5  Prefactor     .10000E-03    3.6995        .14404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3085        .17223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0965        .10737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.4132        .15742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    30.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.6353        .95753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.952        39.941        .10342E-03   -1.4934    
  12  norm          4.1413        4.1440        .15143E-03   -1.5301    
  13  Prefactor     .10000E-03    162.96        .39291E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.7475        4.8643        .16712E-03   -1.5272    
  15  Prefactor     .10000E-03    5.0129        .16761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.352        .32637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .66624        1.0476        .10435E-02   -1.5545    
  18  norm          .10000E-03    3.0365        .25568E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    23.669        .33952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    113.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.8425        .10169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.3343        .17294E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     10.603        11.220        .12281E-03   -1.5057    
  24  norm          2.4083        1.3438        .55348E-04   -1.5398    
  25  Prefactor     11.672        9.8741        .58616E-03   -1.5025    
  26  Prefactor     .10000E-03    15.958        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    9.0466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.6808        .17845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .88205        .20137        .23877E-03   -.97094    
  30  Prefactor     1.1020        .21253        .23400E-03   -.89404    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11501e-10
Minuit parameter uncertainties:
  1  2.75951e-06
  2  3.84228e-05
  3  24.5625
  4  3.67987
  5  1.77401e-07
  6  1.33669e-05
  7  2.30057e-06
  8  2.78447e-06
  9  1.08342e-05
  10  1.16775e-06
  11  40.0122
  12  4.14431
  13  0.000581612
  14  4.86471
  15  9.44133e-06
  16  0.00027175
  17  1.04765
  18  1.26177e-06
  19  0.000262978
  20  0.000337028
  21  2.17424e-07
  22  8.99195e-06
  23  11.2219
  24  1.34382
  25  9.87543
  26  1.06269e-05
  27  5.88902e-06
  28  1.1109e-05
  29  0.201538
  30  0.212691
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.747e+00  4.865e+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:  1.102e+00  2.127e-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.820e-01  2.015e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.84
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 6.25e-09 +/- 6.41e-09
Energy Flux (Fixed Index): 1.19e-05 +/- 1.22e-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) = 5889.09746114
delta logL = 0.141433551828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5889.0963913
delta logL = 0.142503397749

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5280       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1802       1.0000          .0000       5.0000    
     3 'Normalizat'    .88350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1018       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=   5889.096     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      196 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 21.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5284        4.2340        .18972E-05   -.13179E-02
   2  alpha         1.1797        .53626       -.12544E-04   -.19902E-03
   3  Normalizat    .88351        .16529        .76650E-07    .60109E-04
   4  Prefactor     1.1018        .17982       -.37964E-07    .51328E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.5284
  alpha      = 1.17969
  Normalizat = 0.88351
  Prefactor  = 1.10181
 **********
 **   18 **HESSE 
 **********

 FCN=   5889.096     FROM HESSE     STATUS=OK            33 CALLS      229 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5284        4.8840        .16360E-03   -1.5282    
   2  alpha         1.1797        .74113        .22960E-01   -.55639    
   3  Normalizat    .88351        .19367        .23859E-03   -.97042    
   4  Prefactor     1.1018        .21086        .23401E-03   -.89409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.39134e-09
Minuit parameter uncertainties:
  1  4.88446
  2  0.757071
  3  0.193826
  4  0.211023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/787224': 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) = 5889.09639103
delta logL = 0.142503666963

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.528e+00  4.884e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.180e+00  7.571e-01  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:  1.102e+00  2.110e-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.835e-01  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.13
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.18 +/- 0.76
Photon Flux (Free Index): 4.31e-09 +/- 5.03e-09
Energy Flux (Free Index): 2.34e-05 +/- 3.84e-05

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/787224/cmap_HighResolution_392256001_392515201_4FGL_J1448.0+3608_daily_bin590.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.25e-09', energy_flux2='2.34e-05', photon_flux_error='6.41e-09', dlogl='1.43e-01', energy_flux='1.19e-05', photon_flux2='4.31e-09', job_status='DONE', time_completed='2021-09-10 09:58:50.586626', photon_index_error2='0.76', photon_index2='1.18', ts='4.84', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='3.84e-05', EG='0.88', time_epoch_completed='1631293130.59', return_code='0', job_id='787224', GAL2='1.10', EG2='0.88', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='5.03e-09', ts2='5.13', photon_index='1.60' WHERE bin_id='590' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:58:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 787224: <4FGL_J1448.0+3608_daily_bin590> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin590> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:46:28 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:46:30 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:46:30 2021
Terminated at Fri Sep 10 09:58:51 2021
Results reported at Fri Sep 10 09:58:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin590 222.017 36.1344 392256001 392515201 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 :                                   718.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             331.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            743 sec.

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

