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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1109
RA = 221.591, Dec = 31.1955
tmin = 526780801, tmax = 527040001
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='775009', job_status='RUN', time_executed='2021-09-10 09:08:49.595548', time_epoch_executed='1631290129.6' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/775009

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/775009/ft1_4FGL_J1446.3+3111_daily_bin1109.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/775009/ft2_4FGL_J1446.3+3111_daily_bin1109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/775009/ft1_4FGL_J1446.3+3111_daily_bin1109.fits outfile=/scratch/kocevski/775009/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1109.fits ra=221.591 dec=31.1955 rad=12.0 tmin=526780801.0 tmax=527040001.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 4.39
user 4.12
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/775009/ft2_4FGL_J1446.3+3111_daily_bin1109.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/775009/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1109.fits evtable="EVENTS" outfile="/scratch/kocevski/775009/ft1_filtered_4FGL_J1446.3+3111_daily_bin1109.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.51
user 0.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/775009/ft1_filtered_4FGL_J1446.3+3111_daily_bin1109.fits evtable="EVENTS" scfile=/scratch/kocevski/775009/ft2_4FGL_J1446.3+3111_daily_bin1109.fits sctable="SC_DATA" expcube=/scratch/kocevski/775009/ltcube_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.fits outfile=/scratch/kocevski/775009/expmap_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.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/775009/ltcube_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.fits
.....................!
real 190.19
user 185.48
sys 4.37

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/775009/ft1_filtered_4FGL_J1446.3+3111_daily_bin1109.fits scfile=/scratch/kocevski/775009/ft2_4FGL_J1446.3+3111_daily_bin1109.fits outfile=/scratch/kocevski/775009/cmap_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=221.591 yref=31.1955 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/775009/ft1_filtered_4FGL_J1446.3+3111_daily_bin1109.fits scfile=/scratch/kocevski/775009/ft2_4FGL_J1446.3+3111_daily_bin1109.fits outfile=/scratch/kocevski/775009/cmap_HighResolution_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.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.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.123       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10471E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.7514       1.0000         .10000E-03   10000.    
     7 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.6996       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.365       1.0000         .10000E-03   10000.    
    10 'norm      '    7.1447       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4271       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.2098       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.973       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .11050E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.637       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.5773       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    6.2910       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1924       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0419       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=   6444.158     FROM MIGRAD    STATUS=CONVERGED    660 CALLS     3291 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0889       -.47073E-08** at limit **
   2  Prefactor     .10000E-03    25.113        .31319E-06** at limit **
   3  norm          .10000E-03    1.4942       -.57565E-08** at limit **
   4  Prefactor     23.097        20.480        .39214E-05    .28480E-03
   5  Prefactor     .10000E-03    24.795        .18787E-05** at limit **
   6  Prefactor     1.7505        3.8460       -.85116E-06   -.82066E-03
   7  norm          .10001E-03    15.488       -.27348E-05** at limit **
   8  norm          2.7000        2.1660       -.30918E-07    .16552E-04
   9  Prefactor     19.376        26.768        .36680E-05    .21910E-06
  10  norm          7.1455        4.7068        .20020E-07   -.15336E-03
  11  norm          4.4247        7.2728       -.71916E-06   -.19095E-03
  12  Prefactor     .10000E-03    26.523       -.42934E-05** at limit **
  13  norm          5.2106        4.5481        .23481E-06   -.17559E-03
  14  Prefactor     .10000E-03    30.907        .49682E-06** at limit **
  15  norm          .10000E-03    5.3381       -.51911E-07** at limit **
  16  Prefactor     11.970        11.236        .18295E-06   -.97265E-04
  17  Prefactor     .10000E-03    4.0857        .12232E-06** at limit **
  18  Prefactor     .10000E-03    3.4223       -.32843E-07** at limit **
  19  norm          .10000E-03    .75333        .79974E-06** at limit **
  20  Prefactor     60.612        69.580       -.26174E-04   -.93624E-04
  21  Prefactor     .10000E-03    2.3553        .81517E-07** at limit **
  22  norm          4.5774        1.5875        .62826E-07   -.34167E-03
  23  Prefactor     .10000E-03    9.1856        .28519E-06** at limit **
  24  Prefactor     .10000E-03    10.053       -.28776E-06** at limit **
  25  Prefactor     6.3000        17.584       -.19018E-05   -.37256E-04
  26  Normalizat    1.1928        .20421        .21742E-07   -.11413E-03
  27  Prefactor     1.0415        .17728        .66663E-06   -.10447E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.0968
  Prefactor  = 0.000100001
  Prefactor  = 1.75046
  norm       = 0.000100015
  norm       = 2.69996
  Prefactor  = 19.3758
  norm       = 7.14545
  norm       = 4.4247
  Prefactor  = 0.0001
  norm       = 5.21058
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.9699
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 60.612
  Prefactor  = 0.0001
  norm       = 4.57739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.29996
  Normalizat = 1.19276
  Prefactor  = 1.04146
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.158     FROM HESSE     STATUS=OK           488 CALLS     3779 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0987        .13777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    25.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4972        .95792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.097        19.522        .83300E-04   -1.4746    
   5  Prefactor     .10000E-03    24.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.7505        3.8629        .22354E-03   -1.5443    
   7  norm          .10001E-03    99.097        .57442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.7000        2.1706        .10255E-03   -1.5379    
   9  Prefactor     19.376        26.764        .91016E-04   -1.4827    
  10  norm          7.1455        4.7049        .13552E-03   -1.5173    
  11  norm          4.4247        7.2530        .19139E-03   -1.5287    
  12  Prefactor     .10000E-03    26.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.2106        4.5443        .15394E-03   -1.5251    
  14  Prefactor     .10000E-03    30.980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.3626        .18112E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.970        11.221        .11577E-03   -1.5016    
  17  Prefactor     .10000E-03    4.1025        .15835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    3.4342        .14502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.3377        .13236E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     60.612        69.144        .51526E-04   -1.4149    
  21  Prefactor     .10000E-03    2.3582        .12031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.5774        1.5838        .56402E-04   -1.5280    
  23  Prefactor     .10000E-03    9.2881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    10.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     6.3000        17.578        .16004E-03   -1.5206    
  26  Normalizat    1.1928        .24266        .26697E-03   -.86827    
  27  Prefactor     1.0415        .21060        .25307E-03   -.91360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41953e-09
