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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1378
RA = 222.017, Dec = 36.1344
tmin = 596505601, tmax = 596764801
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='792431', job_status='RUN', time_executed='2021-09-10 10:03:01.839048', time_epoch_executed='1631293381.84' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792431

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792431/ft1_4FGL_J1448.0+3608_daily_bin1378.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792431/ft2_4FGL_J1448.0+3608_daily_bin1378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792431/ft1_4FGL_J1448.0+3608_daily_bin1378.fits outfile=/scratch/kocevski/792431/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1378.fits ra=222.017 dec=36.1344 rad=12.0 tmin=596505601.0 tmax=596764801.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.52
user 3.27
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792431/ft1_filtered_4FGL_J1448.0+3608_daily_bin1378.fits evtable="EVENTS" scfile=/scratch/kocevski/792431/ft2_4FGL_J1448.0+3608_daily_bin1378.fits sctable="SC_DATA" expcube=/scratch/kocevski/792431/ltcube_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.fits outfile=/scratch/kocevski/792431/expmap_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.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/792431/ltcube_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.fits
.....................!
real 191.65
user 186.57
sys 4.63

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/792431/ft1_filtered_4FGL_J1448.0+3608_daily_bin1378.fits scfile=/scratch/kocevski/792431/ft2_4FGL_J1448.0+3608_daily_bin1378.fits outfile=/scratch/kocevski/792431/cmap_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792431/ft1_filtered_4FGL_J1448.0+3608_daily_bin1378.fits scfile=/scratch/kocevski/792431/ft2_4FGL_J1448.0+3608_daily_bin1378.fits outfile=/scratch/kocevski/792431/cmap_HighResolution_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.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.56
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8054       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.404       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1585       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    68.772       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.059       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5155       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.4691       1.0000         .10000E-03   10000.    
    13 'Prefactor '    50.603       1.0000         .10000E-03   10000.    
    14 'norm      '    5.4924       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.064       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10328E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9155       1.0000         .10000E-03   10000.    
    20 'Prefactor '    69.705       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.6534       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.2418       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.597       1.0000         .10000E-03   10000.    
    27 'Prefactor '    40.189       1.0000         .10000E-03   10000.    
    28 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .90196       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .94847       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=   7125.280     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3949 TOTAL
                     EDM=   .18E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8050        23.414        .45605E-05   -.36173E-05
   2  Prefactor     .10000E-03    5.9539       -.17776E-07** at limit **
   3  Prefactor     14.405        23.943       -.35380E-06    .40650E-05
   4  norm          .10000E-03    .92133        .23032E-07** at limit **
   5  Prefactor     7.1484        7.8833        .17309E-07    .48941E-05
   6  Prefactor     .10000E-03    9.0353        .18441E-06** at limit **
   7  Prefactor     68.774        8.3111       -.23736E-07    .11208E-04
   8  norm          .10000E-03    5.9543       -.14159E-06** at limit **
   9  Prefactor     17.060        20.517       -.76499E-07    .32291E-05
  10  norm          1.5147        3.6883        .10004E-06   -.49412E-05
  11  Prefactor     .10000E-03    15.943       -.19187E-06** at limit **
  12  norm          6.4688        4.5342        .35008E-07   -.36920E-05
  13  Prefactor     50.576        39.206        .10326E-05   -.25953E-05
  14  norm          5.4922        5.3232       -.18263E-06    .83619E-05
  15  Prefactor     15.068        14.927       -.29483E-06    .70784E-05
  16  Prefactor     .10000E-03    2.5145       -.93069E-07** at limit **
  17  norm          .10000E-03    .35531       -.24566E-06** at limit **
  18  norm          .10000E-03    1.8291        .18008E-07** at limit **
  19  Prefactor     2.9159        5.0306        .13934E-06    .59112E-05
  20  Prefactor     69.565        69.784        .55943E-05   -.56831E-05
  21  Prefactor     .10000E-03    2.2445       -.14449E-07** at limit **
  22  Prefactor     2.6634        20.904       -.92545E-06   -.85288E-05
  23  Prefactor     .10000E-03    5.4558        .33026E-06** at limit **
  24  norm          1.2421        .88830       -.41256E-07   -.10365E-03
  25  Prefactor     .10000E-03    2.7798       -.51186E-07** at limit **
  26  Prefactor     12.594        21.366        .31999E-06   -.57911E-06
  27  Prefactor     40.200        22.542       -.45020E-06    .16704E-05
  28  norm          .10000E-03    9.0340        .20586E-06** at limit **
  29  Normalizat    .90160        .18377        .11066E-05    .15136E-04
  30  Prefactor     .94879        .17909       -.15205E-05    .51525E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.80496
  Prefactor  = 0.0001
  Prefactor  = 14.4054
  norm       = 0.0001
  Prefactor  = 7.14839
  Prefactor  = 0.0001
  Prefactor  = 68.7739
  norm       = 0.0001
  Prefactor  = 17.0597
  norm       = 1.51473
  Prefactor  = 0.0001
  norm       = 6.46876
  Prefactor  = 50.5764
  norm       = 5.49216
  Prefactor  = 15.0677
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.91586
  Prefactor  = 69.5654
  Prefactor  = 0.0001
  Prefactor  = 2.66339
  Prefactor  = 0.0001
  norm       = 1.24207
  Prefactor  = 0.0001
  Prefactor  = 12.5939
  Prefactor  = 40.1997
  norm       = 0.0001
  Normalizat = 0.9016
  Prefactor  = 0.948787
 **********
 **   18 **HESSE 
 **********

 FCN=   7125.280     FROM HESSE     STATUS=OK           592 CALLS     4541 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8050        23.980        .15552E-02   -1.5439    
   2  Prefactor     .10000E-03    5.9603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.405        24.114        .10554E-03   -1.4949    
   4  norm          .10000E-03    .92372        .79116E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.1484        7.8772        .14993E-03   -1.5173    
   6  Prefactor     .10000E-03    9.1049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     68.774        8.3367        .48402E-04   -1.4047    
   8  norm          .10000E-03    5.9810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.060        20.541        .96971E-04   -1.4882    
  10  norm          1.5147        3.6536        .24433E-03   -1.5462    
  11  Prefactor     .10000E-03    15.963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.4688        4.5352        .14565E-03   -1.5199    
  13  Prefactor     50.576        39.324        .56376E-04   -1.4284    
  14  norm          5.4922        5.3282        .85723E-03   -1.5239    
  15  Prefactor     15.068        14.937        .10319E-03   -1.4931    
  16  Prefactor     .10000E-03    2.5288        .13070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .36203        .49341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8627        .11124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9159        4.9792        .23400E-03   -1.5366    
  20  Prefactor     69.565        70.214        .24040E-03   -1.4038    
  21  Prefactor     .10000E-03    2.2470        .12350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.6634        20.637        .25025E-03   -1.5382    
  23  Prefactor     .10000E-03    5.4770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.2421        .88185        .64423E-04   -1.5485    
  25  Prefactor     .10000E-03    2.7893        .13734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     12.594        21.375        .11286E-03   -1.4998    
  27  Prefactor     40.200        22.518        .63229E-04   -1.4439    
  28  norm          .10000E-03    9.0467        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .90160        .21396        .26263E-03   -.96404    
  30  Prefactor     .94879        .20579        .26707E-03   -.94457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39363e-10
