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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1414
RA = 222.017, Dec = 36.1344
tmin = 605836801, tmax = 606096001
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='792485', job_status='RUN', time_executed='2021-09-10 10:04:58.471643', time_epoch_executed='1631293498.47' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1414'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792485

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792485/ft1_4FGL_J1448.0+3608_daily_bin1414.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792485/ft1_4FGL_J1448.0+3608_daily_bin1414.fits outfile=/scratch/kocevski/792485/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1414.fits ra=222.017 dec=36.1344 rad=12.0 tmin=605836801.0 tmax=606096001.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 6.90
user 3.39
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792485/ft1_filtered_4FGL_J1448.0+3608_daily_bin1414.fits" evtable="EVENTS" scfile=/scratch/kocevski/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits sctable="SC_DATA" outfile=/scratch/kocevski/792485/ltcube_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.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/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits
.....................!
real 12.15
user 11.79
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792485/ft1_filtered_4FGL_J1448.0+3608_daily_bin1414.fits evtable="EVENTS" scfile=/scratch/kocevski/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits sctable="SC_DATA" expcube=/scratch/kocevski/792485/ltcube_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.fits outfile=/scratch/kocevski/792485/expmap_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.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/792485/ltcube_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.fits
.....................!
real 192.09
user 187.09
sys 4.62

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/792485/ft1_filtered_4FGL_J1448.0+3608_daily_bin1414.fits scfile=/scratch/kocevski/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits outfile=/scratch/kocevski/792485/cmap_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792485/ft1_filtered_4FGL_J1448.0+3608_daily_bin1414.fits scfile=/scratch/kocevski/792485/ft2_4FGL_J1448.0+3608_daily_bin1414.fits outfile=/scratch/kocevski/792485/cmap_HighResolution_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .21767       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.4842       1.0000         .10000E-03   10000.    
     4 'norm      '    2.8751       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9158       1.0000         .10000E-03   10000.    
     7 'Prefactor '    33.837       1.0000         .10000E-03   10000.    
     8 'norm      '    15.268       1.0000         .10000E-03   10000.    
     9 'Prefactor '    43.495       1.0000         .10000E-03   10000.    
    10 'norm      '    14.625       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .74153       1.0000         .10000E-03   10000.    
    13 'Prefactor '    71.124       1.0000         .10000E-03   10000.    
    14 'norm      '    5.0265       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.6331       1.0000         .10000E-03   10000.    
    17 'norm      '    .10235E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .31258E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10480E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.0627       1.0000         .10000E-03   10000.    
    24 'norm      '    1.9913       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    9.7999       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .31236E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1378       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .61313       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=   6208.182     FROM MIGRAD    STATUS=CONVERGED    795 CALLS     4001 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 13.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.8843       -.54810E-06** at limit **
   2  Prefactor     .20904        78.376        .29336E-04   -.32497E-03
   3  Prefactor     7.4881        20.268        .29025E-05    .10152E-03
   4  norm          2.8749        3.2433        .38637E-07    .26108E-03
   5  Prefactor     .10000E-03    5.3787       -.76473E-07** at limit **
   6  Prefactor     1.9167        15.555        .42996E-06    .23937E-03
   7  Prefactor     33.837        6.3466       -.33986E-06   -.96848E-04
   8  norm          15.267        13.910       -.23930E-06   -.30213E-05
   9  Prefactor     43.496        28.899        .23105E-06    .36385E-04
  10  norm          14.625        7.7915       -.33423E-06    .51363E-04
  11  Prefactor     .10000E-03    19.247        .12069E-05** at limit **
  12  norm          .74092        2.1758       -.76618E-06   -.20941E-03
  13  Prefactor     71.120        38.137        .56618E-06    .12077E-03
  14  norm          5.0262        4.9680       -.16053E-06   -.16503E-03
  15  Prefactor     .10000E-03    4.6035       -.76391E-07** at limit **
  16  Prefactor     7.6345        5.7318       -.29770E-07    .32977E-03
  17  norm          .10000E-03    .73133       -.13033E-06** at limit **
  18  norm          .10000E-03    1.1970       -.65770E-07** at limit **
  19  Prefactor     .10010E-03    7.6642        .12178E-05** at limit **
  20  Prefactor     .10000E-03    22.470       -.32403E-05** at limit **
  21  Prefactor     .10000E-03    6.7150       -.22628E-06** at limit **
  22  Prefactor     .10000E-03    11.669       -.48974E-06** at limit **
  23  Prefactor     8.1171        10.588       -.76326E-06   -.66905E-03
  24  norm          1.9918        1.0413        .24016E-07    .16012E-02
  25  Prefactor     .10000E-03    5.5890        .31702E-06** at limit **
  26  Prefactor     9.7984        21.045       -.41779E-06    .19367E-05
  27  Prefactor     .10024E-03    36.695        .19305E-04** at limit **
  28  norm          .10000E-03    23.801        .17638E-05** at limit **
  29  Normalizat    1.1375        .17982        .54249E-06    .33560E-03
  30  Prefactor     .61350        .17004        .10119E-05    .37480E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.209039
  Prefactor  = 7.48812
  norm       = 2.87493
  Prefactor  = 0.0001
  Prefactor  = 1.91668
  Prefactor  = 33.8368
  norm       = 15.2666
  Prefactor  = 43.4964
  norm       = 14.6251
  Prefactor  = 0.0001
  norm       = 0.740919
  Prefactor  = 71.12
  norm       = 5.02616
  Prefactor  = 0.0001
  Prefactor  = 7.63454
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.11715
  norm       = 1.9918
  Prefactor  = 0.0001
  Prefactor  = 9.79839
  Prefactor  = 0.000100244
  norm       = 0.0001
  Normalizat = 1.13751
  Prefactor  = 0.613499
 **********
 **   18 **HESSE 
 **********

 FCN=   6208.182     FROM HESSE     STATUS=OK           608 CALLS     4609 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .20904        12.090        .87497E-01   -1.5617    
   3  Prefactor     7.4881        20.460        .14660E-03   -1.5161    
   4  norm          2.8749        3.2350        .14502E-03   -1.5369    
   5  Prefactor     .10000E-03    5.3862        .17831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.9167        15.645        .30028E-03   -1.5431    
   7  Prefactor     33.837        6.3623        .68889E-04   -1.4544    
   8  norm          15.267        13.876        .10250E-03   -1.4926    
   9  Prefactor     43.496        28.981        .60787E-04   -1.4388    
  10  norm          14.625        7.8122        .10474E-03   -1.4943    
  11  Prefactor     .10000E-03    19.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .74092        2.0324        .20130E-02   -1.5536    
  13  Prefactor     71.120        38.209        .47601E-04   -1.4019    
  14  norm          5.0262        4.9742        .17048E-03   -1.5260    
  15  Prefactor     .10000E-03    4.6133        .16509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.6345        5.5916        .14515E-03   -1.5155    
  17  norm          .10000E-03    2.4599        .12593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.2051        .84059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10010E-03    11.385        .53358E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.9850        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.1171        12.352        .14120E-03   -1.5138    
  24  norm          1.9918        1.0423        .14680E-03   -1.5426    
  25  Prefactor     .10000E-03    5.6302        .18131E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     9.7984        21.061        .12801E-03   -1.5082    
  27  Prefactor     .10024E-03    60.361        .51465E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    24.178        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1375        .21215        .21771E-03   -.88557    
  30  Prefactor     .61350        .20039        .29286E-03   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55866e-08
