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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1614
RA = 222.422, Dec = -21.6271
tmin = 657676801, tmax = 657936001
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='374622', job_status='RUN', time_executed='2021-12-08 01:36:19.537128', time_epoch_executed='1638956179.54' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1614'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374622/ft1_4FGL_J1449.6-2137_daily_bin1614.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374622/ft1_4FGL_J1449.6-2137_daily_bin1614.fits outfile=/scratch/kocevski/374622/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1614.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=657676801.0 tmax=657936001.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.65
user 3.36
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits" evtable="EVENTS" scfile=/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits sctable="SC_DATA" outfile=/scratch/kocevski/374622/ltcube_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.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/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits
.....................!
real 15.59
user 15.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits sctable="SC_DATA" expcube=/scratch/kocevski/374622/ltcube_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.fits outfile=/scratch/kocevski/374622/expmap_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.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/374622/ltcube_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.fits
.....................!
real 192.87
user 186.68
sys 5.76

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/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits scfile=/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits outfile=/scratch/kocevski/374622/cmap_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits scfile=/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits outfile=/scratch/kocevski/374622/cmap_HighResolution_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.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/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits evtable="EVENTS" scfile=/scratch/kocevski/374622/ft2_4FGL_J1449.6-2137_daily_bin1614.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/374622/Model_4FGL_J1449.6-2137_daily_bin1614.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/374622/ft1_filtered_4FGL_J1449.6-2137_daily_bin1614.fits.....................!
real 91.37
user 89.87
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.641       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.359       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.223       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10623E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    610.89       1.0000         .10000E-03   10000.    
    11 'Prefactor '    68.928       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.8901       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.9478       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2035       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1569       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=   9762.391     FROM MIGRAD    STATUS=CONVERGED    363 CALLS     1878 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.033        .22822E-04** at limit **
   2  Prefactor     .10000E-03    21.059       -.20180E-04** at limit **
   3  Prefactor     .10000E-03    17.183        .13114E-04** at limit **
   4  Prefactor     17.637        36.187       -.47057E-05   -.12305E-05
   5  Prefactor     .10000E-03    13.819        .75549E-06** at limit **
   6  norm          13.363        18.057        .19237E-05   -.56907E-04
   7  Prefactor     11.221        21.486       -.90729E-06   -.30760E-06
   8  Prefactor     .10001E-03    8.2432        .15956E-05** at limit **
   9  Prefactor     .10000E-03    31.126        .11448E-04** at limit **
  10  Prefactor     610.78        184.34       -.44937E-04   -.51802E-04
  11  Prefactor     68.981        88.625        .60182E-04   -.61009E-05
  12  Prefactor     .10000E-03    54.816       -.30237E-04** at limit **
  13  Prefactor     8.8909        16.616       -.46860E-05   -.94896E-03
  14  Prefactor     .10000E-03    3.2274        .19500E-07** at limit **
  15  norm          2.9476        .98190       -.52731E-07    .16110E-03
  16  Prefactor     .10001E-03    2.8909       -.81760E-06** at limit **
  17  norm          .10000E-03    1.1372        .53414E-07** at limit **
  18  Normalizat    1.2029        .31876        .39984E-05   -.11260E-04
  19  Prefactor     1.1572        .10367       -.22698E-06    .28251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6374
  Prefactor  = 0.0001
  norm       = 13.3627
  Prefactor  = 11.2212
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 610.785
  Prefactor  = 68.9807
  Prefactor  = 0.0001
  Prefactor  = 8.89088
  Prefactor  = 0.0001
  norm       = 2.94764
  Prefactor  = 0.000100013
  norm       = 0.0001
  Normalizat = 1.20285
  Prefactor  = 1.15719
 **********
 **   18 **HESSE 
 **********

 FCN=   9762.391     FROM HESSE     STATUS=OK           262 CALLS     2140 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    45.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.133        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    17.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.637        36.179        .95359E-04   -1.4868    
   5  Prefactor     .10000E-03    13.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.363        18.040        .10959E-03   -1.4977    
   7  Prefactor     11.221        21.480        .11959E-03   -1.5038    
   8  Prefactor     .10001E-03    8.2824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    31.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     610.78        184.21        .83509E-04   -1.0713    
  11  Prefactor     68.981        88.488        .48348E-04   -1.4045    
  12  Prefactor     .10000E-03    54.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.8909        16.775        .67214E-03   -1.5112    
  14  Prefactor     .10000E-03    3.2349        .17333E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.9476        .97879        .53900E-04   -1.5365    
  16  Prefactor     .10001E-03    13.579        .32426E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.1443        .10284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2029        .35915        .51551E-03   -.86515    
  19  Prefactor     1.1572        .11762        .17597E-03   -.87659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.60249e-09
