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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1405
RA = 221.591, Dec = 31.1955
tmin = 603504001, tmax = 603763201
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='776577', job_status='RUN', time_executed='2021-09-10 09:13:40.737377', time_epoch_executed='1631290420.74' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776577/ft1_4FGL_J1446.3+3111_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776577/ft2_4FGL_J1446.3+3111_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776577/ft1_4FGL_J1446.3+3111_daily_bin1405.fits outfile=/scratch/kocevski/776577/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1405.fits ra=221.591 dec=31.1955 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.77
user 2.54
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776577/ft1_filtered_4FGL_J1446.3+3111_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/776577/ft2_4FGL_J1446.3+3111_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/776577/ltcube_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.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/776577/ft2_4FGL_J1446.3+3111_daily_bin1405.fits
.....................!
real 12.50
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776577/ft1_filtered_4FGL_J1446.3+3111_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/776577/ft2_4FGL_J1446.3+3111_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/776577/ltcube_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.fits outfile=/scratch/kocevski/776577/expmap_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.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/776577/ltcube_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.fits
.....................!
real 191.03
user 185.56
sys 5.10

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/776577/ft1_filtered_4FGL_J1446.3+3111_daily_bin1405.fits scfile=/scratch/kocevski/776577/ft2_4FGL_J1446.3+3111_daily_bin1405.fits outfile=/scratch/kocevski/776577/cmap_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.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.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    42.209       1.0000         .10000E-03   10000.    
     6 'Prefactor '    54.743       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.0401       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.151       1.0000         .10000E-03   10000.    
    10 'norm      '    11.574       1.0000         .10000E-03   10000.    
    11 'norm      '    3.8941       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.0092       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.1918       1.0000         .10000E-03   10000.    
    19 'norm      '    .77777       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.1698       1.0000         .10000E-03   10000.    
    22 'norm      '    .70750       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0177       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1303       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=   7504.921     FROM MIGRAD    STATUS=CONVERGED    641 CALLS     3316 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0575       -.37138E-07** at limit **
   2  Prefactor     .10000E-03    4.9846       -.43897E-05** at limit **
   3  norm          .10000E-03    1.5328       -.29258E-07** at limit **
   4  Prefactor     .10000E-03    11.318        .83373E-05** at limit **
   5  Prefactor     42.203        22.872       -.12076E-05   -.23879E-03
   6  Prefactor     54.743        8.5359       -.19721E-07   -.14810E-03
   7  norm          .10000E-03    4.8250        .39929E-05** at limit **
   8  norm          3.0403        2.6368       -.21811E-07   -.13608E-04
   9  Prefactor     31.147        34.161       -.33164E-05   -.11397E-04
  10  norm          11.574        4.8536       -.73580E-07   -.61305E-05
  11  norm          3.8935        6.7651        .18630E-06   -.40656E-04
  12  Prefactor     .10000E-03    57.324       -.10088E-04** at limit **
  13  norm          .10000E-03    2.6030       -.15125E-07** at limit **
  14  Prefactor     .10000E-03    38.022        .99118E-05** at limit **
  15  norm          6.0090        6.0154        .89350E-08   -.28370E-04
  16  Prefactor     .10000E-03    7.0482        .46344E-05** at limit **
  17  Prefactor     .10000E-03    2.4767        .60895E-07** at limit **
  18  Prefactor     1.1934        1.4509        .14026E-06   -.79955E-03
  19  norm          .77760        1.1215       -.32556E-07   -.13822E-04
  20  Prefactor     .10000E-03    19.339       -.48721E-05** at limit **
  21  Prefactor     1.1714        11.216       -.11100E-06   -.23924E-04
  22  norm          .70774        1.0220        .71770E-07    .76109E-03
  23  Prefactor     .10000E-03    7.5292       -.42975E-05** at limit **
  24  Prefactor     .10000E-03    10.528       -.57501E-05** at limit **
  25  Prefactor     .10000E-03    4.2364       -.32925E-06** at limit **
  26  Normalizat    1.0179        .18480        .51994E-06   -.50096E-04
  27  Prefactor     1.1301        .15948       -.27978E-06    .34734E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.2026
  Prefactor  = 54.7428
  norm       = 0.0001
  norm       = 3.04028
  Prefactor  = 31.1467
  norm       = 11.574
  norm       = 3.89352
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.00902
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.19341
  norm       = 0.777597
  Prefactor  = 0.0001
  Prefactor  = 1.17144
  norm       = 0.707739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01785
  Prefactor  = 1.13008
 **********
 **   18 **HESSE 
 **********

 FCN=   7504.921     FROM HESSE     STATUS=OK           482 CALLS     3798 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0595        .12135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.9764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.5379        .10472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     42.203        23.004        .61703E-04   -1.4408    
   6  Prefactor     54.743        8.5734        .54213E-04   -1.4227    
   7  norm          .10000E-03    4.8275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.0403        2.6344        .12627E-03   -1.5359    
   9  Prefactor     31.147        34.188        .71789E-04   -1.4591    
  10  norm          11.574        4.8528        .11776E-03   -1.5027    
  11  norm          3.8935        6.7512        .20447E-03   -1.5313    
  12  Prefactor     .10000E-03    57.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.6455        .13644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    38.183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.0090        6.0179        .16380E-03   -1.5218    
  16  Prefactor     .10000E-03    7.0952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.4817        .13309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.1934        11.013        .20852E-02   -1.5489    
  19  norm          .77760        1.1228        .49427E-04   -1.5532    
  20  Prefactor     .10000E-03    19.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.1714        11.386        .42443E-03   -1.5492    
  22  norm          .70774        .98819        .97758E-04   -1.5540    
  23  Prefactor     .10000E-03    7.6211        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    4.2368        .17415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0179        .22121        .28408E-03   -.92435    
  27  Prefactor     1.1301        .19440        .24598E-03   -.88511    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81e-09
