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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin958
RA = 221.688, Dec = 17.3237
tmin = 487641601, tmax = 487900801
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='782271', job_status='RUN', time_executed='2021-09-10 09:31:22.792877', time_epoch_executed='1631291482.79' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='958'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/782271

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/782271/ft1_4FGL_J1446.7+1719_daily_bin958.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/782271/ft1_4FGL_J1446.7+1719_daily_bin958.fits outfile=/scratch/kocevski/782271/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin958.fits ra=221.688 dec=17.3237 rad=12.0 tmin=487641601.0 tmax=487900801.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 5.05
user 4.81
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.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/782271/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin958.fits evtable="EVENTS" outfile="/scratch/kocevski/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.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.51
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits" evtable="EVENTS" scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits sctable="SC_DATA" outfile=/scratch/kocevski/782271/ltcube_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.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/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits
.....................!
real 12.01
user 11.67
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits evtable="EVENTS" scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits sctable="SC_DATA" expcube=/scratch/kocevski/782271/ltcube_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.fits outfile=/scratch/kocevski/782271/expmap_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.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/782271/ltcube_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.fits
.....................!
real 191.05
user 185.97
sys 4.66

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/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits outfile=/scratch/kocevski/782271/cmap_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits outfile=/scratch/kocevski/782271/cmap_HighResolution_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits evtable="EVENTS" scfile=/scratch/kocevski/782271/ft2_4FGL_J1446.7+1719_daily_bin958.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/782271/Model_4FGL_J1446.7+1719_daily_bin958.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/782271/ft1_filtered_4FGL_J1446.7+1719_daily_bin958.fits.....................!
real 56.33
user 54.96
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.493       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.6004       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.1420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .48072E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4346       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.185       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7869       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11309E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.866       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .91683       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10537E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6403       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .74148       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=   7536.221     FROM MIGRAD    STATUS=CONVERGED    915 CALLS     3324 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.2216        .18142E-02** at limit **
   2  Prefactor     20.498        21.373        .88477E-04    .25313E-04
   3  Prefactor     .10017E-03    49.710        .33994E-02** at limit **
   4  norm          6.6009        3.0779        .50462E-03    .41521E-04
   5  Prefactor     .10000E-03    3.9714        .16783E-02** at limit **
   6  norm          3.1418        2.2775        .10817E-03    .92806E-04
   7  Prefactor     .10362E-03    27.987        .13046    ** at limit **
   8  norm          .10000E-03    42.256        .18142E-02** at limit **
   9  norm          2.4338        4.9767        .13112E-02    .72457E-04
  10  Prefactor     12.177        22.292        .11476E-03    .18001E-03
  11  Prefactor     1.7735        75.542        .31296E-03    .41012E-04
  12  Prefactor     .10000E-03    53.370        .36285E-03** at limit **
  13  Prefactor     .10000E-03    9.9397        .18142E-02** at limit **
  14  Prefactor     27.872        35.627        .75893E-04    .11508E-03
  15  Prefactor     .10000E-03    12.617        .36285E-03** at limit **
  16  norm          .91682        .20187        .17448E-04    .22715E-02
  17  norm          .10000E-03    1.4607        .10245E-02** at limit **
  18  norm          .10000E-03    15.589        .18142E-02** at limit **
  19  Prefactor     .10000E-03    60.820        .18142E-02** at limit **
  20  Prefactor     .10000E-03    5.8014        .18142E-02** at limit **
  21  Prefactor     .10000E-03    10.033        .18142E-02** at limit **
  22  Normalizat    1.6408        .25468        .26130E-03    .58162E-03
  23  Prefactor     .74127        .16365        .24252E-03    .50470E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 20.498
  Prefactor  = 0.000100167
  norm       = 6.60093
  Prefactor  = 0.0001
  norm       = 3.1418
  Prefactor  = 0.000103617
  norm       = 0.0001
  norm       = 2.43383
  Prefactor  = 12.1766
  Prefactor  = 1.77347
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 27.8725
  Prefactor  = 0.0001
  norm       = 0.916817
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.6408
  Prefactor  = 0.741272
 **********
 **   18 **HESSE 
 **********

 FCN=   7536.221     FROM HESSE     STATUS=OK           358 CALLS     3682 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.2222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     20.498        21.369        .35391E-05   -1.4802    
   3  Prefactor     .10017E-03    51.007        .13597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.6009        3.0778        .20185E-04   -1.5194    
   5  Prefactor     .10000E-03    3.9730        .33567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.1418        2.2775        .43267E-05   -1.5353    
   7  Prefactor     .10362E-03    27.578        .13182       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    42.275        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4338        4.9744        .52449E-04   -1.5396    
  10  Prefactor     12.177        22.292        .45902E-05   -1.5010    
  11  Prefactor     1.7735        75.457        .12519E-04   -1.5442    
  12  Prefactor     .10000E-03    53.374        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.9400        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     27.872        35.626        .15179E-04   -1.4652    
  15  Prefactor     .10000E-03    12.617        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .91682        .20185        .34897E-05   -1.5516    
  17  norm          .10000E-03    1.4607        .20489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.589        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    60.829        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.8023        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    10.033        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.6408        .25486        .52260E-04   -.73895    
  23  Prefactor     .74127        .16381        .48503E-04   -1.0193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97628e-09
