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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin500
RA = 221.591, Dec = 31.1955
tmin = 368928001, tmax = 369187201
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='770812', job_status='RUN', time_executed='2021-09-10 08:53:20.850778', time_epoch_executed='1631289200.85' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/770812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/770812/ft1_4FGL_J1446.3+3111_daily_bin500.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/770812/ft1_4FGL_J1446.3+3111_daily_bin500.fits outfile=/scratch/kocevski/770812/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin500.fits ra=221.591 dec=31.1955 rad=12.0 tmin=368928001.0 tmax=369187201.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.32
user 3.10
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.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/770812/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin500.fits evtable="EVENTS" outfile="/scratch/kocevski/770812/ft1_filtered_4FGL_J1446.3+3111_daily_bin500.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/770812/ft1_filtered_4FGL_J1446.3+3111_daily_bin500.fits" evtable="EVENTS" scfile=/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits sctable="SC_DATA" outfile=/scratch/kocevski/770812/ltcube_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.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/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits
.....................!
real 11.58
user 11.21
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/770812/ft1_filtered_4FGL_J1446.3+3111_daily_bin500.fits evtable="EVENTS" scfile=/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits sctable="SC_DATA" expcube=/scratch/kocevski/770812/ltcube_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.fits outfile=/scratch/kocevski/770812/expmap_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.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/770812/ltcube_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.fits
.....................!
real 190.33
user 185.01
sys 4.96

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/770812/ft1_filtered_4FGL_J1446.3+3111_daily_bin500.fits scfile=/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits outfile=/scratch/kocevski/770812/cmap_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/770812/ft1_filtered_4FGL_J1446.3+3111_daily_bin500.fits scfile=/scratch/kocevski/770812/ft2_4FGL_J1446.3+3111_daily_bin500.fits outfile=/scratch/kocevski/770812/cmap_HighResolution_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.431       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.356       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10381E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.445       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.5396       1.0000         .10000E-03   10000.    
     7 'norm      '    6.9978       1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.7866       1.0000         .10000E-03   10000.    
    11 'norm      '    5.2982       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8135       1.0000         .10000E-03   10000.    
    14 'Prefactor '    73.199       1.0000         .10000E-03   10000.    
    15 'norm      '    2.4326       1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.020       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1498       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6381       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.411       1.0000         .10000E-03   10000.    
    22 'norm      '    7.6877       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .91874       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79483       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=   6156.508     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     3248 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.432        6.6557        .14556E-07    .87475E-06
   2  Prefactor     .10000E-03    5.7363        .34732E-07** at limit **
   3  norm          18.358        5.9128       -.19882E-07   -.18599E-03
   4  Prefactor     .10000E-03    12.918        .11015E-05** at limit **
   5  Prefactor     23.467        18.655       -.71630E-06   -.31906E-03
   6  Prefactor     2.5404        2.4806        .16949E-07   -.41888E-05
   7  norm          6.9990        13.391        .16191E-06   -.63123E-04
   8  norm          .10000E-03    1.4310       -.25137E-07** at limit **
   9  Prefactor     .10000E-03    65.199        .60719E-06** at limit **
  10  norm          2.7864        2.8665        .19459E-07   -.52972E-05
  11  norm          5.2996        5.1307       -.55030E-07    .63909E-04
  12  Prefactor     .10000E-03    26.697       -.13923E-05** at limit **
  13  norm          3.8137        3.0351        .42973E-08    .25958E-05
  14  Prefactor     73.201        36.372        .28073E-07    .23100E-05
  15  norm          2.4308        7.7056        .52158E-05   -.63014E-04
  16  Prefactor     26.027        17.650       -.65784E-06   -.41683E-05
  17  Prefactor     .10000E-03    4.8890        .21262E-08** at limit **
  18  Prefactor     5.1488        6.6248        .44897E-07   -.25280E-05
  19  norm          1.6382        1.3757        .16430E-07   -.97666E-04
  20  Prefactor     .10000E-03    23.838        .11649E-05** at limit **
  21  Prefactor     12.410        8.8257        .36392E-07   -.27662E-06
  22  norm          7.6887        1.5577        .67054E-08    .55606E-05
  23  Prefactor     .10000E-03    4.3725       -.13104E-09** at limit **
  24  Prefactor     .10000E-03    9.3772        .76921E-07** at limit **
  25  Prefactor     .10000E-03    12.304       -.56368E-06** at limit **
  26  Normalizat    .91840        .17604       -.25556E-06   -.11420E-03
  27  Prefactor     .79514        .15438        .10211E-06    .11685E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.432
  Prefactor  = 0.0001
  norm       = 18.3577
  Prefactor  = 0.000100001
  Prefactor  = 23.4671
  Prefactor  = 2.54041
  norm       = 6.99899
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.78636
  norm       = 5.29956
  Prefactor  = 0.0001
  norm       = 3.81369
  Prefactor  = 73.2009
  norm       = 2.43076
  Prefactor  = 26.0267
  Prefactor  = 0.0001
  Prefactor  = 5.14875
  norm       = 1.63817
  Prefactor  = 0.0001
  Prefactor  = 12.4103
  norm       = 7.68867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.918401
  Prefactor  = 0.795139
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.508     FROM HESSE     STATUS=OK           486 CALLS     3734 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.432        6.6705        .10196E-03   -1.4922    
   2  Prefactor     .10000E-03    5.7378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.358        5.9170        .93482E-04   -1.4851    
   4  Prefactor     .10000E-03    13.142        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.467        18.891        .82727E-04   -1.4739    
   6  Prefactor     2.5404        2.4859        .11765E-03   -1.5389    
   7  norm          6.9990        13.368        .15165E-03   -1.5179    
   8  norm          .10000E-03    1.4622        .91594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    66.552        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.7864        2.8610        .13010E-03   -1.5374    
  11  norm          5.2996        5.1378        .16713E-03   -1.5248    
  12  Prefactor     .10000E-03    26.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8137        3.0351        .11838E-03   -1.5317    
  14  Prefactor     73.201        36.449        .46926E-04   -1.3995    
  15  norm          2.4308        7.7152        .13118E-02   -1.5396    
  16  Prefactor     26.027        17.692        .78534E-04   -1.4687    
  17  Prefactor     .10000E-03    4.9185        .16913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.1488        6.6280        .17716E-03   -1.5254    
  19  norm          1.6382        1.3658        .79902E-04   -1.5452    
  20  Prefactor     .10000E-03    23.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.410        8.8324        .11371E-03   -1.5003    
  22  norm          7.6887        1.5581        .42156E-04   -1.5153    
  23  Prefactor     .10000E-03    4.3943        .16002E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.3844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    12.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .91840        .20369        .24890E-03   -.95817    
  27  Prefactor     .79514        .17807        .24572E-03   -.99908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.4322e-10
