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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1022
RA = 222.422, Dec = -21.6271
tmin = 504230401, tmax = 504489601
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='799483', job_status='RUN', time_executed='2021-09-10 10:22:37.060920', time_epoch_executed='1631294557.06' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1022'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/799483

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/799483/ft1_4FGL_J1449.6-2137_daily_bin1022.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/799483/ft1_4FGL_J1449.6-2137_daily_bin1022.fits outfile=/scratch/kocevski/799483/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1022.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=504230401.0 tmax=504489601.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.60
user 3.35
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/799483/ft1_filtered_4FGL_J1449.6-2137_daily_bin1022.fits" evtable="EVENTS" scfile=/scratch/kocevski/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits sctable="SC_DATA" outfile=/scratch/kocevski/799483/ltcube_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.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/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits
.....................!
real 12.42
user 12.06
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/799483/ft1_filtered_4FGL_J1449.6-2137_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits sctable="SC_DATA" expcube=/scratch/kocevski/799483/ltcube_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.fits outfile=/scratch/kocevski/799483/expmap_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.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/799483/ltcube_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.fits
.....................!
real 190.30
user 185.23
sys 4.64

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/799483/ft1_filtered_4FGL_J1449.6-2137_daily_bin1022.fits scfile=/scratch/kocevski/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits outfile=/scratch/kocevski/799483/cmap_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.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.54
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/799483/ft1_filtered_4FGL_J1449.6-2137_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/799483/ft2_4FGL_J1449.6-2137_daily_bin1022.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/799483/Model_4FGL_J1449.6-2137_daily_bin1022.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/799483/ft1_filtered_4FGL_J1449.6-2137_daily_bin1022.fits.....................!
real 113.24
user 111.72
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.548       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.127       1.0000         .10000E-03   10000.    
     6 'norm      '    5.6569       1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.516       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.6822       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2091       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11781E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0963       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0200       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=   13643.09     FROM MIGRAD    STATUS=CONVERGED    398 CALLS     1664 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.870       -.60935E-08** at limit **
   2  Prefactor     .10001E-03    8.6336       -.19055E-07** at limit **
   3  Prefactor     15.548        16.469       -.10377E-08   -.59981E-04
   4  Prefactor     .10001E-03    9.4282        .14604E-07** at limit **
   5  Prefactor     36.128        27.320        .72438E-08   -.76597E-03
   6  norm          5.6561        9.2635       -.57756E-07   -.98947E-04
   7  Prefactor     21.512        15.308       -.53241E-08    .68115E-04
   8  Prefactor     .10000E-03    2.7404       -.21955E-08** at limit **
   9  Prefactor     .10000E-03    7.4700        .36658E-08** at limit **
  10  Prefactor     .10000E-03    43.544       -.38661E-08** at limit **
  11  Prefactor     .10000E-03    5.5958       -.18145E-08** at limit **
  12  Prefactor     .10000E-03    22.979        .22184E-08** at limit **
  13  Prefactor     .10000E-03    2.8880       -.10997E-08** at limit **
  14  Prefactor     1.6835        1.4447       -.42159E-06   -.13756E-03
  15  norm          1.2091        .54214        .71722E-09   -.12888E-02
  16  Prefactor     .10000E-03    4.6771        .85088E-08** at limit **
  17  norm          .10000E-03    .90880        .10794E-07** at limit **
  18  Normalizat    1.0961        .19361        .32466E-07   -.44427E-03
  19  Prefactor     1.0200        .70173E-01    .20313E-07   -.99038E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100012
  Prefactor  = 15.5482
  Prefactor  = 0.000100008
  Prefactor  = 36.128
  norm       = 5.65607
  Prefactor  = 21.5118
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.68349
  norm       = 1.20911
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.09615
  Prefactor  = 1.01999
 **********
 **   18 **HESSE 
 **********

 FCN=   13643.09     FROM HESSE     STATUS=OK           262 CALLS     1926 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    8.7125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     15.548        16.460        .10158E-03   -1.4919    
   4  Prefactor     .10001E-03    9.4320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     36.128        27.314        .66676E-04   -1.4505    
   6  norm          5.6561        9.4461        .84447E-03   -1.5232    
   7  Prefactor     21.512        15.303        .86350E-04   -1.4780    
   8  Prefactor     .10000E-03    2.8115        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.4718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.9043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.6835        8.8937        .16238E-02   -1.5448    
  15  norm          1.2091        .53946        .55176E-04   -1.5488    
  16  Prefactor     .10000E-03    4.7709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    3.6135        .21495E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0961        .22585        .41221E-03   -.89876    
  19  Prefactor     1.0200        .82760E-01    .15380E-03   -.92066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93843e-09
Minuit parameter uncertainties:
  1  0.000250076
  2  0.000643948
  3  16.4645
  4  0.000558088
  5  27.3233
  6  9.44861
  7  15.3058
  8  2.41475e-05
  9  0.000130531
  10  0.000151384
  11  4.51513e-05
  12  0.000109717
  13  1.01143e-05
  14  7.74043
  15  0.53946
  16  2.60232e-05
  17  2.5139e-05
  18  0.22605
  19  0.0827698
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  1.011e-05  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.020e+00  8.277e-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.096e+00  2.261e-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: 4.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/799483/likelihoodResults_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.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) = 13643.0893165
delta logL = -0.00164064860292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 13643.0876757
delta logL = 1.70544808498e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10214E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3313       1.0000          .0000       10.000    
     3 'Normalizat'    1.0960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0200       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=   13643.09     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      244 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10280E-03    1.0491        .18142E-01** at limit **
   2  Index         2.2477        5.5084        .50000        .69665E-04
   3  Normalizat    1.0962        .28440E-02    .41221E-03   -.79429E-05
   4  Prefactor     1.0200        .10352E-02    .15380E-03   -.32080E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102797
  Index      = 2.24774
  Normalizat = 1.09615
  Prefactor  = 1.01999
 **********
 **   18 **HESSE 
 **********

 FCN=   13643.09     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .42E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10280E-03    23.958        .20581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2477        5.2238        .50000       -.58291    
   3  Normalizat    1.0962        .13557E-01    .16488E-04   -.89876    
   4  Prefactor     1.0200        .49347E-02    .61522E-05   -.92066    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.15057e-08
Minuit parameter uncertainties:
  1  0.0163798
  2  157.834
  3  0.0135569
  4  0.00493472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/799483': 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) = 13643.0876741
delta logL = 1.73621083377e-06

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.028e-04  1.638e-02  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.248e+00  1.578e+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:  1.020e+00  4.935e-03  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.096e+00  1.356e-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/799483/cmap_HighResolution_504230401_504489601_4FGL_J1449.6-2137_daily_bin1022.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2021-09-10 10:38:11.696042', job_id='799483', GAL2='1.02', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1631295491.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.74e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1022' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:38:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 799483: <4FGL_J1449.6-2137_daily_bin1022> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1022> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 10:21:35 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:21:37 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:21:37 2021
Terminated at Fri Sep 10 10:38:12 2021
Results reported at Fri Sep 10 10:38:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1022 222.422 -21.6271 504230401 504489601 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 :                                   934.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             363.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

