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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1434
RA = 221.688, Dec = 17.3237
tmin = 611020801, tmax = 611280001
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='784068', job_status='RUN', time_executed='2021-09-10 09:36:27.503802', time_epoch_executed='1631291787.5' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1434'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784068

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784068/ft1_4FGL_J1446.7+1719_daily_bin1434.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784068/ft1_4FGL_J1446.7+1719_daily_bin1434.fits outfile=/scratch/kocevski/784068/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1434.fits ra=221.688 dec=17.3237 rad=12.0 tmin=611020801.0 tmax=611280001.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.58
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1434.fits evtable="EVENTS" outfile="/scratch/kocevski/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits" evtable="EVENTS" scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits sctable="SC_DATA" outfile=/scratch/kocevski/784068/ltcube_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits
.....................!
real 11.80
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits sctable="SC_DATA" expcube=/scratch/kocevski/784068/ltcube_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits outfile=/scratch/kocevski/784068/expmap_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.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/784068/ltcube_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits
.....................!
real 191.94
user 186.75
sys 4.80

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/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits outfile=/scratch/kocevski/784068/cmap_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits outfile=/scratch/kocevski/784068/cmap_HighResolution_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits evtable="EVENTS" scfile=/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784068/Model_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits.....................!
real 50.65
user 49.33
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits', '/scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits', expMap='/scratch/kocevski/784068/expmap_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits', expCube='/scratch/kocevski/784068/ltcube_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/784068/Model_4FGL_J1446.7+1719_daily_bin1434.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/784068/ft1_filtered_4FGL_J1446.7+1719_daily_bin1434.fits
Spacecraft file(s): /scratch/kocevski/784068/ft2_4FGL_J1446.7+1719_daily_bin1434.fits
Exposure map: /scratch/kocevski/784068/expmap_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits
Exposure cube: /scratch/kocevski/784068/ltcube_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/784068/Model_4FGL_J1446.7+1719_daily_bin1434.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) = 6769.42669654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17235E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    203.55       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1162       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6508       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10203E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10800E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7891       1.0000         .10000E-03   10000.    
     9 'norm      '    10.605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.2398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.647       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0362       1.0000         .10000E-03   10000.    
    16 'norm      '    1.7817       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.094       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.9972       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91184       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99909       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=   6768.509     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2207 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10041E-03    13.438       -.40245E-06** at limit **
   2  Prefactor     203.57        48.145        .42525E-05    .11851E-04
   3  Prefactor     5.1171        7.4832       -.16574E-05   -.22712E-03
   4  norm          2.6508        1.9100        .13448E-07    .34471E-04
   5  Prefactor     .10000E-03    4.2563       -.22233E-07** at limit **
   6  norm          .10000E-03    1.7804        .11119E-06** at limit **
   7  Prefactor     .10001E-03    30.990        .13336E-05** at limit **
   8  norm          3.7977        17.490       -.28484E-04   -.79035E-04
   9  norm          10.604        5.6798        .13417E-05   -.13367E-03
  10  Prefactor     .10000E-03    9.4415       -.29315E-07** at limit **
  11  Prefactor     3.2373        18.019        .76197E-05   -.42135E-04
  12  Prefactor     .10000E-03    3.8547        .22094E-06** at limit **
  13  Prefactor     .10000E-03    9.1014        .12049E-07** at limit **
  14  Prefactor     16.646        22.748       -.14437E-06   -.12977E-04
  15  Prefactor     5.0355        5.8024        .11018E-05   -.13128E-03
  16  norm          1.7817        .28195       -.55598E-08   -.51949E-03
  17  norm          .10000E-03    2.9689        .57562E-08** at limit **
  18  norm          .10000E-03    15.036        .27259E-06** at limit **
  19  Prefactor     19.095        28.574       -.70663E-07   -.31134E-04
  20  Prefactor     .10000E-03    3.7416       -.22866E-06** at limit **
  21  Prefactor     1.9783        108.28        .31417E-04   -.43095E-04
  22  Normalizat    .91216        .20879       -.20123E-05   -.47111E-04
  23  Prefactor     .99903        .14147        .28831E-06   -.19663E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100412
  Prefactor  = 203.566
  Prefactor  = 5.11715
  norm       = 2.65079
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100012
  norm       = 3.79771
  norm       = 10.6039
  Prefactor  = 0.0001
  Prefactor  = 3.23729
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6465
  Prefactor  = 5.03546
  norm       = 1.78168
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 19.0949
  Prefactor  = 0.0001
  Prefactor  = 1.9783
  Normalizat = 0.912159
  Prefactor  = 0.999033
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.509     FROM HESSE     STATUS=OK           382 CALLS     2589 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10041E-03    18.218        .86408E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     203.57        48.142        .14163E-03   -1.2845    
   3  Prefactor     5.1171        7.4783        .17775E-03   -1.5256    
   4  norm          2.6508        1.9112        .93823E-04   -1.5382    
   5  Prefactor     .10000E-03    4.3493        .16552E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    3.5495        .21099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    31.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7977        17.843        .20738E-03   -1.5318    
   9  norm          10.604        5.6758        .12303E-03   -1.5057    
  10  Prefactor     .10000E-03    9.4727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.2373        17.891        .22503E-03   -1.5348    
  12  Prefactor     .10000E-03    3.8587        .15775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.1240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.646        22.746        .98164E-04   -1.4892    
  15  Prefactor     5.0355        5.7932        .17918E-03   -1.5259    
  16  norm          1.7817        .28219        .16701E-04   -1.5441    
  17  norm          .10000E-03    2.9770        .13844E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.095        28.572        .91659E-04   -1.4834    
  20  Prefactor     .10000E-03    3.7585        .15541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.9783        106.43        .29309E-03   -1.5427    
  22  Normalizat    .91216        .25403        .30754E-03   -.96034    
  23  Prefactor     .99903        .17337        .20804E-03   -.92762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43262e-10
