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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1544
RA = 221.591, Dec = 31.1955
tmin = 639532801, tmax = 639792001
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='776777', job_status='RUN', time_executed='2021-09-10 09:11:31.686914', time_epoch_executed='1631290291.69' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1544'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776777

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776777/ft1_4FGL_J1446.3+3111_daily_bin1544.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776777/ft1_4FGL_J1446.3+3111_daily_bin1544.fits outfile=/scratch/kocevski/776777/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1544.fits ra=221.591 dec=31.1955 rad=12.0 tmin=639532801.0 tmax=639792001.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.60
user 3.38
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.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/776777/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1544.fits evtable="EVENTS" outfile="/scratch/kocevski/776777/ft1_filtered_4FGL_J1446.3+3111_daily_bin1544.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/776777/ft1_filtered_4FGL_J1446.3+3111_daily_bin1544.fits" evtable="EVENTS" scfile=/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits sctable="SC_DATA" outfile=/scratch/kocevski/776777/ltcube_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.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/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits
.....................!
real 11.98
user 11.59
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776777/ft1_filtered_4FGL_J1446.3+3111_daily_bin1544.fits evtable="EVENTS" scfile=/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits sctable="SC_DATA" expcube=/scratch/kocevski/776777/ltcube_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.fits outfile=/scratch/kocevski/776777/expmap_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.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/776777/ltcube_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.fits
.....................!
real 191.13
user 185.23
sys 5.45

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/776777/ft1_filtered_4FGL_J1446.3+3111_daily_bin1544.fits scfile=/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits outfile=/scratch/kocevski/776777/cmap_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776777/ft1_filtered_4FGL_J1446.3+3111_daily_bin1544.fits scfile=/scratch/kocevski/776777/ft2_4FGL_J1446.3+3111_daily_bin1544.fits outfile=/scratch/kocevski/776777/cmap_HighResolution_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.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.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2376       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.4774       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16852E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.931       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.694       1.0000         .10000E-03   10000.    
     7 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7467       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.0745       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9186       1.0000         .10000E-03   10000.    
    11 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6577       1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.076       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.4352       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.0507       1.0000         .10000E-03   10000.    
    22 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .69906       1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.1746       1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.9992       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2039       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87880       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=   6190.333     FROM MIGRAD    STATUS=CONVERGED    649 CALLS     3311 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2376        3.1067       -.13183E-06   -.36298E-04
   2  Prefactor     .10000E-03    7.9115        .54188E-06** at limit **
   3  norm          4.4763        4.5335       -.34659E-06   -.66321E-04
   4  Prefactor     .10000E-03    21.930        .73624E-05** at limit **
   5  Prefactor     10.923        14.052        .82117E-06   -.10171E-03
   6  Prefactor     10.693        4.3369        .46061E-06    .36318E-04
   7  norm          .10000E-03    10.218       -.34824E-05** at limit **
   8  norm          3.7469        2.0842       -.41811E-07    .44933E-05
   9  Prefactor     3.0606        52.541       -.24966E-04   -.25917E-05
  10  norm          1.9190        3.1737       -.13138E-06   -.42169E-04
  11  norm          .10000E-03    4.7877        .33161E-07** at limit **
  12  Prefactor     .10000E-03    18.882       -.46949E-05** at limit **
  13  norm          .10000E-03    1.5642       -.35698E-07** at limit **
  14  Prefactor     .10000E-03    17.649       -.55984E-05** at limit **
  15  norm          2.6575        5.0282       -.80578E-07   -.34508E-05
  16  Prefactor     14.072        13.556       -.84693E-07    .26019E-04
  17  Prefactor     3.4341        6.0438        .25401E-06   -.21747E-03
  18  Prefactor     .10000E-03    12.261        .61828E-05** at limit **
  19  norm          .10000E-03    .80990       -.95873E-08** at limit **
  20  Prefactor     .10000E-03    53.823        .15287E-05** at limit **
  21  Prefactor     1.0653        1.9592        .20510E-06   -.69102E-03
  22  norm          .10000E-03    .25505        .14669E-07** at limit **
  23  Prefactor     .69580        6.1892       -.67947E-07    .97705E-04
  24  Prefactor     1.1503        98.425       -.19108E-04    .13412E-04
  25  Prefactor     9.9854        24.720       -.13717E-04    .24082E-05
  26  Normalizat    1.2041        .17626        .14314E-05   -.21153E-04
  27  Prefactor     .87855        .15826        .41845E-06    .58359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2376
  Prefactor  = 0.0001
  norm       = 4.47628
  Prefactor  = 0.0001
  Prefactor  = 10.9226
  Prefactor  = 10.6928
  norm       = 0.0001
  norm       = 3.74687
  Prefactor  = 3.06057
  norm       = 1.91903
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.65747
  Prefactor  = 14.0722
  Prefactor  = 3.43413
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.06529
  norm       = 0.0001
  Prefactor  = 0.695801
  Prefactor  = 1.15032
  Prefactor  = 9.98536
  Normalizat = 1.20411
  Prefactor  = 0.878546
 **********
 **   18 **HESSE 
 **********

 FCN=   6190.333     FROM HESSE     STATUS=OK           492 CALLS     3803 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2376        3.0478        .21382E-03   -1.5485    
   2  Prefactor     .10000E-03    7.9209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.4763        4.5327        .16038E-03   -1.5285    
   4  Prefactor     .10000E-03    22.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.923        14.027        .12118E-03   -1.5047    
   6  Prefactor     10.693        4.3569        .99496E-04   -1.5054    
   7  norm          .10000E-03    10.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7469        2.0853        .82469E-04   -1.5321    
   9  Prefactor     3.0606        53.107        .23133E-03   -1.5358    
  10  norm          1.9190        3.1592        .17422E-03   -1.5431    
  11  norm          .10000E-03    4.8469        .16802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5710        .96083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    17.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6575        5.0050        .23589E-03   -1.5382    
  16  Prefactor     14.072        13.577        .10676E-03   -1.4958    
  17  Prefactor     3.4341        6.1182        .10912E-02   -1.5337    
  18  Prefactor     .10000E-03    12.507        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .83774        .13731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    53.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.0653        14.915        .24142E-02   -1.5502    
  22  norm          .10000E-03    .25743        .38690E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .69580        6.0243        .36835E-03   -1.5541    
  24  Prefactor     1.1503        99.636        .42276E-03   -1.5493    
  25  Prefactor     9.9854        24.778        .12672E-03   -1.5076    
  26  Normalizat    1.2041        .21017        .22883E-03   -.86476    
  27  Prefactor     .87855        .18813        .24576E-03   -.96895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76089e-09
