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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1558
RA = 222.017, Dec = 36.1344
tmin = 643161601, tmax = 643420801
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='792700', job_status='RUN', time_executed='2021-09-10 10:06:59.929449', time_epoch_executed='1631293619.93' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1558'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792700/ft1_4FGL_J1448.0+3608_daily_bin1558.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792700/ft2_4FGL_J1448.0+3608_daily_bin1558.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792700/ft1_4FGL_J1448.0+3608_daily_bin1558.fits outfile=/scratch/kocevski/792700/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1558.fits ra=222.017 dec=36.1344 rad=12.0 tmin=643161601.0 tmax=643420801.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.46
user 3.25
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792700/ft1_filtered_4FGL_J1448.0+3608_daily_bin1558.fits evtable="EVENTS" scfile=/scratch/kocevski/792700/ft2_4FGL_J1448.0+3608_daily_bin1558.fits sctable="SC_DATA" expcube=/scratch/kocevski/792700/ltcube_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.fits outfile=/scratch/kocevski/792700/expmap_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.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/792700/ltcube_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.fits
.....................!
real 192.62
user 188.08
sys 4.20

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/792700/ft1_filtered_4FGL_J1448.0+3608_daily_bin1558.fits scfile=/scratch/kocevski/792700/ft2_4FGL_J1448.0+3608_daily_bin1558.fits outfile=/scratch/kocevski/792700/cmap_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/792700/ft1_filtered_4FGL_J1448.0+3608_daily_bin1558.fits scfile=/scratch/kocevski/792700/ft2_4FGL_J1448.0+3608_daily_bin1558.fits outfile=/scratch/kocevski/792700/cmap_HighResolution_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.472       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7102       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11310E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.863       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.954       1.0000         .10000E-03   10000.    
    10 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.371       1.0000         .10000E-03   10000.    
    12 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.8723       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10708E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .20440E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .83006       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .69435E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .74306E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .98592E-02   1.0000         .10000E-03   10000.    
    26 'Prefactor '    22.774       1.0000         .10000E-03   10000.    
    27 'Prefactor '    10.849       1.0000         .10000E-03   10000.    
    28 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.0210       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .66706       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=   4877.535     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     4056 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.474        14.288       -.18053E-06   -.85713E-05
   2  Prefactor     .10000E-03    6.3810        .61811E-06** at limit **
   3  Prefactor     .10000E-03    22.142       -.42008E-05** at limit **
   4  norm          1.7106        2.7722       -.11943E-06    .10981E-03
   5  Prefactor     .10000E-03    4.3342       -.16003E-06** at limit **
   6  Prefactor     .10000E-03    20.912        .47115E-06** at limit **
   7  Prefactor     10.864        4.4675       -.12420E-06    .89496E-05
   8  norm          .10000E-03    3.8189        .13011E-08** at limit **
   9  Prefactor     24.953        20.987       -.62150E-06   -.34653E-04
  10  norm          .10000E-03    1.6137       -.53234E-07** at limit **
  11  Prefactor     27.348        38.815        .22737E-05    .10097E-03
  12  norm          .10000E-03    3.0034       -.39936E-06** at limit **
  13  Prefactor     .10000E-03    8.2485       -.20683E-06** at limit **
  14  norm          4.8718        4.7154        .61375E-06   -.10886E-02
  15  Prefactor     .10000E-03    27.896       -.11935E-05** at limit **
  16  Prefactor     .10028E-03    13.860        .67135E-05** at limit **
  17  norm          .10000E-03    .63037       -.84835E-07** at limit **
  18  norm          .82880        2.7487       -.55154E-06    .13030E-03
  19  Prefactor     .10000E-03    4.1813        .26716E-06** at limit **
  20  Prefactor     .10001E-03    36.397        .93676E-05** at limit **
  21  Prefactor     .10001E-03    20.832       -.10117E-04** at limit **
  22  Prefactor     .10000E-03    5.0221        .10844E-06** at limit **
  23  Prefactor     .10000E-03    6.6581        .55628E-07** at limit **
  24  norm          .76175E-01    .96412       -.11788E-06   -.34339E-03
  25  Prefactor     .10022E-03    10.116        .30357E-06** at limit **
  26  Prefactor     22.819        36.177       -.29709E-05   -.26005E-03
  27  Prefactor     10.847        12.538        .16479E-07    .19727E-04
  28  norm          .10000E-03    6.1108       -.80344E-06** at limit **
  29  Normalizat    1.0208        .16468        .13647E-05    .86207E-05
  30  Prefactor     .66731        .17109       -.37905E-06    .54441E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 23.4736
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 1.71063
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8639
  norm       = 0.0001
  Prefactor  = 24.953
  norm       = 0.0001
  Prefactor  = 27.3478
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.87184
  Prefactor  = 0.000100001
  Prefactor  = 0.000100285
  norm       = 0.0001
  norm       = 0.828801
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0761747
  Prefactor  = 0.00010022
  Prefactor  = 22.8188
  Prefactor  = 10.847
  norm       = 0.0001
  Normalizat = 1.02083
  Prefactor  = 0.66731
 **********
 **   18 **HESSE 
 **********

 FCN=   4877.535     FROM HESSE     STATUS=OK           598 CALLS     4654 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.474        14.296        .82679E-04   -1.4739    
   2  Prefactor     .10000E-03    6.3900        .17233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    22.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7106        2.7487        .14329E-03   -1.5446    
   5  Prefactor     .10000E-03    4.3572        .14200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    21.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.864        4.4767        .89983E-04   -1.5049    
   8  norm          .10000E-03    3.8198        .13329E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     24.953        21.009        .80191E-04   -1.4708    
  10  norm          .10000E-03    1.6165        .86632E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.348        38.904        .76574E-04   -1.4662    
  12  norm          .10000E-03    6.6476        .23472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.2533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.8718        4.8460        .74766E-03   -1.5266    
  15  Prefactor     .10000E-03    29.082        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10028E-03    43.861        .32297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .90778        .10485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .82880        2.7275        .20404E-03   -1.5526    
  19  Prefactor     .10000E-03    4.2078        .13926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10001E-03    37.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    25.242        .36213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.0276        .15285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    6.7029        .17588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .76175E-01    2.3065        .11159E-02   -1.5653    
  25  Prefactor     .10022E-03    13.113        .50018E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     22.819        37.915        .83935E-04   -1.4752    
  27  Prefactor     10.847        12.534        .12164E-03   -1.5049    
  28  norm          .10000E-03    6.1359        .16873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0208        .19314        .19734E-03   -.92336    
  30  Prefactor     .66731        .19941        .25068E-03   -1.0482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.96698e-08