Minuit parameter uncertainties:
  1  1.14155e-06
  2  0.000211163
  3  4.82476e-06
  4  19.5272
  5  0.000384738
  6  3.86344
  7  0.00240288
  8  2.17064
  9  26.7802
  10  4.70518
  11  7.25449
  12  3.22341e-05
  13  4.54461
  14  3.80793e-06
  15  4.38655e-07
  16  11.2225
  17  5.71504e-06
  18  2.52907e-06
  19  0.00026898
  20  69.2361
  21  1.0314e-06
  22  1.5838
  23  3.81202e-06
  24  4.52229e-07
  25  17.5928
  26  0.242885
  27  0.210767
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.000e-04  3.808e-06  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.041e+00  2.108e-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.193e+00  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/775009/likelihoodResults_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6444.1586295
delta logL = -0.000153746824253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6444.1584753
delta logL = 4.48402715847e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.1772       1.0000          .0000       10.000    
     3 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0415       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=   6444.158     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      244 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.016        .90712E-02** at limit **
   2  Index         3.1886        8.4050        .50000       -.25211E-05
   3  Normalizat    1.1928        .49601E-02    .60361E-01    .30920E-04
   4  Prefactor     1.0415        .44498E-02    .40437E-01    .23677E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.18861
  Normalizat = 1.19276
  Prefactor  = 1.04146
 **********
 **   18 **HESSE 
 **********

 FCN=   6444.158     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .81E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    302.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1886        8.0664        .50000       -.37071    
   3  Normalizat    1.1928        .13125E-01    .26697E-03   -.86827    
   4  Prefactor     1.0415        .11782E-01    .25307E-03   -.91360    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08304e-08
Minuit parameter uncertainties:
  1  0.000468907
  2  515.569
  3  0.0131253
  4  0.0117822
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/775009': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6444.15847529
delta logL = 4.58694557892e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.041e+00  1.178e-02  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.193e+00  1.313e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 221.591 31.195

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/775009/cmap_HighResolution_526780801_527040001_4FGL_J1446.3+3111_daily_bin1109.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.23e-08', time_completed='2021-09-10 09:20:55.493337', job_id='775009', GAL2='1.04', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631290855.49', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='4.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1109' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:20:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 775009: <4FGL_J1446.3+3111_daily_bin1109> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1109 221.591 31.1955 526780801 527040001 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            885 sec.

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

