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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1372
RA = 222.422, Dec = -21.6271
tmin = 594950401, tmax = 595209601
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='801212', job_status='RUN', time_executed='2021-09-10 10:29:47.444968', time_epoch_executed='1631294987.44' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1372'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/801212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/801212/ft1_4FGL_J1449.6-2137_daily_bin1372.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/801212/ft1_4FGL_J1449.6-2137_daily_bin1372.fits outfile=/scratch/kocevski/801212/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1372.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=594950401.0 tmax=595209601.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 2.98
user 2.75
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/801212/ft1_filtered_4FGL_J1449.6-2137_daily_bin1372.fits" evtable="EVENTS" scfile=/scratch/kocevski/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits sctable="SC_DATA" outfile=/scratch/kocevski/801212/ltcube_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.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/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits
.....................!
real 13.36
user 12.90
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/801212/ft1_filtered_4FGL_J1449.6-2137_daily_bin1372.fits evtable="EVENTS" scfile=/scratch/kocevski/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits sctable="SC_DATA" expcube=/scratch/kocevski/801212/ltcube_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.fits outfile=/scratch/kocevski/801212/expmap_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.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/801212/ltcube_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.fits
.....................!
real 191.56
user 186.21
sys 4.72

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/801212/ft1_filtered_4FGL_J1449.6-2137_daily_bin1372.fits scfile=/scratch/kocevski/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits outfile=/scratch/kocevski/801212/cmap_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.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.62
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/801212/ft1_filtered_4FGL_J1449.6-2137_daily_bin1372.fits scfile=/scratch/kocevski/801212/ft2_4FGL_J1449.6-2137_daily_bin1372.fits outfile=/scratch/kocevski/801212/cmap_HighResolution_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    58.861       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    546.65       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10807E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    10000.       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10603E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     9 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    10 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    11 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    12 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    15 'norm      '    135.80       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11634E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    19 'Prefactor '    .18058       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=   137.1733     FROM MIGRAD    STATUS=CONVERGED    341 CALLS     2821 TOTAL
                     EDM=   .27E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.848        347.03       -.15348E-04    .12431E-04
   2  Prefactor     .10000E-03    79.492        .12838E-04** at limit **
   3  Prefactor     546.84        932.52        .84537E-04    .37770E-05
   4  Prefactor     .10000E-03    251.96        .64166E-04** at limit **
   5  Prefactor     .10000E-03    223.28       -.62805E-04** at limit **
   6  norm          10000.        9018.0        .18089E-02** at limit **
   7  Prefactor     .10000E-03    963.96       -.58340E-03** at limit **
   8  Prefactor     10000.        8944.4        .18041E-02** at limit **
   9  Prefactor    10000.0        5736.5        .27477E-02** at limit **
  10  Prefactor    10000.0        5358.9        .21536E-02** at limit **
  11  Prefactor    10000.0        8134.2        .83680E-03** at limit **
  12  Prefactor    10000.0        9628.8        .10809E-02** at limit **
  13  Prefactor    10000.0        7369.3        .16556E-02** at limit **
  14  Prefactor    10000.0        6197.5        .13269E-02** at limit **
  15  norm          135.74        117.83       -.36284E-04    .18991E-04
  16  Prefactor     .10000E-03    365.11        .18855E-03** at limit **
  17  norm          .10000E-03    83.329       -.18014E-04** at limit **
  18  Normalizat    .10000E-01    .69230       -.76770E-05** at limit **
  19  Prefactor     .18060        .24748        .24828E-05    .33265E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.8485
  Prefactor  = 0.0001
  Prefactor  = 546.844
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 135.742
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.180602
 **********
 **   18 **HESSE 
 **********

 FCN=   137.1733     FROM HESSE     STATUS=OK           250 CALLS     3071 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.848        386.80        .52293E-04   -1.4172    
   2  Prefactor     .10000E-03    79.492        .10230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     546.84        947.00        .87980E-04   -1.0987    
   4  Prefactor     .10000E-03    251.98        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    223.28        .17186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          10000.        9018.0        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    964.06        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10000.        8944.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        5736.7        .18240E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        5358.8        .18165E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        8134.4        .20258E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor    10000.0        9628.8        .19751E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor    10000.0        7370.7        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor    10000.0        6197.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          135.74        118.22        .17280E-03   -1.3372    
  16  Prefactor     .10000E-03    365.15        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    83.329        .10474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .10000E-01    .70598        .58617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .18060        .25710        .15643E-03   -1.3012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.76627e-11
Minuit parameter uncertainties:
  1  304.651
  2  8.62508e-07
  3  976.769
  4  8.5963e-05
  5  3.78473e-05
  6  1.58703e-05
  7  0.000506579
  8  0.000185931
  9  0.0030834
  10  0.00100899
  11  0.00273335
  12  0.00454663
  13  0.0267057
  14  0.00135253
  15  118.424
  16  0.000355427
  17  0.000126927
  18  8.89536e-06
  19  0.25872
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e+04  2.671e-02  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.806e-01  2.587e-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.000e-02  8.895e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.92
Ra Dec: 222.422 -21.627
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 3.91e-05 +/- 1.04e-10
Energy Flux (Fixed Index): 1.35e-02 +/- 3.60e-08
calc_int error: parameter max 10000.0 is not large enough
delta logLike = 8.26416453492e-07

TS (Fixed Index): 1.92
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.71e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/801212/likelihoodResults_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.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) = 52.3998380794
delta logL = 84.7734754694

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 52.3998380794
delta logL = 84.7734754694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       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=   52.39984     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       51 TOTAL
                     EDM=   .11E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        .38964E-01    .20078E-01** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   52.39984     FROM HESSE     STATUS=OK             5 CALLS       56 TOTAL
                     EDM=   .11E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        .38963E-01    .44365E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1013e-14
Minuit parameter uncertainties:
  1  8.18857e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/801212': 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) = 52.3998380794
delta logL = 84.7734754694

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
296        Index:  1.000e+01  8.189e-09  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.805e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 171.46
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 3.99e+03 +/- 8.06e-05
Energy Flux (Free Index): 4.46e+05 +/- 9.01e-03

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/801212/cmap_HighResolution_594950401_595209601_4FGL_J1449.6-2137_daily_bin1372.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.71e+04', comment='SUCCESS', photon_flux='3.91e-05', energy_flux2='4.46e+05', photon_flux_error='1.04e-10', dlogl='8.48e+01', energy_flux='1.35e-02', photon_flux2='3.99e+03', job_status='DONE', time_completed='2021-09-10 10:35:23.755069', photon_index_error2='0.00', photon_index2='10.00', ts='1.92', fit_tolerance='1e-08', GAL='0.18', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='9.01e-03', EG='0.01', time_epoch_completed='1631295323.76', return_code='0', job_id='801212', GAL2='0.18', EG2='0.01', return_code2='0', energy_flux_error='3.60e-08', photon_flux_error2='8.06e-05', ts2='171.46', photon_index='2.36' WHERE bin_id='1372' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:35:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 801212: <4FGL_J1449.6-2137_daily_bin1372> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1372 222.422 -21.6271 594950401 595209601 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 :                                   331.43 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             411.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   530 sec.
    Turnaround time :                            530 sec.

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