Minuit parameter uncertainties:
  1  1.28316e-07
  2  1.17444e-06
  3  1.02076e-06
  4  5.35142e-05
  5  23.0091
  6  8.5736
  7  4.68895e-06
  8  2.63451
  9  34.2098
  10  4.85296
  11  6.75248
  12  0.00011046
  13  4.16264e-07
  14  4.48055e-05
  15  6.01847
  16  1.11878e-05
  17  3.308e-07
  18  7.25203
  19  1.12286
  20  2.71916e-06
  21  7.30566
  22  0.98821
  23  1.75998e-05
  24  5.74837e-07
  25  1.16071e-07
  26  0.221409
  27  0.194522
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  4.481e-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:  1.130e+00  1.945e-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.018e+00  2.214e-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: 7.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776577/likelihoodResults_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.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) = 7504.9211875
delta logL = -0.000124722389955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7504.92106268
delta logL = 9.56697476795e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9445       1.0000          .0000       10.000    
     3 'Normalizat'    1.0178       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=   7504.921     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      252 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    47.841        .90712E-02** at limit **
   2  Index         2.9354        8.4869        .50000        .19735E-05
   3  Normalizat    1.0179        .49073E-02    .64228E-01    .28817E-04
   4  Prefactor     1.1301        .44713E-02    .55633E-01    .14830E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.93537
  Normalizat = 1.01785
  Prefactor  = 1.13008
 **********
 **   18 **HESSE 
 **********

 FCN=   7504.921     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    282.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9354        6.1290        .50000       -.42567    
   3  Normalizat    1.0179        .11928E-01    .28408E-03   -.92435    
   4  Prefactor     1.1301        .10875E-01    .24598E-03   -.88511    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.86823e-08
Minuit parameter uncertainties:
  1  0.000243617
  2  460.617
  3  0.0119277
  4  0.010875
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776577': 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) = 7504.92106267
delta logL = 9.9827957456e-08

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  2.436e-04  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.935e+00  4.606e+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:  1.130e+00  1.087e-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.018e+00  1.193e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/776577/cmap_HighResolution_603504001_603763201_4FGL_J1446.3+3111_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.91e-03', job_status='DONE', photon_flux_upper_limit='7.57e-08', time_completed='2021-09-10 09:26:58.718676', job_id='776577', GAL2='1.13', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631291218.72', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='9.98e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1405' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:26:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 776577: <4FGL_J1446.3+3111_daily_bin1405> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1405 221.591 31.1955 603504001 603763201 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 :                                   796.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

