/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 97 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0746.4+2546_daily_bin633
RA = 116.602, Dec = 25.7678
tmin = 403401601, tmax = 403660801
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='829827', job_status='RUN', time_executed='2021-08-28 10:24:07.290446', time_epoch_executed='1630171447.29' WHERE source_name='4FGL J0746.4+2546' and cadence='daily' and bin_id='633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/829827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/829827/ft1_4FGL_J0746.4+2546_daily_bin633.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/829827/ft1_4FGL_J0746.4+2546_daily_bin633.fits outfile=/scratch/kocevski/829827/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin633.fits ra=116.602 dec=25.7678 rad=12.0 tmin=403401601.0 tmax=403660801.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.21
user 3.73
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.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/829827/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin633.fits evtable="EVENTS" outfile="/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.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 1.67
user 0.33
sys 0.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits" evtable="EVENTS" scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits sctable="SC_DATA" outfile=/scratch/kocevski/829827/ltcube_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.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/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits
.....................!
real 12.70
user 11.51
sys 0.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits evtable="EVENTS" scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits sctable="SC_DATA" expcube=/scratch/kocevski/829827/ltcube_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits outfile=/scratch/kocevski/829827/expmap_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.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/829827/ltcube_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits
.....................!
real 190.89
user 184.78
sys 4.80

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/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits outfile=/scratch/kocevski/829827/cmap_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.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 1.30
user 0.35
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits outfile=/scratch/kocevski/829827/cmap_HighResolution_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.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 0.94
user 0.37
sys 0.43

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits evtable="EVENTS" scfile=/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/829827/Model_4FGL_J0746.4+2546_daily_bin633.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/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits.....................!
real 82.81
user 79.84
sys 1.82

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits', '/scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits', expMap='/scratch/kocevski/829827/expmap_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits', expCube='/scratch/kocevski/829827/ltcube_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/829827/Model_4FGL_J0746.4+2546_daily_bin633.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/829827/ft1_filtered_4FGL_J0746.4+2546_daily_bin633.fits
Spacecraft file(s): /scratch/kocevski/829827/ft2_4FGL_J0746.4+2546_daily_bin633.fits
Exposure map: /scratch/kocevski/829827/expmap_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits
Exposure cube: /scratch/kocevski/829827/ltcube_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/829827/Model_4FGL_J0746.4+2546_daily_bin633.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) = 7496.50835373

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4439       1.0000         .10000E-03   10000.    
     2 'norm      '    12.580       1.0000         .10000E-03   10000.    
     3 'norm      '    .54701       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6355       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.313       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4875       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3133       1.0000         .10000E-03   10000.    
     8 'norm      '    .18781E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.3308       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10400E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10665E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .59089E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5057       1.0000         .10000E-03   10000.    
    19 'norm      '    .89980       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0037       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95069       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=   7496.482     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     2542 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4398        8.3749       -.14669E-05    .60318E-05
   2  norm          12.574        10.434        .19719E-05   -.13113E-03
   3  norm          .54697        .44884       -.38656E-07   -.12299E-03
   4  Prefactor     2.6349        2.5277        .73870E-06   -.24973E-02
   5  Prefactor     20.311        13.992        .19252E-05   -.12391E-03
   6  norm          2.4875        2.2906        .63002E-06   -.28688E-03
   7  Prefactor     5.3160        14.021       -.42148E-05   -.30581E-04
   8  norm          .10000E-03    1.7097        .35790E-07** at limit **
   9  Prefactor     .10000E-03    8.6779        .21721E-06** at limit **
  10  Prefactor     .10000E-03    6.3122        .20475E-06** at limit **
  11  Prefactor     5.3383        79.098        .15747E-04   -.18676E-04
  12  Prefactor     .10000E-03    7.5732       -.54882E-06** at limit **
  13  norm          .10000E-03    3.6540       -.72992E-07** at limit **
  14  norm          .10000E-03    103.01       -.55336E-05** at limit **
  15  Prefactor     .10000E-03    7.6664        .31409E-06** at limit **
  16  Prefactor     .10001E-03    11.913        .54391E-06** at limit **
  17  Prefactor     .10000E-03    17.094       -.49509E-06** at limit **
  18  Prefactor     2.5361        40.502       -.21967E-04    .87593E-05
  19  norm          .89746        1.3169        .14508E-05    .20035E-02
  20  Normalizat    1.0037        .17684       -.15202E-06   -.48171E-04
  21  Prefactor     .95071        .11635       -.48611E-07   -.15323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.43977
  norm       = 12.5738
  norm       = 0.546972
  Prefactor  = 2.63487
  Prefactor  = 20.3107
  norm       = 2.48745
  Prefactor  = 5.31602
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.3383
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 2.53609
  norm       = 0.897456
  Normalizat = 1.00375
  Prefactor  = 0.950709
 **********
 **   18 **HESSE 
 **********

 FCN=   7496.482     FROM HESSE     STATUS=OK           327 CALLS     2869 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4398        8.3696        .19102E-03   -1.5287    
   2  norm          12.574        10.402        .11294E-03   -1.4999    
   3  norm          .54697        .44622        .50862E-04   -1.5560    
   4  Prefactor     2.6349        6.1122        .12559E-02   -1.5383    
   5  Prefactor     20.311        13.953        .88869E-04   -1.4806    
   6  norm          2.4875        2.3166        .83557E-04   -1.5393    
   7  Prefactor     5.3160        14.127        .17436E-03   -1.5247    
   8  norm          .10000E-03    5.3568        .21890E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.6810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.3283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.3383        77.610        .17407E-03   -1.5246    
  12  Prefactor     .10000E-03    7.5725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.6615        .16162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    102.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    7.6686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    133.96        .57863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5361        40.741        .25815E-03   -1.5389    
  19  norm          .89746        1.2421        .10097E-02   -1.5519    
  20  Normalizat    1.0037        .20419        .27886E-03   -.92905    
  21  Prefactor     .95071        .13501        .19525E-03   -.94391    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40708e-09
