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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin235
RA = 222.422, Dec = -21.6271
tmin = 300240001, tmax = 300499201
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='793952', job_status='RUN', time_executed='2021-09-10 10:09:28.604072', time_epoch_executed='1631293768.6' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/793952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/793952/ft1_4FGL_J1449.6-2137_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/793952/ft1_4FGL_J1449.6-2137_daily_bin235.fits outfile=/scratch/kocevski/793952/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin235.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=300240001.0 tmax=300499201.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.42
user 3.17
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/793952/ltcube_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.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/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits
.....................!
real 11.97
user 11.53
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/793952/ltcube_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.fits outfile=/scratch/kocevski/793952/expmap_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.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/793952/ltcube_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.fits
.....................!
real 189.97
user 185.09
sys 4.54

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/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits scfile=/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits outfile=/scratch/kocevski/793952/cmap_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits scfile=/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits outfile=/scratch/kocevski/793952/cmap_HighResolution_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=222.422 yref=-21.6271 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/793952/ft2_4FGL_J1449.6-2137_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/793952/Model_4FGL_J1449.6-2137_daily_bin235.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/793952/ft1_filtered_4FGL_J1449.6-2137_daily_bin235.fits.....................!
real 81.75
user 80.29
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38750E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10838E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   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      '    .11226       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .98546       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.601       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1044       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    5.6759       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4611       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89447       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=   8790.926     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1659 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    130.60        .42014E-06** at limit **
   2  Prefactor     .10000E-03    71.908        .92653E-06** at limit **
   3  Prefactor     .10000E-03    15.709       -.61143E-06** at limit **
   4  Prefactor     .10000E-03    15.295        .56440E-06** at limit **
   5  Prefactor     .10000E-03    15.590       -.75545E-07** at limit **
   6  norm          .27840        8.0494       -.11554E-05    .25828E-03
   7  Prefactor     .10000E-03    6.4083        .14370E-07** at limit **
   8  Prefactor     .98297        5.1535        .34897E-05    .21188E-04
   9  Prefactor     28.581        36.761       -.23491E-06   -.67714E-04
  10  Prefactor     .10000E-03    32.601       -.69980E-06** at limit **
  11  Prefactor     .10000E-03    22.519        .13623E-06** at limit **
  12  Prefactor     .10001E-03    130.68       -.18112E-05** at limit **
  13  Prefactor     .10000E-03    11.616       -.54525E-07** at limit **
  14  Prefactor     .10000E-03    3.8941        .26068E-07** at limit **
  15  norm          2.1047        .78274        .14759E-06   -.22669E-04
  16  Prefactor     .10000E-03    2.5482       -.17743E-08** at limit **
  17  norm          5.6767        3.5520        .53601E-07   -.14920E-04
  18  Normalizat    1.4608        .25435       -.46623E-06   -.16271E-04
  19  Prefactor     .89448        .86433E-01   -.22891E-06   -.98353E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.278401
  Prefactor  = 0.0001
  Prefactor  = 0.982968
  Prefactor  = 28.5809
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.10467
  Prefactor  = 0.0001
  norm       = 5.67671
  Normalizat = 1.46081
  Prefactor  = 0.894478
 **********
 **   18 **HESSE 
 **********

 FCN=   8790.926     FROM HESSE     STATUS=OK           262 CALLS     1921 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    132.50        .21278E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    74.477        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    15.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27840        83.437        .48749E-02   -1.5602    
   7  Prefactor     .10000E-03    6.4134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .98297        5.1677        .40798E-03   -1.5510    
   9  Prefactor     28.581        36.776        .74913E-04   -1.4638    
  10  Prefactor     .10000E-03    32.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    130.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9057        .18067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1047        .78222        .24336E-03   -1.5418    
  16  Prefactor     .10000E-03    2.5534        .14610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.6767        3.5561        .13469E-03   -1.5231    
  18  Normalizat    1.4608        .30319        .39361E-03   -.78885    
  19  Prefactor     .89448        .10359        .16452E-03   -.96334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42723e-09
Minuit parameter uncertainties:
  1  0.000234563
  2  0.000365675
  3  0.000200105
  4  0.000215744
  5  3.56029e-05
  6  9.65117
  7  2.27864e-06
  8  4.50801
  9  36.8049
  10  0.000255488
  11  9.00662e-05
  12  0.00205316
  13  4.87404e-06
  14  2.05731e-06
  15  0.78222
  16  5.11186e-07
  17  3.55626
  18  0.303564
  19  0.103612
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  4.874e-06  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:  8.945e-01  1.036e-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.461e+00  3.036e-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.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/793952/likelihoodResults_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.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) = 8790.92638315
delta logL = -0.000405359838624

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8790.92597826
delta logL = -4.70572558697e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8790.926     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      246 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10081E-03    86.316        .18142E-02** at limit **
   2  Index         2.2954        7.4521        .50000        .11961E-04
   3  Normalizat    1.4608        .17944E-01    .39361E-03   -.32927E-05
   4  Prefactor     .89448        .60911E-02    .16452E-03   -.93981E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100812
  Index      = 2.29537
  Normalizat = 1.46081
  Prefactor  = 0.894478
 **********
 **   18 **HESSE 
 **********

 FCN=   8790.926     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10081E-03    399.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2954        7.7614        .50000       -.57154    
   3  Normalizat    1.4608        .39926E-01    .15744E-04   -.78885    
   4  Prefactor     .89448        .13552E-01    .65806E-05   -.96334    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.12663e-08
Minuit parameter uncertainties:
  1  0.0362762
  2  541.786
  3  0.0399268
  4  0.0135522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/793952': 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) = 8790.9259776
delta logL = 1.88992999028e-07

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.008e-04  3.628e-02  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.295e+00  5.418e+02  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:  8.945e-01  1.355e-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.461e+00  3.993e-02  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/793952/cmap_HighResolution_300240001_300499201_4FGL_J1449.6-2137_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-09-10 10:21:07.065915', job_id='793952', GAL2='0.89', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1631294467.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='235' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:21:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0261>
Subject: Job 793952: <4FGL_J1449.6-2137_daily_bin235> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin235> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 10:06:53 2021
Job was executed on host(s) <bullet0261>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:06:55 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:06:55 2021
Terminated at Fri Sep 10 10:21:07 2021
Results reported at Fri Sep 10 10:21:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin235 222.422 -21.6271 300240001 300499201 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 :                                   698.00 sec.
    Max Memory :                                 1114 MB
    Average Memory :                             278.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

