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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1046
RA = 222.422, Dec = -21.6271
tmin = 510451201, tmax = 510710401
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='800779', job_status='RUN', time_executed='2021-09-10 10:28:00.164959', time_epoch_executed='1631294880.16' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1046'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/800779

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/800779/ft1_4FGL_J1449.6-2137_daily_bin1046.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/800779/ft1_4FGL_J1449.6-2137_daily_bin1046.fits outfile=/scratch/kocevski/800779/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1046.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=510451201.0 tmax=510710401.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.95
user 3.70
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.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/800779/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1046.fits evtable="EVENTS" outfile="/scratch/kocevski/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits" evtable="EVENTS" scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits sctable="SC_DATA" outfile=/scratch/kocevski/800779/ltcube_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.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/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits
.....................!
real 12.81
user 12.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits sctable="SC_DATA" expcube=/scratch/kocevski/800779/ltcube_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.fits outfile=/scratch/kocevski/800779/expmap_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.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/800779/ltcube_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.fits
.....................!
real 191.61
user 186.28
sys 4.62

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/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits outfile=/scratch/kocevski/800779/cmap_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits outfile=/scratch/kocevski/800779/cmap_HighResolution_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.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/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits evtable="EVENTS" scfile=/scratch/kocevski/800779/ft2_4FGL_J1449.6-2137_daily_bin1046.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/800779/Model_4FGL_J1449.6-2137_daily_bin1046.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/800779/ft1_filtered_4FGL_J1449.6-2137_daily_bin1046.fits.....................!
real 63.83
user 62.05
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    21.570       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.228       1.0000         .10000E-03   10000.    
     4 'Prefactor '    59.922       1.0000         .10000E-03   10000.    
     5 'Prefactor '    34.057       1.0000         .10000E-03   10000.    
     6 'norm      '    .39571       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    208.34       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.5488       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.304       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.425       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.1098       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.5035       1.0000         .10000E-03   10000.    
    17 'norm      '    3.7736       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .91907       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95082       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=   6700.270     FROM MIGRAD    STATUS=CONVERGED    383 CALLS     1882 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.744        .15944E-05** at limit **
   2  Prefactor     21.570        21.109        .10240E-06   -.55456E-05
   3  Prefactor     21.241        31.853       -.21807E-05    .87810E-05
   4  Prefactor     59.925        56.323        .64671E-07    .19926E-04
   5  Prefactor     34.047        36.192        .15434E-05    .21728E-05
   6  norm          .31731        8.4964       -.19580E-05    .18952E-03
   7  Prefactor     .10000E-03    13.024        .12616E-05** at limit **
   8  Prefactor     .10002E-03    11.199        .47933E-05** at limit **
   9  Prefactor     208.33        98.009        .47302E-06    .19508E-05
  10  Prefactor     8.5689        207.97       -.13756E-04   -.68276E-04
  11  Prefactor     .10000E-03    22.938       -.12178E-05** at limit **
  12  Prefactor     13.437        587.13       -.37987E-04   -.27989E-05
  13  Prefactor     14.422        19.499        .64192E-07   -.61449E-05
  14  Prefactor     .10000E-03    7.6868        .59582E-07** at limit **
  15  norm          1.1097        .74961       -.12224E-06   -.43708E-03
  16  Prefactor     1.5028        17.139        .22003E-04   -.15981E-03
  17  norm          3.7736        3.6009       -.20005E-05   -.56234E-04
  18  Normalizat    .91916        .29487        .25546E-05   -.85636E-04
  19  Prefactor     .95084        .97541E-01   -.10949E-05   -.10108E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 21.5704
  Prefactor  = 21.2408
  Prefactor  = 59.9252
  Prefactor  = 34.0468
  norm       = 0.31731
  Prefactor  = 0.000100003
  Prefactor  = 0.000100017
  Prefactor  = 208.333
  Prefactor  = 8.56893
  Prefactor  = 0.0001
  Prefactor  = 13.4368
  Prefactor  = 14.4217
  Prefactor  = 0.0001
  norm       = 1.10972
  Prefactor  = 1.50276
  norm       = 3.7736
  Normalizat = 0.919156
  Prefactor  = 0.950836
 **********
 **   18 **HESSE 
 **********

 FCN=   6700.270     FROM HESSE     STATUS=OK           266 CALLS     2148 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.723        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.570        21.111        .86243E-04   -1.4779    
   3  Prefactor     21.241        31.798        .86935E-04   -1.4786    
   4  Prefactor     59.925        56.306        .51831E-04   -1.4158    
   5  Prefactor     34.047        36.176        .68666E-04   -1.4540    
   6  norm          .31731        79.680        .44593E-02   -1.5595    
   7  Prefactor     .10000E-03    13.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10002E-03    11.695        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     208.33        97.998        .28006E-04   -1.2811    
  10  Prefactor     8.5689        205.37        .13710E-03   -1.5122    
  11  Prefactor     .10000E-03    22.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.437        578.53        .10982E-03   -1.4975    
  13  Prefactor     14.422        19.478        .10546E-03   -1.4948    
  14  Prefactor     .10000E-03    7.7356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.1097        .73225        .55958E-04   -1.5497    
  16  Prefactor     1.5028        17.383        .17456E-02   -1.5463    
  17  norm          3.7736        3.6280        .13400E-03   -1.5319    
  18  Normalizat    .91916        .33370        .46183E-03   -.95790    
  19  Prefactor     .95084        .11233        .15571E-03   -.94387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.17999e-09
