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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin1182
RA = 221.688, Dec = 17.3237
tmin = 545702401, tmax = 545961601
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='782593', job_status='RUN', time_executed='2021-09-10 09:31:42.469831', time_epoch_executed='1631291502.47' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='1182'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/782593

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/782593/ft1_4FGL_J1446.7+1719_daily_bin1182.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/782593/ft1_4FGL_J1446.7+1719_daily_bin1182.fits outfile=/scratch/kocevski/782593/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin1182.fits ra=221.688 dec=17.3237 rad=12.0 tmin=545702401.0 tmax=545961601.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 4.03
user 3.77
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/782593/ft1_filtered_4FGL_J1446.7+1719_daily_bin1182.fits" evtable="EVENTS" scfile=/scratch/kocevski/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits sctable="SC_DATA" outfile=/scratch/kocevski/782593/ltcube_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.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/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/782593/ft1_filtered_4FGL_J1446.7+1719_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits sctable="SC_DATA" expcube=/scratch/kocevski/782593/ltcube_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.fits outfile=/scratch/kocevski/782593/expmap_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.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/782593/ltcube_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.fits
.....................!
real 190.56
user 184.89
sys 5.24

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/782593/ft1_filtered_4FGL_J1446.7+1719_daily_bin1182.fits scfile=/scratch/kocevski/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits outfile=/scratch/kocevski/782593/cmap_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.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.36
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/782593/ft1_filtered_4FGL_J1446.7+1719_daily_bin1182.fits evtable="EVENTS" scfile=/scratch/kocevski/782593/ft2_4FGL_J1446.7+1719_daily_bin1182.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/782593/Model_4FGL_J1446.7+1719_daily_bin1182.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/782593/ft1_filtered_4FGL_J1446.7+1719_daily_bin1182.fits.....................!
real 53.67
user 52.38
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .87362E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6279       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.0905       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21199E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .11172E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.2321       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.841       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.531       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12280E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .17771E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    30.212       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11341       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3952       1.0000         .10000E-03   10000.    
    17 'norm      '    2.8379       1.0000         .10000E-03   10000.    
    18 'norm      '    5.8205       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .65572       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .15551E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0548       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0879       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=   7249.246     FROM MIGRAD    STATUS=CONVERGED    946 CALLS     3014 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.1239        .18142E-02** at limit **
   2  Prefactor     .10022E-03    84.634        .65163E-02** at limit **
   3  Prefactor     .10000E-03    3.9761        .16511E-02** at limit **
   4  norm          2.6271        2.4050        .12303E-03   -.12660E-04
   5  Prefactor     .10000E-03    4.4664        .17438E-02** at limit **
   6  norm          4.0888        3.2455        .13108E-03   -.21718E-03
   7  Prefactor     .10005E-03    188.67        .74637E-02** at limit **
   8  norm          .10000E-03    42.907        .36285E-03** at limit **
   9  norm          8.2363        6.8548        .13973E-03   -.18225E-04
  10  Prefactor     14.827        20.808        .10397E-03   -.10815E-03
  11  Prefactor     24.533        24.237        .80877E-04   -.84902E-04
  12  Prefactor     .10000E-03    50.221        .36285E-03** at limit **
  13  Prefactor     .10000E-03    74.457        .18142E-02** at limit **
  14  Prefactor     30.104        52.816        .72894E-04   -.70651E-04
  15  Prefactor     .13179        6.5131        .73255E-01    .57889E-03
  16  norm          1.3952        .25269        .17160E-04   -.23327E-02
  17  norm          2.8376        4.0902        .20167E-03   -.65168E-04
  18  norm          5.8631        182.28        .16647E-03   -.38927E-05
  19  Prefactor     .52111        53.133        .17155        .10658E-03
  20  Prefactor     .10000E-03    7.6392        .18142E-02** at limit **
  21  Prefactor     .10000E-03    44.661        .18142E-02** at limit **
  22  Normalizat    1.0551        .27475        .32492E-03   -.33390E-03
  23  Prefactor     1.0880        .18582        .21548E-03   -.46283E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100221
  Prefactor  = 0.0001
  norm       = 2.62707
  Prefactor  = 0.0001
  norm       = 4.08882
  Prefactor  = 0.000100046
  norm       = 0.000100001
  norm       = 8.23627
  Prefactor  = 14.8266
  Prefactor  = 24.5335
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 30.104
  Prefactor  = 0.131787
  norm       = 1.39523
  norm       = 2.83764
  norm       = 5.86306
  Prefactor  = 0.521113
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05508
  Prefactor  = 1.08797
 **********
 **   18 **HESSE 
 **********

 FCN=   7249.246     FROM HESSE     STATUS=OK           366 CALLS     3380 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.1242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10022E-03    86.981        .26065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.9771        .33021E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6271        2.4050        .49211E-05   -1.5384    
   5  Prefactor     .10000E-03    4.4687        .34875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.0888        3.2453        .52431E-05   -1.5304    
   7  Prefactor     .10005E-03    196.72        .29855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    42.909        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.2363        6.8547        .55892E-05   -1.5134    
  10  Prefactor     14.827        20.804        .41587E-05   -1.4938    
  11  Prefactor     24.533        24.229        .32351E-05   -1.4717    
  12  Prefactor     .10000E-03    50.224        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    74.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     30.104        52.810        .14579E-04   -1.4610    
  15  Prefactor     .13179        6.3533        .75140E-01   -1.5635    
  16  norm          1.3952        .25267        .68639E-06   -1.5472    
  17  norm          2.8376        4.0901        .80667E-05   -1.5371    
  18  norm          5.8631        181.79        .66587E-05   -1.5224    
  19  Prefactor     .52111        52.926        .17201       -1.5564    
  20  Prefactor     .10000E-03    7.6394        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    44.678        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0551        .27500        .12997E-04   -.91207    
  23  Prefactor     1.0880        .18602        .43097E-04   -.89852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.20786e-09
