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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1595
RA = 221.591, Dec = 31.1955
tmin = 652752001, tmax = 653011201
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='54043', job_status='RUN', time_executed='2021-09-11 00:19:56.693468', time_epoch_executed='1631344796.69' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1595'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54043

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54043/ft1_4FGL_J1446.3+3111_daily_bin1595.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54043/ft1_4FGL_J1446.3+3111_daily_bin1595.fits outfile=/scratch/kocevski/54043/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1595.fits ra=221.591 dec=31.1955 rad=12.0 tmin=652752001.0 tmax=653011201.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.26
user 3.00
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54043/ft1_filtered_4FGL_J1446.3+3111_daily_bin1595.fits" evtable="EVENTS" scfile=/scratch/kocevski/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits sctable="SC_DATA" outfile=/scratch/kocevski/54043/ltcube_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.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/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits
.....................!
real 13.08
user 12.74
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54043/ft1_filtered_4FGL_J1446.3+3111_daily_bin1595.fits evtable="EVENTS" scfile=/scratch/kocevski/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits sctable="SC_DATA" expcube=/scratch/kocevski/54043/ltcube_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.fits outfile=/scratch/kocevski/54043/expmap_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.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/54043/ltcube_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.fits
.....................!
real 190.78
user 185.33
sys 4.95

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/54043/ft1_filtered_4FGL_J1446.3+3111_daily_bin1595.fits scfile=/scratch/kocevski/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits outfile=/scratch/kocevski/54043/cmap_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.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/54043/ft1_filtered_4FGL_J1446.3+3111_daily_bin1595.fits scfile=/scratch/kocevski/54043/ft2_4FGL_J1446.3+3111_daily_bin1595.fits outfile=/scratch/kocevski/54043/cmap_HighResolution_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .14492E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.906       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9922       1.0000         .10000E-03   10000.    
     7 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4905       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.7047       1.0000         .10000E-03   10000.    
    10 'norm      '    2.9609       1.0000         .10000E-03   10000.    
    11 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.837       1.0000         .10000E-03   10000.    
    13 'norm      '    .31834       1.0000         .10000E-03   10000.    
    14 'Prefactor '    53.745       1.0000         .10000E-03   10000.    
    15 'norm      '    6.1566       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.368       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10473E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .29842E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.6904       1.0000         .10000E-03   10000.    
    22 'norm      '    .10430E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.6010       1.0000         .10000E-03   10000.    
    24 'Prefactor '    17.155       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .84307       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2223       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=   6248.184     FROM MIGRAD    STATUS=CONVERGED    660 CALLS     3411 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7742       -.67135E-10** at limit **
   2  Prefactor     .10000E-03    6.2005       -.15075E-06** at limit **
   3  norm          .10015E-03    3.5666       -.11346E-05** at limit **
   4  Prefactor     13.915        12.721        .82328E-07    .26628E-04
   5  Prefactor     .10000E-03    7.7899       -.63278E-06** at limit **
   6  Prefactor     9.9966        5.3879        .13301E-06    .27617E-03
   7  norm          .10000E-03    6.1564       -.23745E-06** at limit **
   8  norm          2.4906        2.5229        .29396E-07   -.42719E-04
   9  Prefactor     5.7006        31.014        .21196E-06    .89145E-05
  10  norm          2.9613        3.7576        .14448E-06   -.58341E-04
  11  norm          .10000E-03    2.6318       -.65765E-07** at limit **
  12  Prefactor     40.846        39.824        .92577E-07    .53733E-04
  13  norm          .33980        2.6907        .34099E-06   -.35017E-03
  14  Prefactor     53.763        41.781        .14260E-06    .83115E-04
  15  norm          6.1572        7.1398        .60910E-08    .41875E-04
  16  Prefactor     .10000E-03    10.497       -.31017E-08** at limit **
  17  Prefactor     16.385        9.9847        .11854E-05    .59309E-03
  18  Prefactor     .10000E-03    5.9151        .14678E-06** at limit **
  19  norm          .10000E-03    .93767       -.59473E-06** at limit **
  20  Prefactor     .10000E-03    177.86        .97118E-08** at limit **
  21  Prefactor     3.6913        5.6114        .14750E-06   -.38020E-04
  22  norm          .10000E-03    .52385        .30565E-06** at limit **
  23  Prefactor     5.6054        8.7219       -.11982E-05   -.27162E-03
  24  Prefactor     17.131        41.633        .87758E-07   -.70217E-04
  25  Prefactor     .10000E-03    4.4074       -.16552E-08** at limit **
  26  Normalizat    .84287        .19043       -.19779E-06    .24972E-03
  27  Prefactor     1.2223        .16969        .37275E-06    .15629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00010015
  Prefactor  = 13.9146
  Prefactor  = 0.0001
  Prefactor  = 9.99664
  norm       = 0.0001
  norm       = 2.49062
  Prefactor  = 5.70063
  norm       = 2.96133
  norm       = 0.0001
  Prefactor  = 40.8464
  norm       = 0.339803
  Prefactor  = 53.7625
  norm       = 6.15718
  Prefactor  = 0.0001
  Prefactor  = 16.3851
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.69128
  norm       = 0.0001
  Prefactor  = 5.60542
  Prefactor  = 17.1306
  Prefactor  = 0.0001
  Normalizat = 0.84287
  Prefactor  = 1.2223
 **********
 **   18 **HESSE 
 **********

 FCN=   6248.184     FROM HESSE     STATUS=OK           494 CALLS     3905 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.1964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10015E-03    22.536        .25777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.915        12.600        .10741E-03   -1.4962    
   5  Prefactor     .10000E-03    7.7558        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9966        5.3580        .12676E-03   -1.5076    
   7  norm          .10000E-03    6.1505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4906        2.5131        .12216E-03   -1.5392    
   9  Prefactor     5.7006        31.055        .16817E-03   -1.5230    
  10  norm          2.9613        3.7440        .16583E-03   -1.5364    
  11  norm          .10000E-03    2.6428        .12522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.846        39.776        .31364E-03   -1.4429    
  13  norm          .33980        14.809        .24345E-02   -1.5591    
  14  Prefactor     53.763        41.981        .54712E-04   -1.4240    
  15  norm          6.1572        7.1357        .16180E-03   -1.5212    
  16  Prefactor     .10000E-03    10.567        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.385        9.7808        .98998E-04   -1.4898    
  18  Prefactor     .10000E-03    5.9665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.1334        .13071E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    181.04        .19834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.6913        5.5941        .21024E-03   -1.5324    
  22  norm          .10000E-03    2.1196        .97744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.6054        8.1334        .16975E-03   -1.5234    
  24  Prefactor     17.131        41.285        .96700E-04   -1.4880    
  25  Prefactor     .10000E-03    4.4079        .16207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .84287        .22734        .27911E-03   -.98498    
  27  Prefactor     1.2223        .20415        .22246E-03   -.85648    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.43102e-09
