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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1099
RA = 222.017, Dec = 36.1344
tmin = 524188801, tmax = 524448001
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='790842', job_status='RUN', time_executed='2021-09-10 10:00:03.108532', time_epoch_executed='1631293203.11' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790842/ft1_4FGL_J1448.0+3608_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790842/ft1_4FGL_J1448.0+3608_daily_bin1099.fits outfile=/scratch/kocevski/790842/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1099.fits ra=222.017 dec=36.1344 rad=12.0 tmin=524188801.0 tmax=524448001.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.38
user 3.18
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.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/790842/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1099.fits evtable="EVENTS" outfile="/scratch/kocevski/790842/ft1_filtered_4FGL_J1448.0+3608_daily_bin1099.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/790842/ft1_filtered_4FGL_J1448.0+3608_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/790842/ltcube_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.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/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits
.....................!
real 11.90
user 11.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790842/ft1_filtered_4FGL_J1448.0+3608_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/790842/ltcube_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.fits outfile=/scratch/kocevski/790842/expmap_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.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/790842/ltcube_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.fits
.....................!
real 190.40
user 184.96
sys 4.92

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/790842/ft1_filtered_4FGL_J1448.0+3608_daily_bin1099.fits scfile=/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits outfile=/scratch/kocevski/790842/cmap_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.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/790842/ft1_filtered_4FGL_J1448.0+3608_daily_bin1099.fits scfile=/scratch/kocevski/790842/ft2_4FGL_J1448.0+3608_daily_bin1099.fits outfile=/scratch/kocevski/790842/cmap_HighResolution_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5406       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.4980       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.762       1.0000         .10000E-03   10000.    
     4 'norm      '    .10523E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.489       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11027E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7449       1.0000         .10000E-03   10000.    
     8 'norm      '    7.5917       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.465       1.0000         .10000E-03   10000.    
    10 'norm      '    5.2870       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.044       1.0000         .10000E-03   10000.    
    12 'norm      '    3.7836       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.354       1.0000         .10000E-03   10000.    
    14 'norm      '    8.0876       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.7322       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5659       1.0000         .10000E-03   10000.    
    17 'norm      '    .84651       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.5274       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    5.8114       1.0000         .10000E-03   10000.    
    25 'Prefactor '    22.277       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   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'    .88462       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.0521       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=   6003.901     FROM MIGRAD    STATUS=CONVERGED    740 CALLS     3337 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5370        17.145       -.31593E-05   -.91600E-04
   2  Prefactor     1.5057        52.115        .15677E-04    .18458E-04
   3  Prefactor     14.763        18.700        .63634E-07   -.26352E-05
   4  norm          .10027E-03    2.0225       -.51427E-06** at limit **
   5  Prefactor     18.477        14.567       -.18602E-05   -.18858E-03
   6  Prefactor     .10000E-03    15.744        .53560E-05** at limit **
   7  Prefactor     1.7450        3.9084       -.17920E-05   -.17135E-03
   8  norm          7.5912        10.419        .43126E-06   -.77619E-05
   9  Prefactor     13.466        20.862        .66025E-07   -.13352E-04
  10  norm          5.2872        5.8620        .24137E-06   -.90306E-03
  11  Prefactor     30.045        30.596        .41519E-06    .73121E-06
  12  norm          3.7835        3.3972        .49622E-06    .69061E-04
  13  Prefactor     26.354        23.775       -.82258E-06   -.47515E-05
  14  norm          8.0874        7.1238       -.36203E-07    .66267E-05
  15  Prefactor     2.7318        5.4459        .61346E-06   -.12990E-02
  16  Prefactor     4.5670        5.1001        .19969E-07   -.15397E-05
  17  norm          .84626        1.5168       -.11441E-06   -.32483E-03
  18  norm          .10000E-03    1.3104       -.33869E-07** at limit **
  19  Prefactor     .10000E-03    8.8157        .64945E-06** at limit **
  20  Prefactor     .10000E-03    30.476        .78713E-05** at limit **
  21  Prefactor     .10000E-03    2.7111        .15581E-07** at limit **
  22  Prefactor     2.5308        11.244        .64815E-06   -.59388E-03
  23  Prefactor     .10000E-03    7.4559        .12615E-05** at limit **
  24  norm          5.8116        1.9357       -.74717E-08    .36979E-04
  25  Prefactor     22.276        13.083       -.10638E-06    .26060E-04
  26  Prefactor     .10000E-03    14.089       -.56331E-05** at limit **
  27  Prefactor     .10000E-03    7.1255       -.13585E-05** at limit **
  28  norm          .10000E-03    3.8295        .10113E-06** at limit **
  29  Normalizat    .88453        .18467        .14965E-05   -.86503E-04
  30  Prefactor     1.0522        .18154       -.92776E-06    .48949E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.53697
  Prefactor  = 1.50572
  Prefactor  = 14.7629
  norm       = 0.000100266
  Prefactor  = 18.4773
  Prefactor  = 0.0001
  Prefactor  = 1.74502
  norm       = 7.59116
  Prefactor  = 13.4657
  norm       = 5.28723
  Prefactor  = 30.045
  norm       = 3.78353
  Prefactor  = 26.3537
  norm       = 8.08739
  Prefactor  = 2.73183
  Prefactor  = 4.56702
  norm       = 0.846261
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.53084
  Prefactor  = 0.0001
  norm       = 5.8116
  Prefactor  = 22.2758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.88453
  Prefactor  = 1.05224
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.901     FROM HESSE     STATUS=OK           598 CALLS     3935 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5370        17.203        .13717E-03   -1.5124    
   2  Prefactor     1.5057        52.035        .34997E-03   -1.5463    
   3  Prefactor     14.763        18.731        .10425E-03   -1.4939    
   4  norm          .10027E-03    31.831        .20900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.477        14.592        .93147E-04   -1.4848    
   6  Prefactor     .10000E-03    15.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.7450        3.9115        .21114E-03   -1.5444    
   8  norm          7.5912        10.403        .14555E-03   -1.5157    
   9  Prefactor     13.466        20.913        .10916E-03   -1.4974    
  10  norm          5.2872        6.0966        .87400E-03   -1.5248    
  11  Prefactor     30.045        30.598        .73096E-04   -1.4611    
  12  norm          3.7835        3.4002        .13149E-03   -1.5319    
  13  Prefactor     26.354        23.769        .78034E-04   -1.4681    
  14  norm          8.0874        7.1337        .14098E-03   -1.5139    
  15  Prefactor     2.7318        7.1765        .12317E-02   -1.5377    
  16  Prefactor     4.5670        5.0665        .17220E-03   -1.5281    
  17  norm          .84626        1.4840        .11489E-03   -1.5524    
  18  norm          .10000E-03    1.3184        .86594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.9849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    30.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.7176        .12460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.5308        16.246        .12847E-02   -1.5390    
  23  Prefactor     .10000E-03    7.5004        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          5.8116        1.9485        .51342E-04   -1.5226    
  25  Prefactor     22.276        13.167        .84864E-04   -1.4764    
  26  Prefactor     .10000E-03    14.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.1344        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    3.8326        .14809E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .88453        .21295        .24973E-03   -.97006    
  30  Prefactor     1.0522        .20963        .24753E-03   -.91008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39428e-08
