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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin195
RA = 222.422, Dec = -21.6271
tmin = 289872001, tmax = 290131201
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='793888', job_status='RUN', time_executed='2021-09-10 10:10:13.233415', time_epoch_executed='1631293813.23' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/793888

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/793888/ft1_4FGL_J1449.6-2137_daily_bin195.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/793888/ft1_4FGL_J1449.6-2137_daily_bin195.fits outfile=/scratch/kocevski/793888/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin195.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=289872001.0 tmax=290131201.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.53
user 3.28
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/793888/ft1_filtered_4FGL_J1449.6-2137_daily_bin195.fits" evtable="EVENTS" scfile=/scratch/kocevski/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits sctable="SC_DATA" outfile=/scratch/kocevski/793888/ltcube_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.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/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits
.....................!
real 11.92
user 11.54
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/793888/ft1_filtered_4FGL_J1449.6-2137_daily_bin195.fits evtable="EVENTS" scfile=/scratch/kocevski/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits sctable="SC_DATA" expcube=/scratch/kocevski/793888/ltcube_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.fits outfile=/scratch/kocevski/793888/expmap_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.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/793888/ltcube_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.fits
.....................!
real 191.08
user 186.27
sys 4.01

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/793888/ft1_filtered_4FGL_J1449.6-2137_daily_bin195.fits scfile=/scratch/kocevski/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits outfile=/scratch/kocevski/793888/cmap_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/793888/ft1_filtered_4FGL_J1449.6-2137_daily_bin195.fits scfile=/scratch/kocevski/793888/ft2_4FGL_J1449.6-2137_daily_bin195.fits outfile=/scratch/kocevski/793888/cmap_HighResolution_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.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.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.090       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11399E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.432       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    24.342       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    36.642       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    50.938       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13215E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5744       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5758       1.0000         .10000E-03   10000.    
    15 'norm      '    1.9651       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12854E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    5.7716       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3083       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .93448       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=   7573.649     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     2448 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.067        63.091        .49368E-04   -.65954E-04
   2  Prefactor     .10000E-03    11.372        .18142E-02** at limit **
   3  Prefactor     14.429        19.528        .10543E-03   -.46367E-05
   4  Prefactor     .10000E-03    35.777        .17405    ** at limit **
   5  Prefactor     .10000E-03    19.214        .18142E-02** at limit **
   6  norm          24.337        17.037        .81189E-04   -.55731E-04
   7  Prefactor     .10000E-03    41.332        .18142E-02** at limit **
   8  Prefactor     .10000E-03    1.8994        .11703E-02** at limit **
   9  Prefactor     36.674        63.822        .66208E-04   -.36059E-05
  10  Prefactor     .10000E-03    21.118        .18142E-02** at limit **
  11  Prefactor     50.928        48.350        .56191E-04   -.68627E-04
  12  Prefactor     .10000E-03    96.149        .18142E-02** at limit **
  13  Prefactor     1.5542        64.342        .33868E-03   -.90970E-05
  14  Prefactor     9.5830        15.783        .12950E-03    .13730E-03
  15  norm          1.9652        .79825        .47805E-04   -.12842E-03
  16  Prefactor     .10000E-03    42.711        .38559E-02** at limit **
  17  norm          5.7749        3.5895        .12545E-03    .62437E-03
  18  Normalizat    1.3082        .34377        .42911E-03    .52722E-04
  19  Prefactor     .93450        .11304        .16748E-03   -.58797E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.0667
  Prefactor  = 0.0001
  Prefactor  = 14.4286
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 24.3369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.6739
  Prefactor  = 0.0001
  Prefactor  = 50.928
  Prefactor  = 0.000100001
  Prefactor  = 1.55425
  Prefactor  = 9.583
  norm       = 1.96522
  Prefactor  = 0.0001
  norm       = 5.77494
  Normalizat = 1.30824
  Prefactor  = 0.934501
 **********
 **   18 **HESSE 
 **********

 FCN=   7573.649     FROM HESSE     STATUS=OK           258 CALLS     2706 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.067        63.091        .98736E-05   -1.4081    
   2  Prefactor     .10000E-03    11.373        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.429        19.527        .42173E-05   -1.4948    
   4  Prefactor     .10000E-03    35.953        .17326       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.214        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          24.337        17.037        .32476E-05   -1.4721    
   7  Prefactor     .10000E-03    41.352        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.8994        .23406E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     36.674        63.815        .26483E-05   -1.4496    
  10  Prefactor     .10000E-03    21.118        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     50.928        48.349        .11238E-04   -1.4279    
  12  Prefactor     .10000E-03    96.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5542        64.246        .13547E-04   -1.5459    
  14  Prefactor     9.5830        15.779        .51801E-05   -1.5089    
  15  norm          1.9652        .79825        .19122E-05   -1.5428    
  16  Prefactor     .10000E-03    43.989        .15424E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.7749        3.5836        .25090E-04   -1.5227    
  18  Normalizat    1.3082        .34393        .17165E-04   -.83321    
  19  Prefactor     .93450        .11311        .33497E-04   -.94946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83192e-10
