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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin465
RA = 221.591, Dec = 31.1955
tmin = 359856001, tmax = 360115201
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='770763', job_status='RUN', time_executed='2021-09-10 08:51:27.740231', time_epoch_executed='1631289087.74' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='465'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/770763

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/770763/ft1_4FGL_J1446.3+3111_daily_bin465.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/770763/ft1_4FGL_J1446.3+3111_daily_bin465.fits outfile=/scratch/kocevski/770763/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin465.fits ra=221.591 dec=31.1955 rad=12.0 tmin=359856001.0 tmax=360115201.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.23
user 3.02
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.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/770763/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin465.fits evtable="EVENTS" outfile="/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits" evtable="EVENTS" scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits sctable="SC_DATA" outfile=/scratch/kocevski/770763/ltcube_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.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/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits
.....................!
real 12.29
user 11.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits sctable="SC_DATA" expcube=/scratch/kocevski/770763/ltcube_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits outfile=/scratch/kocevski/770763/expmap_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.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/770763/ltcube_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits
.....................!
real 191.63
user 186.54
sys 4.26

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits outfile=/scratch/kocevski/770763/cmap_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.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.591 yref=31.1955 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits outfile=/scratch/kocevski/770763/cmap_HighResolution_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.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.591 yref=31.1955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits evtable="EVENTS" scfile=/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/770763/Model_4FGL_J1446.3+3111_daily_bin465.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/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits.....................!
real 49.06
user 47.70
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits', '/scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits', expMap='/scratch/kocevski/770763/expmap_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits', expCube='/scratch/kocevski/770763/ltcube_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/770763/Model_4FGL_J1446.3+3111_daily_bin465.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/770763/ft1_filtered_4FGL_J1446.3+3111_daily_bin465.fits
Spacecraft file(s): /scratch/kocevski/770763/ft2_4FGL_J1446.3+3111_daily_bin465.fits
Exposure map: /scratch/kocevski/770763/expmap_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits
Exposure cube: /scratch/kocevski/770763/ltcube_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/770763/Model_4FGL_J1446.3+3111_daily_bin465.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) = 6235.44155345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14869E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    38.549       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12263E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2816       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1334       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    18.969       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.3827       1.0000         .10000E-03   10000.    
    15 'norm      '    6.3965       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10436E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.2300       1.0000         .10000E-03   10000.    
    19 'norm      '    1.3480       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0797       1.0000         .10000E-03   10000.    
    22 'norm      '    7.2334       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14109       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .99102       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79049       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6235.407     FROM MIGRAD    STATUS=CONVERGED    697 CALLS     2862 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.5719         .0000    ** at limit **
   2  Prefactor     .10000E-03    8.4205         .0000    ** at limit **
   3  norm          38.548        7.5266         .0000       -.42888E-02
   4  Prefactor     .10000E-03    7.8383         .0000    ** at limit **
   5  Prefactor     1.2689        10.075         .0000        .16608E-01
   6  Prefactor     .10000E-03    1.1926         .0000    ** at limit **
   7  norm          .10000E-03    4.8638         .0000    ** at limit **
   8  norm          4.1331        2.5928         .0000        .15440E-03
   9  Prefactor     .10000E-03    7.4355         .0000    ** at limit **
  10  norm          .10000E-03    1.1899         .0000    ** at limit **
  11  norm          18.967        7.9030         .0000        .15413E-02
  12  Prefactor     .10000E-03    12.868         .0000    ** at limit **
  13  norm          .10000E-03    1.4156         .0000    ** at limit **
  14  Prefactor     5.3596        52.185         .0000       -.56200E-03
  15  norm          6.3946        6.8915         .0000        .13167E-02
  16  Prefactor     .10000E-03    8.2626         .0000    ** at limit **
  17  Prefactor     .10000E-03    1.5659         .0000    ** at limit **
  18  Prefactor     8.2291        8.1020         .0000        .12909E-02
  19  norm          1.3477        1.1849         .0000        .41292E-03
  20  Prefactor     .10000E-03    24.607         .0000    ** at limit **
  21  Prefactor     3.0802        5.8662         .0000        .23480E-02
  22  norm          7.2438        1.7732         .0000       -.10998E-02
  23  Prefactor     .10041E-03    6.0824         .0000    ** at limit **
  24  Prefactor     .10000E-03    16.297         .0000    ** at limit **
  25  Prefactor     .10000E-03    5.8182         .0000    ** at limit **
  26  Normalizat    .99110        .17022         .0000       -.10785E-03
  27  Prefactor     .79050        .15097         .0000       -.70945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 38.5483
  Prefactor  = 0.0001
  Prefactor  = 1.26889
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.13305
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 18.9665
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.35965
  norm       = 6.39458
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.22905
  norm       = 1.34775
  Prefactor  = 0.0001
  Prefactor  = 3.08018
  norm       = 7.24377
  Prefactor  = 0.000100413
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.991104
  Prefactor  = 0.7905
 **********
 **   18 **HESSE 
 **********

 FCN=   6235.407     FROM HESSE     STATUS=OK           496 CALLS     3358 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1051        .50550E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.4385        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          38.548        7.5409        .64555E-04   -1.4465    
   4  Prefactor     .10000E-03    7.8398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2689        9.8782        .19599E-02   -1.5483    
   6  Prefactor     .10000E-03    1.2022        .84179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.8654        .17006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1331        2.5898        .97134E-04   -1.5301    
   9  Prefactor     .10000E-03    7.4427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2107        .84103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.967        7.8997        .91962E-04   -1.4837    
  12  Prefactor     .10000E-03    12.872        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.4253        .91735E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.3596        52.553        .17321E-03   -1.5245    
  15  norm          6.3946        6.8454        .15870E-03   -1.5202    
  16  Prefactor     .10000E-03    52.255        .42643E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.5667        .96485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     8.2291        8.1181        .13975E-03   -1.5134    
  19  norm          1.3477        1.1631        .77394E-04   -1.5476    
  20  Prefactor     .10000E-03    24.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0802        5.8558        .23112E-03   -1.5357    
  22  norm          7.2438        1.8646        .44151E-04   -1.5170    
  23  Prefactor     .10041E-03    20.511        .49464E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    16.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    5.8199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .99110        .19647        .23841E-03   -.93329    
  27  Prefactor     .79050        .17451        .24633E-03   -1.0008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75555e-08
