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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1078
RA = 221.591, Dec = 31.1955
tmin = 518745601, tmax = 519004801
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='774958', job_status='RUN', time_executed='2021-09-10 09:08:52.777160', time_epoch_executed='1631290132.78' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1078'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/774958

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/774958/ft1_4FGL_J1446.3+3111_daily_bin1078.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/774958/ft1_4FGL_J1446.3+3111_daily_bin1078.fits outfile=/scratch/kocevski/774958/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1078.fits ra=221.591 dec=31.1955 rad=12.0 tmin=518745601.0 tmax=519004801.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.33
user 4.11
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.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/774958/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1078.fits evtable="EVENTS" outfile="/scratch/kocevski/774958/ft1_filtered_4FGL_J1446.3+3111_daily_bin1078.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/774958/ft1_filtered_4FGL_J1446.3+3111_daily_bin1078.fits" evtable="EVENTS" scfile=/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits sctable="SC_DATA" outfile=/scratch/kocevski/774958/ltcube_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.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/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits
.....................!
real 11.72
user 11.37
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/774958/ft1_filtered_4FGL_J1446.3+3111_daily_bin1078.fits evtable="EVENTS" scfile=/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits sctable="SC_DATA" expcube=/scratch/kocevski/774958/ltcube_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.fits outfile=/scratch/kocevski/774958/expmap_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.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/774958/ltcube_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.fits
.....................!
real 191.68
user 186.88
sys 4.38

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/774958/ft1_filtered_4FGL_J1446.3+3111_daily_bin1078.fits scfile=/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits outfile=/scratch/kocevski/774958/cmap_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/774958/ft1_filtered_4FGL_J1446.3+3111_daily_bin1078.fits scfile=/scratch/kocevski/774958/ft2_4FGL_J1446.3+3111_daily_bin1078.fits outfile=/scratch/kocevski/774958/cmap_HighResolution_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.594       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12143E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10827E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18537E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3253       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.101       1.0000         .10000E-03   10000.    
    10 'norm      '    4.3288       1.0000         .10000E-03   10000.    
    11 'norm      '    6.6843       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.7407       1.0000         .10000E-03   10000.    
    14 'Prefactor '    43.163       1.0000         .10000E-03   10000.    
    15 'norm      '    14.448       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2248       1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3357       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.0108       1.0000         .10000E-03   10000.    
    19 'norm      '    1.5020       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .98761       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    25.256       1.0000         .10000E-03   10000.    
    25 'Prefactor '    32.627       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .85388       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97504       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.

 FCN=   5398.410     FROM MIGRAD    STATUS=CONVERGED    648 CALLS     3300 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.594        6.6746       -.14215E-07   -.25312E-05
   2  Prefactor     .10000E-03    45.618        .10034E-05** at limit **
   3  norm          .10000E-03    3.9687        .19430E-07** at limit **
   4  Prefactor     .10000E-03    3.2699       -.59609E-08** at limit **
   5  Prefactor     .10000E-03    3.6568        .52673E-07** at limit **
   6  Prefactor     .10000E-03    2.5730       -.13825E-06** at limit **
   7  norm          .10000E-03    4.9375        .26876E-08** at limit **
   8  norm          2.3254        2.1160       -.58400E-08   -.10461E-04
   9  Prefactor     16.101        20.040       -.19137E-07   -.42375E-05
  10  norm          4.3290        3.9435       -.21291E-06   -.18115E-03
  11  norm          6.6846        5.7770        .16032E-06    .61499E-04
  12  Prefactor     .10000E-03    11.393       -.25185E-07** at limit **
  13  norm          4.7410        4.1787       -.56434E-07    .89517E-04
  14  Prefactor     43.167        43.455        .18408E-05    .11128E-03
  15  norm          14.448        9.9749       -.20301E-06   -.20725E-05
  16  Prefactor     3.2251        7.2353        .33589E-05   -.10874E-02
  17  Prefactor     9.3362        9.7232       -.29062E-06   -.46155E-04
  18  Prefactor     6.0114        8.3195       -.60737E-07   -.39057E-04
  19  norm          1.5021        1.8449        .12954E-08   -.23918E-03
  20  Prefactor     .10000E-03    16.682        .10632E-06** at limit **
  21  Prefactor     .10000E-03    2.3873        .97006E-08** at limit **
  22  norm          .98836        1.0210        .17085E-06    .27523E-03
  23  Prefactor     .10000E-03    3.7492       -.46341E-08** at limit **
  24  Prefactor     25.238        32.168       -.98787E-05   -.46468E-03
  25  Prefactor     32.628        28.909        .36548E-06    .23742E-04
  26  Normalizat    .85387        .19140       -.11026E-05    .79485E-04
  27  Prefactor     .97502        .17302        .10243E-05   -.47113E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5941
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.32544
  Prefactor  = 16.1012
  norm       = 4.32904
  norm       = 6.68459
  Prefactor  = 0.0001
  norm       = 4.74101
  Prefactor  = 43.1673
  norm       = 14.4482
  Prefactor  = 3.22509
  Prefactor  = 9.33617
  Prefactor  = 6.01138
  norm       = 1.5021
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.988357
  Prefactor  = 0.0001
  Prefactor  = 25.2383
  Prefactor  = 32.6279
  Normalizat = 0.853868
  Prefactor  = 0.975017
 **********
 **   18 **HESSE 
 **********

 FCN=   5398.410     FROM HESSE     STATUS=OK           494 CALLS     3794 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.594        6.6792        .11765E-03   -1.5027    
   2  Prefactor     .10000E-03    47.458        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.1533        .28549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.2722        .12975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.6588        .13721E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    29.451        .21752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    4.9411        .15945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3254        2.1111        .98832E-04   -1.5403    
   9  Prefactor     16.101        20.048        .99816E-04   -1.4905    
  10  norm          4.3290        3.9435        .13431E-03   -1.5292    
  11  norm          6.6846        5.7844        .15520E-03   -1.5191    
  12  Prefactor     .10000E-03    11.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.7410        4.1787        .68103E-03   -1.5272    
  14  Prefactor     43.167        43.854        .61020E-04   -1.4393    
  15  norm          14.448        9.9964        .10537E-03   -1.4948    
  16  Prefactor     3.2251        10.407        .11279E-02   -1.5349    
  17  Prefactor     9.3362        9.6361        .13116E-03   -1.5097    
  18  Prefactor     6.0114        8.3302        .16377E-03   -1.5218    
  19  norm          1.5021        1.8016        .92313E-04   -1.5463    
  20  Prefactor     .10000E-03    16.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.3906        .11086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .98836        .97806        .71420E-03   -1.5509    
  23  Prefactor     .10000E-03    3.7635        .13879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.238        33.412        .79711E-04   -1.4703    
  25  Prefactor     32.628        28.889        .70151E-04   -1.4565    
  26  Normalizat    .85387        .21964        .25133E-03   -.98101    
  27  Prefactor     .97502        .20365        .22723E-03   -.93567    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.2178e-09
