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


Performing analysis on: 4FGL_J0746.4+2546_daily_bin1186
RA = 116.602, Dec = 25.7678
tmin = 546739201, tmax = 546998401
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='833028', job_status='RUN', time_executed='2021-08-28 10:31:28.974815', time_epoch_executed='1630171888.97' WHERE source_name='4FGL J0746.4+2546' and cadence='daily' and bin_id='1186'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833028

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833028/ft1_4FGL_J0746.4+2546_daily_bin1186.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833028/ft1_4FGL_J0746.4+2546_daily_bin1186.fits outfile=/scratch/kocevski/833028/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin1186.fits ra=116.602 dec=25.7678 rad=12.0 tmin=546739201.0 tmax=546998401.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.74
user 3.45
sys 1.72

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.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/833028/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin1186.fits evtable="EVENTS" outfile="/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.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 2.09
user 0.32
sys 1.68

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits" evtable="EVENTS" scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits sctable="SC_DATA" outfile=/scratch/kocevski/833028/ltcube_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.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/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits
.....................!
real 13.67
user 11.42
sys 2.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits sctable="SC_DATA" expcube=/scratch/kocevski/833028/ltcube_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits outfile=/scratch/kocevski/833028/expmap_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.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/833028/ltcube_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits
.....................!
real 194.59
user 186.99
sys 6.30

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
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 172 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0746.4+2546 @ 116.602 25.7678

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits outfile=/scratch/kocevski/833028/cmap_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.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=116.602 yref=25.7678 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 2.71
user 0.37
sys 1.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits outfile=/scratch/kocevski/833028/cmap_HighResolution_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.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=116.602 yref=25.7678 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 2.12
user 0.39
sys 1.60

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits evtable="EVENTS" scfile=/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833028/Model_4FGL_J0746.4+2546_daily_bin1186.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
adding source IC 443
Working on...
/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits.....................!
real 92.08
user 88.45
sys 3.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits', '/scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits', expMap='/scratch/kocevski/833028/expmap_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits', expCube='/scratch/kocevski/833028/ltcube_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833028/Model_4FGL_J0746.4+2546_daily_bin1186.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0746.4+2546'

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.783e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/833028/ft1_filtered_4FGL_J0746.4+2546_daily_bin1186.fits
Spacecraft file(s): /scratch/kocevski/833028/ft2_4FGL_J0746.4+2546_daily_bin1186.fits
Exposure map: /scratch/kocevski/833028/expmap_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits
Exposure cube: /scratch/kocevski/833028/ltcube_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833028/Model_4FGL_J0746.4+2546_daily_bin1186.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) = 8181.35653154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.2528       1.0000         .10000E-03   10000.    
     2 'norm      '    7.2322       1.0000         .10000E-03   10000.    
     3 'norm      '    .51144       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .40155       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .79198       1.0000         .10000E-03   10000.    
     6 'norm      '    2.5965       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10308E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8323       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8923       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    5.9938       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.2516       1.0000         .10000E-03   10000.    
    19 'norm      '    1.3927       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.4614       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8180.492     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     1921 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2556        11.592       -.49844E-06   -.82958E-04
   2  norm          7.2328        11.452       -.31222E-06   -.60383E-04
   3  norm          .51145        .69854       -.15802E-06   -.15842E-02
   4  Prefactor     .45065        5.7521       -.84730E-06   -.16308E-03
   5  Prefactor     .79194        6.7591       -.12794E-05   -.22224E-03
   6  norm          2.5967        1.4167       -.11596E-07    .18378E-04
   7  Prefactor     .10000E-03    4.6997       -.32500E-08** at limit **
   8  norm          .10000E-03    2.4212        .98322E-07** at limit **
   9  Prefactor     3.8269        42.153       -.95068E-05    .93505E-05
  10  Prefactor     2.8794        19.147       -.10579E-05   -.84788E-04
  11  Prefactor     .10000E-03    29.046        .80874E-05** at limit **
  12  Prefactor     .10000E-03    17.586        .43442E-05** at limit **
  13  norm          5.9956        11.208       -.26734E-06   -.35622E-04
  14  norm          .10000E-03    39.124       -.40732E-05** at limit **
  15  Prefactor     .10000E-03    6.8709       -.16031E-08** at limit **
  16  Prefactor     .10000E-03    11.248       -.21397E-06** at limit **
  17  Prefactor     .10000E-03    20.957       -.81960E-05** at limit **
  18  Prefactor     5.2562        20.250        .47957E-05   -.64735E-04
  19  norm          1.3928        1.1985       -.28327E-06   -.78444E-03
  20  Normalizat    1.4613        .19184        .60072E-06    .26942E-03
  21  Prefactor     .85099        .12226        .29650E-06    .28836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.25556
  norm       = 7.23275
  norm       = 0.511446
  Prefactor  = 0.450646
  Prefactor  = 0.791936
  norm       = 2.5967
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.82695
  Prefactor  = 2.87938
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.99561
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.25621
  norm       = 1.39281
  Normalizat = 1.46133
  Prefactor  = 0.850987
 **********
 **   18 **HESSE 
 **********

 FCN=   8180.492     FROM HESSE     STATUS=OK           323 CALLS     2244 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2556        11.624        .17538E-03   -1.5249    
   2  norm          7.2328        11.478        .14915E-03   -1.5170    
   3  norm          .51145        .66447        .83362E-03   -1.5565    
   4  Prefactor     .45065        26.683        .39537E-02   -1.5574    
   5  Prefactor     .79194        23.041        .45666E-02   -1.5530    
   6  norm          2.5967        1.4156        .77163E-04   -1.5386    
   7  Prefactor     .10000E-03    4.7153        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4689        .27403E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8269        42.397        .20616E-03   -1.5317    
  10  Prefactor     2.8794        19.286        .23895E-03   -1.5369    
  11  Prefactor     .10000E-03    28.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    17.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.9956        11.241        .16401E-03   -1.5218    
  14  norm          .10000E-03    39.035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    20.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.2562        19.824        .17540E-03   -1.5249    
  19  norm          1.3928        1.1845        .84409E-04   -1.5472    
  20  Normalizat    1.4613        .22536        .27136E-03   -.78871    
  21  Prefactor     .85099        .14388        .22369E-03   -.97875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99767e-08
