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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1421
RA = 221.591, Dec = 31.1955
tmin = 607651201, tmax = 607910401
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='776600', job_status='RUN', time_executed='2021-09-10 09:15:01.306027', time_epoch_executed='1631290501.31' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1421'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776600/ft1_4FGL_J1446.3+3111_daily_bin1421.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776600/ft2_4FGL_J1446.3+3111_daily_bin1421.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776600/ft1_4FGL_J1446.3+3111_daily_bin1421.fits outfile=/scratch/kocevski/776600/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1421.fits ra=221.591 dec=31.1955 rad=12.0 tmin=607651201.0 tmax=607910401.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.81
user 3.58
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776600/ft1_filtered_4FGL_J1446.3+3111_daily_bin1421.fits evtable="EVENTS" scfile=/scratch/kocevski/776600/ft2_4FGL_J1446.3+3111_daily_bin1421.fits sctable="SC_DATA" expcube=/scratch/kocevski/776600/ltcube_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.fits outfile=/scratch/kocevski/776600/expmap_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.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/776600/ltcube_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.fits
.....................!
real 190.65
user 184.99
sys 5.18

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/776600/ft1_filtered_4FGL_J1446.3+3111_daily_bin1421.fits scfile=/scratch/kocevski/776600/ft2_4FGL_J1446.3+3111_daily_bin1421.fits outfile=/scratch/kocevski/776600/cmap_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.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.55
user 0.38
sys 0.13

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7821       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2249       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.7644       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.889       1.0000         .10000E-03   10000.    
    10 'norm      '    4.2129       1.0000         .10000E-03   10000.    
    11 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.1596       1.0000         .10000E-03   10000.    
    13 'norm      '    4.8592       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.432       1.0000         .10000E-03   10000.    
    15 'norm      '    5.6002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.4121       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.7208       1.0000         .10000E-03   10000.    
    19 'norm      '    1.3172       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .63056E-01   1.0000         .10000E-03   10000.    
    22 'norm      '    .75166E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.7628       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.6482       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .75831       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0789       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=   5996.265     FROM MIGRAD    STATUS=CONVERGED    667 CALLS     3329 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7806        3.4905        .14678E-05   -.24140E-02
   2  Prefactor     .10000E-03    7.5815       -.11206E-06** at limit **
   3  norm          .10000E-03    2.0895       -.11256E-07** at limit **
   4  Prefactor     .10000E-03    3.8460        .79625E-07** at limit **
   5  Prefactor     .10000E-03    4.5238       -.47687E-06** at limit **
   6  Prefactor     8.2232        3.8865       -.53437E-06   -.66456E-03
   7  norm          .10000E-03    4.7129        .27438E-06** at limit **
   8  norm          5.7642        2.6499       -.40015E-07   -.12658E-04
   9  Prefactor     14.868        23.547        .15265E-05    .76915E-04
  10  norm          4.2128        2.7624       -.86959E-07   -.63037E-04
  11  norm          .10000E-03    4.0396        .18474E-06** at limit **
  12  Prefactor     9.1498        39.446       -.78398E-05   -.10363E-03
  13  norm          4.8591        4.1077        .96265E-06    .56778E-03
  14  Prefactor     23.418        34.890       -.84536E-05   -.33492E-03
  15  norm          5.6004        5.5357       -.19089E-06   -.16885E-04
  16  Prefactor     7.4094        12.837        .95354E-06    .46963E-04
  17  Prefactor     .10000E-03    2.2702        .36062E-07** at limit **
  18  Prefactor     9.7213        10.002       -.18691E-06   -.40882E-04
  19  norm          1.3171        1.2737       -.14871E-07   -.75427E-04
  20  Prefactor     .10000E-03    28.873        .39047E-06** at limit **
  21  Prefactor     .10001E-03    6.4584        .41753E-07** at limit **
  22  norm          .72936E-01    .82998       -.10953E-06    .59619E-03
  23  Prefactor     8.7679        10.068       -.52817E-06   -.18412E-04
  24  Prefactor     .10000E-03    23.624       -.19374E-06** at limit **
  25  Prefactor     5.6464        15.235        .15587E-06    .33407E-06
  26  Normalizat    .75861        .17744        .16694E-05   -.26182E-04
  27  Prefactor     1.0787        .16444       -.50969E-06    .11158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.78062
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.22323
  norm       = 0.0001
  norm       = 5.76423
  Prefactor  = 14.8678
  norm       = 4.21278
  norm       = 0.0001
  Prefactor  = 9.14975
  norm       = 4.85906
  Prefactor  = 23.4176
  norm       = 5.60037
  Prefactor  = 7.40941
  Prefactor  = 0.0001
  Prefactor  = 9.72127
  norm       = 1.31707
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  norm       = 0.0729358
  Prefactor  = 8.76795
  Prefactor  = 0.0001
  Prefactor  = 5.6464
  Normalizat = 0.75861
  Prefactor  = 1.07868
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.265     FROM HESSE     STATUS=OK           504 CALLS     3833 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7806        5.0585        .97060E-03   -1.5319    
   2  Prefactor     .10000E-03    7.6071        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.1651        .21852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.8538        .14830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5348        .16089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.2232        3.9013        .10002E-03   -1.5134    
   7  norm          .10000E-03    4.7165        .16419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.7642        2.6514        .82916E-04   -1.5228    
   9  Prefactor     14.868        23.601        .10380E-03   -1.4937    
  10  norm          4.2128        2.7636        .10143E-03   -1.5297    
  11  norm          .10000E-03    9.7195        .29681E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.1498        39.936        .13243E-03   -1.5103    
  13  norm          4.8591        4.1166        .13954E-03   -1.5267    
  14  Prefactor     23.418        35.926        .82748E-04   -1.4740    
  15  norm          5.6004        5.5367        .16976E-03   -1.5235    
  16  Prefactor     7.4094        12.816        .14732E-03   -1.5163    
  17  Prefactor     .10000E-03    2.2750        .11387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.7213        10.046        .12853E-03   -1.5084    
  19  norm          1.3171        1.2595        .81566E-04   -1.5478    
  20  Prefactor     .10000E-03    28.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10001E-03    8.9764        .55762E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .72936E-01    8.4277        .10761E-02   -1.5654    
  23  Prefactor     8.7679        11.450        .13541E-03   -1.5116    
  24  Prefactor     .10000E-03    23.656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.6464        15.228        .16903E-03   -1.5233    
  26  Normalizat    .75861        .20288        .26079E-03   -1.0162    
  27  Prefactor     1.0787        .19023        .21610E-03   -.90151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58835e-09
