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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin348
RA = 221.688, Dec = 17.3237
tmin = 329529601, tmax = 329788801
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='779501', job_status='RUN', time_executed='2021-09-10 09:21:25.379674', time_epoch_executed='1631290885.38' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='348'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779501

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779501/ft1_4FGL_J1446.7+1719_daily_bin348.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779501/ft1_4FGL_J1446.7+1719_daily_bin348.fits outfile=/scratch/kocevski/779501/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin348.fits ra=221.688 dec=17.3237 rad=12.0 tmin=329529601.0 tmax=329788801.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.50
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.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/779501/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin348.fits evtable="EVENTS" outfile="/scratch/kocevski/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.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/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits" evtable="EVENTS" scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits sctable="SC_DATA" outfile=/scratch/kocevski/779501/ltcube_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.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/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits
.....................!
real 11.73
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits sctable="SC_DATA" expcube=/scratch/kocevski/779501/ltcube_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.fits outfile=/scratch/kocevski/779501/expmap_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.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/779501/ltcube_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.fits
.....................!
real 192.92
user 186.09
sys 6.32

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/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits outfile=/scratch/kocevski/779501/cmap_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits outfile=/scratch/kocevski/779501/cmap_HighResolution_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits evtable="EVENTS" scfile=/scratch/kocevski/779501/ft2_4FGL_J1446.7+1719_daily_bin348.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779501/Model_4FGL_J1446.7+1719_daily_bin348.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/779501/ft1_filtered_4FGL_J1446.7+1719_daily_bin348.fits.....................!
real 57.84
user 56.42
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.0080       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13385E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.465       1.0000         .10000E-03   10000.    
     4 'norm      '    10.149       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10429E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .52768       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.8043       1.0000         .10000E-03   10000.    
     8 'norm      '    .10463E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    5.0436       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18829E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.529       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.770       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13527E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10782E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.2181       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0466       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10118E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11586E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3373       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88607       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=   7708.227     FROM MIGRAD    STATUS=CONVERGED    504 CALLS     2503 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9987        19.524       -.20220E-05   -.15750E-04
   2  Prefactor     .10000E-03    52.715        .21823E-04** at limit **
   3  Prefactor     11.476        7.9742       -.16870E-05    .67472E-04
   4  norm          10.149        3.5012       -.12716E-06    .21832E-03
   5  Prefactor     .10000E-03    4.2646        .10850E-06** at limit **
   6  norm          .53223        2.1396       -.44178E-06   -.29263E-03
   7  Prefactor     5.8092        19.372        .36272E-06   -.14776E-04
   8  norm          .10000E-03    12.548       -.64472E-06** at limit **
   9  norm          5.0427        3.9933        .50882E-06   -.37505E-04
  10  Prefactor     .10008E-03    146.37       -.12827E-03** at limit **
  11  Prefactor     16.513        17.089        .32493E-07    .36039E-04
  12  Prefactor     11.760        16.858        .10539E-05    .50559E-03
  13  Prefactor     .10000E-03    24.291        .84110E-05** at limit **
  14  Prefactor     .10000E-03    23.708        .24172E-04** at limit **
  15  Prefactor     2.2112        8.6587        .26664E-05   -.25397E-03
  16  norm          1.0466        .23626       -.10720E-07    .10581E-02
  17  norm          .10000E-03    2.1363       -.17436E-07** at limit **
  18  norm          .10000E-03    26.135       -.27710E-04** at limit **
  19  Prefactor     .10000E-03    25.441       -.15486E-04** at limit **
  20  Prefactor     .10000E-03    4.5907        .16384E-10** at limit **
  21  Prefactor     .10000E-03    47.106        .89552E-05** at limit **
  22  Normalizat    1.3372        .20345        .15777E-05    .80932E-03
  23  Prefactor     .88606        .13198       -.17326E-06    .10258E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.99865
  Prefactor  = 0.0001
  Prefactor  = 11.4756
  norm       = 10.1493
  Prefactor  = 0.0001
  norm       = 0.532235
  Prefactor  = 5.80917
  norm       = 0.0001
  norm       = 5.04269
  Prefactor  = 0.000100076
  Prefactor  = 16.5132
  Prefactor  = 11.7597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.2112
  norm       = 1.04661
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33715
  Prefactor  = 0.886061
 **********
 **   18 **HESSE 
 **********

 FCN=   7708.227     FROM HESSE     STATUS=OK           370 CALLS     2873 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9987        19.610        .15154E-03   -1.5179    
   2  Prefactor     .10000E-03    53.396        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.476        7.9801        .11831E-03   -1.5030    
   4  norm          10.149        3.5005        .93318E-04   -1.5071    
   5  Prefactor     .10000E-03    4.3021        .17678E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .53223        4.0156        .23988E-02   -1.5562    
   7  Prefactor     5.8092        19.258        .16670E-03   -1.5226    
   8  norm          .10000E-03    12.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.0427        3.9899        .15133E-03   -1.5259    
  10  Prefactor     .10008E-03    146.68        .40565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.513        17.093        .98513E-04   -1.4895    
  12  Prefactor     11.760        16.862        .11677E-03   -1.5022    
  13  Prefactor     .10000E-03    24.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.776        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.2112        8.6310        .27613E-03   -1.5411    
  16  norm          1.0466        .23602        .19264E-04   -1.5503    
  17  norm          .10000E-03    2.1391        .12532E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    26.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    25.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.6048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    47.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3372        .24243        .28635E-03   -.82464    
  23  Prefactor     .88606        .15716        .22677E-03   -.96630    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09115e-08
