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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1133
RA = 222.017, Dec = 36.1344
tmin = 533001601, tmax = 533260801
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='790892', job_status='RUN', time_executed='2021-09-10 10:00:38.696547', time_epoch_executed='1631293238.7' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1133'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790892/ft1_4FGL_J1448.0+3608_daily_bin1133.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790892/ft2_4FGL_J1448.0+3608_daily_bin1133.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790892/ft1_4FGL_J1448.0+3608_daily_bin1133.fits outfile=/scratch/kocevski/790892/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1133.fits ra=222.017 dec=36.1344 rad=12.0 tmin=533001601.0 tmax=533260801.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.56
user 3.31
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790892/ft2_4FGL_J1448.0+3608_daily_bin1133.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/790892/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1133.fits evtable="EVENTS" outfile="/scratch/kocevski/790892/ft1_filtered_4FGL_J1448.0+3608_daily_bin1133.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790892/ft1_filtered_4FGL_J1448.0+3608_daily_bin1133.fits evtable="EVENTS" scfile=/scratch/kocevski/790892/ft2_4FGL_J1448.0+3608_daily_bin1133.fits sctable="SC_DATA" expcube=/scratch/kocevski/790892/ltcube_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.fits outfile=/scratch/kocevski/790892/expmap_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.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/790892/ltcube_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.fits
.....................!
real 189.92
user 185.16
sys 4.39

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/790892/ft1_filtered_4FGL_J1448.0+3608_daily_bin1133.fits scfile=/scratch/kocevski/790892/ft2_4FGL_J1448.0+3608_daily_bin1133.fits outfile=/scratch/kocevski/790892/cmap_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790892/ft1_filtered_4FGL_J1448.0+3608_daily_bin1133.fits scfile=/scratch/kocevski/790892/ft2_4FGL_J1448.0+3608_daily_bin1133.fits outfile=/scratch/kocevski/790892/cmap_HighResolution_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2832       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6274       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .21683E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.411       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1479       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9483       1.0000         .10000E-03   10000.    
    14 'norm      '    7.7890       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.053       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .78038       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.979       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    4.4596       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.4739       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.026       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.3600       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .63287       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=   6095.437     FROM MIGRAD    STATUS=CONVERGED    730 CALLS     3842 TOTAL
                     EDM=   .58E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.1467       -.15649E-08** at limit **
   2  Prefactor     .10000E-03    5.4225       -.31111E-07** at limit **
   3  Prefactor     8.2776        20.735       -.59050E-06   -.12257E-04
   4  norm          2.6273        3.5240        .18466E-06   -.36335E-04
   5  Prefactor     .10000E-03    5.6055       -.16653E-06** at limit **
   6  Prefactor     .10000E-03    29.103       -.70011E-06** at limit **
   7  Prefactor     10.410        4.8060       -.13751E-07    .81942E-04
   8  norm          .10000E-03    3.4976        .12058E-06** at limit **
   9  Prefactor     .10000E-03    7.6077        .35418E-06** at limit **
  10  norm          3.1476        4.4428        .22120E-06   -.17177E-04
  11  Prefactor     .10000E-03    15.395       -.24458E-06** at limit **
  12  norm          .10000E-03    4.0321        .16013E-06** at limit **
  13  Prefactor     1.9244        142.24       -.92368E-05   -.15627E-04
  14  norm          7.7892        6.7945       -.47682E-06    .13074E-03
  15  Prefactor     17.052        13.043       -.61992E-07    .44042E-04
  16  Prefactor     .10000E-03    6.4974       -.64307E-07** at limit **
  17  norm          .78037        .91420        .19689E-07    .33670E-04
  18  norm          .10000E-03    1.2186        .60314E-07** at limit **
  19  Prefactor     .10000E-03    3.6587       -.16460E-06** at limit **
  20  Prefactor     30.979        42.965        .13065E-06    .59826E-06
  21  Prefactor     .10000E-03    10.140        .34093E-07** at limit **
  22  Prefactor     .10000E-03    26.432        .15979E-05** at limit **
  23  Prefactor     .10000E-03    6.9038        .15807E-06** at limit **
  24  norm          4.4612        1.7825       -.46399E-06   -.52742E-03
  25  Prefactor     1.4587        24.642        .69991E-05   -.29078E-04
  26  Prefactor     10.039        29.673       -.53568E-06   -.12385E-05
  27  Prefactor     .10000E-03    5.1241        .21906E-06** at limit **
  28  norm          .10000E-03    3.5174        .87289E-07** at limit **
  29  Normalizat    1.3601        .17626        .63381E-06   -.10239E-03
  30  Prefactor     .63271        .17510       -.17099E-05    .49960E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.2776
  norm       = 2.62728
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.4104
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.14761
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.92443
  norm       = 7.78919
  Prefactor  = 17.0517
  Prefactor  = 0.0001
  norm       = 0.780374
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.9794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.46124
  Prefactor  = 1.45872
  Prefactor  = 10.0392
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.36011
  Prefactor  = 0.632709
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.437     FROM HESSE     STATUS=OK           584 CALLS     4426 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.1486        .13526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4274        .17756E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.2776        20.857        .13930E-03   -1.5132    
   4  norm          2.6273        3.5109        .16296E-03   -1.5384    
   5  Prefactor     .10000E-03    5.6323        .18050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.230        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.410        4.8277        .10958E-03   -1.5063    
   8  norm          .10000E-03    3.4988        .14262E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1476        4.4326        .18894E-03   -1.5353    
  11  Prefactor     .10000E-03    15.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.1520        .30619E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.9244        147.68        .29733E-03   -1.5431    
  14  norm          7.7892        6.7868        .71839E-03   -1.5150    
  15  Prefactor     17.052        13.045        .96989E-04   -1.4882    
  16  Prefactor     .10000E-03    6.6361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .78037        .88737        .77900E-03   -1.5531    
  18  norm          .10000E-03    1.2359        .84155E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6963        .14590E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     30.979        42.945        .71988E-04   -1.4594    
  21  Prefactor     .10000E-03    10.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    26.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.9654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          4.4612        1.7810        .51983E-04   -1.5286    
  25  Prefactor     1.4587        25.378        .35382E-03   -1.5466    
  26  Prefactor     10.039        29.635        .12655E-03   -1.5074    
  27  Prefactor     .10000E-03    5.1275        .17263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.5196        .14301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.3601        .20759        .20873E-03   -.81789    
  30  Prefactor     .63271        .20307        .30171E-03   -1.0623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39657e-10
