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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin249
RA = 221.591, Dec = 31.1955
tmin = 303868801, tmax = 304128001
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='769264', job_status='RUN', time_executed='2021-09-10 08:49:40.499952', time_epoch_executed='1631288980.5' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/769264

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/769264/ft1_4FGL_J1446.3+3111_daily_bin249.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/769264/ft1_4FGL_J1446.3+3111_daily_bin249.fits outfile=/scratch/kocevski/769264/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin249.fits ra=221.591 dec=31.1955 rad=12.0 tmin=303868801.0 tmax=304128001.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.39
user 3.17
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.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/769264/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin249.fits evtable="EVENTS" outfile="/scratch/kocevski/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.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.53
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits" evtable="EVENTS" scfile=/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits sctable="SC_DATA" outfile=/scratch/kocevski/769264/ltcube_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.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/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits
.....................!
real 11.92
user 11.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits sctable="SC_DATA" expcube=/scratch/kocevski/769264/ltcube_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits outfile=/scratch/kocevski/769264/expmap_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.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/769264/ltcube_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits
.....................!
real 191.09
user 185.10
sys 5.61

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/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits scfile=/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits outfile=/scratch/kocevski/769264/cmap_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits scfile=/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits outfile=/scratch/kocevski/769264/cmap_HighResolution_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.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.56
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits', '/scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits', expMap='/scratch/kocevski/769264/expmap_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits', expCube='/scratch/kocevski/769264/ltcube_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/769264/Model_4FGL_J1446.3+3111_daily_bin249.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/769264/ft1_filtered_4FGL_J1446.3+3111_daily_bin249.fits
Spacecraft file(s): /scratch/kocevski/769264/ft2_4FGL_J1446.3+3111_daily_bin249.fits
Exposure map: /scratch/kocevski/769264/expmap_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits
Exposure cube: /scratch/kocevski/769264/ltcube_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/769264/Model_4FGL_J1446.3+3111_daily_bin249.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) = 5837.1508695

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.253       1.0000         .10000E-03   10000.    
     3 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12219E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.995       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.5101       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.595       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7854       1.0000         .10000E-03   10000.    
    11 'norm      '    6.4720       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.4644       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1210       1.0000         .10000E-03   10000.    
    15 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.527       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.262       1.0000         .10000E-03   10000.    
    19 'norm      '    1.1597       1.0000         .10000E-03   10000.    
    20 'Prefactor '    53.072       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10688E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.4080       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3365       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .58174       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5837.119     FROM MIGRAD    STATUS=CONVERGED   1154 CALLS     4259 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1734        .13193E-02** at limit **
   2  Prefactor     22.244        16.985        .84910E-04   -.66945E-06
   3  norm          .10000E-03    2.5413        .23297E-03** at limit **
   4  Prefactor     .10000E-03    132.96        .47881E-02** at limit **
   5  Prefactor     20.958        17.378        .87414E-04    .13266E-04
   6  Prefactor     3.5101        2.5999        .10274E-03   -.40167E-04
   7  norm          .10000E-03    5.7266        .17846E-02** at limit **
   8  norm          12.595        3.7496        .77965E-04    .65618E-05
   9  Prefactor     .10000E-03    26.037        .18142E-02** at limit **
  10  norm          1.7854        1.9732        .11037E-03   -.21735E-04
  11  norm          6.4730        5.3659        .15539E-03   -.87793E-06
  12  Prefactor     .10000E-03    33.001        .18142E-02** at limit **
  13  norm          3.4645        3.3693        .13409E-03   -.27215E-04
  14  Prefactor     2.2266        195.12        .28318E-03    .17263E-05
  15  norm          .10000E-03    2.6480        .12140E-02** at limit **
  16  Prefactor     10.525        14.037        .12349E-03   -.29736E-04
  17  Prefactor     .10000E-03    2.7919        .12433E-02** at limit **
  18  Prefactor     13.260        9.5654        .10999E-03   -.12403E-05
  19  norm          1.1598        1.1982        .42804E-04    .22310E-04
  20  Prefactor     53.004        59.310        .27528E-03   -.28909E-04
  21  Prefactor     .10000E-03    11.352        .36285E-03** at limit **
  22  norm          4.4080        1.4208        .49391E-04    .39130E-05
  23  Prefactor     .10000E-03    2.3898        .11523E-02** at limit **
  24  Prefactor     .10000E-03    13.646        .18142E-02** at limit **
  25  Prefactor     .10000E-03    11.851        .18142E-02** at limit **
  26  Normalizat    1.3361        .20811        .21569E-03    .39530E-05
  27  Prefactor     .58193        .17718        .28510E-03    .15512E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 22.2438
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9576
  Prefactor  = 3.51012
  norm       = 0.0001
  norm       = 12.5954
  Prefactor  = 0.0001
  norm       = 1.78542
  norm       = 6.47303
  Prefactor  = 0.0001
  norm       = 3.46451
  Prefactor  = 2.22655
  norm       = 0.0001
  Prefactor  = 10.525
  Prefactor  = 0.0001
  Prefactor  = 13.2602
  norm       = 1.15983
  Prefactor  = 53.0037
  Prefactor  = 0.0001
  norm       = 4.40803
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33613
  Prefactor  = 0.581926
 **********
 **   18 **HESSE 
 **********

 FCN=   5837.119     FROM HESSE     STATUS=OK           460 CALLS     4719 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1744        .26386E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.244        16.978        .16982E-04   -1.4764    
   3  norm          .10000E-03    2.5414        .46594E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    135.72        .19153E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.958        17.204        .34965E-05   -1.4792    
   6  Prefactor     3.5101        2.5999        .41096E-05   -1.5333    
   7  norm          .10000E-03    5.7268        .35692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.595        3.7496        .31186E-05   -1.4998    
   9  Prefactor     .10000E-03    26.042        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7854        1.9732        .44146E-05   -1.5441    
  11  norm          6.4730        5.3658        .62157E-05   -1.5199    
  12  Prefactor     .10000E-03    33.004        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.4645        3.3693        .53637E-05   -1.5336    
  14  Prefactor     2.2266        194.80        .11327E-04   -1.5410    
  15  norm          .10000E-03    2.6480        .24280E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.525        14.036        .49395E-05   -1.5059    
  17  Prefactor     .10000E-03    2.7922        .24865E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     13.260        9.5655        .43996E-05   -1.4980    
  19  norm          1.1598        1.1982        .17122E-05   -1.5493    
  20  Prefactor     53.004        59.309        .11011E-04   -1.4251    
  21  Prefactor     .10000E-03    11.352        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.4080        1.4208        .19756E-05   -1.5288    
  23  Prefactor     .10000E-03    2.3899        .23046E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    13.647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    11.852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3361        .20821        .86278E-05   -.82494    
  27  Prefactor     .58193        .17732        .11404E-04   -1.0835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63841e-11