Minuit parameter uncertainties:
  1  13.164
  2  1.60917e-06
  3  24.1301
  4  7.04804e-10
  5  7.87833
  6  2.92096e-06
  7  8.33688
  8  2.27865e-07
  9  20.5499
  10  3.6541
  11  1.78655e-06
  12  4.53544
  13  39.3444
  14  5.32863
  15  14.9409
  16  3.68337e-06
  17  3.58013e-06
  18  4.03124e-07
  19  4.97993
  20  70.2981
  21  2.27614e-07
  22  14.8345
  23  5.98618e-06
  24  0.88186
  25  9.95702e-07
  26  21.3878
  27  22.5223
  28  1.05186e-05
  29  0.214167
  30  0.205955
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  5.492e+00  5.329e+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:  9.488e-01  2.060e-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:  9.016e-01  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.14
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 7.23e-09 +/- 7.02e-09
Energy Flux (Fixed Index): 1.38e-05 +/- 1.34e-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) = 7124.20119218
delta logL = 1.0784844017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7123.70518904
delta logL = 1.57448753827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .97321       1.0000         .10000E-03   10000.    
     2 'alpha     '    .14120       1.0000          .0000       5.0000    
     3 'Normalizat'    .90387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95015       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=   7123.705     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      219 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .97163        2.3088        .13071E-01   -.78042E-03
   2  alpha         .14046        3.0068        .49711        .90907E-04
   3  Normalizat    .90384        .16569        .44951E-01    .14407E-04
   4  Prefactor     .95013        .17338        .45641E-01    .80051E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.971632
  alpha      = 0.140458
  Normalizat = 0.90384
  Prefactor  = 0.950127
 **********
 **   18 **HESSE 
 **********

 FCN=   7123.705     FROM HESSE     STATUS=OK            35 CALLS      254 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .97163        2.4646        .75612E-03   -1.5511    
   2  alpha         .14046        2.8641        .43221E-01   -1.2340    
   3  Normalizat    .90384        .19220        .26234E-03   -.96325    
   4  Prefactor     .95013        .20113        .26694E-03   -.94411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51365e-10
Minuit parameter uncertainties:
  1  2.46484
  2  0.988621
  3  0.192347
  4  0.201291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792431': 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) = 7123.70518851
delta logL = 1.57448806882

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  9.716e-01  2.465e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.405e-01  9.886e-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:  9.501e-01  2.013e-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:  9.038e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.29
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.14 +/- 0.99
Photon Flux (Free Index): 2.73e-09 +/- 2.76e-09
Energy Flux (Free Index): 8.64e-05 +/- 1.09e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/792431/cmap_HighResolution_596505601_596764801_4FGL_J1448.0+3608_daily_bin1378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.23e-09', energy_flux2='8.64e-05', photon_flux_error='7.02e-09', dlogl='1.57e+00', energy_flux='1.38e-05', photon_flux2='2.73e-09', job_status='DONE', time_completed='2021-09-10 10:16:47.529694', photon_index_error2='0.99', photon_index2='0.14', ts='9.14', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.09e-04', EG='0.90', time_epoch_completed='1631294207.53', return_code='0', job_id='792431', GAL2='0.95', EG2='0.90', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='2.76e-09', ts2='12.29', photon_index='1.60' WHERE bin_id='1378' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:16:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 792431: <4FGL_J1448.0+3608_daily_bin1378> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1378 222.017 36.1344 596505601 596764801 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 :                                   824.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            847 sec.

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

