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


Performing analysis on: 4FGL_J1449.6-2137_daily_bin1433
RA = 222.422, Dec = -21.6271
tmin = 610761601, tmax = 611020801
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='801273', job_status='RUN', time_executed='2021-09-10 10:28:25.093945', time_epoch_executed='1631294905.09' WHERE source_name='4FGL J1449.6-2137' and cadence='daily' and bin_id='1433'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/801273

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/801273/ft1_4FGL_J1449.6-2137_daily_bin1433.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/801273/ft1_4FGL_J1449.6-2137_daily_bin1433.fits outfile=/scratch/kocevski/801273/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1433.fits ra=222.422 dec=-21.6271 rad=12.0 tmin=610761601.0 tmax=611020801.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.51
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.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/801273/ft1_filteredMKT_4FGL_J1449.6-2137_daily_bin1433.fits evtable="EVENTS" outfile="/scratch/kocevski/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits" evtable="EVENTS" scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits sctable="SC_DATA" outfile=/scratch/kocevski/801273/ltcube_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.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/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits
.....................!
real 11.96
user 11.61
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits sctable="SC_DATA" expcube=/scratch/kocevski/801273/ltcube_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.fits outfile=/scratch/kocevski/801273/expmap_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.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/801273/ltcube_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.fits
.....................!
real 190.69
user 185.53
sys 4.68

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/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits outfile=/scratch/kocevski/801273/cmap_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.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/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits outfile=/scratch/kocevski/801273/cmap_HighResolution_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.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.59
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits evtable="EVENTS" scfile=/scratch/kocevski/801273/ft2_4FGL_J1449.6-2137_daily_bin1433.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/801273/Model_4FGL_J1449.6-2137_daily_bin1433.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/801273/ft1_filtered_4FGL_J1449.6-2137_daily_bin1433.fits.....................!
real 73.47
user 71.92
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.826       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11279E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    58.329       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17950E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.6252       1.0000         .10000E-03   10000.    
    15 'norm      '    .13562       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7982       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .16199       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3655       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7667.228     FROM MIGRAD    STATUS=FAILED       688 CALLS     2428 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.812        59.278        .22907E-03   -.10224E-04
   2  Prefactor     .10000E-03    7.6798        .18142E-02** at limit **
   3  Prefactor     .10000E-03    9.8362        .18142E-02** at limit **
   4  Prefactor     .10000E-03    14.855        .18142E-02** at limit **
   5  Prefactor     .10000E-03    10.458        .18142E-02** at limit **
   6  norm          .10000E-03    10.621        .18142E-02** at limit **
   7  Prefactor     .10000E-03    47.594        .51577E-02** at limit **
   8  Prefactor     .10000E-03    4.0559        .17140E-02** at limit **
   9  Prefactor     .10000E-03    28.391        .18142E-02** at limit **
  10  Prefactor     .10000E-03    56.474        .18142E-02** at limit **
  11  Prefactor     58.292        58.598        .52530E-04   -.19868E-04
  12  Prefactor     .10000E-03    413.26        .18142E-02** at limit **
  13  Prefactor     .10000E-03    4.4495        .18023E-02** at limit **
  14  Prefactor     7.6236        16.996        .72613E-03   -.91576E-04
  15  norm          .13586        .87578        .11671E-02    .91033E-02
  16  Prefactor     .10000E-03    2.3970        .13232E-02** at limit **
  17  norm          2.7981        2.5540        .13003E-03    .11121E-04
  18  Normalizat    .16235        .35804        .10530E-01    .47043E-03
  19  Prefactor     1.3655        .12956        .14492E-03   -.11108E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7667.228     FROM SIMPLEX   STATUS=PROGRESS    1076 CALLS     3504 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.812        59.278        .10428E-06   -1.3953    
   2  Prefactor     .10000E-03    7.6798        .36405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.8362        .27658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.855        .53579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.458        .52230E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.621        .64873E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    47.594        .51418E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0559        .16780E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.391        .65770E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    56.474        .95158E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     58.292        58.598        .10107E-06   -1.4179    
  12  Prefactor     .10000E-03    413.26        .22538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4495        .16323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6236        16.996        .10796E-06   -1.5156    
  15  norm          .13586        .87578        .11136E-06   -1.5634    
  16  Prefactor     .10000E-03    2.3970        .56103E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7981        2.5540        .10951E-06   -1.5373    
  18  Normalizat    .16235        .35804        .94229E-07   -1.3232    
  19  Prefactor     1.3655        .12956        .57966E-07   -.81381    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7667.228     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     3759 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.812        59.265        .91626E-05    .24815E-06
   2  Prefactor     .10000E-03    7.6799        .36285E-03** at limit **
   3  Prefactor     .10000E-03    9.8364        .36285E-03** at limit **
   4  Prefactor     .10000E-03    14.855        .36285E-03** at limit **
   5  Prefactor     .10000E-03    10.458        .36285E-03** at limit **
   6  norm          .10000E-03    10.623        .36285E-03** at limit **
   7  Prefactor     .10000E-03    48.379        .10315E-02** at limit **
   8  Prefactor     .10000E-03    4.0569        .34279E-03** at limit **
   9  Prefactor     .10000E-03    28.391        .36285E-03** at limit **
  10  Prefactor     .10000E-03    56.476        .36285E-03** at limit **
  11  Prefactor     58.292        58.426        .10506E-04    .86570E-06
  12  Prefactor     .10000E-03    413.31        .36285E-03** at limit **
  13  Prefactor     .10000E-03    4.4497        .36046E-03** at limit **
  14  Prefactor     7.6237        16.977        .29045E-04   -.23485E-06
  15  norm          .13587        .87347        .23342E-03    .37904E-03
  16  Prefactor     .10000E-03    2.3970        .26463E-03** at limit **
  17  norm          2.7981        2.5537        .26006E-04   -.12241E-05
  18  Normalizat    .16235        .34064        .21060E-02   -.76656E-06
  19  Prefactor     1.3655        .12344        .57969E-05   -.11767E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.8117
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 58.2919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.62371
  norm       = 0.135866
  Prefactor  = 0.0001
  norm       = 2.79809
  Normalizat = 0.16235
  Prefactor  = 1.36547
 **********
 **   18 **HESSE 
 **********

 FCN=   7667.228     FROM HESSE     STATUS=OK           250 CALLS     4009 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.812        59.252        .18325E-05   -1.3953    
   2  Prefactor     .10000E-03    7.6799        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.8364        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.855        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.458        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    10.623        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    48.411        .20631E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.0569        .68558E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    28.392        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    56.476        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     58.292        58.402        .21012E-05   -1.4179    
  12  Prefactor     .10000E-03    413.31        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.4498        .72093E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.6237        16.975        .58090E-05   -1.5156    
  15  norm          .13587        .87277        .46684E-04   -1.5634    
  16  Prefactor     .10000E-03    2.3970        .52927E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7981        2.5536        .52011E-05   -1.5373    
  18  Normalizat    .16235        .33654        .84239E-04   -1.3232    
  19  Prefactor     1.3655        .12200        .11594E-05   -.81381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42758e-13
