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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1338
RA = 222.422, Dec = -21.6271
tmin = 586137601, tmax = 586396801
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='801172', job_status='RUN', time_executed='2021-09-10 10:26:46.824464', time_epoch_executed='1631294806.82' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/801172

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/801172/ft1_4FGL_J1449.6-2137_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/801172/ft1_4FGL_J1449.6-2137_daily_bin1338.fits outfile=/scratch/kocevski/801172/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1338.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=586137601.0 tmax=586396801.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.74
user 4.37
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/801172/ft1_filtered_4FGL_J1449.6-2137_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/801172/ltcube_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.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/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits
.....................!
real 9.98
user 9.65
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/801172/ft1_filtered_4FGL_J1449.6-2137_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/801172/ltcube_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.fits outfile=/scratch/kocevski/801172/expmap_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.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/801172/ltcube_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.fits
.....................!
real 191.82
user 186.50
sys 4.97

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/801172/ft1_filtered_4FGL_J1449.6-2137_daily_bin1338.fits scfile=/scratch/kocevski/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits outfile=/scratch/kocevski/801172/cmap_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/801172/ft1_filtered_4FGL_J1449.6-2137_daily_bin1338.fits scfile=/scratch/kocevski/801172/ft2_4FGL_J1449.6-2137_daily_bin1338.fits outfile=/scratch/kocevski/801172/cmap_HighResolution_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.583       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.9782       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.451       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4091       1.0000         .10000E-03   10000.    
    12 'Prefactor '    73.793       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .50995       1.0000         .10000E-03   10000.    
    15 'norm      '    1.5201       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .32960E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2475       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .91155       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=   11913.27     FROM MIGRAD    STATUS=CONVERGED    388 CALLS     1899 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.093       -.17973E-06** at limit **
   2  Prefactor     .10000E-03    16.008        .20542E-05** at limit **
   3  Prefactor     41.581        23.607       -.17437E-05   -.10227E-04
   4  Prefactor     2.9613        62.953       -.20006E-04   -.24619E-04
   5  Prefactor     .10000E-03    10.885       -.10709E-06** at limit **
   6  norm          .10000E-03    2.6301       -.25960E-07** at limit **
   7  Prefactor     24.295        20.078        .17585E-05    .52928E-04
   8  Prefactor     .10000E-03    1.6556       -.14082E-06** at limit **
   9  Prefactor     .10000E-03    16.218       -.18986E-05** at limit **
  10  Prefactor     11.445        32.761        .14591E-05   -.35968E-04
  11  Prefactor     3.3670        35.526        .24930E-04   -.44884E-04
  12  Prefactor     73.779        95.116       -.15553E-04    .16185E-04
  13  Prefactor     .10000E-03    3.6030       -.23935E-07** at limit **
  14  Prefactor     .52369        4.3637       -.13661E-05    .12666E-04
  15  norm          1.5202        .55500       -.84691E-08   -.62338E-06
  16  Prefactor     .10011E-03    3.2527        .17243E-06** at limit **
  17  norm          .10000E-03    1.2878        .24469E-07** at limit **
  18  Normalizat    1.2475        .20098       -.20924E-06    .81859E-04
  19  Prefactor     .91155        .70873E-01    .13379E-06    .21064E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.5807
  Prefactor  = 2.96129
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.2948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4445
  Prefactor  = 3.36696
  Prefactor  = 73.7793
  Prefactor  = 0.0001
  Prefactor  = 0.523687
  norm       = 1.52017
  Prefactor  = 0.000100113
  norm       = 0.0001
  Normalizat = 1.24755
  Prefactor  = 0.911549
 **********
 **   18 **HESSE 
 **********

 FCN=   11913.27     FROM HESSE     STATUS=OK           276 CALLS     2175 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.132        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     41.581        23.636        .62164E-04   -1.4417    
   4  Prefactor     2.9613        63.976        .23526E-03   -1.5364    
   5  Prefactor     .10000E-03    10.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.6337        .17285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.295        20.075        .81268E-04   -1.4722    
   8  Prefactor     .10000E-03    1.6659        .13688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    16.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.445        32.610        .11839E-03   -1.5031    
  11  Prefactor     3.3670        34.599        .21910E-03   -1.5341    
  12  Prefactor     73.779        95.033        .46738E-04   -1.3988    
  13  Prefactor     .10000E-03    3.6227        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52369        20.484        .42108E-02   -1.5563    
  15  norm          1.5202        .55348        .47186E-04   -1.5461    
  16  Prefactor     .10011E-03    4.3064        .57310E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.3085        .12058E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2475        .23653        .38267E-03   -.85146    
  19  Prefactor     .91155        .84177E-01    .15604E-03   -.95739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44758e-10
Minuit parameter uncertainties:
  1  9.52847e-07
  2  4.91047e-06
  3  23.6412
  4  27.5614
  5  3.96406e-05
  6  2.11708e-06
  7  20.0802
  8  2.08808e-05
  9  1.49076e-06
  10  32.6606
  11  21.6023
  12  95.2291
  13  3.28758e-06
  14  6.55222
  15  0.553477
  16  0.0013977
  17  1.33351e-06
  18  0.236736
  19  0.0841892
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  3.288e-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:  9.115e-01  8.419e-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.248e+00  2.367e-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: 5.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/801172/likelihoodResults_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.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) = 11913.2737471
delta logL = -0.00131562472598

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11913.2724345
delta logL = -3.00589817925e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11442E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3322       1.0000          .0000       10.000    
     3 'Normalizat'    1.2471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91168       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=   11913.27     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      246 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10542E-03    1.1673        .18142E-01** at limit **
   2  Index         2.2030        7.7901        .50000        .53274E-04
   3  Normalizat    1.2475        .27604E-02    .38267E-03   -.23886E-04
   4  Prefactor     .91155        .98617E-03    .15604E-03   -.43715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105419
  Index      = 2.20303
  Normalizat = 1.24755
  Prefactor  = 0.911549
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10542E-03    40.277        .21984E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2030        8.3270        .50000       -.59366    
   3  Normalizat    1.2475        .16219E-01    .15307E-04   -.85146    
   4  Prefactor     .91155        .57941E-02    .31208E-04   -.95739    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.93879e-08
Minuit parameter uncertainties:
  1  0.0295669
  2  274.618
  3  0.0162186
  4  0.00579408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/801172': 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) = 11913.2724299
delta logL = 1.64656557899e-06

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.054e-04  2.957e-02  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.203e+00  2.746e+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:  9.115e-01  5.794e-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.248e+00  1.622e-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/801172/cmap_HighResolution_586137601_586396801_4FGL_J1449.6-2137_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.41e-03', job_status='DONE', photon_flux_upper_limit='5.72e-08', time_completed='2021-09-10 10:41:39.693435', job_id='801172', GAL2='0.91', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1631295699.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='1.65e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1338' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:41:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0139>
Subject: Job 801172: <4FGL_J1449.6-2137_daily_bin1338> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1338 222.422 -21.6271 586137601 586396801 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 :                                   892.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            913 sec.

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

