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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin981
RA = 221.688, Dec = 17.3237
tmin = 493603201, tmax = 493862401
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='782304', job_status='RUN', time_executed='2021-09-10 09:33:54.676213', time_epoch_executed='1631291634.68' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='981'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/782304

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/782304/ft1_4FGL_J1446.7+1719_daily_bin981.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/782304/ft1_4FGL_J1446.7+1719_daily_bin981.fits outfile=/scratch/kocevski/782304/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin981.fits ra=221.688 dec=17.3237 rad=12.0 tmin=493603201.0 tmax=493862401.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.48
user 3.27
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.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/782304/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin981.fits evtable="EVENTS" outfile="/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.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.47
user 0.32
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits" evtable="EVENTS" scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits sctable="SC_DATA" outfile=/scratch/kocevski/782304/ltcube_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.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/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits
.....................!
real 11.55
user 11.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits sctable="SC_DATA" expcube=/scratch/kocevski/782304/ltcube_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits outfile=/scratch/kocevski/782304/expmap_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.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/782304/ltcube_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits
.....................!
real 190.57
user 185.19
sys 5.03

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 154 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.7+1719 @ 221.688 17.3237

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits outfile=/scratch/kocevski/782304/cmap_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.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=221.688 yref=17.3237 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/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits outfile=/scratch/kocevski/782304/cmap_HighResolution_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.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=221.688 yref=17.3237 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits evtable="EVENTS" scfile=/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/782304/Model_4FGL_J1446.7+1719_daily_bin981.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/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits.....................!
real 54.03
user 52.69
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits', '/scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits', expMap='/scratch/kocevski/782304/expmap_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits', expCube='/scratch/kocevski/782304/ltcube_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/782304/Model_4FGL_J1446.7+1719_daily_bin981.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.7+1719'

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  3.187e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/782304/ft1_filtered_4FGL_J1446.7+1719_daily_bin981.fits
Spacecraft file(s): /scratch/kocevski/782304/ft2_4FGL_J1446.7+1719_daily_bin981.fits
Exposure map: /scratch/kocevski/782304/expmap_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits
Exposure cube: /scratch/kocevski/782304/ltcube_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/782304/Model_4FGL_J1446.7+1719_daily_bin981.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) = 7151.84365455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    52.145       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.3659       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .98738       1.0000         .10000E-03   10000.    
     6 'norm      '    10.228       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.631       1.0000         .10000E-03   10000.    
     8 'norm      '    .10119E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.252       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5947       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.936       1.0000         .10000E-03   10000.    
    14 'Prefactor '    42.772       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .99565       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    85.805       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0030       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0579       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7151.839     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2478 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3348       -.14837E-05** at limit **
   2  Prefactor     52.157        34.180        .10113E-04    .55525E-04
   3  Prefactor     .10000E-03    6.4560        .47136E-05** at limit **
   4  norm          8.3660        3.3279       -.76929E-07    .55148E-04
   5  Prefactor     .97658        4.0359       -.21956E-05   -.61571E-04
   6  norm          10.229        3.9147        .33202E-06    .33507E-03
   7  Prefactor     26.628        27.280       -.26489E-05    .43458E-04
   8  norm          .10000E-03    7.6584       -.27459E-05** at limit **
   9  norm          17.253        6.2849       -.13492E-06   -.41480E-03
  10  Prefactor     .10000E-03    12.187        .99497E-05** at limit **
  11  Prefactor     .10000E-03    41.325       -.80596E-05** at limit **
  12  Prefactor     6.5870        17.599        .22857E-05    .17491E-04
  13  Prefactor     13.937        15.933        .32675E-05    .19352E-04
  14  Prefactor     42.745        43.199       -.29848E-04    .46488E-05
  15  Prefactor     .10000E-03    6.1299       -.27323E-05** at limit **
  16  norm          .99543        .25232        .34198E-07    .77463E-03
  17  norm          .10000E-03    1.7299       -.17319E-07** at limit **
  18  norm          .10000E-03    15.831       -.14557E-04** at limit **
  19  Prefactor     .10000E-03    26.305        .14060E-04** at limit **
  20  Prefactor     .10000E-03    2.6458       -.21834E-07** at limit **
  21  Prefactor     85.806        45.305        .14645E-06   -.28942E-05
  22  Normalizat    1.0027        .22050       -.82555E-06    .27379E-03
  23  Prefactor     1.0580        .14718        .13340E-05    .14406E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 52.157
  Prefactor  = 0.0001
  norm       = 8.36602
  Prefactor  = 0.976576
  norm       = 10.2286
  Prefactor  = 26.6278
  norm       = 0.0001
  norm       = 17.2532
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.58699
  Prefactor  = 13.9368
  Prefactor  = 42.7449
  Prefactor  = 0.0001
  norm       = 0.99543
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 85.8055
  Normalizat = 1.00271
  Prefactor  = 1.05805
 **********
 **   18 **HESSE 
 **********

 FCN=   7151.839     FROM HESSE     STATUS=OK           366 CALLS     2844 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.3684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     52.157        34.161        .55540E-04   -1.4262    
   3  Prefactor     .10000E-03    6.5343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.3660        3.3285        .94161E-04   -1.5129    
   5  Prefactor     .97658        13.388        .30880E-02   -1.5510    
   6  norm          10.229        3.9064        .98319E-04   -1.5068    
   7  Prefactor     26.628        27.270        .77629E-04   -1.4675    
   8  norm          .10000E-03    7.6585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.253        6.2919        .48213E-03   -1.4877    
  10  Prefactor     .10000E-03    12.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    41.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.5870        17.575        .15627E-03   -1.5195    
  13  Prefactor     13.937        15.926        .10729E-03   -1.4961    
  14  Prefactor     42.745        43.207        .61298E-04   -1.4399    
  15  Prefactor     .10000E-03    6.1840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .99543        .25210        .20383E-04   -1.5508    
  17  norm          .10000E-03    1.7301        .10863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    26.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.6481        .13434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     85.806        45.319        .43369E-04   -1.3853    
  22  Normalizat    1.0027        .25698        .32516E-03   -.92940    
  23  Prefactor     1.0580        .17279        .21819E-03   -.90819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66239e-08