Minuit parameter uncertainties:
  1  8.37179
  2  10.4031
  3  0.44622
  4  6.11365
  5  13.9549
  6  2.31673
  7  14.1363
  8  1.46395e-05
  9  3.66144e-06
  10  4.0607e-06
  11  40.7724
  12  9.56419e-06
  13  1.31118e-06
  14  0.00031637
  15  9.26884e-07
  16  0.0020065
  17  1.65445e-05
  18  20.3456
  19  1.24213
  20  0.204346
  21  0.135054
Done.

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

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.000e-04  1.464e-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:  9.507e-01  1.351e-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.004e+00  2.043e-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: 6.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.45e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/829827/likelihoodResults_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.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) = 7496.48276933
delta logL = -0.000887448850335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7496.48188502
delta logL = -3.13212240144e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13957E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5811       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95063       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=   7496.482     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      248 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12559E-03    64.862        .36886E-01** at limit **
   2  alpha         1.6490        3.2734        .50000        .12396E-05
   3  Normalizat    1.0037        .30434E-01    .27886E-03   -.92014E-04
   4  Prefactor     .95071        .20940E-01    .19525E-03   -.28357E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000125589
  alpha      = 1.64899
  Normalizat = 1.00375
  Prefactor  = 0.950709
 **********
 **   18 **HESSE 
 **********

 FCN=   7496.482     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      285 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12559E-03    13.655        .36291E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6490        4.1620        .20000       -.34734    
   3  Normalizat    1.0037        .13104E-01    .11154E-04   -.92905    
   4  Prefactor     .95071        .90025E-02    .78099E-05   -.94391    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.98879e-07
Minuit parameter uncertainties:
  1  0.0373939
  2  704.791
  3  0.0131045
  4  0.00900248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/829827': 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) = 7496.48187381
delta logL = 8.07163632999e-06

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.256e-04  3.739e-02  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  1.649e+00  7.048e+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:  9.507e-01  9.002e-03  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.004e+00  1.310e-02  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/829827/cmap_HighResolution_403401601_403660801_4FGL_J0746.4+2546_daily_bin633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-05', job_status='DONE', photon_flux_upper_limit='6.37e-08', time_completed='2021-08-28 10:36:22.429543', job_id='829827', GAL2='0.95', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630172182.43', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='633' AND source_name='4FGL J0746.4+2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 10:36:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 829827: <4FGL_J0746.4+2546_daily_bin633> in cluster <slac> Done

Job <4FGL_J0746.4+2546_daily_bin633> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Aug 28 10:21:03 2021
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 10:21:05 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:21:05 2021
Terminated at Sat Aug 28 10:36:23 2021
Results reported at Sat Aug 28 10:36:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.4+2546_daily_bin633 116.602 25.7678 403401601 403660801 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 :                                   732.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             296.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            920 sec.

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

