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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1400
RA = 221.688, Dec = 17.3237
tmin = 602208001, tmax = 602467201
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='784021', job_status='RUN', time_executed='2021-09-10 09:38:35.157511', time_epoch_executed='1631291915.16' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784021

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784021/ft1_4FGL_J1446.7+1719_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784021/ft1_4FGL_J1446.7+1719_daily_bin1400.fits outfile=/scratch/kocevski/784021/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1400.fits ra=221.688 dec=17.3237 rad=12.0 tmin=602208001.0 tmax=602467201.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.25
user 4.94
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.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/784021/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1400.fits evtable="EVENTS" outfile="/scratch/kocevski/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.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.57
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/784021/ltcube_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.fits outfile=/scratch/kocevski/784021/expmap_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.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/784021/ltcube_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.fits
.....................!
real 189.97
user 185.56
sys 4.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/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.fits scfile=/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.fits outfile=/scratch/kocevski/784021/cmap_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.fits scfile=/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.fits outfile=/scratch/kocevski/784021/cmap_HighResolution_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.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/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/784021/ft2_4FGL_J1446.7+1719_daily_bin1400.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/784021/Model_4FGL_J1446.7+1719_daily_bin1400.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/784021/ft1_filtered_4FGL_J1446.7+1719_daily_bin1400.fits.....................!
real 50.49
user 49.21
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.5932       1.0000         .10000E-03   10000.    
     2 'Prefactor '    213.91       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11005E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    8.9019       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.4492       1.0000         .10000E-03   10000.    
     6 'norm      '    .19882       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.610       1.0000         .10000E-03   10000.    
     9 'norm      '    3.7065       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.099       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .34994E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11219E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.084       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0509       1.0000         .10000E-03   10000.    
    16 'norm      '    .46546       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    57.258       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96874       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98768       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=   6993.334     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2639 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.5943        12.355       -.24967E-05    .19217E-03
   2  Prefactor     213.89        45.121        .14951E-05    .37688E-03
   3  Prefactor     .10000E-03    15.979       -.81425E-05** at limit **
   4  norm          8.9022        3.1287       -.41795E-07   -.17509E-03
   5  Prefactor     4.4435        6.0340       -.80511E-06    .16989E-03
   6  norm          .19651        1.3914        .43470E-06    .33050E-03
   7  Prefactor     .10000E-03    17.762       -.15142E-05** at limit **
   8  norm          10.607        12.348       -.87971E-07    .23719E-04
   9  norm          3.7067        3.1395        .91341E-07    .54050E-04
  10  Prefactor     10.086        18.308        .81947E-06    .13047E-04
  11  Prefactor     .10000E-03    31.051       -.10206E-04** at limit **
  12  Prefactor     .10000E-03    11.409       -.18013E-07** at limit **
  13  Prefactor     .10000E-03    25.524        .14479E-05** at limit **
  14  Prefactor     14.080        40.406        .14986E-05    .79340E-05
  15  Prefactor     6.0511        5.7014        .62517E-06    .17258E-03
  16  norm          .46541        .17940        .24732E-08   -.93889E-04
  17  norm          .10000E-03    2.5062       -.32404E-07** at limit **
  18  norm          .10000E-03    30.653       -.41244E-05** at limit **
  19  Prefactor     .10000E-03    28.118       -.14975E-05** at limit **
  20  Prefactor     .10000E-03    6.4745       -.20250E-06** at limit **
  21  Prefactor     57.258        33.410        .17231E-06   -.27272E-05
  22  Normalizat    .96867        .19797       -.56893E-06    .45229E-04
  23  Prefactor     .98767        .13451       -.10780E-06   -.98985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.59435
  Prefactor  = 213.894
  Prefactor  = 0.0001
  norm       = 8.90216
  Prefactor  = 4.44352
  norm       = 0.196506
  Prefactor  = 0.0001
  norm       = 10.6073
  norm       = 3.70668
  Prefactor  = 10.0858
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0797
  Prefactor  = 6.05111
  norm       = 0.465406
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 57.2581
  Normalizat = 0.968668
  Prefactor  = 0.987672
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.334     FROM HESSE     STATUS=OK           378 CALLS     3017 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.5943        12.541        .68372E-03   -1.5122    
   2  Prefactor     213.89        45.833        .13823E-03   -1.2772    
   3  Prefactor     .10000E-03    21.822        .33860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          8.9022        3.1301        .85063E-04   -1.5111    
   5  Prefactor     4.4435        5.8956        .19090E-03   -1.5286    
   6  norm          .19651        2.8861        .18842E-02   -1.5619    
   7  Prefactor     .10000E-03    17.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.607        12.333        .12300E-03   -1.5056    
   9  norm          3.7067        3.1387        .13254E-03   -1.5323    
  10  Prefactor     10.086        18.285        .12609E-03   -1.5073    
  11  Prefactor     .10000E-03    64.936        .57737E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    11.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.080        40.394        .10673E-03   -1.4957    
  15  Prefactor     6.0511        5.7198        .16322E-03   -1.5216    
  16  norm          .46541        .17799        .21017E-04   -1.5572    
  17  norm          .10000E-03    2.5123        .12929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    31.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.5396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     57.258        33.415        .53016E-04   -1.4193    
  22  Normalizat    .96867        .23556        .29830E-03   -.94088    
  23  Prefactor     .98767        .16115        .20619E-03   -.93142    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86664e-10