Minuit parameter uncertainties:
  1  5.05908
  2  1.08853e-05
  3  5.97381e-07
  4  1.5005e-06
  5  2.45652e-05
  6  3.90146
  7  1.26962e-05
  8  2.65149
  9  23.616
  10  2.76367
  11  7.17991e-05
  12  38.2741
  13  4.11685
  14  35.9596
  15  5.53717
  16  12.8208
  17  4.09963e-08
  18  10.0478
  19  1.2595
  20  3.63549e-05
  21  0.000627432
  22  1.56718
  23  11.4526
  24  2.18067e-06
  25  15.2384
  26  0.203082
  27  0.190354
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.342e+01  3.596e+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:  1.079e+00  1.904e-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:  7.586e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/776600/likelihoodResults_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.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) = 5996.25403119
delta logL = 0.011163462038

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.25105853
delta logL = 0.0141361235201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.699       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7473       1.0000          .0000       10.000    
     3 'Normalizat'    .75246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0827       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=   5996.251     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      258 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.697        39.969        .88037E-04    .22857E-04
   2  Index         2.7474        1.2508        .10040E-01    .21083E-03
   3  Normalizat    .75286        .19449        .26171E-03   -.27863E-03
   4  Prefactor     1.0823        .18524        .21579E-03   -.30993E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.6969
  Index      = 2.74737
  Normalizat = 0.752863
  Prefactor  = 1.0823
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.251     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.697        37.533        .35215E-05   -1.4798    
   2  Index         2.7474        1.1740        .20079E-02   -.46735    
   3  Normalizat    .75286        .19459        .10468E-04   -1.0184    
   4  Prefactor     1.0823        .18525        .43157E-04   -.90034    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14505e-10
Minuit parameter uncertainties:
  1  37.5756
  2  1.18793
  3  0.194768
  4  0.185365
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776600': 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) = 5996.25105604
delta logL = 0.0141386133564

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.070e+01  3.758e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.747e+00  1.188e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.082e+00  1.854e-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:  7.529e-01  1.948e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
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/776600/cmap_HighResolution_607651201_607910401_4FGL_J1446.3+3111_daily_bin1421.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.66e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-10 09:26:42.101261', job_id='776600', GAL2='1.08', fit_tolerance='1e-08', EG2='0.75', EG='0.76', time_epoch_completed='1631291202.1', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.41e-02', ts2='0.58', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1421' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:26:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 776600: <4FGL_J1446.3+3111_daily_bin1421> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1421 221.591 31.1955 607651201 607910401 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            935 sec.

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

