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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1121
RA = 222.017, Dec = 36.1344
tmin = 529891201, tmax = 530150401
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='790875', job_status='RUN', time_executed='2021-09-10 09:58:01.254193', time_epoch_executed='1631293081.25' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790875

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790875/ft1_4FGL_J1448.0+3608_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790875/ft2_4FGL_J1448.0+3608_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790875/ft1_4FGL_J1448.0+3608_daily_bin1121.fits outfile=/scratch/kocevski/790875/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1121.fits ra=222.017 dec=36.1344 rad=12.0 tmin=529891201.0 tmax=530150401.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.58
user 3.33
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790875/ft1_filtered_4FGL_J1448.0+3608_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/790875/ft2_4FGL_J1448.0+3608_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/790875/ltcube_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.fits outfile=/scratch/kocevski/790875/expmap_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.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/790875/ltcube_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.fits
.....................!
real 190.02
user 185.79
sys 3.82

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/790875/ft1_filtered_4FGL_J1448.0+3608_daily_bin1121.fits scfile=/scratch/kocevski/790875/ft2_4FGL_J1448.0+3608_daily_bin1121.fits outfile=/scratch/kocevski/790875/cmap_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.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/790875/ft1_filtered_4FGL_J1448.0+3608_daily_bin1121.fits scfile=/scratch/kocevski/790875/ft2_4FGL_J1448.0+3608_daily_bin1121.fits outfile=/scratch/kocevski/790875/cmap_HighResolution_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.126       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .75937E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.1162       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.029       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.079       1.0000         .10000E-03   10000.    
     8 'norm      '    8.0331       1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.527       1.0000         .10000E-03   10000.    
    10 'norm      '    .10831E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2260       1.0000         .10000E-03   10000.    
    12 'norm      '    .10345E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.800       1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.9351       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .99279E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.1565       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .17373E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.534       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .40952E-02   1.0000         .10000E-03   10000.    
    24 'norm      '    5.6430       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .58067E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    .86605       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .86647       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=   5930.835     FROM MIGRAD    STATUS=CONVERGED    819 CALLS     4035 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.127        16.785        .71259E-08   -.37583E-04
   2  Prefactor     .10000E-03    5.6790        .84738E-08** at limit **
   3  Prefactor     .10000E-03    14.388        .17585E-06** at limit **
   4  norm          .19641E-02    1.7856       -.48605E-07** at limit **
   5  Prefactor     8.1062        18.169        .87565E-06    .17640E-03
   6  Prefactor     13.039        21.126       -.13466E-05   -.21062E-03
   7  Prefactor     12.080        4.3582        .16953E-08   -.33332E-04
   8  norm          8.0366        13.349        .18051E-05    .91241E-04
   9  Prefactor     23.530        20.735        .52684E-06    .13191E-03
  10  norm          .10000E-03    6.7850       -.27296E-06** at limit **
  11  Prefactor     3.0212        173.93       -.35664E-05   -.38640E-04
  12  norm          .10000E-03    1.7710        .19382E-07** at limit **
  13  Prefactor     .10001E-03    31.837        .26040E-05** at limit **
  14  norm          11.800        8.2758       -.16456E-06    .12912E-04
  15  Prefactor     8.9369        11.380        .21667E-05    .11172E-03
  16  Prefactor     .10000E-03    2.4289       -.56064E-07** at limit **
  17  norm          .10000E-03    .43440       -.42525E-07** at limit **
  18  norm          .14288        2.6341        .46738E-06   -.81464E-03
  19  Prefactor     4.0852        9.0791        .63991E-06   -.32469E-03
  20  Prefactor     .10002E-03    22.122       -.40015E-05** at limit **
  21  Prefactor     .10008E-03    6.6035        .28285E-05** at limit **
  22  Prefactor     17.549        16.496        .85997E-06    .18366E-03
  23  Prefactor     .10063E-03    7.3084        .68336E-06** at limit **
  24  norm          5.6432        1.4844       -.19098E-08   -.57129E-03
  25  Prefactor     .10000E-03    2.9288       -.48483E-08** at limit **
  26  Prefactor     .10000E-03    8.3486       -.40303E-08** at limit **
  27  Prefactor     .10000E-03    17.062       -.10772E-05** at limit **
  28  norm          .10001E-03    8.9993        .65392E-06** at limit **
  29  Normalizat    .86608        .16526       -.88756E-07   -.26946E-03
  30  Prefactor     .86639        .16563       -.21739E-06   -.30621E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 34.1272
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00196413
  Prefactor  = 8.10617
  Prefactor  = 13.0394
  Prefactor  = 12.0797
  norm       = 8.03665
  Prefactor  = 23.5304
  norm       = 0.0001
  Prefactor  = 3.02122
  norm       = 0.0001
  Prefactor  = 0.000100007
  norm       = 11.7999
  Prefactor  = 8.93692
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.142877
  Prefactor  = 4.08518
  Prefactor  = 0.000100018
  Prefactor  = 0.000100077
  Prefactor  = 17.5489
  Prefactor  = 0.000100626
  norm       = 5.64319
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.00010001
  Normalizat = 0.866079
  Prefactor  = 0.866392
 **********
 **   18 **HESSE 
 **********

 FCN=   5930.835     FROM HESSE     STATUS=OK           602 CALLS     4637 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.127        16.780        .68597E-04   -1.4539    
   2  Prefactor     .10000E-03    5.6819        .17922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    14.527        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .19641E-02    3.1974        .36135E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.1062        18.491        .14073E-03   -1.5138    
   6  Prefactor     13.039        21.408        .11097E-03   -1.4986    
   7  Prefactor     12.080        4.3657        .91718E-04   -1.5013    
   8  norm          8.0366        13.638        .70731E-03   -1.5141    
   9  Prefactor     23.530        20.819        .82583E-04   -1.4737    
  10  norm          .10000E-03    6.9956        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.0212        174.44        .22554E-03   -1.5360    
  12  norm          .10000E-03    3.0604        .19962E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    32.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.800        8.2787        .11662E-03   -1.5021    
  15  Prefactor     8.9369        11.673        .67044E-03   -1.5110    
  16  Prefactor     .10000E-03    2.4424        .11720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .44516        .99073E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .14288        49.556        .19464E-02   -1.5632    
  19  Prefactor     4.0852        11.620        .19770E-03   -1.5304    
  20  Prefactor     .10002E-03    23.858        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10008E-03    20.363        .32031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.549        16.378        .95648E-04   -1.4870    
  23  Prefactor     .10063E-03    80.974        .35224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.6432        1.4841        .45834E-04   -1.5233    
  25  Prefactor     .10000E-03    2.9401        .12863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    8.3500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    17.241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10001E-03    48.277        .44034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .86608        .19190        .23375E-03   -.97663    
  30  Prefactor     .86639        .19284        .24670E-03   -.97326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17769e-08