Minuit parameter uncertainties:
  1  2.25414e-05
  2  21.3769
  3  0.00583622
  4  3.07792
  5  2.45187e-05
  6  2.27754
  7  0.0199847
  8  3.53768e-05
  9  4.97526
  10  22.3076
  11  23.1668
  12  0.000443722
  13  5.23305e-07
  14  35.6534
  15  0.000121967
  16  0.201851
  17  2.04196e-06
  18  5.40864e-06
  19  0.000106711
  20  2.5198e-05
  21  1.6375e-06
  22  0.255067
  23  0.163916
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.218e+01  2.231e+01  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:  7.413e-01  1.639e-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.641e+00  2.551e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/782271/likelihoodResults_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.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) = 7536.20922282
delta logL = 0.0117493520684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7536.19123988
delta logL = 0.029732283112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2908       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2156       1.0000          .0000       10.000    
     3 'Normalizat'    1.6231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75073       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7536.191     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      262 TOTAL
                     EDM=   .14E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2408        677.40        .87368E-03   -.26337E-04
   2  Index         3.2216        6.6114        .43310E-02   -.43995E-05
   3  Normalizat    1.6233        .25031        .26242E-03   -.16852E-04
   4  Prefactor     .75058        .16235        .24115E-03   -.10796E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.24081
  Index      = 3.22156
  Normalizat = 1.62331
  Prefactor  = 0.750585
 **********
 **   18 **HESSE 
 **********

 FCN=   7536.191     FROM HESSE     STATUS=OK            27 CALLS      289 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2408        68.838        .34947E-04   -1.5250    
   2  Index         3.2216        3.8617        .17324E-03   -.36365    
   3  Normalizat    1.6233        .26373        .10497E-04   -.74370    
   4  Prefactor     .75058        .17068        .96460E-05   -1.0158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29735e-12
Minuit parameter uncertainties:
  1  38.0412
  2  4.5453
  3  0.26396
  4  0.170803
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/782271': 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) = 7536.19123803
delta logL = 0.0297341403302

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  5.241e+00  3.804e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  3.222e+00  4.545e+00  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:  7.506e-01  1.708e-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.623e+00  2.640e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
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/782271/cmap_HighResolution_487641601_487900801_4FGL_J1446.7+1719_daily_bin958.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.43e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-10 09:43:37.067979', job_id='782271', GAL2='0.75', fit_tolerance='1e-08', EG2='1.62', EG='1.64', time_epoch_completed='1631292217.07', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='2.97e-02', ts2='0.42', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='958' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:43:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0163>
Subject: Job 782271: <4FGL_J1446.7+1719_daily_bin958> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin958> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:31:04 2021
Job was executed on host(s) <bullet0163>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:31:06 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:06 2021
Terminated at Fri Sep 10 09:43:37 2021
Results reported at Fri Sep 10 09:43:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin958 221.688 17.3237 487641601 487900801 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 :                                   733.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   751 sec.
    Turnaround time :                            753 sec.

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