Minuit parameter uncertainties:
  1  3.04815
  2  8.85951e-06
  3  4.53308
  4  0.000108684
  5  14.0317
  6  4.35701
  7  8.80455e-06
  8  2.08537
  9  25.5241
  10  3.15945
  11  1.31672e-07
  12  3.34423e-05
  13  3.27795e-06
  14  2.16753e-05
  15  5.00583
  16  13.5801
  17  6.11933
  18  0.00010813
  19  1.43324e-06
  20  6.11e-05
  21  7.97432
  22  7.40562e-07
  23  4.095
  24  21.4475
  25  24.8033
  26  0.210318
  27  0.188269
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.168e-05  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:  8.785e-01  1.883e-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.204e+00  2.103e-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.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776777/likelihoodResults_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.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) = 6190.33347218
delta logL = -0.000268884651632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6190.33320654
delta logL = -3.23633412336e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1075       1.0000          .0000       10.000    
     3 'Normalizat'    1.2041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87855       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=   6190.333     FROM MIGRAD    STATUS=CONVERGED    123 CALLS      304 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10009E-03    13.027        .13808    ** at limit **
   2  Index         1.5429        8.7953        .50000       -.14250E-06
   3  Normalizat    1.2041        .35166E-02    .22883E-03   -.43491E-03
   4  Prefactor     .87855        .32990E-02    .24576E-03   -.38322E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100089
  Index      = 1.54292
  Normalizat = 1.20411
  Prefactor  = 0.878545
 **********
 **   18 **HESSE 
 **********

 FCN=   6190.333     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      335 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10009E-03    1178.5        .68034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5429        9.0811        .50000       -.76345    
   3  Normalizat    1.2041        .15350E-01    .45765E-04   -.86476    
   4  Prefactor     .87855        .14400E-01    .49152E-04   -.96895    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.5774e-08
Minuit parameter uncertainties:
  1  0.0209309
  2  560.231
  3  0.0153498
  4  0.0144004
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776777': 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) = 6190.33320097
delta logL = 2.32589445659e-06

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.001e-04  2.093e-02  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.543e+00  5.602e+02  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.785e-01  1.440e-02  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.204e+00  1.535e-02  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/776777/cmap_HighResolution_639532801_639792001_4FGL_J1446.3+3111_daily_bin1544.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2021-09-10 09:23:35.155471', job_id='776777', GAL2='0.88', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1631291015.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='2.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1544' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:23:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 776777: <4FGL_J1446.3+3111_daily_bin1544> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1544> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:11:19 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:11:21 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:11:21 2021
Terminated at Fri Sep 10 09:23:35 2021
Results reported at Fri Sep 10 09:23:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1544 221.591 31.1955 639532801 639792001 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 :                                   720.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            736 sec.

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