Minuit parameter uncertainties:
  1  5.08519e-06
  2  16.9814
  3  3.74035e-06
  4  3.44517e-05
  5  17.2081
  6  2.59998
  7  1.42826e-08
  8  3.74965
  9  2.15498e-05
  10  1.97329
  11  5.36619
  12  3.82191e-05
  13  3.3695
  14  41.7931
  15  2.17372e-06
  16  14.0406
  17  3.88108e-06
  18  9.56664
  19  1.19818
  20  59.3756
  21  4.12087e-05
  22  1.42081
  23  3.19378e-06
  24  9.04119e-07
  25  1.32593e-05
  26  0.208343
  27  0.177485
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.227e+00  4.179e+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:  5.819e-01  1.775e-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:  1.336e+00  2.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.92e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/769264/likelihoodResults_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.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) = 5834.79263821
delta logL = 2.32685991055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5834.75296649
delta logL = 2.36653163264

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27215       1.0000         .10000E-03   10000.    
     2 'Index     '    6.1218       1.0000          .0000       10.000    
     3 'Normalizat'    1.1943       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66073       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=   5834.753     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      257 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26900        2.1022        .45732E-02   -.55075E-02
   2  Index         6.1280        2.5978        .97455E-01   -.18193E-03
   3  Normalizat    1.1950        .54512E-01    .51023E-01   -.15786E-03
   4  Prefactor     .66023        .49746E-01    .60838E-01   -.15191E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.269004
  Index      = 6.12797
  Normalizat = 1.19505
  Prefactor  = 0.660232
 **********
 **   18 **HESSE 
 **********

 FCN=   5834.753     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      288 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26900        3.8628        .20533E-04   -1.5604    
   2  Index         6.1280        3.6237        .39815E-02    .22755    
   3  Normalizat    1.1950        .17723        .22558E-03   -.86756    
   4  Prefactor     .66023        .15712        .26911E-03   -1.0511    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10209e-10
Minuit parameter uncertainties:
  1  2.03851
  2  4.08646
  3  0.177315
  4  0.157228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/769264': 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) = 5834.75295674
delta logL = 2.36654138708

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.690e-01  2.039e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  6.128e+00  4.086e+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:  6.602e-01  1.572e-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:  1.195e+00  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.10
Ra Dec: 221.591 31.195
Photon Index (Free Index): 6.13 +/- 4.09
Photon Flux (Free Index): 1.16e-07 +/- 6.43e-08
Energy Flux (Free Index): 1.43e-05 +/- 9.14e-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/769264/cmap_HighResolution_303868801_304128001_4FGL_J1446.3+3111_daily_bin249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.92e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='2.37e+00', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-09-10 09:02:46.687065', photon_index_error2='4.09', photon_index2='6.13', ts='0.00', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='9.14e-06', EG='1.34', time_epoch_completed='1631289766.69', return_code='0', job_id='769264', GAL2='0.66', EG2='1.20', return_code2='102', photon_flux_error2='6.43e-08', ts2='5.10', photon_index='2.56' WHERE bin_id='249' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:02:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 769264: <4FGL_J1446.3+3111_daily_bin249> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin249> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 08:46:17 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:46:19 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:46:19 2021
Terminated at Fri Sep 10 09:02:47 2021
Results reported at Fri Sep 10 09:02:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin249 221.591 31.1955 303868801 304128001 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 :                                   766.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   987 sec.
    Turnaround time :                            990 sec.

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

