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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1078
RA = 222.422, Dec = -21.6271
tmin = 518745601, tmax = 519004801
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='800863', job_status='RUN', time_executed='2021-09-10 10:29:08.588230', time_epoch_executed='1631294948.59' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1078'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800863

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800863/ft1_4FGL_J1449.6-2137_daily_bin1078.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800863/ft1_4FGL_J1449.6-2137_daily_bin1078.fits outfile=/scratch/kocevski/800863/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1078.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=518745601.0 tmax=519004801.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.50
user 4.18
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.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/800863/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1078.fits evtable="EVENTS" outfile="/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.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.59
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits" evtable="EVENTS" scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits sctable="SC_DATA" outfile=/scratch/kocevski/800863/ltcube_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.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/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits
.....................!
real 16.16
user 15.76
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits sctable="SC_DATA" expcube=/scratch/kocevski/800863/ltcube_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits outfile=/scratch/kocevski/800863/expmap_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.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/800863/ltcube_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits
.....................!
real 190.51
user 185.13
sys 4.71

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/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits outfile=/scratch/kocevski/800863/cmap_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.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.55
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits outfile=/scratch/kocevski/800863/cmap_HighResolution_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800863/Model_4FGL_J1449.6-2137_daily_bin1078.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/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits.....................!
real 77.59
user 76.15
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits', '/scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits', expMap='/scratch/kocevski/800863/expmap_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits', expCube='/scratch/kocevski/800863/ltcube_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/800863/Model_4FGL_J1449.6-2137_daily_bin1078.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/800863/ft1_filtered_4FGL_J1449.6-2137_daily_bin1078.fits
Spacecraft file(s): /scratch/kocevski/800863/ft2_4FGL_J1449.6-2137_daily_bin1078.fits
Exposure map: /scratch/kocevski/800863/expmap_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits
Exposure cube: /scratch/kocevski/800863/ltcube_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/800863/Model_4FGL_J1449.6-2137_daily_bin1078.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) = 8358.25601257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.394       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    8.3943       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22569E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    70.206       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.150       1.0000         .10000E-03   10000.    
    15 'norm      '    .17894       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.7790       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.1450       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .94122       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=   8358.218     FROM MIGRAD    STATUS=CONVERGED    375 CALLS     1859 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.806        .45261E-05** at limit **
   2  Prefactor     .10000E-03    10.804        .80141E-05** at limit **
   3  Prefactor     10.396        13.696        .39153E-06    .16019E-04
   4  Prefactor     .10000E-03    22.497       -.12125E-04** at limit **
   5  Prefactor     .10000E-03    31.324        .10350E-04** at limit **
   6  norm          8.3794        18.375       -.79070E-05   -.71285E-05
   7  Prefactor     .10000E-03    11.219       -.11030E-04** at limit **
   8  Prefactor     .10000E-03    4.3972       -.11347E-05** at limit **
   9  Prefactor     .10000E-03    27.294       -.44346E-05** at limit **
  10  Prefactor     70.233        56.117        .27751E-04    .50549E-04
  11  Prefactor     .10000E-03    14.368        .69159E-05** at limit **
  12  Prefactor     .10000E-03    44.597        .18386E-04** at limit **
  13  Prefactor     .10000E-03    52.290       -.23043E-04** at limit **
  14  Prefactor     23.148        12.430       -.18604E-06   -.40829E-03
  15  norm          .17879        .57499       -.38365E-06   -.12466E-02
  16  Prefactor     .10000E-03    3.0232       -.64601E-07** at limit **
  17  norm          1.7795        3.2829       -.32433E-06   -.85793E-03
  18  Normalizat    1.1450        .24817       -.58787E-06    .33691E-03
  19  Prefactor     .94121        .86049E-01    .27255E-06    .70669E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.3956
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.37939
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 70.2333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 23.1481
  norm       = 0.178786
  Prefactor  = 0.0001
  norm       = 1.77955
  Normalizat = 1.14498
  Prefactor  = 0.94121
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.218     FROM HESSE     STATUS=OK           264 CALLS     2123 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.833        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.396        13.689        .12428E-03   -1.5063    
   4  Prefactor     .10000E-03    22.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    31.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          8.3794        18.408        .13837E-03   -1.5129    
   7  Prefactor     .10000E-03    11.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    27.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     70.233        55.987        .23954E-03   -1.4030    
  11  Prefactor     .10000E-03    14.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    44.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    54.161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.148        12.407        .41626E-03   -1.4745    
  15  norm          .17879        .76801        .11537E-02   -1.5623    
  16  Prefactor     .10000E-03    3.0276        .15513E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.7795        3.2646        .21489E-03   -1.5441    
  18  Normalizat    1.1450        .29161        .40616E-03   -.88321    
  19  Prefactor     .94121        .10218        .15505E-03   -.94716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25925e-09
Minuit parameter uncertainties:
  1  3.20963e-06
  2  5.45871e-06
  3  13.693
  4  7.73391e-06
  5  6.90631e-06
  6  18.4204
  7  8.16139e-06
  8  0.000281143
  9  2.13017e-05
  10  56.0295
  11  7.69348e-05
  12  7.5997e-06
  13  0.000763546
  14  12.4079
  15  0.740914
  16  6.70933e-06
  17  3.26493
  18  0.292025
  19  0.102198
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  7.635e-04  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:  9.412e-01  1.022e-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:  1.145e+00  2.920e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/800863/likelihoodResults_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.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): 102
logL (Free Index) = 8358.21818647
delta logL = -8.80516272446e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8358.03204745
delta logL = 0.186050969034

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17150E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.2914       1.0000          .0000       10.000    
     3 'Normalizat'    1.0811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95406       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.

 FCN=   8358.032     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      321 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16477E-01    .27321        .41906E-02    .15549E-01
   2  Index         5.3090        2.1515        .13303        .23392E-03
   3  Normalizat    1.0814        .34821E-01    .94052E-01    .68390E-04
   4  Prefactor     .95403        .12236E-01    .34871E-01    .61205E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0164772
  Index      = 5.30899
  Normalizat = 1.08137
  Prefactor  = 0.954029
 **********
 **   18 **HESSE 
 **********

 FCN=   8358.032     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      356 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16477E-01    2.0288        .17818E-03   -1.5682    
   2  Index         5.3090        7.6251        .75980E-02    .61838E-01
   3  Normalizat    1.0814        .17370        .41663E-03   -.90352    
   4  Prefactor     .95403        .59900E-01    .15408E-03   -.94278    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.31807e-09
Minuit parameter uncertainties:
  1  0.364572
  2  8.91331
  3  0.17379
  4  0.0599044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800863': 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): 102
logL (Free Index) = 8358.03204117
delta logL = 0.186057249977

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.648e-02  3.646e-01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  5.309e+00  8.913e+00  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:  9.540e-01  5.990e-02  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:  1.081e+00  1.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 222.422 -21.627

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/800863/cmap_HighResolution_518745601_519004801_4FGL_J1449.6-2137_daily_bin1078.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2021-09-10 10:41:10.013668', job_id='800863', GAL2='0.95', fit_tolerance='1e-08', EG2='1.08', EG='1.14', time_epoch_completed='1631295670.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.86e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1078' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:41:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 800863: <4FGL_J1449.6-2137_daily_bin1078> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1078 222.422 -21.6271 518745601 519004801 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 :                                   719.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             297.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            906 sec.

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