Minuit parameter uncertainties:
  1  0.000190302
  2  1.67173e-05
  3  7.5411
  4  1.38871e-05
  5  7.08211
  6  1.14789e-06
  7  8.61249e-06
  8  2.58991
  9  4.21483e-05
  10  4.35127e-07
  11  7.90015
  12  2.16953e-05
  13  3.11945e-07
  14  33.6039
  15  6.84623
  16  5.04009e-05
  17  4.68925e-07
  18  8.11922
  19  1.1631
  20  2.50192e-06
  21  5.85693
  22  1.86465
  23  0.00582182
  24  4.85977e-05
  25  1.89377e-06
  26  0.196616
  27  0.174633
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.360e+00  3.360e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.905e-01  1.746e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.911e-01  1.966e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 8.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/770763/likelihoodResults_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.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) = 6234.83895056
delta logL = 0.568132810073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6234.74630258
delta logL = 0.660780789847

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70295       1.0000         .10000E-03   10000.    
     2 'Index     '    5.0629       1.0000          .0000       10.000    
     3 'Normalizat'    .93444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6234.746     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      261 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70180        12.028        .12073E-01    .11439E-02
   2  Index         5.0646        3.3087        .13037        .15088E-03
   3  Normalizat    .93453        .38273E-01    .45340E-01    .27176E-04
   4  Prefactor     .82348        .35915E-01    .44023E-01    .35823E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.701804
  Index      = 5.06457
  Normalizat = 0.934527
  Prefactor  = 0.823485
 **********
 **   18 **HESSE 
 **********

 FCN=   6234.746     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      296 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70180        32.158        .62924E-03   -1.5540    
   2  Index         5.0646        7.5171        .65596E-02    .12915E-01
   3  Normalizat    .93453        .13753        .24471E-03   -.95257    
   4  Prefactor     .82348        .12576        .24194E-03   -.98868    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.29143e-10
Minuit parameter uncertainties:
  1  9.50606
  2  7.36676
  3  0.137585
  4  0.125804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/770763': 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) = 6234.74630096
delta logL = 0.660782410881

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.018e-01  9.506e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  5.065e+00  7.367e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.235e-01  1.258e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  9.345e-01  1.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 221.591 31.195
Photon Index (Free Index): 5.06 +/- 7.37
Photon Flux (Free Index): 4.49e-08 +/- 4.75e-08
Energy Flux (Free Index): 5.94e-06 +/- 8.64e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/770763/cmap_HighResolution_359856001_360115201_4FGL_J1446.3+3111_daily_bin465.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.86e-03', comment='SUCCESS', energy_flux2='5.94e-06', dlogl='6.61e-01', photon_flux2='4.49e-08', job_status='DONE', time_completed='2021-09-10 09:03:14.222811', photon_index_error2='7.37', photon_index2='5.06', ts='0.03', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='8.79e-08', energy_flux_error2='8.64e-06', EG='0.99', time_epoch_completed='1631289794.22', return_code='0', job_id='770763', GAL2='0.82', EG2='0.93', return_code2='102', photon_flux_error2='4.75e-08', ts2='1.44', photon_index='2.56' WHERE bin_id='465' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:03:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 770763: <4FGL_J1446.3+3111_daily_bin465> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin465> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 08:51:14 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:51:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:51:16 2021
Terminated at Fri Sep 10 09:03:14 2021
Results reported at Fri Sep 10 09:03:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin465 221.591 31.1955 359856001 360115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   696.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            720 sec.

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

