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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1593
RA = 222.422, Dec = -21.6271
tmin = 652233601, tmax = 652492801
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='803330', job_status='RUN', time_executed='2021-09-10 10:35:29.552523', time_epoch_executed='1631295329.55' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/803330

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/803330/ft1_4FGL_J1449.6-2137_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/803330/ft1_4FGL_J1449.6-2137_daily_bin1593.fits outfile=/scratch/kocevski/803330/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1593.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.41
user 4.18
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.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/803330/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1593.fits evtable="EVENTS" outfile="/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.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/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/803330/ltcube_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.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/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits
.....................!
real 12.14
user 11.74
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/803330/ltcube_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits outfile=/scratch/kocevski/803330/expmap_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.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/803330/ltcube_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits
.....................!
real 192.94
user 187.31
sys 5.26

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1449.6-2137 @ 222.422 -21.6271

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits outfile=/scratch/kocevski/803330/cmap_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.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.422 yref=-21.6271 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits outfile=/scratch/kocevski/803330/cmap_HighResolution_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.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.422 yref=-21.6271 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/803330/Model_4FGL_J1449.6-2137_daily_bin1593.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/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits.....................!
real 62.03
user 60.57
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits', '/scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits', expMap='/scratch/kocevski/803330/expmap_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits', expCube='/scratch/kocevski/803330/ltcube_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/803330/Model_4FGL_J1449.6-2137_daily_bin1593.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1449.6-2137'

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.137e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/803330/ft1_filtered_4FGL_J1449.6-2137_daily_bin1593.fits
Spacecraft file(s): /scratch/kocevski/803330/ft2_4FGL_J1449.6-2137_daily_bin1593.fits
Exposure map: /scratch/kocevski/803330/expmap_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits
Exposure cube: /scratch/kocevski/803330/ltcube_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/803330/Model_4FGL_J1449.6-2137_daily_bin1593.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) = 6304.60324061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.992       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.682       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7947       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11419E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.590       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9317       1.0000         .10000E-03   10000.    
    15 'norm      '    3.5240       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .18416E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .90167       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0004       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6304.566     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     1886 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.449        .17337E-04** at limit **
   2  Prefactor     20.994        27.801        .83807E-06   -.14292E-04
   3  Prefactor     .10000E-03    8.0927        .34844E-07** at limit **
   4  Prefactor     .10000E-03    44.959       -.22334E-04** at limit **
   5  Prefactor     .10000E-03    22.127       -.12379E-04** at limit **
   6  norm          .10000E-03    3.3538        .22718E-07** at limit **
   7  Prefactor     47.736        37.042        .16924E-04    .60150E-04
   8  Prefactor     1.7935        5.1094       -.91001E-06   -.87282E-03
   9  Prefactor     .10000E-03    44.877       -.23060E-04** at limit **
  10  Prefactor     .10000E-03    51.369        .17306E-04** at limit **
  11  Prefactor     .10000E-03    52.784        .28131E-04** at limit **
  12  Prefactor     .10000E-03    177.30       -.44687E-05** at limit **
  13  Prefactor     23.590        17.347        .62881E-06   -.13809E-04
  14  Prefactor     8.9308        10.439       -.17756E-06   -.40858E-04
  15  norm          3.5236        1.2258        .63182E-07   -.21730E-03
  16  Prefactor     .10000E-03    15.785        .15393E-05** at limit **
  17  norm          .10000E-03    2.4918        .32324E-07** at limit **
  18  Normalizat    .90171        .31419       -.38919E-05   -.69090E-04
  19  Prefactor     1.0004        .10568       -.21505E-06   -.88283E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.9941
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 47.7363
  Prefactor  = 1.79353
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 23.5896
  Prefactor  = 8.93081
  norm       = 3.52361
  Prefactor  = 0.0001
  norm       = 0.000100002
  Normalizat = 0.901709
  Prefactor  = 1.00041
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.566     FROM HESSE     STATUS=OK           262 CALLS     2148 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.407        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.994        27.799        .87420E-04   -1.4791    
   3  Prefactor     .10000E-03    8.0948        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    45.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.3547        .14201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.736        37.046        .58069E-04   -1.4325    
   8  Prefactor     1.7935        5.0963        .29340E-03   -1.5440    
   9  Prefactor     .10000E-03    44.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    51.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    52.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    177.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     23.590        17.347        .82472E-04   -1.4736    
  14  Prefactor     8.9308        10.414        .13411E-03   -1.5110    
  15  norm          3.5236        1.2201        .49266E-04   -1.5333    
  16  Prefactor     .10000E-03    16.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    16.579        .23971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .90171        .35727        .48684E-03   -.96400    
  19  Prefactor     1.0004        .12124        .15765E-03   -.92716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24306e-09
