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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1503
RA = 221.591, Dec = 31.1955
tmin = 628905601, tmax = 629164801
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='776718', job_status='RUN', time_executed='2021-09-10 09:13:46.673283', time_epoch_executed='1631290426.67' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1503'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776718

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776718/ft1_4FGL_J1446.3+3111_daily_bin1503.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776718/ft1_4FGL_J1446.3+3111_daily_bin1503.fits outfile=/scratch/kocevski/776718/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1503.fits ra=221.591 dec=31.1955 rad=12.0 tmin=628905601.0 tmax=629164801.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.50
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.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/776718/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1503.fits evtable="EVENTS" outfile="/scratch/kocevski/776718/ft1_filtered_4FGL_J1446.3+3111_daily_bin1503.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776718/ft1_filtered_4FGL_J1446.3+3111_daily_bin1503.fits" evtable="EVENTS" scfile=/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits sctable="SC_DATA" outfile=/scratch/kocevski/776718/ltcube_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.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/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits
.....................!
real 11.78
user 11.43
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776718/ft1_filtered_4FGL_J1446.3+3111_daily_bin1503.fits evtable="EVENTS" scfile=/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits sctable="SC_DATA" expcube=/scratch/kocevski/776718/ltcube_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.fits outfile=/scratch/kocevski/776718/expmap_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.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/776718/ltcube_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.fits
.....................!
real 189.64
user 184.57
sys 4.71

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/776718/ft1_filtered_4FGL_J1446.3+3111_daily_bin1503.fits scfile=/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits outfile=/scratch/kocevski/776718/cmap_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776718/ft1_filtered_4FGL_J1446.3+3111_daily_bin1503.fits scfile=/scratch/kocevski/776718/ft2_4FGL_J1446.3+3111_daily_bin1503.fits outfile=/scratch/kocevski/776718/cmap_HighResolution_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18489E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.188       1.0000         .10000E-03   10000.    
     3 'norm      '    4.7963       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12545E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.8827       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4787       1.0000         .10000E-03   10000.    
     7 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8120       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8784       1.0000         .10000E-03   10000.    
    10 'norm      '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.0416       1.0000         .10000E-03   10000.    
    12 'Prefactor '    25.241       1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.312       1.0000         .10000E-03   10000.    
    15 'norm      '    .84116E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .74067       1.0000         .10000E-03   10000.    
    19 'norm      '    .25204E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    96.530       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .68296       1.0000         .10000E-03   10000.    
    22 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.9646       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1423       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .98884       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=   6662.185     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3368 TOTAL
                     EDM=   .84E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8702       -.20869E-06** at limit **
   2  Prefactor     19.186        14.589       -.10991E-06   -.20579E-04
   3  norm          4.7954        4.0494       -.12643E-07   -.40269E-04
   4  Prefactor     .10000E-03    21.663        .37212E-06** at limit **
   5  Prefactor     4.8754        11.721        .15726E-05   -.43959E-04
   6  Prefactor     4.4776        3.8350        .14018E-06   -.19368E-04
   7  norm          .10000E-03    13.350        .33829E-07** at limit **
   8  norm          1.8118        1.6422       -.69703E-08    .32964E-05
   9  Prefactor     3.8770        33.050        .32922E-05   -.13854E-04
  10  norm          .10000E-03    1.9948       -.99709E-07** at limit **
  11  norm          3.0431        4.5993        .21114E-05   -.95529E-04
  12  Prefactor     25.254        27.143        .15162E-06   -.49944E-04
  13  norm          .10000E-03    1.6070       -.68391E-07** at limit **
  14  Prefactor     12.315        21.761        .47404E-06   -.27519E-04
  15  norm          .55801E-01    5.4834        .40877E-07   -.10439E-03
  16  Prefactor     .10000E-03    5.8077       -.23745E-08** at limit **
  17  Prefactor     .10000E-03    2.0353        .34252E-07** at limit **
  18  Prefactor     .74617        6.4663       -.15196E-05    .96115E-04
  19  norm          .10001E-03    .61755        .46975E-06** at limit **
  20  Prefactor     96.595        77.148       -.68160E-05   -.60384E-04
  21  Prefactor     .68282        4.1229        .29680E-06   -.63817E-04
  22  norm          .10000E-03    .27392       -.35111E-09** at limit **
  23  Prefactor     .10000E-03    2.2390       -.15529E-07** at limit **
  24  Prefactor     3.9639        35.090        .32717E-06   -.30071E-05
  25  Prefactor     .10000E-03    5.5685        .53655E-07** at limit **
  26  Normalizat    1.1425        .17790       -.23374E-05   -.22990E-03
  27  Prefactor     .98884        .16151        .17515E-05   -.20327E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 19.1864
  norm       = 4.79536
  Prefactor  = 0.0001
  Prefactor  = 4.87544
  Prefactor  = 4.47759
  norm       = 0.0001
  norm       = 1.81181
  Prefactor  = 3.87696
  norm       = 0.0001
  norm       = 3.04312
  Prefactor  = 25.2536
  norm       = 0.0001
  Prefactor  = 12.3149
  norm       = 0.0558006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.746166
  norm       = 0.000100011
  Prefactor  = 96.5954
  Prefactor  = 0.682823
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.96392
  Prefactor  = 0.0001
  Normalizat = 1.14249
  Prefactor  = 0.988841
 **********
 **   18 **HESSE 
 **********

 FCN=   6662.185     FROM HESSE     STATUS=OK           510 CALLS     3878 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5116        .30902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     19.186        14.579        .91436E-04   -1.4832    
   3  norm          4.7954        4.0430        .14406E-03   -1.5270    
   4  Prefactor     .10000E-03    21.990        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.8754        11.647        .91018E-03   -1.5266    
   6  Prefactor     4.4776        3.8435        .13915E-03   -1.5285    
   7  norm          .10000E-03    13.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8118        1.6547        .96719E-04   -1.5439    
   9  Prefactor     3.8770        33.044        .10245E-02   -1.5314    
  10  norm          .10000E-03    2.0381        .11254E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.0431        4.6657        .10502E-02   -1.5359    
  12  Prefactor     25.254        27.121        .79734E-04   -1.4702    
  13  norm          .10000E-03    1.6170        .10103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.315        21.785        .11416E-03   -1.5006    
  15  norm          .55801E-01    8.7076        .65348E-01   -1.5661    
  16  Prefactor     .10000E-03    5.8257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.0388        .11369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .74617        15.035        .38322E-02   -1.5535    
  19  norm          .10001E-03    1.8615        .21609E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     96.595        80.229        .20456E-03   -1.3739    
  21  Prefactor     .68282        15.403        .31386E-02   -1.5543    
  22  norm          .10000E-03    .28232        .83359E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    2.2465        .11923E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.9639        35.166        .20258E-03   -1.5310    
  25  Prefactor     .10000E-03    5.5700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1425        .20761        .23565E-03   -.88399    
  27  Prefactor     .98884        .19131        .23845E-03   -.93102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06024e-08
