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


Performing analysis on: 4FGL_J1446.7+1719_daily_bin257
RA = 221.688, Dec = 17.3237
tmin = 305942401, tmax = 306201601
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='778280', job_status='RUN', time_executed='2021-09-10 09:16:37.288795', time_epoch_executed='1631290597.29' WHERE source_name='4FGL J1446.7+1719' and cadence='daily' and bin_id='257'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778280

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778280/ft1_4FGL_J1446.7+1719_daily_bin257.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778280/ft1_4FGL_J1446.7+1719_daily_bin257.fits outfile=/scratch/kocevski/778280/ft1_filteredMKT_4FGL_J1446.7+1719_daily_bin257.fits ra=221.688 dec=17.3237 rad=12.0 tmin=305942401.0 tmax=306201601.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.53
user 3.28
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits" evtable="EVENTS" scfile=/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits sctable="SC_DATA" outfile=/scratch/kocevski/778280/ltcube_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.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/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits
.....................!
real 11.68
user 11.29
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits evtable="EVENTS" scfile=/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits sctable="SC_DATA" expcube=/scratch/kocevski/778280/ltcube_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.fits outfile=/scratch/kocevski/778280/expmap_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.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/778280/ltcube_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.fits
.....................!
real 190.16
user 185.45
sys 4.37

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/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits scfile=/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits outfile=/scratch/kocevski/778280/cmap_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.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/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits scfile=/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits outfile=/scratch/kocevski/778280/cmap_HighResolution_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits evtable="EVENTS" scfile=/scratch/kocevski/778280/ft2_4FGL_J1446.7+1719_daily_bin257.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/778280/Model_4FGL_J1446.7+1719_daily_bin257.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/778280/ft1_filtered_4FGL_J1446.7+1719_daily_bin257.fits.....................!
real 60.37
user 59.01
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.201       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    16.468       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .51963E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7269       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8881       1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.166       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.731       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3922       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    1.4422       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    56.225       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.4868       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.2173       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.8294       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .54004       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=   8313.513     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2518 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.195        19.144        .11876E-05   -.15448E-04
   2  Prefactor     .10000E-03    31.983        .38958E-05** at limit **
   3  Prefactor     .10000E-03    4.4295        .98010E-06** at limit **
   4  norm          16.468        4.0743       -.37554E-07    .55946E-04
   5  Prefactor     .10000E-03    20.289        .23169E-04** at limit **
   6  norm          2.7281        3.4463        .67986E-06    .33052E-03
   7  Prefactor     .10000E-03    8.8603        .97891E-06** at limit **
   8  norm          .10000E-03    6.0511       -.84833E-06** at limit **
   9  norm          1.8876        1.7639        .12082E-05   -.14709E-02
  10  Prefactor     29.166        33.559        .11227E-05    .10831E-03
  11  Prefactor     2.1034        45.237        .30963E-05   -.15802E-04
  12  Prefactor     13.730        15.377        .17023E-06    .59139E-04
  13  Prefactor     8.3908        23.214        .97647E-06    .89649E-04
  14  Prefactor     .10000E-03    30.702       -.28941E-05** at limit **
  15  Prefactor     .10000E-03    4.2111       -.56677E-06** at limit **
  16  norm          1.4422        .24584       -.20819E-07   -.21264E-02
  17  norm          .10000E-03    2.4465        .11282E-07** at limit **
  18  norm          56.227        44.054       -.47275E-06    .68461E-05
  19  Prefactor     9.4828        31.511        .23169E-05    .95397E-05
  20  Prefactor     5.2161        9.0902        .25342E-07   -.12842E-03
  21  Prefactor     .10000E-03    31.065       -.11319E-06** at limit **
  22  Normalizat    1.8297        .21317        .19478E-05    .95644E-04
  23  Prefactor     .53988        .13189       -.19214E-05   -.90602E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.1947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.4676
  Prefactor  = 0.0001
  norm       = 2.72807
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.88756
  Prefactor  = 29.1663
  Prefactor  = 2.10336
  Prefactor  = 13.7301
  Prefactor  = 8.39079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.44221
  norm       = 0.0001
  norm       = 56.2269
  Prefactor  = 9.48284
  Prefactor  = 5.21611
  Prefactor  = 0.0001
  Normalizat = 1.82968
  Prefactor  = 0.539882
 **********
 **   18 **HESSE 
 **********

 FCN=   8313.513     FROM HESSE     STATUS=OK           368 CALLS     2886 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.195        19.210        .79797E-04   -1.4704    
   2  Prefactor     .10000E-03    32.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.468        4.0806        .44256E-03   -1.4896    
   5  Prefactor     .10000E-03    20.282        .37617E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7281        3.4191        .17785E-03   -1.5378    
   7  Prefactor     .10000E-03    8.8592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    6.0640        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8876        4.9564        .15143E-02   -1.5433    
  10  Prefactor     29.166        33.485        .74185E-04   -1.4627    
  11  Prefactor     2.1034        45.437        .28415E-03   -1.5418    
  12  Prefactor     13.730        15.367        .10809E-03   -1.4967    
  13  Prefactor     8.3908        23.149        .13838E-03   -1.5129    
  14  Prefactor     .10000E-03    30.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.4422        .24598        .17798E-04   -1.5468    
  17  norm          .10000E-03    2.4655        .13927E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          56.227        44.078        .53498E-04   -1.4207    
  19  Prefactor     9.4828        31.532        .13011E-03   -1.5092    
  20  Prefactor     5.2161        9.1418        .87993E-03   -1.5251    
  21  Prefactor     .10000E-03    31.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.8297        .25669        .26101E-03   -.68892    
  23  Prefactor     .53988        .15794        .28460E-03   -1.1018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97385e-09