Minuit parameter uncertainties:
  1  17.2128
  2  17.7193
  3  18.7384
  4  0.00582339
  5  14.5952
  6  0.000102783
  7  3.91206
  8  10.4055
  9  20.9246
  10  6.09735
  11  30.6144
  12  3.40041
  13  23.7773
  14  7.13446
  15  7.1788
  16  5.067
  17  1.48411
  18  2.0012e-06
  19  1.7397e-05
  20  0.000160652
  21  2.07547e-07
  22  12.8293
  23  5.03449e-07
  24  1.94855
  25  13.1692
  26  7.90632e-05
  27  1.55942e-05
  28  1.21145e-07
  29  0.213148
  30  0.209789
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.087e+00  7.134e+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:  1.052e+00  2.098e-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.845e-01  2.131e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.07e-08 +/- 9.40e-09
Energy Flux (Fixed Index): 2.03e-05 +/- 1.79e-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) = 6003.63561488
delta logL = 0.265457071049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6003.63113294
delta logL = 0.269939017854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7666       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.1322       1.0000          .0000       5.0000    
     3 'Normalizat'    .88354       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0541       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=   6003.631     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      190 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7666        16.174        .33844E-02   -.51784E-03
   2  alpha         1.1323        1.0254        .50000        .18071E-05
   3  Normalizat    .88354        .16627        .44691E-01    .14303E-04
   4  Prefactor     1.0541        .17893        .39675E-01    .73682E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 8.76661
  alpha      = 1.13225
  Normalizat = 0.883542
  Prefactor  = 1.05411
 **********
 **   18 **HESSE 
 **********

 FCN=   6003.631     FROM HESSE     STATUS=OK            31 CALLS      221 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7666        7.7820        .13538E-03   -1.5116    
   2  alpha         1.1323        .62901        .18199E-01   -.57889    
   3  Normalizat    .88354        .18955        .24991E-03   -.97041    
   4  Prefactor     1.0541        .20434        .24736E-03   -.90947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68144e-10
Minuit parameter uncertainties:
  1  7.78286
  2  0.638884
  3  0.189693
  4  0.204489
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790842': 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) = 6003.63113293
delta logL = 0.269939019939

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.767e+00  7.783e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.132e+00  6.389e-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:  1.054e+00  2.045e-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.835e-01  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.72
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.13 +/- 0.64
Photon Flux (Free Index): 8.24e-09 +/- 7.57e-09
Energy Flux (Free Index): 5.01e-05 +/- 7.55e-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/790842/cmap_HighResolution_524188801_524448001_4FGL_J1448.0+3608_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.07e-08', energy_flux2='5.01e-05', photon_flux_error='9.40e-09', dlogl='2.70e-01', energy_flux='2.03e-05', photon_flux2='8.24e-09', job_status='DONE', time_completed='2021-09-10 10:11:30.528001', photon_index_error2='0.64', photon_index2='1.13', ts='7.18', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='7.55e-05', EG='0.88', time_epoch_completed='1631293890.53', return_code='0', job_id='790842', GAL2='1.05', EG2='0.88', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='7.57e-09', ts2='7.72', photon_index='1.60' WHERE bin_id='1099' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:11:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 790842: <4FGL_J1448.0+3608_daily_bin1099> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1099 222.017 36.1344 524188801 524448001 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 :                                   687.00 sec.
    Max Memory :                                 1196 MB
    Average Memory :                             323.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            833 sec.

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