Minuit parameter uncertainties:
  1  19.6283
  2  7.1788e-05
  3  7.98085
  4  3.50059
  5  4.02561e-05
  6  2.92384
  7  19.2786
  8  1.91052e-05
  9  3.99007
  10  0.00669932
  11  17.0978
  12  16.8689
  13  0.000133598
  14  2.08094e-07
  15  8.63589
  16  0.236017
  17  4.35222e-07
  18  1.04856e-05
  19  1.17124e-05
  20  5.22087e-06
  21  0.000104167
  22  0.242636
  23  0.157244
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.001e-04  6.699e-03  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:  8.861e-01  1.572e-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.337e+00  2.426e-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: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/779501/likelihoodResults_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.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) = 7708.22721032
delta logL = -3.21751977026e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7708.22717831
delta logL = -1.59721821547e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4563       1.0000          .0000       10.000    
     3 'Normalizat'    1.3372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88606       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=   7708.227     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      258 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47203E-03    20.366        .11069    ** at limit **
   2  Index         2.6045        3.5332        .50000       -.89957E-04
   3  Normalizat    1.3372        .47371E-02    .64735E-01    .18037E-03
   4  Prefactor     .88606        .31447E-02    .44827E-01    .57512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000472026
  Index      = 2.60447
  Normalizat = 1.33715
  Prefactor  = 0.886058
 **********
 **   18 **HESSE 
 **********

 FCN=   7708.227     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      299 TOTAL
                     EDM=   .95E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47203E-03    22.903        .10528       -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6045        3.5703        .50000       -.49964    
   3  Normalizat    1.3372        .48044E-02    .28635E-03   -.82464    
   4  Prefactor     .88606        .31909E-02    .22677E-03   -.96630    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.4604e-09
Minuit parameter uncertainties:
  1  0.184682
  2  4.17004
  3  0.00480444
  4  0.00319086
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779501': 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) = 7708.22717734
delta logL = 8.05838681117e-07

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  4.720e-04  1.847e-01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.604e+00  4.170e+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:  8.861e-01  3.191e-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.337e+00  4.804e-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/779501/cmap_HighResolution_329529601_329788801_4FGL_J1446.7+1719_daily_bin348.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.44e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-10 09:32:25.425201', job_id='779501', GAL2='0.89', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1631291545.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='8.06e-07', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='348' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:32:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 779501: <4FGL_J1446.7+1719_daily_bin348> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin348> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:21:12 2021
Job was executed on host(s) <bullet0021>, 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:32:26 2021
Results reported at Fri Sep 10 09:32:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin348 221.688 17.3237 329529601 329788801 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 :                                   659.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             333.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            674 sec.

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

