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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin466
RA = 221.591, Dec = 31.1955
tmin = 360115201, tmax = 360374401
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='770765', job_status='RUN', time_executed='2021-09-10 08:51:24.681175', time_epoch_executed='1631289084.68' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='466'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/770765

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/770765/ft1_4FGL_J1446.3+3111_daily_bin466.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/770765/ft2_4FGL_J1446.3+3111_daily_bin466.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/770765/ft1_4FGL_J1446.3+3111_daily_bin466.fits outfile=/scratch/kocevski/770765/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin466.fits ra=221.591 dec=31.1955 rad=12.0 tmin=360115201.0 tmax=360374401.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.51
user 3.22
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/770765/ft1_filtered_4FGL_J1446.3+3111_daily_bin466.fits evtable="EVENTS" scfile=/scratch/kocevski/770765/ft2_4FGL_J1446.3+3111_daily_bin466.fits sctable="SC_DATA" expcube=/scratch/kocevski/770765/ltcube_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.fits outfile=/scratch/kocevski/770765/expmap_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.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/770765/ltcube_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.fits
.....................!
real 198.22
user 192.75
sys 5.06

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/770765/ft1_filtered_4FGL_J1446.3+3111_daily_bin466.fits scfile=/scratch/kocevski/770765/ft2_4FGL_J1446.3+3111_daily_bin466.fits outfile=/scratch/kocevski/770765/cmap_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/770765/ft1_filtered_4FGL_J1446.3+3111_daily_bin466.fits scfile=/scratch/kocevski/770765/ft2_4FGL_J1446.3+3111_daily_bin466.fits outfile=/scratch/kocevski/770765/cmap_HighResolution_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7479       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5882       1.0000         .10000E-03   10000.    
     3 'norm      '    30.791       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .21547E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8500       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.0948       1.0000         .10000E-03   10000.    
     9 'Prefactor '    44.816       1.0000         .10000E-03   10000.    
    10 'norm      '    3.1000       1.0000         .10000E-03   10000.    
    11 'norm      '    8.8589       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.473       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.261       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.5920       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6066       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.0227       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .94306E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.698       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12968E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .63518       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1301       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6367.479     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     3265 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7441        3.2640        .87457E-08   -.11719E-02
   2  Prefactor     1.4917        27.066       -.58575E-05    .19402E-02
   3  norm          30.796        1.9742        .33331E-07    .31338E-02
   4  Prefactor     .10005E-03    17.322       -.34255E-05** at limit **
   5  Prefactor     4.8762        5.4473        .16503E-05   -.23139E-02
   6  Prefactor     .10000E-03    1.2759        .28958E-06** at limit **
   7  norm          .10000E-03    10.337        .11232E-06** at limit **
   8  norm          6.0946        2.4371        .38459E-06    .23481E-03
   9  Prefactor     44.812        3.0216        .35106E-06   -.69356E-02
  10  norm          3.0997        2.9300       -.34708E-06   -.51281E-04
  11  norm          8.8575        5.6785       -.40590E-06    .22842E-02
  12  Prefactor     22.467        1.5161        .17159E-06   -.22512E-02
  13  norm          .10000E-03    1.1763        .53943E-06** at limit **
  14  Prefactor     .10001E-03    24.996       -.17213E-05** at limit **
  15  norm          10.264        7.4988        .12189E-05    .69850E-02
  16  Prefactor     .10000E-03    7.4995       -.50262E-06** at limit **
  17  Prefactor     .10000E-03    2.0627        .48314E-06** at limit **
  18  Prefactor     3.5918        5.8107        .17035E-05    .23289E-02
  19  norm          2.6065        1.5076       -.17875E-06   -.14372E-03
  20  Prefactor     .10013E-03    14.025       -.33471E-06** at limit **
  21  Prefactor     .10000E-03    3.6796        .84794E-06** at limit **
  22  norm          7.0290        1.6895        .89867E-06    .13497E-02
  23  Prefactor     .10278E-03    630.42        .14318E-04** at limit **
  24  Prefactor     33.758        9.8866       -.30558E-06   -.98369E-02
  25  Prefactor     .10671E-03    96.583       -.54232E-05** at limit **
  26  Normalizat    .63536        .19092        .11098E-05    .18592E-04
  27  Prefactor     1.1301        .18657       -.14235E-05    .74674E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.74407
  Prefactor  = 1.49166
  norm       = 30.796
  Prefactor  = 0.000100054
  Prefactor  = 4.87622
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.09459
  Prefactor  = 44.8115
  norm       = 3.09968
  norm       = 8.85751
  Prefactor  = 22.4672
  norm       = 0.0001
  Prefactor  = 0.000100011
  norm       = 10.264
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.59176
  norm       = 2.60651
  Prefactor  = 0.000100132
  Prefactor  = 0.0001
  norm       = 7.029
  Prefactor  = 0.000102781
  Prefactor  = 33.7585
  Prefactor  = 0.000106707
  Normalizat = 0.635357
  Prefactor  = 1.13007
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.479     FROM HESSE     STATUS=OK           558 CALLS     3823 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7441        6.8533        .46164E-02   -1.5272    
   2  Prefactor     1.4917        99.637        .84193E-02   -1.5464    
   3  norm          30.796        6.8840        .18052E-02   -1.4598    
   4  Prefactor     .10005E-03    28.999        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8762        16.758        .45665E-02   -1.5266    
   6  Prefactor     .10000E-03    1.2631        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    10.326        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.0946        2.4420        .40657E-02   -1.5214    
   9  Prefactor     44.812        26.338        .14972E-02   -1.4368    
  10  norm          3.0997        2.9369        .57580E-02   -1.5356    
  11  norm          8.8575        6.6381        .33667E-02   -1.5113    
  12  Prefactor     22.467        24.487        .21123E-02   -1.4760    
  13  norm          .10000E-03    1.1701        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    25.014        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.264        8.0523        .31271E-02   -1.5067    
  16  Prefactor     .10000E-03    7.4579        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0594        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.5918        5.9555        .53303E-02   -1.5329    
  19  norm          2.6065        1.5159        .63168E-02   -1.5385    
  20  Prefactor     .10013E-03    28.439        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.6564        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.0290        1.9763        .37845E-02   -1.5178    
  23  Prefactor     .10278E-03    9.3005        .94841E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     33.758        49.210        .17257E-02   -1.4545    
  25  Prefactor     .10671E-03    16.763        .11836       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .63536        .17993        .66518E-01   -1.0650    
  27  Prefactor     1.1301        .16552        .36541E-01   -.88511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04909e-06
