/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 107 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 = 7480
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0746.4+2546_daily_bin53
RA = 116.602, Dec = 25.7678
tmin = 253065601, tmax = 253324801
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='824728', job_status='RUN', time_executed='2021-08-28 10:07:50.586481', time_epoch_executed='1630170470.59' WHERE source_name='4FGL J0746.4+2546' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/824728

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/824728/ft1_4FGL_J0746.4+2546_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/824728/ft1_4FGL_J0746.4+2546_daily_bin53.fits outfile=/scratch/kocevski/824728/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin53.fits ra=116.602 dec=25.7678 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.45
user 1.26
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.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/824728/ft1_filteredMKT_4FGL_J0746.4+2546_daily_bin53.fits evtable="EVENTS" outfile="/scratch/kocevski/824728/ft1_filtered_4FGL_J0746.4+2546_daily_bin53.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/824728/ft1_filtered_4FGL_J0746.4+2546_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/824728/ltcube_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.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/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits
.....................!
real 12.33
user 11.95
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/824728/ft1_filtered_4FGL_J0746.4+2546_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/824728/ltcube_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.fits outfile=/scratch/kocevski/824728/expmap_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.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/824728/ltcube_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.fits
.....................!
real 191.17
user 185.50
sys 4.75

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/824728/ft1_filtered_4FGL_J0746.4+2546_daily_bin53.fits scfile=/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits outfile=/scratch/kocevski/824728/cmap_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.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 0.56
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/824728/ft1_filtered_4FGL_J0746.4+2546_daily_bin53.fits scfile=/scratch/kocevski/824728/ft2_4FGL_J0746.4+2546_daily_bin53.fits outfile=/scratch/kocevski/824728/cmap_HighResolution_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.761       1.0000         .10000E-03   10000.    
     2 'norm      '    49.108       1.0000         .10000E-03   10000.    
     3 'norm      '    2.3408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13192E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.5634       1.0000         .10000E-03   10000.    
     6 'norm      '    1.4625       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.489       1.0000         .10000E-03   10000.    
     8 'norm      '    .11883E-01   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.572       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.9763       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6343       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    21.593       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.958       1.0000         .10000E-03   10000.    
    19 'norm      '    .10640E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2677       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .93318       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=   11173.87     FROM MIGRAD    STATUS=CONVERGED    460 CALLS     1920 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.760        9.1697       -.76787E-06    .20552E-03
   2  norm          49.107        13.191       -.21401E-06    .25499E-03
   3  norm          2.3405        .77690        .93406E-08   -.37056E-04
   4  Prefactor     .10000E-03    7.5319        .13357E-05** at limit **
   5  Prefactor     8.5585        12.984       -.13961E-05    .59619E-04
   6  norm          1.4626        1.1653        .12988E-06    .34756E-03
   7  Prefactor     12.486        9.0169        .78948E-07    .28288E-03
   8  norm          .10075E-03    1.3569       -.35472E-05** at limit **
   9  Prefactor     13.620        22.910        .21935E-04    .43399E-04
  10  Prefactor     4.0041        10.999        .15672E-04    .12152E-03
  11  Prefactor     6.6245        41.649       -.15034E-04    .13555E-03
  12  Prefactor     .10000E-03    6.7308       -.49269E-06** at limit **
  13  norm          .10000E-03    3.8889        .46996E-07** at limit **
  14  norm          21.590        69.410       -.49113E-05    .40413E-04
  15  Prefactor     .10000E-03    4.5667       -.58520E-07** at limit **
  16  Prefactor     .10000E-03    8.6059       -.14825E-05** at limit **
  17  Prefactor     .10000E-03    14.307        .59009E-06** at limit **
  18  Prefactor     10.963        14.880        .60747E-06   -.23939E-04
  19  norm          .10000E-03    .40520        .42328E-07** at limit **
  20  Normalizat    1.2681        .16300       -.95192E-06    .12781E-02
  21  Prefactor     .93301        .10596       -.27281E-06    .11854E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.7595
  norm       = 49.1067
  norm       = 2.34048
  Prefactor  = 0.0001
  Prefactor  = 8.55847
  norm       = 1.46262
  Prefactor  = 12.4864
  norm       = 0.000100746
  Prefactor  = 13.6197
  Prefactor  = 4.0041
  Prefactor  = 6.62446
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 21.5901
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9629
  norm       = 0.0001
  Normalizat = 1.26811
  Prefactor  = 0.93301
 **********
 **   18 **HESSE 
 **********

 FCN=   11173.87     FROM HESSE     STATUS=OK           325 CALLS     2245 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.760        9.1704        .11213E-03   -1.4993    
   2  norm          49.107        13.197        .57224E-04   -1.4305    
   3  norm          2.3405        .77491        .51362E-04   -1.5402    
   4  Prefactor     .10000E-03    7.8020        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.5585        12.998        .13698E-03   -1.5123    
   6  norm          1.4626        1.1652        .87306E-04   -1.5466    
   7  Prefactor     12.486        8.9748        .11335E-03   -1.5001    
   8  norm          .10075E-03    3.8496        .37493E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.620        23.799        .10873E-03   -1.4970    
  10  Prefactor     4.0041        11.397        .20227E-03   -1.5308    
  11  Prefactor     6.6245        41.411        .15579E-03   -1.5193    
  12  Prefactor     .10000E-03    6.7328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.9091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          21.590        69.482        .86197E-04   -1.4778    
  15  Prefactor     .10000E-03    4.5677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.6293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    14.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.963        14.595        .12103E-03   -1.5046    
  19  norm          .10000E-03    .67663        .12730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2681        .19038        .28656E-03   -.84523    
  21  Prefactor     .93301        .12386        .21980E-03   -.94997    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47299e-09
