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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1615
RA = 222.422, Dec = -21.6271
tmin = 657936001, tmax = 658195201
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='374624', job_status='RUN', time_executed='2021-12-08 01:36:50.689067', time_epoch_executed='1638956210.69' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/374624

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/374624/ft1_4FGL_J1449.6-2137_daily_bin1615.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/374624/ft1_4FGL_J1449.6-2137_daily_bin1615.fits outfile=/scratch/kocevski/374624/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1615.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=657936001.0 tmax=658195201.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.09
user 3.84
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits" evtable="EVENTS" scfile=/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits sctable="SC_DATA" outfile=/scratch/kocevski/374624/ltcube_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.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/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits
.....................!
real 12.91
user 12.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits sctable="SC_DATA" expcube=/scratch/kocevski/374624/ltcube_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.fits outfile=/scratch/kocevski/374624/expmap_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.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/374624/ltcube_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.fits
.....................!
real 190.95
user 186.01
sys 4.60

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/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits scfile=/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits outfile=/scratch/kocevski/374624/cmap_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits scfile=/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits outfile=/scratch/kocevski/374624/cmap_HighResolution_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits evtable="EVENTS" scfile=/scratch/kocevski/374624/ft2_4FGL_J1449.6-2137_daily_bin1615.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/374624/Model_4FGL_J1449.6-2137_daily_bin1615.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/374624/ft1_filtered_4FGL_J1449.6-2137_daily_bin1615.fits.....................!
real 88.47
user 87.04
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10787E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    14.551       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    122.28       1.0000         .10000E-03   10000.    
    11 'Prefactor '    63.354       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.870       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.4093       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.7294       1.0000         .10000E-03   10000.    
    17 'norm      '    1.3209       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0026       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1877       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=   9530.266     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1919 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.021        .82108E-06** at limit **
   2  Prefactor     .10000E-03    16.055        .27941E-06** at limit **
   3  Prefactor     .10000E-03    21.619        .53777E-06** at limit **
   4  Prefactor     .10000E-03    17.622        .22733E-06** at limit **
   5  Prefactor     .10000E-03    21.867        .92717E-07** at limit **
   6  norm          14.549        16.000        .21521E-06    .36686E-05
   7  Prefactor     .10000E-03    8.7183        .17845E-06** at limit **
   8  Prefactor     .10000E-03    23.238        .28343E-05** at limit **
   9  Prefactor     .10000E-03    30.483        .48717E-06** at limit **
  10  Prefactor     122.42        115.05        .22414E-05   -.13574E-04
  11  Prefactor     63.295        61.477        .64734E-06    .17835E-04
  12  Prefactor     .10000E-03    44.073       -.35618E-07** at limit **
  13  Prefactor     11.873        16.308        .33900E-06   -.19637E-04
  14  Prefactor     .10000E-03    9.2528       -.39720E-06** at limit **
  15  norm          1.4096        .76718        .27640E-07   -.99765E-04
  16  Prefactor     4.7436        11.424       -.17467E-05   -.49480E-04
  17  norm          1.3139        6.4970        .34996E-06    .19646E-03
  18  Normalizat    1.0029        .29924        .25629E-07   -.79761E-04
  19  Prefactor     1.1875        .10357       -.70447E-06   -.98948E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.549
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 122.42
  Prefactor  = 63.2951
  Prefactor  = 0.0001
  Prefactor  = 11.8735
  Prefactor  = 0.000100003
  norm       = 1.40958
  Prefactor  = 4.74359
  norm       = 1.31393
  Normalizat = 1.00291
  Prefactor  = 1.18754
 **********
 **   18 **HESSE 
 **********

 FCN=   9530.266     FROM HESSE     STATUS=OK           268 CALLS     2187 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    84.377        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    16.100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.909        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          14.549        15.988        .10500E-03   -1.4945    
   7  Prefactor     .10000E-03    8.7389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    26.084        .40124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    30.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     122.42        115.56        .18198E-03   -1.3491    
  11  Prefactor     63.295        61.546        .50416E-04   -1.4115    
  12  Prefactor     .10000E-03    44.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.873        16.307        .11627E-03   -1.5019    
  14  Prefactor     .10000E-03    27.107        .44711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.4096        .75679        .60166E-04   -1.5471    
  16  Prefactor     4.7436        10.748        .18503E-03   -1.5272    
  17  norm          1.3139        5.3374        .32841E-03   -1.5479    
  18  Normalizat    1.0029        .33095        .51029E-03   -.92933    
  19  Prefactor     1.1875        .11470        .16358E-03   -.86716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04789e-10
