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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin345
RA = 221.688, Dec = 17.3237
tmin = 328752001, tmax = 329011201
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='779497', job_status='RUN', time_executed='2021-09-10 09:23:16.127666', time_epoch_executed='1631290996.13' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='345'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779497

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779497/ft1_4FGL_J1446.7+1719_daily_bin345.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779497/ft1_4FGL_J1446.7+1719_daily_bin345.fits outfile=/scratch/kocevski/779497/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin345.fits ra=221.688 dec=17.3237 rad=12.0 tmin=328752001.0 tmax=329011201.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.46
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779497/ft1_filtered_4FGL_J1446.7+1719_daily_bin345.fits" evtable="EVENTS" scfile=/scratch/kocevski/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits sctable="SC_DATA" outfile=/scratch/kocevski/779497/ltcube_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.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/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits
.....................!
real 11.80
user 11.41
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779497/ft1_filtered_4FGL_J1446.7+1719_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits sctable="SC_DATA" expcube=/scratch/kocevski/779497/ltcube_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.fits outfile=/scratch/kocevski/779497/expmap_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.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/779497/ltcube_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.fits
.....................!
real 190.77
user 186.05
sys 4.38

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/779497/ft1_filtered_4FGL_J1446.7+1719_daily_bin345.fits scfile=/scratch/kocevski/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits outfile=/scratch/kocevski/779497/cmap_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.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.52
user 0.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/779497/ft1_filtered_4FGL_J1446.7+1719_daily_bin345.fits evtable="EVENTS" scfile=/scratch/kocevski/779497/ft2_4FGL_J1446.7+1719_daily_bin345.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779497/Model_4FGL_J1446.7+1719_daily_bin345.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/779497/ft1_filtered_4FGL_J1446.7+1719_daily_bin345.fits.....................!
real 55.07
user 53.80
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32935       1.0000         .10000E-03   10000.    
     4 'norm      '    5.9936       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .39192E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    6.1695       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.433       1.0000         .10000E-03   10000.    
     9 'norm      '    1.3794       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10318E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.966       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .24238E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10516E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.411       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2672       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    74.381       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7855       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2163       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90198       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=   7142.605     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2568 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.791       -.66358E-07** at limit **
   2  Prefactor     .10001E-03    55.155       -.93983E-06** at limit **
   3  Prefactor     .32947        4.6056       -.30166E-05   -.17142E-03
   4  norm          5.9937        2.9153        .25350E-07    .16608E-04
   5  Prefactor     .10002E-03    2.8708        .21728E-06** at limit **
   6  norm          6.1696        3.2998        .42899E-07    .38827E-04
   7  Prefactor     .10000E-03    11.874       -.46320E-08** at limit **
   8  norm          13.430        13.273        .53571E-07    .61652E-06
   9  norm          1.3794        2.9115        .13274E-06   -.97237E-05
  10  Prefactor     .10000E-03    27.693        .84129E-07** at limit **
  11  Prefactor     24.967        29.213        .20438E-06    .10359E-05
  12  Prefactor     .10000E-03    19.575        .52422E-10** at limit **
  13  Prefactor     .10009E-03    22.280       -.38453E-05** at limit **
  14  Prefactor     .10000E-03    24.646       -.80285E-06** at limit **
  15  Prefactor     12.408        8.4408       -.77407E-07   -.38560E-04
  16  norm          1.2672        .26349        .47110E-08    .64213E-05
  17  norm          .10000E-03    1.6853       -.10166E-08** at limit **
  18  norm          74.396        60.945       -.43717E-06    .60238E-04
  19  Prefactor     .10000E-03    46.776        .12209E-05** at limit **
  20  Prefactor     1.7872        13.102        .10925E-04    .32355E-05
  21  Prefactor     .10000E-03    27.733        .13043E-06** at limit **
  22  Normalizat    1.2163        .20843        .39563E-06    .13598E-03
  23  Prefactor     .90196        .13874       -.87105E-06    .82033E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.329472
  norm       = 5.99375
  Prefactor  = 0.000100022
  norm       = 6.16964
  Prefactor  = 0.0001
  norm       = 13.4303
  norm       = 1.37943
  Prefactor  = 0.0001
  Prefactor  = 24.9672
  Prefactor  = 0.0001
  Prefactor  = 0.00010009
  Prefactor  = 0.000100001
  Prefactor  = 12.408
  norm       = 1.26721
  norm       = 0.0001
  norm       = 74.396
  Prefactor  = 0.000100002
  Prefactor  = 1.78717
  Prefactor  = 0.0001
  Normalizat = 1.21631
  Prefactor  = 0.901956
 **********
 **   18 **HESSE 
 **********

 FCN=   7142.605     FROM HESSE     STATUS=OK           386 CALLS     2954 TOTAL
                     EDM=   .52E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.875        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    55.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .32947        12.759        .32531E-02   -1.5593    
   4  norm          5.9937        2.9148        .97508E-04   -1.5218    
   5  Prefactor     .10002E-03    5.0428        .48879E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          6.1696        3.2983        .10751E-03   -1.5211    
   7  Prefactor     .10000E-03    11.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.430        13.271        .10929E-03   -1.4975    
   9  norm          1.3794        2.8648        .20323E-03   -1.5473    
  10  Prefactor     .10000E-03    27.918        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.967        29.218        .80170E-04   -1.4708    
  12  Prefactor     .10000E-03    19.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10009E-03    147.08        .73195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.408        8.4425        .11371E-03   -1.5003    
  16  norm          1.2672        .26361        .18672E-04   -1.5483    
  17  norm          .10000E-03    1.6855        .10715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          74.396        61.091        .23277E-03   -1.3981    
  19  Prefactor     .10000E-03    47.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7872        14.099        .15656E-02   -1.5441    
  21  Prefactor     .10000E-03    27.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2163        .25180        .29136E-03   -.86100    
  23  Prefactor     .90196        .16833        .22190E-03   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17787e-08
