/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 224 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 = 7446
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1446.3+3111_daily_bin3
RA = 221.591, Dec = 31.1955
tmin = 240105601, tmax = 240364801
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='767761', job_status='RUN', time_executed='2021-09-10 08:45:23.525122', time_epoch_executed='1631288723.53' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='3'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/767761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/767761/ft1_4FGL_J1446.3+3111_daily_bin3.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/767761/ft2_4FGL_J1446.3+3111_daily_bin3.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/767761/ft1_4FGL_J1446.3+3111_daily_bin3.fits outfile=/scratch/kocevski/767761/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin3.fits ra=221.591 dec=31.1955 rad=12.0 tmin=240105601.0 tmax=240364801.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 1.44
user 1.26
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/767761/ft2_4FGL_J1446.3+3111_daily_bin3.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/767761/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin3.fits evtable="EVENTS" outfile="/scratch/kocevski/767761/ft1_filtered_4FGL_J1446.3+3111_daily_bin3.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/767761/ft1_filtered_4FGL_J1446.3+3111_daily_bin3.fits" evtable="EVENTS" scfile=/scratch/kocevski/767761/ft2_4FGL_J1446.3+3111_daily_bin3.fits sctable="SC_DATA" outfile=/scratch/kocevski/767761/ltcube_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.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/767761/ft2_4FGL_J1446.3+3111_daily_bin3.fits
.....................!
real 13.37
user 12.98
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/767761/ft1_filtered_4FGL_J1446.3+3111_daily_bin3.fits evtable="EVENTS" scfile=/scratch/kocevski/767761/ft2_4FGL_J1446.3+3111_daily_bin3.fits sctable="SC_DATA" expcube=/scratch/kocevski/767761/ltcube_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.fits outfile=/scratch/kocevski/767761/expmap_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.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/767761/ltcube_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.fits
.....................!
real 190.11
user 185.82
sys 3.94

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/767761/ft1_filtered_4FGL_J1446.3+3111_daily_bin3.fits scfile=/scratch/kocevski/767761/ft2_4FGL_J1446.3+3111_daily_bin3.fits outfile=/scratch/kocevski/767761/cmap_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.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.52
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.0010       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.5135       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    7.2876       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.3997       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9430       1.0000         .10000E-03   10000.    
    11 'norm      '    1.2062       1.0000         .10000E-03   10000.    
    12 'Prefactor '    91.761       1.0000         .10000E-03   10000.    
    13 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.056       1.0000         .10000E-03   10000.    
    15 'norm      '    10.649       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9064       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .56278       1.0000         .10000E-03   10000.    
    19 'norm      '    .10186E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    118.08       1.0000         .10000E-03   10000.    
    21 'Prefactor '    8.4008       1.0000         .10000E-03   10000.    
    22 'norm      '    6.7841       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11871E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    43.109       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3003       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .60589       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=   5814.597     FROM MIGRAD    STATUS=CONVERGED    652 CALLS     3314 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  9.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5618        .65256E-06** at limit **
   2  Prefactor     .10000E-03    6.7887        .75582E-07** at limit **
   3  norm          4.0008        3.4278       -.30574E-07   -.19960E-04
   4  Prefactor     .10000E-03    11.938       -.11900E-06** at limit **
   5  Prefactor     .10000E-03    11.552       -.19812E-06** at limit **
   6  Prefactor     1.5121        2.1560       -.36322E-07   -.11738E-03
   7  norm          .10000E-03    7.2480       -.15741E-06** at limit **
   8  norm          7.2878        2.8267        .20500E-07    .33524E-06
   9  Prefactor     7.3911        29.351       -.11370E-05   -.19948E-04
  10  norm          1.9436        2.3132        .54255E-07   -.23010E-04
  11  norm          1.1974        5.1842       -.83376E-06   -.32296E-03
  12  Prefactor     91.846        54.172        .11360E-05    .60844E-04
  13  norm          .10000E-03    2.3300        .19056E-06** at limit **
  14  Prefactor     29.072        36.711       -.46484E-07   -.81555E-05
  15  norm          10.650        8.1105       -.39044E-07   -.23651E-04
  16  Prefactor     3.9082        9.2147       -.26976E-06   -.63693E-04
  17  Prefactor     .10000E-03    3.1150        .30271E-07** at limit **
  18  Prefactor     .55092        17.204        .25554E-05    .56633E-03
  19  norm          .10000E-03    .72990        .23922E-06** at limit **
  20  Prefactor     118.05        69.452       -.60751E-06   -.58773E-04
  21  Prefactor     8.4016        9.0559        .60254E-07   -.14103E-03
  22  norm          6.7809        1.6192       -.25522E-06   -.45905E-02
  23  Prefactor     .10051E-03    67.422        .10024E-04** at limit **
  24  Prefactor     43.134        32.453       -.34521E-06   -.26446E-03
  25  Prefactor     .10000E-03    8.3916        .13058E-06** at limit **
  26  Normalizat    1.3005        .19514        .14501E-05   -.47972E-03
  27  Prefactor     .60555        .17136       -.29268E-05   -.22358E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.00082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51206
  norm       = 0.0001
  norm       = 7.28776
  Prefactor  = 7.39108
  norm       = 1.94364
  norm       = 1.19736
  Prefactor  = 91.8461
  norm       = 0.0001
  Prefactor  = 29.0723
  norm       = 10.6497
  Prefactor  = 3.90818
  Prefactor  = 0.0001
  Prefactor  = 0.550923
  norm       = 0.0001
  Prefactor  = 118.05
  Prefactor  = 8.40164
  norm       = 6.78086
  Prefactor  = 0.000100514
  Prefactor  = 43.1336
  Prefactor  = 0.0001
  Normalizat = 1.30052
  Prefactor  = 0.605554
 **********
 **   18 **HESSE 
 **********

 FCN=   5814.597     FROM HESSE     STATUS=OK           496 CALLS     3810 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9220        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.7923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.0008        3.4259        .12644E-03   -1.5308    
   4  Prefactor     .10000E-03    12.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5121        2.1264        .12951E-03   -1.5462    
   7  norm          .10000E-03    7.2647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          7.2878        2.8279        .77564E-04   -1.5168    
   9  Prefactor     7.3911        29.272        .14744E-03   -1.5164    
  10  norm          1.9436        2.3039        .12275E-03   -1.5429    
  11  norm          1.1974        5.2557        .33351E-03   -1.5489    
  12  Prefactor     91.846        54.391        .20975E-03   -1.3788    
  13  norm          .10000E-03    2.3672        .11372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.072        36.952        .74326E-04   -1.4629    
  15  norm          10.650        8.1072        .12278E-03   -1.5055    
  16  Prefactor     3.9082        9.1833        .20413E-03   -1.5313    
  17  Prefactor     .10000E-03    3.1304        .13142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55092        26.909        .38990E-02   -1.5560    
  19  norm          .10000E-03    .76394        .12718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     118.05        69.373        .18515E-03   -1.3531    
  21  Prefactor     8.4016        9.0589        .13831E-03   -1.5128    
  22  norm          6.7809        1.7457        .44790E-04   -1.5187    
  23  Prefactor     .10051E-03    10.874        .58405E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     43.134        32.667        .61058E-04   -1.4393    
  25  Prefactor     .10000E-03    8.3968        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3005        .21318        .22167E-03   -.83551    
  27  Prefactor     .60555        .18548        .28082E-03   -1.0735    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.79381e-09