Minuit parameter uncertainties:
  1  5.63037e-07
  2  1.34072e-06
  3  20.8755
  4  3.51117
  5  4.26847e-06
  6  2.44788e-05
  7  4.82784
  8  2.76861e-06
  9  1.02498e-05
  10  4.4331
  11  1.1038e-05
  12  8.64829e-06
  13  33.8029
  14  6.78751
  15  13.0468
  16  4.62733e-06
  17  0.887387
  18  8.39622e-08
  19  6.78154e-06
  20  42.9875
  21  5.82518e-06
  22  4.65089e-05
  23  5.00146e-06
  24  1.781
  25  12.1742
  26  29.6786
  27  4.82703e-06
  28  1.13983e-06
  29  0.207719
  30  0.203309
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.789e+00  6.788e+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.327e-01  2.033e-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.360e+00  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.72
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.03e-08 +/- 8.94e-09
Energy Flux (Fixed Index): 1.95e-05 +/- 1.70e-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) = 6095.35833808
delta logL = 0.0784230235868

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6095.35779748
delta logL = 0.0789636210156

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.5866       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3448       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3612       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63327       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=   6095.358     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      202 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.5866        23.733        .36399E-02    .36387E-03
   2  alpha         1.3447        1.6376        .48249       -.45470E-05
   3  Normalizat    1.3612        .17063        .47204E-01   -.47944E-07
   4  Prefactor     .63328        .17231        .68158E-01    .26616E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.5866
  alpha      = 1.34472
  Normalizat = 1.3612
  Prefactor  = 0.633278
 **********
 **   18 **HESSE 
 **********

 FCN=   6095.358     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.5866        6.9426        .14560E-03   -1.5157    
   2  alpha         1.3447        .62981        .17917E-01   -.48037    
   3  Normalizat    1.3612        .19502        .20867E-03   -.81757    
   4  Prefactor     .63328        .20059        .30163E-03   -1.0620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10772e-10
Minuit parameter uncertainties:
  1  6.9433
  2  0.6386
  3  0.195129
  4  0.200817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790892': 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) = 6095.35779736
delta logL = 0.0789637439138

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.587e+00  6.943e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.345e+00  6.386e-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.333e-01  2.008e-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.361e+00  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.88
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.34 +/- 0.64
Photon Flux (Free Index): 7.83e-09 +/- 8.65e-09
Energy Flux (Free Index): 2.82e-05 +/- 3.68e-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/790892/cmap_HighResolution_533001601_533260801_4FGL_J1448.0+3608_daily_bin1133.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-08', energy_flux2='2.82e-05', photon_flux_error='8.94e-09', dlogl='7.90e-02', energy_flux='1.95e-05', photon_flux2='7.83e-09', job_status='DONE', time_completed='2021-09-10 10:12:43.955346', photon_index_error2='0.64', photon_index2='1.34', ts='6.72', fit_tolerance='1e-08', GAL='0.63', photon_index_error='0.00', energy_flux_error2='3.68e-05', EG='1.36', time_epoch_completed='1631293963.96', return_code='0', job_id='790892', GAL2='0.63', EG2='1.36', return_code2='0', energy_flux_error='1.70e-05', photon_flux_error2='8.65e-09', ts2='6.88', photon_index='1.60' WHERE bin_id='1133' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:12:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 790892: <4FGL_J1448.0+3608_daily_bin1133> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1133> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:42 2021
Job was executed on host(s) <bullet0134>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:44 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:44 2021
Terminated at Fri Sep 10 10:12:44 2021
Results reported at Fri Sep 10 10:12:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1133 222.017 36.1344 533001601 533260801 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 :                                   725.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

