/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 119 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 = 7665
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1446.7+1719_daily_bin300
RA = 221.688, Dec = 17.3237
tmin = 317088001, tmax = 317347201
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='779426', job_status='RUN', time_executed='2021-09-10 09:23:13.778959', time_epoch_executed='1631290993.78' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779426

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779426/ft1_4FGL_J1446.7+1719_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779426/ft1_4FGL_J1446.7+1719_daily_bin300.fits outfile=/scratch/kocevski/779426/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin300.fits ra=221.688 dec=17.3237 rad=12.0 tmin=317088001.0 tmax=317347201.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.85
user 3.61
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/779426/ltcube_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.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/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits
.....................!
real 11.87
user 11.52
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/779426/ltcube_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.fits outfile=/scratch/kocevski/779426/expmap_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.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/779426/ltcube_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.fits
.....................!
real 191.92
user 186.40
sys 5.13

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/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits scfile=/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits outfile=/scratch/kocevski/779426/cmap_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.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.55
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits scfile=/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits outfile=/scratch/kocevski/779426/cmap_HighResolution_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/779426/ft2_4FGL_J1446.7+1719_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779426/Model_4FGL_J1446.7+1719_daily_bin300.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/779426/ft1_filtered_4FGL_J1446.7+1719_daily_bin300.fits.....................!
real 51.41
user 50.01
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    31.360       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.9171       1.0000         .10000E-03   10000.    
     4 'norm      '    9.8189       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10407E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.818       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.515       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.628       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .70942       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.9403       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .14755E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3627       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90599       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=   6707.693     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2598 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    33.407        .51918E-05** at limit **
   2  Prefactor     31.364        25.667        .32467E-07    .54748E-04
   3  Prefactor     8.9202        9.5433        .19715E-05   -.36204E-03
   4  norm          9.8193        3.3679        .23282E-07   -.89393E-06
   5  Prefactor     .10000E-03    6.3265       -.14311E-06** at limit **
   6  norm          .10000E-03    1.6928        .76042E-07** at limit **
   7  Prefactor     .10000E-03    21.841       -.18918E-05** at limit **
   8  norm          .10000E-03    12.117       -.12217E-05** at limit **
   9  norm          .10000E-03    2.2580       -.18251E-06** at limit **
  10  Prefactor     14.814        23.923       -.17474E-06   -.49607E-04
  11  Prefactor     .10000E-03    22.031       -.18872E-05** at limit **
  12  Prefactor     23.517        18.649        .16133E-06    .14260E-04
  13  Prefactor     27.628        21.936        .57852E-07   -.10690E-04
  14  Prefactor     .10000E-03    28.732        .81268E-06** at limit **
  15  Prefactor     .10000E-03    2.9997        .69920E-08** at limit **
  16  norm          .70951        .24048        .93757E-08    .53615E-04
  17  norm          .10000E-03    4.1878        .93261E-08** at limit **
  18  norm          .10000E-03    15.505        .16314E-05** at limit **
  19  Prefactor     .10000E-03    13.228        .95336E-06** at limit **
  20  Prefactor     6.9414        10.920        .32139E-05   -.35012E-03
  21  Prefactor     .10001E-03    54.611       -.35388E-05** at limit **
  22  Normalizat    1.3626        .21394       -.71439E-06    .44301E-05
  23  Prefactor     .90600        .14317       -.25573E-06   -.25944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100009
  Prefactor  = 31.3636
  Prefactor  = 8.92015
  norm       = 9.81927
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 14.8145
  Prefactor  = 0.000100002
  Prefactor  = 23.5168
  Prefactor  = 27.6278
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.709507
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 6.94136
  Prefactor  = 0.000100006
  Normalizat = 1.36255
  Prefactor  = 0.905997
 **********
 **   18 **HESSE 
 **********

 FCN=   6707.693     FROM HESSE     STATUS=OK           368 CALLS     2966 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    36.064        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     31.364        25.718        .71550E-04   -1.4587    
   3  Prefactor     8.9202        9.6765        .67112E-03   -1.5111    
   4  norm          9.8193        3.3702        .85361E-04   -1.5081    
   5  Prefactor     .10000E-03    6.4647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.6644        .20640E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    12.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.9943        .23877E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.814        23.927        .10405E-03   -1.4938    
  11  Prefactor     .10000E-03    22.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.517        18.643        .82604E-04   -1.4738    
  13  Prefactor     27.628        21.927        .76218E-04   -1.4656    
  14  Prefactor     .10000E-03    28.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.0104        .13852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .70951        .23952        .22274E-04   -1.5540    
  17  norm          .10000E-03    4.2147        .16367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    15.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.9414        11.163        .76143E-03   -1.5181    
  21  Prefactor     .10001E-03    56.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3626        .25686        .27778E-03   -.81718    
  23  Prefactor     .90600        .17166        .22591E-03   -.95932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19708e-09
Minuit parameter uncertainties:
  1  0.00114359
  2  25.7266
  3  9.67817
  4  3.37027
  5  1.59223e-05
  6  4.73128e-06
  7  0.000410358
  8  0.000193728
  9  0.000103825
  10  23.9427
  11  0.000403275
  12  18.648
  13  21.9333
  14  0.000203399
  15  8.08804e-07
  16  0.239516
  17  1.13133e-06
  18  0.000305675
  19  0.000164382
  20  11.1661
  21  0.00116861
  22  0.257102
  23  0.171758
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.481e+01  2.394e+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:  9.060e-01  1.718e-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.363e+00  2.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/779426/likelihoodResults_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.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) = 6707.69128233
delta logL = 0.00157897494864

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6707.69070712
delta logL = 0.00215418542484

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.736       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4390       1.0000          .0000       10.000    
     3 'Normalizat'    1.3636       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90547       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.

 FCN=   6707.691     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      224 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.736        920.22        .25242E-02    .17545E-03
   2  Index         2.4390        6.1609        .23756        .12501E-03
   3  Normalizat    1.3635        .61844E-01    .62783E-01    .31900E-05
   4  Prefactor     .90549        .41583E-01    .45075E-01    .11634E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.7358
  Index      = 2.43898
  Normalizat = 1.36353
  Prefactor  = 0.905492
 **********
 **   18 **HESSE 
 **********

 FCN=   6707.691     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.736        29.445        .10097E-03   -1.4914    
   2  Index         2.4390        .90914        .10046E-01   -.53775    
   3  Normalizat    1.3635        .25181        .27769E-03   -.81689    
   4  Prefactor     .90549        .17157        .22596E-03   -.95949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08467e-10
Minuit parameter uncertainties:
  1  29.4724
  2  0.916073
  3  0.252035
  4  0.171668
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779426': 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) = 6707.69070711
delta logL = 0.00215419195411

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.574e+01  2.947e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.439e+00  9.161e-01  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.055e-01  1.717e-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.364e+00  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 221.688 17.324

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/779426/cmap_HighResolution_317088001_317347201_4FGL_J1446.7+1719_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.30e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-10 09:33:45.707688', job_id='779426', GAL2='0.91', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1631291625.71', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='2.15e-03', ts2='0.49', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='300' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:33:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 779426: <4FGL_J1446.7+1719_daily_bin300> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin300> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:21:06 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:21: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:21:07 2021
Terminated at Fri Sep 10 09:33:46 2021
Results reported at Fri Sep 10 09:33:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin300 221.688 17.3237 317088001 317347201 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.18 sec.
    Max Memory :                                 1242 MB
    Average Memory :                             293.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

