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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1088
RA = 221.591, Dec = 31.1955
tmin = 521337601, tmax = 521596801
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='774972', job_status='RUN', time_executed='2021-09-10 09:10:00.546687', time_epoch_executed='1631290200.55' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1088'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/774972

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/774972/ft1_4FGL_J1446.3+3111_daily_bin1088.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/774972/ft1_4FGL_J1446.3+3111_daily_bin1088.fits outfile=/scratch/kocevski/774972/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1088.fits ra=221.591 dec=31.1955 rad=12.0 tmin=521337601.0 tmax=521596801.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 5.12
user 4.90
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/774972/ft1_filtered_4FGL_J1446.3+3111_daily_bin1088.fits" evtable="EVENTS" scfile=/scratch/kocevski/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits sctable="SC_DATA" outfile=/scratch/kocevski/774972/ltcube_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.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/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits
.....................!
real 11.79
user 11.45
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/774972/ft1_filtered_4FGL_J1446.3+3111_daily_bin1088.fits evtable="EVENTS" scfile=/scratch/kocevski/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits sctable="SC_DATA" expcube=/scratch/kocevski/774972/ltcube_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.fits outfile=/scratch/kocevski/774972/expmap_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.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/774972/ltcube_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.fits
.....................!
real 189.50
user 185.40
sys 3.73

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/774972/ft1_filtered_4FGL_J1446.3+3111_daily_bin1088.fits scfile=/scratch/kocevski/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits outfile=/scratch/kocevski/774972/cmap_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/774972/ft1_filtered_4FGL_J1446.3+3111_daily_bin1088.fits scfile=/scratch/kocevski/774972/ft2_4FGL_J1446.3+3111_daily_bin1088.fits outfile=/scratch/kocevski/774972/cmap_HighResolution_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13645E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.133       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.9065       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.3652       1.0000         .10000E-03   10000.    
     9 'Prefactor '    46.239       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    95.652       1.0000         .10000E-03   10000.    
    13 'norm      '    12.328       1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.248       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.7755       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.2987       1.0000         .10000E-03   10000.    
    19 'norm      '    .11079E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10465E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.421       1.0000         .10000E-03   10000.    
    22 'norm      '    1.7699       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .65593E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .47238E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .94568       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0174       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=   5499.678     FROM MIGRAD    STATUS=CONVERGED   1154 CALLS     4271 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.3894        .18128E-02** at limit **
   2  Prefactor     .10000E-03    12.207        .18142E-02** at limit **
   3  norm          .10000E-03    1.4382        .86128E-03** at limit **
   4  Prefactor     .10006E-03    32.446        .36285E-03** at limit **
   5  Prefactor     19.104        15.958        .91567E-04    .25564E-03
   6  Prefactor     1.9054        3.7002        .18784E-03   -.18641E-04
   7  norm          .10000E-03    5.2888        .16649E-02** at limit **
   8  norm          3.3655        2.8365        .11072E-03    .40046E-05
   9  Prefactor     46.247        34.728        .58964E-04    .11002E-03
  10  norm          .10000E-03    1.5521        .89972E-03** at limit **
  11  norm          .10000E-03    4.6624        .15544E-02** at limit **
  12  Prefactor     95.640        54.529        .20548E-03   -.34524E-04
  13  norm          12.332        7.0955        .11409E-03    .43247E-04
  14  Prefactor     23.236        33.059        .83076E-04   -.52823E-04
  15  norm          .10000E-03    2.7125        .11926E-02** at limit **
  16  Prefactor     .10000E-03    6.3087        .18142E-02** at limit **
  17  Prefactor     5.7745        4.9326        .14788E-03    .23833E-04
  18  Prefactor     1.2929        16.673        .19395E-02   -.87416E-04
  19  norm          .10000E-03    2.4673        .12438E-02** at limit **
  20  Prefactor     .10000E-03    47.665        .18142E-02** at limit **
  21  Prefactor     24.424        12.489        .81059E-04    .10631E-03
  22  norm          1.7688        1.2670        .67516E-04    .18819E-02
  23  Prefactor     .10028E-03    74.856        .34673E-02** at limit **
  24  Prefactor     .10015E-03    297.80        .77123E-02** at limit **
  25  Prefactor     .10000E-03    11.368        .18142E-02** at limit **
  26  Normalizat    .94599        .22651        .25850E-03    .18397E-03
  27  Prefactor     1.0172        .21146        .23759E-03    .22194E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100056
  Prefactor  = 19.1039
  Prefactor  = 1.90538
  norm       = 0.0001
  norm       = 3.36548
  Prefactor  = 46.2471
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 95.6396
  norm       = 12.3315
  Prefactor  = 23.2355
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.77448
  Prefactor  = 1.29289
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 24.4239
  norm       = 1.76878
  Prefactor  = 0.000100283
  Prefactor  = 0.000100153
  Prefactor  = 0.0001
  Normalizat = 0.945991
  Prefactor  = 1.01718
 **********
 **   18 **HESSE 
 **********

 FCN=   5499.678     FROM HESSE     STATUS=OK           462 CALLS     4733 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3940        .36255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.4384        .17226E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10006E-03    32.446        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.104        15.957        .36627E-05   -1.4834    
   6  Prefactor     1.9054        3.6995        .75136E-05   -1.5432    
   7  norm          .10000E-03    5.2889        .33298E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.3655        2.8364        .44287E-05   -1.5341    
   9  Prefactor     46.247        34.729        .11793E-04   -1.4347    
  10  norm          .10000E-03    1.5522        .17994E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    4.6638        .31088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     95.640        54.526        .82193E-05   -1.3749    
  13  norm          12.332        7.0952        .45635E-05   -1.5005    
  14  Prefactor     23.236        33.057        .33230E-05   -1.4744    
  15  norm          .10000E-03    2.7125        .23853E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.3093        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.7745        4.9319        .59151E-05   -1.5227    
  18  Prefactor     1.2929        16.620        .77579E-04   -1.5481    
  19  norm          .10000E-03    2.4956        .24875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    47.673        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.424        12.489        .32424E-05   -1.4719    
  22  norm          1.7688        1.2604        .27006E-05   -1.5442    
  23  Prefactor     .10028E-03    75.671        .69347E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10015E-03    311.42        .30849E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    11.368        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .94599        .22666        .10340E-04   -.94862    
  27  Prefactor     1.0172        .21141        .47519E-04   -.92159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67595e-09