Minuit parameter uncertainties:
  1  0.00548009
  2  48.1518
  3  7.47966
  4  1.91128
  5  1.18307e-05
  6  1.4e-05
  7  0.00122405
  8  16.4714
  9  5.67613
  10  4.41543e-06
  11  15.2277
  12  3.15191e-07
  13  1.25846e-06
  14  22.7583
  15  5.79383
  16  0.282188
  17  8.59344e-07
  18  1.29577e-07
  19  28.5922
  20  1.77982e-06
  21  29.0742
  22  0.254363
  23  0.17347
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.000e-04  4.415e-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:  9.990e-01  1.735e-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:  9.122e-01  2.544e-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: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/784068/likelihoodResults_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.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) = 6768.5092439
delta logL = -0.000502986341417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6768.5087413
delta logL = -3.7924201024e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4892       1.0000          .0000       10.000    
     3 'Normalizat'    .91202       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99910       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=   6768.509     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10092E-03    238.97        .18142E-02** at limit **
   2  Index         2.4110        6.1572        .50000        .56639E-05
   3  Normalizat    .91216        .24997E-01    .30754E-03    .46355E-04
   4  Prefactor     .99903        .17732E-01    .20804E-03    .54100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100923
  Index      = 2.41101
  Normalizat = 0.912157
  Prefactor  = 0.999034
 **********
 **   18 **HESSE 
 **********

 FCN=   6768.509     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10092E-03    951.51        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4110        5.7184        .50000       -.54428    
   3  Normalizat    .91216        .56537E-01    .12302E-04   -.96034    
   4  Prefactor     .99903        .40092E-01    .83217E-05   -.92762    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.41351e-08
Minuit parameter uncertainties:
  1  0.0602627
  2  2345.35
  3  0.0565403
  4  0.0400936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784068': 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) = 6768.50874084
delta logL = 8.18863554741e-08

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.009e-04  6.026e-02  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.411e+00  2.345e+03  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:  9.990e-01  4.009e-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:  9.122e-01  5.654e-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/784068/cmap_HighResolution_611020801_611280001_4FGL_J1446.7+1719_daily_bin1434.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.69e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2021-09-10 09:46:36.160904', job_id='784068', GAL2='1.00', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1631292396.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='8.19e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1434' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:46:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 784068: <4FGL_J1446.7+1719_daily_bin1434> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1434> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:36:15 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:36:16 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:36:16 2021
Terminated at Fri Sep 10 09:46:36 2021
Results reported at Fri Sep 10 09:46:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1434 221.688 17.3237 611020801 611280001 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 :                                   607.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             336.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            621 sec.

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