Minuit parameter uncertainties:
  1  2.0451e-06
  2  27.8164
  3  4.47478e-06
  4  0.000245336
  5  0.000135751
  6  2.39094e-06
  7  37.0638
  8  5.09749
  9  3.64749e-05
  10  8.80666e-05
  11  8.7548e-05
  12  0.00130272
  13  17.3504
  14  10.4164
  15  1.22008
  16  2.42506e-05
  17  0.000338268
  18  0.35821
  19  0.121276
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  2.359e+01  1.735e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.000e+00  1.213e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  9.017e-01  3.582e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.40
Ra Dec: 222.422 -21.627
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 6.78e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 2.34e-05

TS (Fixed Index): 3.40
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 2.42e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.87e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/803330/likelihoodResults_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.txt

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) = 6304.56452109
delta logL = 0.00130898132193

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6304.56315123
delta logL = 0.00267883262677

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.399       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4123       1.0000          .0000       10.000    
     3 'Normalizat'    .89710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0013       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+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=   6304.563     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      273 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.414        25.373        .84634E-04    .16227E-03
   2  Index         2.4119        .74210        .68133E-02    .47934E-03
   3  Normalizat    .89673        .36159        .48806E-03   -.80829E-04
   4  Prefactor     1.0014        .12167        .15758E-03    .15126E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.4136
  Index      = 2.41193
  Normalizat = 0.89673
  Prefactor  = 1.00142
 **********
 **   18 **HESSE 
 **********

 FCN=   6304.563     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.414        23.572        .33854E-05   -1.4761    
   2  Index         2.4119        .68901        .13627E-02   -.54406    
   3  Normalizat    .89673        .36069        .19522E-04   -.96575    
   4  Prefactor     1.0014        .12153        .31516E-04   -.92682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05392e-10
Minuit parameter uncertainties:
  1  23.5818
  2  0.692028
  3  0.361663
  4  0.121566
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/803330': 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) = 6304.56315045
delta logL = 0.00267961851296

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  2.241e+01  2.358e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.412e+00  6.920e-01  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.001e+00  1.216e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  8.967e-01  3.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.40
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 2.41 +/- 0.69
Photon Flux (Free Index): 9.65e-08 +/- 9.05e-08
Energy Flux (Free Index): 3.11e-05 +/- 2.46e-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/803330/cmap_HighResolution_652233601_652492801_4FGL_J1449.6-2137_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.87e-02', comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='3.11e-05', photon_flux_error='6.78e-08', dlogl='2.68e-03', energy_flux='3.18e-05', photon_flux2='9.65e-08', job_status='DONE', time_completed='2021-09-10 10:45:38.906686', photon_index_error2='0.69', photon_index2='2.41', ts='3.40', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='2.42e-07', energy_flux_error2='2.46e-05', EG='0.90', time_epoch_completed='1631295938.91', return_code='0', job_id='803330', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='9.05e-08', ts2='3.40', photon_index='2.36' WHERE bin_id='1593' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:45:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 803330: <4FGL_J1449.6-2137_daily_bin1593> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1593> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 10:31:26 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:31:27 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:31:27 2021
Terminated at Fri Sep 10 10:45:41 2021
Results reported at Fri Sep 10 10:45:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1593 222.422 -21.6271 652233601 652492801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1449.6-2137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   607.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            855 sec.

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