Minuit parameter uncertainties:
  1  6.29463e-06
  2  0.000182666
  3  1.38268e-05
  4  0.00269876
  5  15.9607
  6  3.69998
  7  4.4287e-05
  8  2.83649
  9  34.7441
  10  1.86818e-06
  11  7.04172e-05
  12  54.555
  13  7.09567
  14  33.083
  15  3.10105e-06
  16  3.57622e-05
  17  4.93229
  18  9.27374
  19  2.26359e-05
  20  0.000726699
  21  12.4905
  22  1.26041
  23  0.00926591
  24  0.0138898
  25  5.06447e-05
  26  0.226885
  27  0.211584
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  2.324e+01  3.308e+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.017e+00  2.116e-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:  9.460e-01  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/774972/likelihoodResults_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.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) = 5499.643296
delta logL = 0.0346253169246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5499.63308575
delta logL = 0.0448355693252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.515       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8620       1.0000          .0000       10.000    
     3 'Normalizat'    .93898       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0214       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=   5499.633     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      233 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.511        35.008        .93080E-04    .12238E-03
   2  Index         2.8620        1.1451        .89490E-02    .47028E-04
   3  Normalizat    .93901        .21461        .25936E-03   -.56412E-03
   4  Prefactor     1.0213        .20194        .23716E-03   -.53639E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.5109
  Index      = 2.86205
  Normalizat = 0.939014
  Prefactor  = 1.02134
 **********
 **   18 **HESSE 
 **********

 FCN=   5499.633     FROM HESSE     STATUS=OK            25 CALLS      258 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.511        32.331        .37232E-05   -1.4847    
   2  Index         2.8620        1.0583        .35796E-03   -.44183    
   3  Normalizat    .93901        .21481        .51872E-04   -.95102    
   4  Prefactor     1.0213        .20205        .47433E-04   -.92022    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.68729e-10
Minuit parameter uncertainties:
  1  32.3615
  2  1.06817
  3  0.215007
  4  0.202202
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/774972': 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) = 5499.63308572
delta logL = 0.0448355938188

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  1.851e+01  3.236e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.862e+00  1.068e+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.021e+00  2.022e-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:  9.390e-01  2.150e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.72
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/774972/cmap_HighResolution_521337601_521596801_4FGL_J1446.3+3111_daily_bin1088.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.87e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-10 09:22:05.339542', job_id='774972', GAL2='1.02', fit_tolerance='1e-08', EG2='0.94', EG='0.95', time_epoch_completed='1631290925.34', return_code2='0', ts='0.72', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.48e-02', ts2='0.81', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1088' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:22:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 774972: <4FGL_J1446.3+3111_daily_bin1088> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1088 221.591 31.1955 521337601 521596801 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 :                                   721.12 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            957 sec.

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