Minuit parameter uncertainties:
  1  8.65034e-06
  2  34.174
  3  8.06343e-05
  4  3.32862
  5  7.2332
  6  3.90652
  7  27.2824
  8  2.23258e-05
  9  6.29219
  10  9.96932e-06
  11  8.22157e-05
  12  17.589
  13  15.9305
  14  43.2389
  15  3.22577e-06
  16  0.252104
  17  1.22716e-07
  18  1.66868e-05
  19  5.70461e-06
  20  4.96222e-07
  21  45.3377
  22  0.2573
  23  0.172885
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.000e-04  9.969e-06  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.058e+00  1.729e-01  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.003e+00  2.573e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/782304/likelihoodResults_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.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) = 7151.83941859
delta logL = -0.00038994604256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7151.83902857
delta logL = 7.10278982297e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4762       1.0000          .0000       10.000    
     3 'Normalizat'    1.0027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0580       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4990E+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=   7151.839     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      253 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10155E-03    132.91        .18142E-02** at limit **
   2  Index         2.4082        8.4969        .50000        .11174E-04
   3  Normalizat    1.0027        .16938E-01    .32516E-03   -.11083E-04
   4  Prefactor     1.0581        .11716E-01    .21819E-03    .92433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101547
  Index      = 2.4082
  Normalizat = 1.0027
  Prefactor  = 1.05805
 **********
 **   18 **HESSE 
 **********

 FCN=   7151.839     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10155E-03    553.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4082        5.4092        .50000       -.54493    
   3  Normalizat    1.0027        .36162E-01    .13006E-04   -.92940    
   4  Prefactor     1.0581        .25012E-01    .87276E-05   -.90819    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14094e-08
Minuit parameter uncertainties:
  1  0.0590845
  2  869.255
  3  0.0361626
  4  0.0250126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/782304': 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) = 7151.83902843
delta logL = 2.10013240576e-07

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.015e-04  5.908e-02  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.408e+00  8.693e+02  0.000e+00  1.000e+01 (-1.000e+00)
235        Scale:  9.206e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  1.058e+00  2.501e-02  0.000e+00  1.000e+01 ( 1.000e+00)
497        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
498        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
495   Normalization:  1.003e+00  3.616e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.688 17.324

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/782304/cmap_HighResolution_493603201_493862401_4FGL_J1446.7+1719_daily_bin981.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-09-10 09:44:27.614186', job_id='782304', GAL2='1.06', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1631292267.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='981' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:44:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 782304: <4FGL_J1446.7+1719_daily_bin981> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin981> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:31:06 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:31:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:31:07 2021
Terminated at Fri Sep 10 09:44:30 2021
Results reported at Fri Sep 10 09:44:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin981 221.688 17.3237 493603201 493862401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.7+1719 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   631.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            804 sec.

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