Minuit parameter uncertainties:
  1  11.6289
  2  11.4816
  3  0.664483
  4  6.93772
  5  8.54644
  6  1.4156
  7  3.29379e-06
  8  1.57409e-05
  9  25.4983
  10  14.9106
  11  0.000266189
  12  6.17232e-05
  13  11.2452
  14  0.000137171
  15  1.90804e-06
  16  3.5766e-06
  17  0.000211094
  18  19.8483
  19  1.18456
  20  0.225517
  21  0.143945
Done.

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

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.000e-04  1.574e-05  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.624e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  8.510e-01  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.461e+00  2.255e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 116.602 25.768
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833028/likelihoodResults_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.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) = 8180.49426922
delta logL = -0.00193114372541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8180.49233827
delta logL = -1.97591361939e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10082E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6100       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4613       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85106       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+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=   8180.492     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      241 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    431.37        .27598E-02** at limit **
   2  alpha         2.1668        3.7535        .16481        .46631E-07
   3  Normalizat    1.4613        .78059E-01    .27136E-03    .24098E-03
   4  Prefactor     .85099        .50995E-01    .22369E-03    .31893E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.16683
  Normalizat = 1.46133
  Prefactor  = 0.850987
 **********
 **   18 **HESSE 
 **********

 FCN=   8180.492     FROM HESSE     STATUS=OK            23 CALLS      264 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8553        .55196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1668        3.2066        .65923E-02   -.13367    
   3  Normalizat    1.4613        .21519        .54273E-04   -.78871    
   4  Prefactor     .85099        .14065        .44737E-04   -.97875    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.99388e-11
Minuit parameter uncertainties:
  1  6.2439e-06
  2  179.806
  3  0.215321
  4  0.14071
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833028': 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) = 8180.49233534
delta logL = 2.73339264822e-06

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.000e-04  6.244e-06  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  2.167e+00  1.798e+02  0.000e+00  5.000e+00 ( 1.000e+00)
252         beta:  2.597e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
253           Eb:  3.105e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  8.510e-01  1.407e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.461e+00  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 116.602 25.768

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/833028/cmap_HighResolution_546739201_546998401_4FGL_J0746.4+2546_daily_bin1186.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.73e-05', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2021-08-28 10:43:35.034752', job_id='833028', GAL2='0.85', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1630172615.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.73e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='1186' AND source_name='4FGL J0746.4+2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 10:43:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 833028: <4FGL_J0746.4+2546_daily_bin1186> in cluster <slac> Done

Job <4FGL_J0746.4+2546_daily_bin1186> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 10:30:45 2021
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 10:30:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 10:30:46 2021
Terminated at Sat Aug 28 10:43:36 2021
Results reported at Sat Aug 28 10:43:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.4+2546_daily_bin1186 116.602 25.7678 546739201 546998401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0746.4+2546 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   740.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