Minuit parameter uncertainties:
  1  14.2977
  2  3.19736e-05
  3  0.000462945
  4  2.74888
  5  1.6305e-05
  6  6.8306e-05
  7  4.47682
  8  2.02603e-06
  9  21.0156
  10  8.30099e-06
  11  38.9396
  12  3.14757e-05
  13  2.02196e-05
  14  4.84641
  15  0.000379586
  16  0.00707244
  17  3.87399e-05
  18  2.72791
  19  1.55333e-05
  20  0.00128927
  21  0.000774255
  22  2.4265e-06
  23  1.70251e-06
  24  0.837806
  25  0.0033958
  26  37.9553
  27  12.5368
  28  5.2904e-05
  29  0.193273
  30  0.199627
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  4.872e+00  4.846e+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.673e-01  1.996e-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.021e+00  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.90
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 6.42e-09 +/- 6.38e-09
Energy Flux (Fixed Index): 1.22e-05 +/- 1.21e-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) = 4875.47862797
delta logL = 2.05658050922

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4874.70552034
delta logL = 2.82968813419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .79644       1.0000         .10000E-03   10000.    
     2 'alpha     '    .11432E-05   1.0000          .0000       5.0000    
     3 'Normalizat'    1.0239       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66633       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=   4874.706     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      219 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .79751        1.0286        .12427E-01   -.72505E-03
   2  alpha         .38858E-13    .78989        .46367    ** at limit **
   3  Normalizat    1.0242        .15850        .42830E-01   -.27539E-04
   4  Prefactor     .66612        .16674        .41951E-01    .21218E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.797507
  alpha      = 3.88578e-14
  Normalizat = 1.02423
  Prefactor  = 0.666117
 **********
 **   18 **HESSE 
 **********

 FCN=   4874.706     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .79751        .80265        .55992E-03   -1.5529    
   2  alpha         .38858E-13    1.0082        .39737E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.0242        .18746        .19698E-03   -.92223    
   4  Prefactor     .66612        .19714        .25082E-03   -1.0487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94406e-11
Minuit parameter uncertainties:
  1  0.802662
  2  4.10964e-07
  3  0.187586
  4  0.197347
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792700': 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) = 4874.70551728
delta logL = 2.82969119977

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.975e-01  8.027e-01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  3.886e-14  4.110e-07  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.661e-01  1.973e-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.024e+00  1.876e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.56
Ra Dec: 222.017 36.134
Photon Index (Free Index): 0.00 +/- 0.00
Photon Flux (Free Index): 3.10e-09 +/- 3.12e-09
Energy Flux (Free Index): 1.11e-04 +/- 1.11e-04

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/792700/cmap_HighResolution_643161601_643420801_4FGL_J1448.0+3608_daily_bin1558.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.42e-09', energy_flux2='1.11e-04', photon_flux_error='6.38e-09', dlogl='2.83e+00', energy_flux='1.22e-05', photon_flux2='3.10e-09', job_status='DONE', time_completed='2021-09-10 10:18:03.391993', photon_index_error2='0.00', photon_index2='0.00', ts='11.90', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='1.11e-04', EG='1.02', time_epoch_completed='1631294283.39', return_code='0', job_id='792700', GAL2='0.67', EG2='1.02', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='3.12e-09', ts2='17.56', photon_index='1.60' WHERE bin_id='1558' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:18:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 792700: <4FGL_J1448.0+3608_daily_bin1558> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1558> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 10:03:01 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:03:03 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:03:03 2021
Terminated at Fri Sep 10 10:18:04 2021
Results reported at Fri Sep 10 10:18:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1558 222.017 36.1344 643161601 643420801 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 :                                   662.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             225.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            903 sec.

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