Minuit parameter uncertainties:
  1  59.2981
  2  3.46527e-08
  3  5.92862e-08
  4  3.63718e-08
  5  1.44945e-08
  6  1.29331e-07
  7  4.76036e-06
  8  5.07005e-09
  9  1.25241e-07
  10  2.60942e-08
  11  58.4592
  12  4.21395e-06
  13  4.67818e-09
  14  16.9859
  15  0.68847
  16  8.26906e-08
  17  2.55375
  18  0.340932
  19  0.122021
Done.

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

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  4.678e-09  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.365e+00  1.220e-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.623e-01  3.409e-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: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.50e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/801273/likelihoodResults_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.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) = 7667.22912403
delta logL = -0.00106766858062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7667.22805803
delta logL = -1.67222333403e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3366       1.0000          .0000       10.000    
     3 'Normalizat'    .16175       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3657       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=   7667.228     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      249 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10247E-03    2.7125        .18142E-01** at limit **
   2  Index         2.2591        6.1218        .50000        .40355E-04
   3  Normalizat    .16235        .53427E-02    .10530E-01   -.64790E-04
   4  Prefactor     1.3655        .19347E-02    .14492E-03   -.43825E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102469
  Index      = 2.25907
  Normalizat = 0.162347
  Prefactor  = 1.36547
 **********
 **   18 **HESSE 
 **********

 FCN=   7667.228     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      280 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10247E-03    42.597        .18943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2591        7.4775        .50000       -.58019    
   3  Normalizat    .16235        .21299E-01    .42118E-03   -1.3232    
   4  Prefactor     1.3655        .77121E-02    .28985E-04   -.81381    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.42401e-08
Minuit parameter uncertainties:
  1  0.020526
  2  222.829
  3  0.0212998
  4  0.00771213
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/801273': 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) = 7667.2280555
delta logL = 8.58284693095e-07

Extracting fit parameters...

4FGL J1449.6-2137
   Spectrum: PowerLaw
295    Prefactor:  1.025e-04  2.053e-02  1.000e-04  1.000e+04 ( 1.000e-13)
296        Index:  2.259e+00  2.228e+02  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  1.426e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.365e+00  7.712e-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.623e-01  2.130e-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/801273/cmap_HighResolution_610761601_611020801_4FGL_J1449.6-2137_daily_bin1433.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.50e-03', job_status='DONE', photon_flux_upper_limit='8.43e-08', time_completed='2021-09-10 10:42:39.179484', job_id='801273', GAL2='1.37', fit_tolerance='1e-08', EG2='0.16', EG='0.16', time_epoch_completed='1631295759.18', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.37', dlogl='8.58e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1433' AND source_name='4FGL J1449.6-2137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:42:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 801273: <4FGL_J1449.6-2137_daily_bin1433> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1449.6-2137_daily_bin1433 222.422 -21.6271 610761601 611020801 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 :                                   848.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            960 sec.

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