Minuit parameter uncertainties:
  1  6.6708
  2  9.88642e-06
  3  5.91716
  4  0.000171285
  5  18.8958
  6  2.48599
  7  13.3737
  8  2.16137e-06
  9  0.000134758
  10  2.86115
  11  5.13825
  12  6.35992e-05
  13  3.03523
  14  36.4606
  15  7.71837
  16  17.6957
  17  1.50015e-06
  18  6.62892
  19  1.36584
  20  3.40965e-05
  21  8.83335
  22  1.55815
  23  3.52368e-07
  24  2.00219e-06
  25  1.24157e-05
  26  0.203858
  27  0.178195
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  7.320e+01  3.646e+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:  7.951e-01  1.782e-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:  9.184e-01  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.86
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 7.95e-08 +/- 3.95e-08
Energy Flux (Fixed Index): 2.17e-05 +/- 1.08e-05

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) = 6154.20352333
delta logL = 2.30406002302

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6154.09638805
delta logL = 2.4111953035

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    95.231       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6607       1.0000          .0000       10.000    
     3 'Normalizat'    .97521       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75935       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=   6154.096     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      218 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     95.313        48.895        .10297E-02    .27603E-06
   2  Index         1.6618        .29522        .14856       -.56813E-04
   3  Normalizat    .97508        .16214        .45855E-01    .12401E-04
   4  Prefactor     .75939        .14990        .43186E-01    .15412E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 95.3131
  Index      = 1.66178
  Normalizat = 0.975077
  Prefactor  = 0.759388
 **********
 **   18 **HESSE 
 **********

 FCN=   6154.096     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     95.313        52.831        .41186E-04   -1.3752    
   2  Index         1.6618        .34651        .60427E-02   -.73104    
   3  Normalizat    .97508        .18407        .24228E-03   -.93870    
   4  Prefactor     .75939        .17003        .25053E-03   -1.0124    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.72766e-10
Minuit parameter uncertainties:
  1  52.8575
  2  0.34701
  3  0.184189
  4  0.170149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/770812': 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) = 6154.09638302
delta logL = 2.41120032595

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  9.531e+01  5.286e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.662e+00  3.470e-01  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:  7.594e-01  1.701e-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:  9.751e-01  1.842e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.63
Ra Dec: 221.591 31.195
Photon Index (Free Index): 1.66 +/- 0.35
Photon Flux (Free Index): 4.00e-08 +/- 2.62e-08
Energy Flux (Free Index): 7.38e-05 +/- 6.53e-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/770812/cmap_HighResolution_368928001_369187201_4FGL_J1446.3+3111_daily_bin500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.95e-08', energy_flux2='7.38e-05', photon_flux_error='3.95e-08', dlogl='2.41e+00', energy_flux='2.17e-05', photon_flux2='4.00e-08', job_status='DONE', time_completed='2021-09-10 09:03:50.871857', photon_index_error2='0.35', photon_index2='1.66', ts='10.86', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', energy_flux_error2='6.53e-05', EG='0.92', time_epoch_completed='1631289830.87', return_code='0', job_id='770812', GAL2='0.76', EG2='0.98', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.62e-08', ts2='15.63', photon_index='2.56' WHERE bin_id='500' 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@bullet0270>
Subject: Job 770812: <4FGL_J1446.3+3111_daily_bin500> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin500> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 08:51:17 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:51:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:51:19 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_bin500 221.591 31.1955 368928001 369187201 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 :                                   627.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             249.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   752 sec.
    Turnaround time :                            754 sec.

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