Minuit parameter uncertainties:
  1  6.67962
  2  9.59554e-05
  3  1.60265e-06
  4  7.09417e-07
  5  1.67857e-06
  6  0.000280876
  7  7.96756e-07
  8  2.11115
  9  20.056
  10  3.94378
  11  5.78491
  12  3.11288e-06
  13  4.179
  14  43.8872
  15  9.99754
  16  10.4132
  17  9.63771
  18  8.33183
  19  1.80166
  20  8.60565e-06
  21  1.45661e-06
  22  0.978077
  23  3.39165e-05
  24  33.4369
  25  28.9014
  26  0.219872
  27  0.203815
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.317e+01  4.389e+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:  9.750e-01  2.038e-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:  8.539e-01  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.69e-08 +/- 4.76e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 1.30e-05

TS (Fixed Index): 1.32
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/774958/likelihoodResults_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.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) = 5397.91621864
delta logL = 0.493990006276

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5397.90153301
delta logL = 0.508675636751

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.463       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5699       1.0000          .0000       10.000    
     3 'Normalizat'    .79987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0111       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=   5397.902     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      266 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.463        236.66        .24678E-02    .71003E-03
   2  Index         3.5700        3.4360        .14794        .10323E-03
   3  Normalizat    .79955        .61388E-01    .43609E-01    .14216E-04
   4  Prefactor     1.0113        .55903E-01    .43176E-01    .29988E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4627
  Index      = 3.57004
  Normalizat = 0.799552
  Prefactor  = 1.01135
 **********
 **   18 **HESSE 
 **********

 FCN=   5397.902     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.463        55.205        .98712E-04   -1.4896    
   2  Index         3.5700        2.0555        .52549E-02   -.29004    
   3  Normalizat    .79955        .21950        .25888E-03   -1.0009    
   4  Prefactor     1.0113        .20462        .22352E-03   -.92352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67473e-09
Minuit parameter uncertainties:
  1  55.3766
  2  2.12443
  3  0.219742
  4  0.204776
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/774958': 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) = 5397.90153191
delta logL = 0.508676733609

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.646e+01  5.538e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.570e+00  2.124e+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:  1.011e+00  2.048e-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:  7.996e-01  2.197e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.48
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.57 +/- 2.12
Photon Flux (Free Index): 8.28e-08 +/- 6.40e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.14e-05

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/774958/cmap_HighResolution_518745601_519004801_4FGL_J1446.3+3111_daily_bin1078.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-02', comment='SUCCESS', photon_flux='4.69e-08', energy_flux2='1.35e-05', photon_flux_error='4.76e-08', dlogl='5.09e-01', energy_flux='1.28e-05', photon_flux2='8.28e-08', job_status='DONE', time_completed='2021-09-10 09:20:03.924193', photon_index_error2='2.12', photon_index2='3.57', ts='1.32', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.43e-07', energy_flux_error2='1.14e-05', EG='0.85', time_epoch_completed='1631290803.92', return_code='0', job_id='774958', GAL2='1.01', EG2='0.80', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='6.40e-08', ts2='2.48', photon_index='2.56' WHERE bin_id='1078' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:20:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0299>
Subject: Job 774958: <4FGL_J1446.3+3111_daily_bin1078> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1078> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Fri Sep 10 09:06:08 2021
Job was executed on host(s) <bullet0299>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:06:10 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:06:10 2021
Terminated at Fri Sep 10 09:20:04 2021
Results reported at Fri Sep 10 09:20:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1078 221.591 31.1955 518745601 519004801 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 :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            836 sec.

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