Minuit parameter uncertainties:
  1  6.49331e-07
  2  7.58941e-06
  3  3.26751e-05
  4  1.32027e-05
  5  9.44011e-06
  6  15.9925
  7  7.33892e-07
  8  0.000298045
  9  1.11787e-05
  10  115.774
  11  61.6078
  12  3.31454e-05
  13  16.3131
  14  0.000522781
  15  0.756791
  16  10.7523
  17  5.29704
  18  0.331629
  19  0.114721
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.187e+01  1.631e+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.188e+00  1.147e-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.003e+00  3.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/374624/likelihoodResults_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.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) = 9529.97757905
delta logL = 0.287931876912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9529.96227642
delta logL = 0.303234509744

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7063       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0185       1.0000          .0000       10.000    
     3 'Normalizat'    .95643       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1966       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=   9529.962     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      293 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7043        18.962        .16815E-03   -.95182E-03
   2  Index         3.0185        1.5159        .58462E-02   -.29051E-03
   3  Normalizat    .95646        .33388        .52122E-03    .40421E-03
   4  Prefactor     1.1966        .11416        .16302E-03    .14175E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.7043
  Index      = 3.01853
  Normalizat = 0.956459
  Prefactor  = 1.19655
 **********
 **   18 **HESSE 
 **********

 FCN=   9529.962     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7043        11.565        .67260E-05   -1.5230    
   2  Index         3.0185        .93337        .23385E-03   -.40748    
   3  Normalizat    .95646        .33229        .20849E-04   -.94504    
   4  Prefactor     1.1966        .11337        .32603E-04   -.86438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01894e-09
Minuit parameter uncertainties:
  1  11.5692
  2  0.939921
  3  0.333011
  4  0.113391
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/374624': 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): 0
logL (Free Index) = 9529.96227639
delta logL = 0.303234535821

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  5.704e+00  1.157e+01  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  3.019e+00  9.399e-01  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.197e+00  1.134e-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:  9.565e-01  3.330e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.28
Ra Dec: 222.422 -21.627
Photon Index (Free Index): 3.02 +/- 0.94
Photon Flux (Free Index): 8.62e-08 +/- 8.78e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.71e-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/374624/cmap_HighResolution_657936001_658195201_4FGL_J1449.6-2137_daily_bin1615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', comment='SUCCESS', energy_flux2='1.71e-05', dlogl='3.03e-01', photon_flux2='8.62e-08', job_status='DONE', time_completed='2021-12-08 01:49:43.592576', photon_index_error2='0.94', photon_index2='3.02', ts='0.64', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.71e-05', EG='1.00', time_epoch_completed='1638956983.59', return_code='0', job_id='374624', GAL2='1.20', EG2='0.96', return_code2='0', photon_flux_error2='8.78e-08', ts2='1.28', photon_index='2.36' WHERE bin_id='1615' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 01:49:43 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 374624: <4FGL_J1449.6-2137_daily_bin1615> in cluster <slac> Done

Job <4FGL_J1449.6-2137_daily_bin1615> 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) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 01:35:22 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:22 2021
Terminated at Wed Dec  8 01:49:44 2021
Results reported at Wed Dec  8 01:49:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1615 222.422 -21.6271 657936001 658195201 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 :                                   772.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             321.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   861 sec.
    Turnaround time :                            870 sec.

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