Minuit parameter uncertainties:
  1  9.12902e-05
  2  21.1187
  3  31.8238
  4  56.3559
  5  36.1994
  6  10.0684
  7  0.000394711
  8  0.000902456
  9  98.0754
  10  84.2253
  11  0.000205185
  12  178.205
  13  19.4864
  14  9.64643e-06
  15  0.732259
  16  10.2253
  17  3.62822
  18  0.334454
  19  0.11236
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.442e+01  1.949e+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:  9.508e-01  1.124e-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.192e-01  3.345e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/800779/likelihoodResults_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.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) = 6698.14038798
delta logL = 2.12967049207

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6697.79690754
delta logL = 2.47315093617

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.0598       1.0000          .0000       10.000    
     3 'Normalizat'    .65094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6697.797     FROM MIGRAD    STATUS=CONVERGED    200 CALLS      558 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .14981E-02    .46369E-07** at limit **
   2  Index         8.0596        .19663       -.11284E-05   -.69185E-04
   3  Normalizat    .65231        .33943        .61237E-05    .12050E-04
   4  Prefactor     1.0166        .11441       -.13518E-05    .12013E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.05963
  Normalizat = 0.652314
  Prefactor  = 1.01659
 **********
 **   18 **HESSE 
 **********

 FCN=   6697.797     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      601 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .17902E-02    .28462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.0596        1.7625        .84864E-01    .65849    
   3  Normalizat    .65231        .94361E-01    .12148       -1.0581    
   4  Prefactor     1.0166        .31120E-01    .42443E-01   -.92179    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.03155e-09
Minuit parameter uncertainties:
  1  1.40619e-08
  2  1.82682
  3  0.0943841
  4  0.0311201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/800779': 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) = 6697.79689007
delta logL = 2.47316840703

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  1.406e-08  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  8.060e+00  1.827e+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:  1.017e+00  3.112e-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:  6.523e-01  9.438e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.45
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 8.06 +/- 1.83
Photon Flux (Free Index): 2.89e-07 +/- 1.30e-06
Energy Flux (Free Index): 3.35e-05 +/- 1.51e-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/800779/cmap_HighResolution_510451201_510710401_4FGL_J1449.6-2137_daily_bin1046.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.65e-02', comment='SUCCESS', energy_flux2='3.35e-05', dlogl='2.47e+00', photon_flux2='2.89e-07', job_status='DONE', time_completed='2021-09-10 10:38:49.419026', photon_index_error2='1.83', photon_index2='8.06', ts='0.69', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='2.14e-07', energy_flux_error2='1.51e-04', EG='0.92', time_epoch_completed='1631295529.42', return_code='0', job_id='800779', GAL2='1.02', EG2='0.65', return_code2='102', photon_flux_error2='1.30e-06', ts2='6.45', photon_index='2.36' WHERE bin_id='1046' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:38:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 800779: <4FGL_J1449.6-2137_daily_bin1046> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1046 222.422 -21.6271 510451201 510710401 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 :                                   646.14 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             329.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            768 sec.

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