Minuit parameter uncertainties:
  1  6.8544
  2  24.4241
  3  6.8842
  4  0.00249557
  5  16.7745
  6  1.45795e-06
  7  4.90197e-05
  8  2.44206
  9  26.3449
  10  2.937
  11  6.63864
  12  24.4984
  13  4.10233e-06
  14  0.00104071
  15  8.05315
  16  1.54676e-05
  17  2.65117e-06
  18  5.95644
  19  1.51597
  20  0.00387002
  21  5.66398e-06
  22  1.97636
  23  0.0101725
  24  49.2696
  25  0.0212126
  26  0.180094
  27  0.165592
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  1.041e-03  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:  1.130e+00  1.656e-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:  6.354e-01  1.801e-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: 6.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.72e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/770765/likelihoodResults_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.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) = 6367.47958485
delta logL = -0.000189335500181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6367.47939568
delta logL = -1.70422936208e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4711       1.0000          .0000       10.000    
     3 'Normalizat'    .63537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1301       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=   6367.479     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      236 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6488.6        .90712E-02** at limit **
   2  Index         2.4912        6.5403        .50000       -.77583E-05
   3  Normalizat    .63536        .61288E-01    .66518E-01    .59105E-04
   4  Prefactor     1.1301        .59828E-01    .36542E-01    .29925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.49117
  Normalizat = 0.635357
  Prefactor  = 1.13007
 **********
 **   18 **HESSE 
 **********

 FCN=   6367.479     FROM HESSE     STATUS=OK            33 CALLS      269 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    42.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4912        6.1369        .50000       -.52564    
   3  Normalizat    .63536        .18528        .29435E-03   -1.0650    
   4  Prefactor     1.1301        .18211        .22058E-03   -.88511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.17746e-11
Minuit parameter uncertainties:
  1  0.000343847
  2  5.80037
  3  0.185464
  4  0.182215
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/770765': 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) = 6367.47939563
delta logL = -1.18546267913e-07

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.438e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.491e+00  5.800e+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.130e+00  1.822e-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:  6.354e-01  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.591 31.195

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/770765/cmap_HighResolution_360115201_360374401_4FGL_J1446.3+3111_daily_bin466.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.72e-03', job_status='DONE', photon_flux_upper_limit='6.05e-08', time_completed='2021-09-10 09:03:50.920061', job_id='770765', GAL2='1.13', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1631289830.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-1.19e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='466' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:03:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 770765: <4FGL_J1446.3+3111_daily_bin466> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin466> 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) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:51:15 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:15 2021
Terminated at Fri Sep 10 09:03:51 2021
Results reported at Fri Sep 10 09:03:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin466 221.591 31.1955 360115201 360374401 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 :                                   741.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            757 sec.

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