Minuit parameter uncertainties:
  1  4.18464e-05
  2  1.85038e-05
  3  1.05888e-05
  4  36.2239
  5  6.39244e-06
  6  18.047
  7  21.4947
  8  0.00043176
  9  1.21571e-05
  10  184.39
  11  88.6579
  12  2.31585e-07
  13  16.7838
  14  2.88567e-06
  15  0.978792
  16  0.000851428
  17  2.92333e-07
  18  0.359888
  19  0.117643
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  8.891e+00  1.678e+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:  1.157e+00  1.176e-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.203e+00  3.599e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/374622/likelihoodResults_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.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) = 9761.81455014
delta logL = 0.576370966211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9761.63096195
delta logL = 0.759959163186

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .87344E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.8866       1.0000          .0000       10.000    
     3 'Normalizat'    1.0709       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1908       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=   9761.631     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      404 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83413E-03    .96495E-02    .56129E-03** at limit **
   2  Index         6.9060        1.9243        .10867        .26237E-03
   3  Normalizat    1.0708        .63450E-01    .12224        .30617E-04
   4  Prefactor     1.1908        .21381E-01    .34853E-01   -.17718E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000834132
  Index      = 6.90599
  Normalizat = 1.07078
  Prefactor  = 1.19081
 **********
 **   18 **HESSE 
 **********

 FCN=   9761.631     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      439 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83413E-03    .30530E-01    .24808E-04   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.9060        3.8055        .54222E-02    .39109    
   3  Normalizat    1.0708        .24922        .54225E-03   -.90696    
   4  Prefactor     1.1908        .82579E-01    .17376E-03   -.86614    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.11247e-08
Minuit parameter uncertainties:
  1  0.00946853
  2  4.4705
  3  0.249493
  4  0.0825876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374622': 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) = 9761.63094486
delta logL = 0.759976247909

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  8.341e-04  9.469e-03  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  6.906e+00  4.470e+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:  1.191e+00  8.259e-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.071e+00  2.495e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 6.91 +/- 4.47
Photon Flux (Free Index): 1.34e-07 +/- 1.04e-07
Energy Flux (Free Index): 1.60e-05 +/- 1.34e-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/374622/cmap_HighResolution_657676801_657936001_4FGL_J1449.6-2137_daily_bin1614.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='7.60e-01', photon_flux2='1.34e-07', job_status='DONE', time_completed='2021-12-08 01:49:38.837022', photon_index_error2='4.47', photon_index2='6.91', ts='0.34', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='1.83e-07', energy_flux_error2='1.34e-05', EG='1.20', time_epoch_completed='1638956978.84', return_code='0', job_id='374622', GAL2='1.19', EG2='1.07', return_code2='102', photon_flux_error2='1.04e-07', ts2='2.04', photon_index='2.36' WHERE bin_id='1614' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:49:38 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 374622: <4FGL_J1449.6-2137_daily_bin1614> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1614> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec  8 01:35:14 2021
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:35:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 01:35:20 2021
Terminated at Wed Dec  8 01:49:39 2021
Results reported at Wed Dec  8 01:49:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1614 222.422 -21.6271 657676801 657936001 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 :                                   798.29 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            865 sec.

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

