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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin729
RA = 117.164, Dec = 24.0166
tmin = 428284801, tmax = 428544001
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='912172', job_status='RUN', time_executed='2021-08-28 14:41:44.329561', time_epoch_executed='1630186904.33' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='729'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912172

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912172/ft1_4FGL_J0748.6+2400_daily_bin729.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912172/ft1_4FGL_J0748.6+2400_daily_bin729.fits outfile=/scratch/kocevski/912172/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin729.fits ra=117.164 dec=24.0166 rad=12.0 tmin=428284801.0 tmax=428544001.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 8.04
user 5.83
sys 2.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.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/912172/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin729.fits evtable="EVENTS" outfile="/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.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.49
user 0.35
sys 2.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits" evtable="EVENTS" scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits sctable="SC_DATA" outfile=/scratch/kocevski/912172/ltcube_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.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/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits
.....................!
real 14.45
user 11.84
sys 2.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits sctable="SC_DATA" expcube=/scratch/kocevski/912172/ltcube_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits outfile=/scratch/kocevski/912172/expmap_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.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/912172/ltcube_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits
.....................!
real 194.17
user 186.40
sys 6.94

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 170 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 J0748.6+2400 @ 117.164 24.0166

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits outfile=/scratch/kocevski/912172/cmap_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.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=117.164 yref=24.0166 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.43
user 0.38
sys 2.03

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits outfile=/scratch/kocevski/912172/cmap_HighResolution_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.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=117.164 yref=24.0166 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.48
user 0.39
sys 2.07

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits evtable="EVENTS" scfile=/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912172/Model_4FGL_J0748.6+2400_daily_bin729.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/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits.....................!
real 93.23
user 87.15
sys 4.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits', '/scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits', expMap='/scratch/kocevski/912172/expmap_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits', expCube='/scratch/kocevski/912172/ltcube_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/912172/Model_4FGL_J0748.6+2400_daily_bin729.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.6+2400'

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  6.975e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/912172/ft1_filtered_4FGL_J0748.6+2400_daily_bin729.fits
Spacecraft file(s): /scratch/kocevski/912172/ft2_4FGL_J0748.6+2400_daily_bin729.fits
Exposure map: /scratch/kocevski/912172/expmap_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits
Exposure cube: /scratch/kocevski/912172/ltcube_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/912172/Model_4FGL_J0748.6+2400_daily_bin729.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) = 8156.24156211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.165       1.0000         .10000E-03   10000.    
     2 'norm      '    8.8952       1.0000         .10000E-03   10000.    
     3 'norm      '    .96079       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .75332       1.0000         .10000E-03   10000.    
     5 'norm      '    .99567       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5192       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8216       1.0000         .10000E-03   10000.    
     8 'norm      '    .15992E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    27.596       1.0000         .10000E-03   10000.    
    10 'Prefactor '    25.418       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.323       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0955       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10746E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10473E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10474E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.9023       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.7077       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3195       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1476       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8156.229     FROM MIGRAD    STATUS=CONVERGED    556 CALLS     2721 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.173        11.202        .35248E-06   -.33638E-04
   2  norm          8.8968        8.2477        .19266E-06   -.12362E-04
   3  norm          .96092        .65136        .42163E-07    .61254E-04
   4  Prefactor     .75434        4.5201        .57566E-06   -.29715E-04
   5  norm          .99614        1.5352        .22017E-06    .12347E-03
   6  norm          3.5191        2.2509       -.19356E-06   -.13685E-03
   7  Prefactor     2.8253        13.726        .23006E-05   -.25239E-03
   8  norm          .10001E-03    3.3148       -.14349E-05** at limit **
   9  Prefactor     27.552        39.760       -.13840E-05   -.21855E-03
  10  Prefactor     25.387        16.181       -.18117E-05   -.51790E-03
  11  Prefactor     17.312        41.417        .23997E-05    .15308E-04
  12  Prefactor     .10000E-03    3.6452        .12114E-06** at limit **
  13  Prefactor     .10000E-03    20.122       -.14097E-05** at limit **
  14  norm          1.0986        23.843        .10210E-04   -.31311E-03
  15  Prefactor     .10000E-03    76.501        .10622E-05** at limit **
  16  norm          .10000E-03    33.675        .26378E-05** at limit **
  17  Prefactor     .10000E-03    8.4900        .42505E-07** at limit **
  18  Prefactor     .10000E-03    14.637       -.31803E-06** at limit **
  19  Prefactor     .10000E-03    16.928        .16515E-05** at limit **
  20  Prefactor     .10000E-03    49.349       -.25116E-05** at limit **
  21  norm          1.9027        1.4078        .90276E-07    .33811E-03
  22  Prefactor     8.7125        12.347        .39360E-06   -.15157E-04
  23  Normalizat    1.3193        .22296       -.21791E-05   -.24082E-03
  24  Prefactor     1.1476        .14262       -.68287E-06   -.79477E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1729
  norm       = 8.89677
  norm       = 0.960919
  Prefactor  = 0.754338
  norm       = 0.996136
  norm       = 3.51907
  Prefactor  = 2.82531
  norm       = 0.000100008
  Prefactor  = 27.5524
  Prefactor  = 25.3868
  Prefactor  = 17.3118
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.09863
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.90268
  Prefactor  = 8.7125
  Normalizat = 1.31929
  Prefactor  = 1.14759
 **********
 **   18 **HESSE 
 **********

 FCN=   8156.229     FROM HESSE     STATUS=OK           397 CALLS     3118 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.173        11.208        .11990E-03   -1.5039    
   2  norm          8.8968        8.2524        .13439E-03   -1.5111    
   3  norm          .96092        .63819        .58212E-04   -1.5512    
   4  Prefactor     .75434        4.4340        .37050E-03   -1.5534    
   5  norm          .99614        1.5139        .13175E-03   -1.5508    
   6  norm          3.5191        2.2621        .82192E-04   -1.5333    
   7  Prefactor     2.8253        14.216        .12106E-02   -1.5372    
   8  norm          .10001E-03    5.2798        .27124E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.552        40.567        .76262E-04   -1.4658    
  10  Prefactor     25.387        16.395        .79456E-04   -1.4700    
  11  Prefactor     17.312        41.348        .96229E-04   -1.4876    
  12  Prefactor     .10000E-03    3.7885        .33670E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0986        28.771        .22775E-02   -1.5498    
  15  Prefactor     .10000E-03    76.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    33.762        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.4929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    17.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    49.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9027        1.3940        .86466E-04   -1.5432    
  22  Prefactor     8.7125        12.337        .13584E-03   -1.5118    
  23  Normalizat    1.3193        .25358        .31579E-03   -.82992    
  24  Prefactor     1.1476        .16473        .22604E-03   -.87960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.95018e-09
