/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 155 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 = 7169
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1449.6-2137_daily_bin260
RA = 222.422, Dec = -21.6271
tmin = 306720001, tmax = 306979201
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='795187', job_status='RUN', time_executed='2021-09-10 10:13:57.616582', time_epoch_executed='1631294037.62' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='260'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/795187

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/795187/ft1_4FGL_J1449.6-2137_daily_bin260.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/795187/ft1_4FGL_J1449.6-2137_daily_bin260.fits outfile=/scratch/kocevski/795187/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin260.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=306720001.0 tmax=306979201.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.91
user 4.64
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/795187/ft1_filtered_4FGL_J1449.6-2137_daily_bin260.fits" evtable="EVENTS" scfile=/scratch/kocevski/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits sctable="SC_DATA" outfile=/scratch/kocevski/795187/ltcube_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.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/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits
.....................!
real 11.52
user 11.14
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/795187/ft1_filtered_4FGL_J1449.6-2137_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits sctable="SC_DATA" expcube=/scratch/kocevski/795187/ltcube_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.fits outfile=/scratch/kocevski/795187/expmap_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.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/795187/ltcube_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.fits
.....................!
real 190.84
user 185.01
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/795187/ft1_filtered_4FGL_J1449.6-2137_daily_bin260.fits scfile=/scratch/kocevski/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits outfile=/scratch/kocevski/795187/cmap_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.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.53
user 0.36
sys 0.17

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/795187/ft1_filtered_4FGL_J1449.6-2137_daily_bin260.fits evtable="EVENTS" scfile=/scratch/kocevski/795187/ft2_4FGL_J1449.6-2137_daily_bin260.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/795187/Model_4FGL_J1449.6-2137_daily_bin260.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/795187/ft1_filtered_4FGL_J1449.6-2137_daily_bin260.fits.....................!
real 96.13
user 94.69
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    96.020       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6228       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.024       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.199       1.0000         .10000E-03   10000.    
     6 'norm      '    10.648       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10882E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    59.901       1.0000         .10000E-03   10000.    
    11 'Prefactor '    38.160       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.9412       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.600       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3977       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5787       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4407       1.0000         .10000E-03   10000.    
    17 'norm      '    .10075E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .68168       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0186       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=   11341.64     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1851 TOTAL
                     EDM=   .78E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     96.003        54.134        .18608E-05    .11322E-04
   2  Prefactor     .10000E-03    6.9761       -.72691E-07** at limit **
   3  Prefactor     7.6225        10.846        .17630E-06   -.17214E-05
   4  Prefactor     20.018        37.399        .97843E-06   -.27822E-05
   5  Prefactor     16.182        23.397        .29191E-05    .20977E-04
   6  norm          10.648        9.8236        .23317E-06   -.68089E-05
   7  Prefactor     .10000E-03    8.3470       -.76586E-06** at limit **
   8  Prefactor     .10000E-03    2.3117        .29798E-07** at limit **
   9  Prefactor     .10000E-03    13.080       -.10243E-06** at limit **
  10  Prefactor     59.908        45.736       -.63892E-06   -.73828E-05
  11  Prefactor     38.148        36.615        .20030E-05    .86829E-05
  12  Prefactor     5.8148        306.10        .43937E-04   -.94862E-05
  13  Prefactor     16.600        9.9679        .19268E-06   -.20958E-04
  14  Prefactor     3.3989        7.9750        .25574E-05    .80633E-05
  15  norm          1.5787        .61263       -.10031E-07   -.20185E-03
  16  Prefactor     2.4374        5.9872        .44810E-05   -.13171E-04
  17  norm          .10000E-03    1.1384        .63442E-06** at limit **
  18  Normalizat    .68157        .21357       -.19730E-05   -.11983E-03
  19  Prefactor     1.0187        .76723E-01   -.55011E-06   -.50866E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 96.0034
  Prefactor  = 0.0001
  Prefactor  = 7.62251
  Prefactor  = 20.0176
  Prefactor  = 16.1816
  norm       = 10.648
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 59.9078
  Prefactor  = 38.1482
  Prefactor  = 5.81482
  Prefactor  = 16.6002
  Prefactor  = 3.39885
  norm       = 1.57874
  Prefactor  = 2.43744
  norm       = 0.0001
  Normalizat = 0.681572
  Prefactor  = 1.01867
 **********
 **   18 **HESSE 
 **********

 FCN=   11341.64     FROM HESSE     STATUS=OK           274 CALLS     2125 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     96.003        54.172        .20509E-03   -1.3745    
   2  Prefactor     .10000E-03    6.9880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6225        10.840        .14525E-03   -1.5156    
   4  Prefactor     20.018        37.356        .89508E-04   -1.4813    
   5  Prefactor     16.182        23.394        .99512E-04   -1.4903    
   6  norm          10.648        9.8147        .12278E-03   -1.5055    
   7  Prefactor     .10000E-03    8.3968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.3299        .15759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     59.908        45.604        .51840E-04   -1.4158    
  11  Prefactor     38.148        36.615        .64882E-04   -1.4472    
  12  Prefactor     5.8148        306.44        .16474E-03   -1.5226    
  13  Prefactor     16.600        9.9612        .98303E-04   -1.4893    
  14  Prefactor     3.3989        7.8845        .10974E-02   -1.5339    
  15  norm          1.5787        .61057        .49606E-04   -1.5457    
  16  Prefactor     2.4374        5.9710        .13094E-02   -1.5396    
  17  norm          .10000E-03    1.1592        .11112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .68157        .23588        .48230E-03   -1.0462    
  19  Prefactor     1.0187        .85868E-01    .14615E-03   -.92110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.41681e-10