Minuit parameter uncertainties:
  1  3.65386e-05
  2  3.28331e-06
  3  3.42605
  4  1.87998e-05
  5  2.96489e-05
  6  2.12652
  7  8.61838e-06
  8  2.82792
  9  29.329
  10  2.30397
  11  5.01767
  12  54.4208
  13  1.41984e-05
  14  36.9815
  15  8.10804
  16  9.18656
  17  2.94657e-06
  18  7.70355
  19  7.81299e-06
  20  69.4211
  21  9.06036
  22  1.74568
  23  0.00473085
  24  32.6808
  25  1.3742e-05
  26  0.213329
  27  0.185666
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.907e+01  3.698e+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:  6.056e-01  1.857e-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.301e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.77
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/767761/likelihoodResults_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.70767437
delta logL = 0.888929094957

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5813.68399256
delta logL = 0.912610900977

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6360       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9039       1.0000          .0000       10.000    
     3 'Normalizat'    1.2440       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63800       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5813.684     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      303 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6087        209.19        .68202E-03    .21232E-03
   2  Index         3.9058        6.9223        .50821E-02    .19800E-04
   3  Normalizat    1.2440        .20158        .22568E-03   -.10075E-06
   4  Prefactor     .63799        .17764        .27415E-03    .83769E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.60865
  Index      = 3.9058
  Normalizat = 1.24397
  Prefactor  = 0.637994
 **********
 **   18 **HESSE 
 **********

 FCN=   5813.684     FROM HESSE     STATUS=OK            27 CALLS      330 TOTAL
                     EDM=   .22E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6087        17.576        .13640E-03   -1.5121    
   2  Index         3.9058        1.1887        .20328E-03   -.22063    
   3  Normalizat    1.2440        .20636        .90272E-05   -.85255    
   4  Prefactor     .63799        .18141        .54829E-04   -1.0601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19892e-13
Minuit parameter uncertainties:
  1  17.5863
  2  1.20079
  3  0.206499
  4  0.181577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/767761': 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) = 5813.68399106
delta logL = 0.912612405109

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  8.609e+00  1.759e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  3.906e+00  1.201e+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:  6.380e-01  1.816e-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.244e+00  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.71
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.91 +/- 1.20
Photon Flux (Free Index): 7.52e-08 +/- 5.39e-08
Energy Flux (Free Index): 1.14e-05 +/- 8.31e-06

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/767761/cmap_HighResolution_240105601_240364801_4FGL_J1446.3+3111_daily_bin3.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.98e-03', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='9.13e-01', photon_flux2='7.52e-08', job_status='DONE', time_completed='2021-09-10 08:56:45.960005', photon_index_error2='1.20', photon_index2='3.91', ts='0.77', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='8.31e-06', EG='1.30', time_epoch_completed='1631289405.96', return_code='0', job_id='767761', GAL2='0.64', EG2='1.24', return_code2='0', photon_flux_error2='5.39e-08', ts2='2.71', photon_index='2.56' WHERE bin_id='3' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:56:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0089>
Subject: Job 767761: <4FGL_J1446.3+3111_daily_bin3> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin3> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 10 08:41:27 2021
Job was executed on host(s) <bullet0089>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:41:29 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:41:29 2021
Terminated at Fri Sep 10 08:56:46 2021
Results reported at Fri Sep 10 08:56:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin3 221.591 31.1955 240105601 240364801 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 :                                   682.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            919 sec.

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