Minuit parameter uncertainties:
  1  12.5445
  2  45.8405
  3  0.000106799
  4  3.13016
  5  5.89635
  6  1.50589
  7  0.000102543
  8  12.3362
  9  3.13886
  10  18.2947
  11  0.000710233
  12  2.26907e-05
  13  3.21024e-05
  14  40.4723
  15  5.72032
  16  0.17799
  17  2.40936e-07
  18  0.000413698
  19  0.000120534
  20  2.05133e-06
  21  33.4263
  22  0.235807
  23  0.161231
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.009e+01  1.829e+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.877e-01  1.612e-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.687e-01  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/784021/likelihoodResults_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.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) = 6993.30235474
delta logL = 0.0313367609124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6993.28453944
delta logL = 0.0491520594169

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4105       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9512       1.0000          .0000       10.000    
     3 'Normalizat'    .96025       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99151       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6993.285     FROM MIGRAD    STATUS=FAILED       102 CALLS      264 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3878        39.640        .79261E-03   -.19421E-04
   2  Index         2.9526        2.7067        .97527E-02    .29163E-03
   3  Normalizat    .96026        .23278        .29946E-03   -.83900E-05
   4  Prefactor     .99155        .16219        .20583E-03   -.10163E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6993.285     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      346 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3878        39.640        .28004E-03   -1.5202    
   2  Index         2.9526        2.7067        .11024E-02   -.42189    
   3  Normalizat    .96026        .23278        .38812E-03   -.94374    
   4  Prefactor     .99155        .16219        .24430E-03   -.93012    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6993.285     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      379 TOTAL
                     EDM=   .13E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3878        19.051        .31704E-04   -.23667E-04
   2  Index         2.9526        1.6930        .19505E-02   -.57585E-05
   3  Normalizat    .96026        .23188        .11979E-04   -.83520E-05
   4  Prefactor     .99155        .16128        .82331E-05   -.99422E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.38777
  Index      = 2.95256
  Normalizat = 0.960256
  Prefactor  = 0.991553
 **********
 **   18 **HESSE 
 **********

 FCN=   6993.285     FROM HESSE     STATUS=OK            23 CALLS      402 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3878        18.095        .12682E-05   -1.5202    
   2  Index         2.9526        1.6119        .78022E-04   -.42189    
   3  Normalizat    .96026        .23155        .23957E-05   -.94374    
   4  Prefactor     .99155        .16104        .16466E-05   -.93012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.60171e-12
Minuit parameter uncertainties:
  1  18.1108
  2  1.64746
  3  0.231789
  4  0.161115
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784021': 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) = 6993.28453853
delta logL = 0.0491529768769

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  6.388e+00  1.811e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.953e+00  1.647e+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:  9.916e-01  1.611e-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.603e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
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/784021/cmap_HighResolution_602208001_602467201_4FGL_J1446.7+1719_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.22e-03', job_status='DONE', photon_flux_upper_limit='9.28e-08', time_completed='2021-09-10 09:49:35.029498', job_id='784021', GAL2='0.99', fit_tolerance='1e-08', EG2='0.96', EG='0.97', time_epoch_completed='1631292575.03', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.92e-02', ts2='0.48', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1400' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:49:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 784021: <4FGL_J1446.7+1719_daily_bin1400> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1400 221.688 17.3237 602208001 602467201 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 :                                   656.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             290.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            804 sec.

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