Minuit parameter uncertainties:
  1  9.17142
  2  13.1975
  3  0.774912
  4  9.19775e-05
  5  13.0019
  6  1.16526
  7  8.97574
  8  0.00338898
  9  23.816
  10  11.4036
  11  33.1594
  12  3.47421e-05
  13  9.97132e-07
  14  69.7441
  15  2.05204e-07
  16  5.57392e-05
  17  1.91032e-05
  18  14.5998
  19  1.55974e-06
  20  0.190489
  21  0.123896
Done.

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

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.007e-04  3.389e-03  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.330e-01  1.239e-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.268e+00  1.905e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.72e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/824728/likelihoodResults_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.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) = 11173.8663026
delta logL = -9.79101350822e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11173.8636985
delta logL = 0.00250624753062

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17104       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3435       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93395       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.

 FCN=   11173.86     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      295 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .17166        15.466        .65093E-01    .45072E-03
   2  alpha         3.3442        3.2165        .44593        .58078E-05
   3  Normalizat    1.2650        .18406E-01    .64852E-01   -.43447E-04
   4  Prefactor     .93395        .12334E-01    .45436E-01   -.64269E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.171658
  alpha      = 3.34419
  Normalizat = 1.26497
  Prefactor  = 0.933954
 **********
 **   18 **HESSE 
 **********

 FCN=   11173.86     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      330 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .17166        1597.3        .18717E-02   -1.5625    
   2  alpha         3.3442        2.7016        .17837        .34445    
   3  Normalizat    1.2650        .29040        .28687E-03   -.84618    
   4  Prefactor     .93395        .89926E-01    .21970E-03   -.94965    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.65727e-07
Minuit parameter uncertainties:
  1  34.059
  2  98.1445
  3  0.290778
  4  0.0899398
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/824728': 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) = 11173.8636984
delta logL = 0.00250629736183

Extracting fit parameters...

4FGL J0746.4+2546
   Spectrum: LogParabola
250         norm:  1.717e-01  3.406e+01  1.000e-04  1.000e+04 ( 1.000e-11)
251        alpha:  3.344e+00  9.814e+01  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.340e-01  8.994e-02  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.265e+00  2.908e-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/824728/cmap_HighResolution_253065601_253324801_4FGL_J0746.4+2546_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.72e-05', job_status='DONE', photon_flux_upper_limit='7.55e-08', time_completed='2021-08-28 10:21:53.256252', job_id='824728', GAL2='0.93', fit_tolerance='1e-08', EG2='1.26', EG='1.27', time_epoch_completed='1630171313.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.51e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.62' WHERE bin_id='53' AND source_name='4FGL J0746.4+2546' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 10:21:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 824728: <4FGL_J0746.4+2546_daily_bin53> in cluster <slac> Done

Job <4FGL_J0746.4+2546_daily_bin53> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Sat Aug 28 10:05:49 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 10:05:52 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:05:52 2021
Terminated at Sat Aug 28 10:21:54 2021
Results reported at Sat Aug 28 10:21:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0746.4+2546_daily_bin53 116.602 25.7678 253065601 253324801 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 :                                   840.05 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            965 sec.

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