Minuit parameter uncertainties:
  1  6.64959e-06
  2  9.19791e-06
  3  0.00367558
  4  12.6025
  5  8.2373e-06
  6  5.35823
  7  5.04414e-07
  8  2.51317
  9  26.6321
  10  3.74428
  11  1.22167e-06
  12  39.8019
  13  4.48704
  14  42.0041
  15  7.13664
  16  8.85504e-06
  17  9.78176
  18  1.32012e-05
  19  7.06661e-05
  20  8.75824e-05
  21  5.59486
  22  2.64038e-05
  23  8.13504
  24  41.3536
  25  1.24294e-06
  26  0.227597
  27  0.204283
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.376e+01  4.200e+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.222e+00  2.043e-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:  8.429e-01  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.37
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 5.84e-08 +/- 4.56e-08
Energy Flux (Fixed Index): 1.60e-05 +/- 1.25e-05

TS (Fixed Index): 2.37
Ra Dec: 221.591 31.195
Photon Flux Upper Limit: 1.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/54043/likelihoodResults_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.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) = 6247.34140239
delta logL = 0.84222870935

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6247.32406211
delta logL = 0.859568993136

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.789       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4995       1.0000          .0000       10.000    
     3 'Normalizat'    .78769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2568       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=   6247.324     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      307 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.787        38.569        .85808E-04   -.16959E-03
   2  Index         3.4999        1.0805        .47729E-02   -.91754E-04
   3  Normalizat    .78785        .21653        .28762E-03   -.27349E-03
   4  Prefactor     1.2566        .19941        .21976E-03   -.26253E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.7875
  Index      = 3.49988
  Normalizat = 0.787847
  Prefactor  = 1.2566
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.324     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.787        29.108        .34323E-05   -1.4774    
   2  Index         3.4999        .81723        .19092E-03   -.30472    
   3  Normalizat    .78785        .21675        .11505E-04   -1.0052    
   4  Prefactor     1.2566        .19944        .43953E-04   -.84607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.0255e-10
Minuit parameter uncertainties:
  1  29.1265
  2  0.821278
  3  0.216983
  4  0.199562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54043': 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) = 6247.32406064
delta logL = 0.859570456796

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  1.257e+00  1.996e-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.878e-01  2.170e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.29
Ra Dec: 221.591 31.195
Photon Index (Free Index): 3.50 +/- 0.82
Photon Flux (Free Index): 9.79e-08 +/- 5.84e-08
Energy Flux (Free Index): 1.63e-05 +/- 9.68e-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/54043/cmap_HighResolution_652752001_653011201_4FGL_J1446.3+3111_daily_bin1595.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', photon_flux='5.84e-08', energy_flux2='1.63e-05', photon_flux_error='4.56e-08', dlogl='8.60e-01', energy_flux='1.60e-05', photon_flux2='9.79e-08', job_status='DONE', time_completed='2021-09-11 00:32:02.833232', photon_index_error2='0.82', photon_index2='3.50', ts='2.37', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.48e-07', energy_flux_error2='9.68e-06', EG='0.84', time_epoch_completed='1631345522.83', return_code='0', job_id='54043', GAL2='1.26', EG2='0.79', return_code2='0', energy_flux_error='1.25e-05', photon_flux_error2='5.84e-08', ts2='4.29', photon_index='2.56' WHERE bin_id='1595' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 00:32:02 PDT 2021


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

Job <4FGL_J1446.3+3111_daily_bin1595> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Sep 11 00:16:05 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 00:16:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 00:16:07 2021
Terminated at Sat Sep 11 00:32:03 2021
Results reported at Sat Sep 11 00:32:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1595 221.591 31.1955 652752001 653011201 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 :                                   728.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   956 sec.
    Turnaround time :                            958 sec.

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