Minuit parameter uncertainties:
  1  54.2
  2  4.35113e-07
  3  10.843
  4  37.3992
  5  23.4074
  6  9.81618
  7  8.92739e-05
  8  5.92923e-06
  9  2.34892e-06
  10  45.6304
  11  36.6366
  12  84.8864
  13  9.96224
  14  7.88691
  15  0.610571
  16  5.97241
  17  2.15156e-06
  18  0.236233
  19  0.0858791
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.660e+01  9.962e+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

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.019e+00  8.588e-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.816e-01  2.362e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.76
Ra Dec: 222.422 -21.627
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 6.50e-08 +/- 3.90e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 1.34e-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) = 11341.4553502
delta logL = 0.181328110444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11341.3426556
delta logL = 0.294022735237

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.352       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9531       1.0000          .0000       10.000    
     3 'Normalizat'    .70746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0139       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=   11341.34     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      227 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.340        282.80        .20723E-02    .18421E-03
   2  Index         1.9532        2.9240        .22652        .62788E-04
   3  Normalizat    .70822        .10439        .10687        .59106E-04
   4  Prefactor     1.0136        .26746E-01    .42805E-01   -.15902E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.3399
  Index      = 1.95319
  Normalizat = 0.708221
  Prefactor  = 1.01362
 **********
 **   18 **HESSE 
 **********

 FCN=   11341.34     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.340        15.637        .41445E-03   -1.4741    
   2  Index         1.9532        .51891        .77524E-02   -.65526    
   3  Normalizat    .70822        .23113        .47375E-03   -1.0357    
   4  Prefactor     1.0136        .84245E-01    .14648E-03   -.92277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03082e-12
Minuit parameter uncertainties:
  1  15.6395
  2  0.520405
  3  0.231451
  4  0.0842555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/795187': 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) = 11341.3426479
delta logL = 0.294030396797

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  2.334e+01  1.564e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  1.953e+00  5.204e-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.014e+00  8.426e-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:  7.082e-01  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.33
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 1.95 +/- 0.52
Photon Flux (Free Index): 4.39e-08 +/- 3.99e-08
Energy Flux (Free Index): 3.42e-05 +/- 3.27e-05

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/795187/cmap_HighResolution_306720001_306979201_4FGL_J1449.6-2137_daily_bin260.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.50e-08', energy_flux2='3.42e-05', photon_flux_error='3.90e-08', dlogl='2.94e-01', energy_flux='2.24e-05', photon_flux2='4.39e-08', job_status='DONE', time_completed='2021-09-10 10:26:36.166693', photon_index_error2='0.52', photon_index2='1.95', ts='6.76', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.27e-05', EG='0.68', time_epoch_completed='1631294796.17', return_code='0', job_id='795187', GAL2='1.01', EG2='0.71', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='3.99e-08', ts2='7.33', photon_index='2.36' WHERE bin_id='260' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:26:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 795187: <4FGL_J1449.6-2137_daily_bin260> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin260> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:11:06 2021
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:11:09 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:11:09 2021
Terminated at Fri Sep 10 10:26:36 2021
Results reported at Fri Sep 10 10:26:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin260 222.422 -21.6271 306720001 306979201 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 :                                   757.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             285.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            930 sec.

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