Minuit parameter uncertainties:
  1  16.7822
  2  1.4649e-06
  3  4.13273e-05
  4  0.154414
  5  18.5044
  6  21.4204
  7  4.36586
  8  13.6433
  9  20.8257
  10  2.10648e-05
  11  46.0553
  12  4.11308e-07
  13  0.000973692
  14  8.27952
  15  11.6758
  16  4.68672e-06
  17  1.87065e-06
  18  5.32437
  19  11.6262
  20  0.00130679
  21  0.00250626
  22  16.3823
  23  0.0142625
  24  1.48414
  25  1.6858e-06
  26  1.46233e-06
  27  0.000312003
  28  0.00137787
  29  0.192046
  30  0.192987
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.180e+01  8.280e+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.664e-01  1.930e-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.661e-01  1.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.89
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.55e-08 +/- 1.09e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 2.07e-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) = 5930.545533
delta logL = 0.289822804632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5930.5432977
delta logL = 0.292058099236

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.8189       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0831       1.0000          .0000       5.0000    
     3 'Normalizat'    .85367       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87142       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=   5930.543     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      299 TOTAL
                     EDM=   .87E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.8157        8.2857        .63941E-03    .65608E-05
   2  alpha         2.0824        .66757        .12952E-01    .10237E-04
   3  Normalizat    .85393        .17968        .23518E-03    .10296E-04
   4  Prefactor     .87120        .18919        .24598E-03    .24588E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.81565
  alpha      = 2.08242
  Normalizat = 0.853933
  Prefactor  = 0.871197
 **********
 **   18 **HESSE 
 **********

 FCN=   5930.543     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.8157        7.9322        .25576E-04   -1.5081    
   2  alpha         2.0824        .63933        .51810E-03   -.16782    
   3  Normalizat    .85393        .17963        .94073E-05   -.98098    
   4  Prefactor     .87120        .18929        .98391E-05   -.97155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72498e-12
Minuit parameter uncertainties:
  1  7.93308
  2  0.646725
  3  0.179751
  4  0.189431
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790875': 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) = 5930.54329556
delta logL = 0.292060245199

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  9.816e+00  7.933e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.082e+00  6.467e-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:  8.712e-01  1.894e-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.539e-01  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.46
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.08 +/- 0.65
Photon Flux (Free Index): 2.72e-08 +/- 2.60e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.45e-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/790875/cmap_HighResolution_529891201_530150401_4FGL_J1448.0+3608_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.55e-08', energy_flux2='1.84e-05', photon_flux_error='1.09e-08', dlogl='2.92e-01', energy_flux='2.96e-05', photon_flux2='2.72e-08', job_status='DONE', time_completed='2021-09-10 10:10:09.500630', photon_index_error2='0.65', photon_index2='2.08', ts='6.89', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.45e-05', EG='0.87', time_epoch_completed='1631293809.5', return_code='0', job_id='790875', GAL2='0.87', EG2='0.85', return_code2='0', energy_flux_error='2.07e-05', photon_flux_error2='2.60e-08', ts2='7.46', photon_index='1.60' WHERE bin_id='1121' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:10:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0268>
Subject: Job 790875: <4FGL_J1448.0+3608_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1121> 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) <bullet0268>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57: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 09:57:43 2021
Terminated at Fri Sep 10 10:10:10 2021
Results reported at Fri Sep 10 10:10:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1121 222.017 36.1344 529891201 530150401 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 :                                   727.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            749 sec.

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