Minuit parameter uncertainties:
  1  11.2099
  2  8.2535
  3  0.63819
  4  3.65789
  5  1.51391
  6  2.26212
  7  12.6797
  8  0.000399751
  9  40.6077
  10  16.3984
  11  41.4164
  12  2.75696e-05
  13  0.000159102
  14  11.2498
  15  0.000193411
  16  0.000258308
  17  1.15249e-05
  18  7.44209e-06
  19  0.000141794
  20  0.000211152
  21  1.39402
  22  12.3407
  23  0.253821
  24  0.164802
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  2.539e+01  1.640e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.148e+00  1.648e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.319e+00  2.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.50
Ra Dec: 117.164 24.017
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 5.38e-08 +/- 3.47e-08
Energy Flux (Fixed Index): 1.92e-05 +/- 1.24e-05

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) = 8155.46299201
delta logL = 0.766272207766

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8155.4629236
delta logL = 0.766340611198

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.928       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7862       1.0000          .0000       10.000    
     3 'Normalizat'    1.3417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1383       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   8155.463     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      292 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.913        23.548        .33430E-03   -.71415E-06
   2  Index         1.7858        .41738        .78593E-02    .10965E-05
   3  Normalizat    1.3417        .23849        .31356E-03    .13234E-04
   4  Prefactor     1.1383        .16143        .22681E-03   -.21252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.9125
  Index      = 1.78584
  Normalizat = 1.34171
  Prefactor  = 1.13825
 **********
 **   18 **HESSE 
 **********

 FCN=   8155.463     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.913        23.573        .13372E-04   -1.4509    
   2  Index         1.7858        .41785        .31437E-03   -.69819    
   3  Normalizat    1.3417        .23869        .12542E-04   -.82330    
   4  Prefactor     1.1383        .16157        .90725E-05   -.88253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67835e-12
Minuit parameter uncertainties:
  1  23.579
  2  0.418681
  3  0.238882
  4  0.161635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912172': 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) = 8155.46292313
delta logL = 0.76634108352

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  3.591e+01  2.358e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  1.786e+00  4.187e-01  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  1.118e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.138e+00  1.616e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.342e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.04
Ra Dec: 117.164 24.017
Photon Index (Free Index): 1.79 +/- 0.42
Photon Flux (Free Index): 3.39e-08 +/- 2.85e-08
Energy Flux (Free Index): 4.24e-05 +/- 4.21e-05

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/912172/cmap_HighResolution_428284801_428544001_4FGL_J0748.6+2400_daily_bin729.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.38e-08', energy_flux2='4.24e-05', photon_flux_error='3.47e-08', dlogl='7.66e-01', energy_flux='1.92e-05', photon_flux2='3.39e-08', job_status='DONE', time_completed='2021-08-28 14:54:40.051614', photon_index_error2='0.42', photon_index2='1.79', ts='6.50', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.21e-05', EG='1.32', time_epoch_completed='1630187680.05', return_code='0', job_id='912172', GAL2='1.14', EG2='1.34', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='2.85e-08', ts2='8.04', photon_index='2.34' WHERE bin_id='729' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:54:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 912172: <4FGL_J0748.6+2400_daily_bin729> in cluster <slac> Done

Job <4FGL_J0748.6+2400_daily_bin729> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 14:40:51 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:41:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 14:41:04 2021
Terminated at Sat Aug 28 14:54:41 2021
Results reported at Sat Aug 28 14:54:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin729 117.164 24.0166 428284801 428544001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.6+2400 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   790.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            830 sec.

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