Minuit parameter uncertainties:
  1  4.8447e-05
  2  3.17935
  3  20.4788
  4  3.23517
  5  2.49675e-05
  6  10.9556
  7  6.36245
  8  13.879
  9  28.9899
  10  7.81273
  11  3.35275e-05
  12  2.03262
  13  38.2224
  14  4.97465
  15  1.3131e-05
  16  5.59199
  17  2.07295e-05
  18  3.12639e-06
  19  0.00208703
  20  0.000179893
  21  7.12497e-05
  22  3.87962e-05
  23  12.3557
  24  1.04227
  25  2.2211e-05
  26  21.0768
  27  0.00768009
  28  6.26291e-05
  29  0.21231
  30  0.200621
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.026e+00  4.975e+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:  6.135e-01  2.006e-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.138e+00  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.89
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 6.62e-09 +/- 6.55e-09
Energy Flux (Fixed Index): 1.26e-05 +/- 1.25e-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) = 6208.18083129
delta logL = 0.000752020644541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6208.1807997
delta logL = 0.000783609850259

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0578       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5683       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61353       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.

 FCN=   6208.181     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      222 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0705        233.62        .44698E-02   -.13616E-03
   2  alpha         1.5705        3.8068        .45519        .13136E-04
   3  Normalizat    1.1376        .10193        .36641E-01    .44032E-05
   4  Prefactor     .61348        .84435E-01    .66181E-01    .25889E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.07053
  alpha      = 1.5705
  Normalizat = 1.13761
  Prefactor  = 0.613482
 **********
 **   18 **HESSE 
 **********

 FCN=   6208.181     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0705        5.1620        .17138E-03   -1.5258    
   2  alpha         1.5705        .72666        .19493E-01   -.38095    
   3  Normalizat    1.1376        .19060        .21771E-03   -.88553    
   4  Prefactor     .61348        .19422        .29286E-03   -1.0702    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9531e-10
Minuit parameter uncertainties:
  1  5.16243
  2  0.739085
  3  0.190712
  4  0.19443
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792485': 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) = 6208.18079
delta logL = 0.000793312418864

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.071e+00  5.162e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.571e+00  7.391e-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:  6.135e-01  1.944e-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.138e+00  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.90
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.57 +/- 0.74
Photon Flux (Free Index): 6.45e-09 +/- 7.50e-09
Energy Flux (Free Index): 1.32e-05 +/- 2.07e-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/792485/cmap_HighResolution_605836801_606096001_4FGL_J1448.0+3608_daily_bin1414.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.62e-09', energy_flux2='1.32e-05', photon_flux_error='6.55e-09', dlogl='7.93e-04', energy_flux='1.26e-05', photon_flux2='6.45e-09', job_status='DONE', time_completed='2021-09-10 10:17:47.300345', photon_index_error2='0.74', photon_index2='1.57', ts='4.89', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='1.14', time_epoch_completed='1631294267.3', return_code='0', job_id='792485', GAL2='0.61', EG2='1.14', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='7.50e-09', ts2='4.90', photon_index='1.60' WHERE bin_id='1414' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:17:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 792485: <4FGL_J1448.0+3608_daily_bin1414> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1414> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:02:45 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:02:46 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:46 2021
Terminated at Fri Sep 10 10:17:48 2021
Results reported at Fri Sep 10 10:17:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1414 222.017 36.1344 605836801 606096001 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 :                                   760.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            903 sec.

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