Minuit parameter uncertainties:
  1  7.07157e-06
  2  0.00878732
  3  1.00333e-05
  4  2.40506
  5  4.65646e-06
  6  3.24542
  7  0.00606458
  8  0.000332118
  9  6.85532
  10  20.8143
  11  24.2391
  12  0.000248276
  13  0.000922292
  14  52.8921
  15  1.82957
  16  0.252672
  17  4.09054
  18  65.512
  19  10.512
  20  4.63099e-06
  21  2.06563e-05
  22  0.275373
  23  0.186129
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.483e+01  2.081e+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:  1.088e+00  1.861e-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.055e+00  2.754e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/782593/likelihoodResults_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.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) = 7249.22341127
delta logL = 0.0228952806783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7249.218002
delta logL = 0.0283045527121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.265       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2940       1.0000          .0000       10.000    
     3 'Normalizat'    1.0598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0858       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=   7249.218     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      239 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.242        1022.9        .24098E-02    .14653E-04
   2  Index         2.2927        5.6793        .24333        .49639E-04
   3  Normalizat    1.0597        .85261E-01    .73282E-01    .15383E-04
   4  Prefactor     1.0859        .51336E-01    .38154E-01    .68363E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2416
  Index      = 2.29271
  Normalizat = 1.05967
  Prefactor  = 1.0859
 **********
 **   18 **HESSE 
 **********

 FCN=   7249.218     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .73E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.242        25.105        .96391E-04   -1.4877    
   2  Index         2.2927        .84890        .11717E-01   -.57217    
   3  Normalizat    1.0597        .26962        .32429E-03   -.91057    
   4  Prefactor     1.0859        .18208        .21566E-03   -.89918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27628e-12
Minuit parameter uncertainties:
  1  25.1208
  2  0.854776
  3  0.269973
  4  0.182181
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/782593': 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) = 7249.21799951
delta logL = 0.0283070429705

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.724e+01  2.512e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  2.293e+00  8.548e-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:  1.086e+00  1.822e-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.060e+00  2.700e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.77
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/782593/cmap_HighResolution_545702401_545961601_4FGL_J1446.7+1719_daily_bin1182.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.02e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-09-10 09:42:58.809980', job_id='782593', GAL2='1.09', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1631292178.81', return_code2='0', ts='0.77', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.83e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1182' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:42:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 782593: <4FGL_J1446.7+1719_daily_bin1182> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin1182> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:31:27 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:31:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:31:28 2021
Terminated at Fri Sep 10 09:42:59 2021
Results reported at Fri Sep 10 09:42:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin1182 221.688 17.3237 545702401 545961601 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 :                                   675.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   691 sec.
    Turnaround time :                            692 sec.

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