Minuit parameter uncertainties:
  1  0.000141292
  2  14.5813
  3  4.04321
  4  2.9939e-05
  5  11.6528
  6  3.84368
  7  1.22139e-05
  8  1.65476
  9  22.6538
  10  3.02444e-06
  11  4.66628
  12  27.1346
  13  1.71921e-06
  14  21.7988
  15  1.39307
  16  2.40725e-07
  17  2.01361e-06
  18  6.70032
  19  0.000282456
  20  80.3193
  21  6.48752
  22  4.26749e-07
  23  7.98776e-07
  24  23.6315
  25  6.22071e-06
  26  0.207761
  27  0.191443
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.231e+01  2.180e+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:  9.888e-01  1.914e-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.142e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 8.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776718/likelihoodResults_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.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) = 6662.18424062
delta logL = 0.00101809391526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6662.18371616
delta logL = 0.00154255602592

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.641       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6425       1.0000          .0000       10.000    
     3 'Normalizat'    1.1412       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98977       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=   6662.184     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      248 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.536        350.78        .29354E-02    .51937E-04
   2  Index         2.6588        2.7084        .43355        .14558E-04
   3  Normalizat    1.1408        .29581E-01    .53332E-01   -.65257E-03
   4  Prefactor     .98993        .27104E-01    .46139E-01   -.10439E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.5359
  Index      = 2.65876
  Normalizat = 1.1408
  Prefactor  = 0.989932
 **********
 **   18 **HESSE 
 **********

 FCN=   6662.184     FROM HESSE     STATUS=OK            29 CALLS      277 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.536        26.500        .11741E-03   -1.5029    
   2  Index         2.6588        1.8996        .81632E-02   -.48731    
   3  Normalizat    1.1408        .19528        .23581E-03   -.88452    
   4  Prefactor     .98993        .18372        .23833E-03   -.93066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27367e-09
Minuit parameter uncertainties:
  1  26.5274
  2  1.96358
  3  0.1954
  4  0.183834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776718': 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) = 6662.18367678
delta logL = 0.00158193667539

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.154e+01  2.653e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.659e+00  1.964e+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:  9.899e-01  1.838e-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.141e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 221.591 31.195

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/776718/cmap_HighResolution_628905601_629164801_4FGL_J1446.3+3111_daily_bin1503.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', job_status='DONE', photon_flux_upper_limit='8.10e-08', time_completed='2021-09-10 09:26:09.324470', job_id='776718', GAL2='0.99', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631291169.32', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.58e-03', ts2='0.48', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1503' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:26:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 776718: <4FGL_J1446.3+3111_daily_bin1503> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1503 221.591 31.1955 628905601 629164801 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 :                                   740.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            897 sec.

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