Minuit parameter uncertainties:
  1  63.1547
  2  2.49399e-05
  3  19.5355
  4  0.000442265
  5  5.1276e-05
  6  17.0401
  7  0.000152747
  8  1.14263e-05
  9  63.9339
  10  2.84499e-05
  11  48.3866
  12  0.000704589
  13  20.0078
  14  15.7857
  15  0.798254
  16  0.000213972
  17  3.58377
  18  0.344529
  19  0.113136
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.554e+00  2.001e+01  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.345e-01  1.131e-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.308e+00  3.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 222.422 -21.627
Photon Flux Upper Limit: 1.76e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.36e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/793888/likelihoodResults_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.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) = 7572.07511854
delta logL = 1.57427376896

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7572.06471678
delta logL = 1.58467552761

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45328E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    5.4146       1.0000          .0000       10.000    
     3 'Normalizat'    1.1093       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97466       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=   7572.065     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      323 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .45150E-01    .37906        .25358E-02    .14717E-03
   2  Index         5.4162        1.8882        .96238E-01    .12054E-03
   3  Normalizat    1.1094        .77069E-01    .10383       -.94158E-05
   4  Prefactor     .97466        .26024E-01    .45950E-01   -.52302E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0451495
  Index      = 5.41617
  Normalizat = 1.10936
  Prefactor  = 0.974664
 **********
 **   18 **HESSE 
 **********

 FCN=   7572.065     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      356 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .45150E-01    .88472        .11497E-03   -1.5666    
   2  Index         5.4162        3.2900        .36284E-02    .83330E-01
   3  Normalizat    1.1094        .26994        .46016E-03   -.89452    
   4  Prefactor     .97466        .89493E-01    .16424E-03   -.93579    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.96744e-10
Minuit parameter uncertainties:
  1  0.399288
  2  3.59353
  3  0.270277
  4  0.0895069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/793888': 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) = 7572.06471644
delta logL = 1.5846758672

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  4.515e-02  3.993e-01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  5.416e+00  3.594e+00  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.747e-01  8.951e-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.109e+00  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.50
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 5.42 +/- 3.59
Photon Flux (Free Index): 1.84e-07 +/- 1.13e-07
Energy Flux (Free Index): 2.37e-05 +/- 1.64e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/793888/cmap_HighResolution_289872001_290131201_4FGL_J1449.6-2137_daily_bin195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.36e-02', comment='SUCCESS', energy_flux2='2.37e-05', dlogl='1.58e+00', photon_flux2='1.84e-07', job_status='DONE', time_completed='2021-09-10 10:22:07.498337', photon_index_error2='3.59', photon_index2='5.42', ts='0.01', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='1.76e-07', energy_flux_error2='1.64e-05', EG='1.31', time_epoch_completed='1631294527.5', return_code='0', job_id='793888', GAL2='0.97', EG2='1.11', return_code2='102', photon_flux_error2='1.13e-07', ts2='3.50', photon_index='2.36' WHERE bin_id='195' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:22:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 793888: <4FGL_J1449.6-2137_daily_bin195> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin195> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 10:06:47 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 10:06:49 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:49 2021
Terminated at Fri Sep 10 10:22:08 2021
Results reported at Fri Sep 10 10:22:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin195 222.422 -21.6271 289872001 290131201 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 :                                   713.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             262.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            921 sec.

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