Minuit parameter uncertainties:
  1  6.03766e-06
  2  0.00120638
  3  4.10096
  4  2.91486
  5  0.000668037
  6  3.2984
  7  6.17195e-06
  8  13.2736
  9  2.86512
  10  0.000120082
  11  29.2344
  12  0.000137619
  13  0.00729052
  14  0.000242134
  15  8.44334
  16  0.263607
  17  2.00212e-07
  18  61.143
  19  0.000589154
  20  10.0425
  21  0.000103107
  22  0.252055
  23  0.168427
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.000e-04  1.201e-04  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.020e-01  1.684e-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.216e+00  2.521e-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: 9.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.11e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779497/likelihoodResults_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.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) = 7142.60472046
delta logL = -0.000170641204022

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7142.60455055
delta logL = -7.26847247279e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10302E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9804       1.0000          .0000       10.000    
     3 'Normalizat'    1.2163       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90196       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=   7142.605     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      288 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10313E-03    .22208        .84028E-01** at limit **
   2  Index         2.8864        5.4485        .50000        .93763E-05
   3  Normalizat    1.2163        .78159E-03    .29136E-03    .12170E-03
   4  Prefactor     .90196        .52417E-03    .22190E-03    .12260E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103127
  Index      = 2.88637
  Normalizat = 1.21631
  Prefactor  = 0.901956
 **********
 **   18 **HESSE 
 **********

 FCN=   7142.605     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      319 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10313E-03    50.907        .51041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8864        6.1627        .50000       -.43645    
   3  Normalizat    1.2163        .77752E-02    .11654E-04   -.86100    
   4  Prefactor     .90196        .52143E-02    .88759E-05   -.96073    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.37496e-09
Minuit parameter uncertainties:
  1  0.0252542
  2  292.016
  3  0.00777522
  4  0.00521435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779497': 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) = 7142.60455033
delta logL = -5.0956987252e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
496    Prefactor:  9.020e-01  5.214e-03  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.216e+00  7.775e-03  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/779497/cmap_HighResolution_328752001_329011201_4FGL_J1446.7+1719_daily_bin345.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.11e-03', job_status='DONE', photon_flux_upper_limit='9.14e-08', time_completed='2021-09-10 09:33:53.686177', job_id='779497', GAL2='0.90', fit_tolerance='1e-08', EG2='1.22', EG='1.22', time_epoch_completed='1631291633.69', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-5.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='345' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:33:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 779497: <4FGL_J1446.7+1719_daily_bin345> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin345 221.688 17.3237 328752001 329011201 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 :                                   637.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