Minuit parameter uncertainties:
  1  19.2152
  2  0.000226732
  3  2.45156e-05
  4  4.08065
  5  0.000179496
  6  3.41937
  7  2.21617e-05
  8  1.99607e-05
  9  4.95746
  10  33.5066
  11  19.5683
  12  15.371
  13  23.1738
  14  0.000111289
  15  3.20963e-06
  16  0.245978
  17  3.04379e-06
  18  44.1039
  19  31.587
  20  9.14423
  21  3.40533e-05
  22  0.256881
  23  0.158066
Done.

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

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  2.917e+01  3.351e+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:  5.399e-01  1.581e-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.830e+00  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 221.688 17.324
Photon Index (Fixed Index): 2.50 +/- 0.00
Photon Flux (Fixed Index): 4.98e-08 +/- 5.72e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.67e-05

TS (Fixed Index): 1.01
Ra Dec: 221.688 17.324
Photon Flux Upper Limit: 1.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/778280/likelihoodResults_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.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) = 8312.69129088
delta logL = 0.82208963274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8312.6412628
delta logL = 0.872117711084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7277       1.0000         .10000E-03   10000.    
     2 'Index     '    4.5680       1.0000          .0000       10.000    
     3 'Normalizat'    1.7328       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58801       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=   8312.641     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      276 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7255        15.700        .79860E-02    .88361E-03
   2  Index         4.5690        2.3405        .13262        .19105E-03
   3  Normalizat    1.7329        .54018E-01    .60226E-01   -.19466E-05
   4  Prefactor     .58801        .34298E-01    .61827E-01    .32937E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.72551
  Index      = 4.56901
  Normalizat = 1.73286
  Prefactor  = 0.58801
 **********
 **   18 **HESSE 
 **********

 FCN=   8312.641     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7255        35.644        .75144E-04   -1.5445    
   2  Index         4.5690        4.0309        .46339E-02   -.86304E-01
   3  Normalizat    1.7329        .21707        .26631E-03   -.71429    
   4  Prefactor     .58801        .13651        .27354E-03   -1.0809    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.13371e-07
Minuit parameter uncertainties:
  1  15.6952
  2  4.6963
  3  0.217193
  4  0.136589
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778280': 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) = 8312.64126181
delta logL = 0.872118704227

Extracting fit parameters...

4FGL J1446.7+1719
   Spectrum: PowerLaw
233    Prefactor:  1.726e+00  1.570e+01  1.000e-04  1.000e+04 ( 1.000e-13)
234        Index:  4.569e+00  4.696e+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:  5.880e-01  1.366e-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.733e+00  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.94
Ra Dec: 221.688 17.324
Photon Index (Free Index): 4.57 +/- 4.70
Photon Flux (Free Index): 1.23e-07 +/- 8.11e-08
Energy Flux (Free Index): 1.71e-05 +/- 1.39e-05

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/778280/cmap_HighResolution_305942401_306201601_4FGL_J1446.7+1719_daily_bin257.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', photon_flux='4.98e-08', energy_flux2='1.71e-05', photon_flux_error='5.72e-08', dlogl='8.72e-01', energy_flux='1.45e-05', photon_flux2='1.23e-07', job_status='DONE', time_completed='2021-09-10 09:28:05.587033', photon_index_error2='4.70', photon_index2='4.57', ts='1.01', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='1.59e-07', energy_flux_error2='1.39e-05', EG='1.83', time_epoch_completed='1631291285.59', return_code='0', job_id='778280', GAL2='0.59', EG2='1.73', return_code2='102', energy_flux_error='1.67e-05', photon_flux_error2='8.11e-08', ts2='2.94', photon_index='2.50' WHERE bin_id='257' AND source_name='4FGL J1446.7+1719' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:28:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0297>
Subject: Job 778280: <4FGL_J1446.7+1719_daily_bin257> in cluster <slac> Done

Job <4FGL_J1446.7+1719_daily_bin257> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 09:16:23 2021
Job was executed on host(s) <bullet0297>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:16:24 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:16:24 2021
Terminated at Fri Sep 10 09:28:06 2021
Results reported at Fri Sep 10 09:28:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.7+1719_daily_bin257 221.688 17.3237 305942401 306201601 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 :                                   684.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             379.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            703 sec.

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

