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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin8
RA = 117.164, Dec = 24.0166
tmin = 241401601, tmax = 241660801
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='907331', job_status='RUN', time_executed='2021-08-28 14:25:50.062654', time_epoch_executed='1630185950.06' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='8'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907331

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907331/ft1_4FGL_J0748.6+2400_daily_bin8.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907331/ft1_4FGL_J0748.6+2400_daily_bin8.fits outfile=/scratch/kocevski/907331/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin8.fits ra=117.164 dec=24.0166 rad=12.0 tmin=241401601.0 tmax=241660801.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.46
user 1.27
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.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/907331/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin8.fits evtable="EVENTS" outfile="/scratch/kocevski/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits" evtable="EVENTS" scfile=/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits sctable="SC_DATA" outfile=/scratch/kocevski/907331/ltcube_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.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/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits
.....................!
real 12.29
user 11.92
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits evtable="EVENTS" scfile=/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits sctable="SC_DATA" expcube=/scratch/kocevski/907331/ltcube_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits outfile=/scratch/kocevski/907331/expmap_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.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/907331/ltcube_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits
.....................!
real 189.82
user 185.04
sys 4.37

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/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits scfile=/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits outfile=/scratch/kocevski/907331/cmap_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.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 0.61
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits scfile=/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits outfile=/scratch/kocevski/907331/cmap_HighResolution_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.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 0.54
user 0.37
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits', '/scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits', expMap='/scratch/kocevski/907331/expmap_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits', expCube='/scratch/kocevski/907331/ltcube_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/907331/Model_4FGL_J0748.6+2400_daily_bin8.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/907331/ft1_filtered_4FGL_J0748.6+2400_daily_bin8.fits
Spacecraft file(s): /scratch/kocevski/907331/ft2_4FGL_J0748.6+2400_daily_bin8.fits
Exposure map: /scratch/kocevski/907331/expmap_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits
Exposure cube: /scratch/kocevski/907331/ltcube_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/907331/Model_4FGL_J0748.6+2400_daily_bin8.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) = 6592.69930702

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4452       1.0000         .10000E-03   10000.    
     2 'norm      '    5.3179       1.0000         .10000E-03   10000.    
     3 'norm      '    .31869       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .23434E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.4696       1.0000         .10000E-03   10000.    
     6 'norm      '    .20976       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.102       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6983       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.0730       1.0000         .10000E-03   10000.    
    10 'Prefactor '    106.23       1.0000         .10000E-03   10000.    
    11 'Prefactor '    48.227       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11089E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .20983E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.210       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.791       1.0000         .10000E-03   10000.    
    21 'norm      '    2.7800       1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.3612       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1763       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86036       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6592.697     FROM MIGRAD    STATUS=FAILED       959 CALLS     3871 TOTAL
                     EDM=   .74E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4517        31.209        .35863E-03    .92566E-05
   2  norm          5.3164        9.6218        .87141E-03   -.14351E-03
   3  norm          .31860        .70922        .10024E-03   -.33116E-04
   4  Prefactor     .10004E-03    21.529        .35161E-02** at limit **
   5  norm          1.4696        1.2129        .78245E-04    .15227E-03
   6  norm          .20971        1.5295        .17554E-03   -.13542E-03
   7  Prefactor     12.097        10.586        .11515E-03    .28039E-03
   8  norm          1.6960        6.4017        .26970E-03    .60844E-03
   9  Prefactor     1.1230        512.32        .87667E-02    .61204E-03
  10  Prefactor     106.24        33.130        .39018E-04    .22651E-03
  11  Prefactor     48.258        47.476        .57742E-04    .49884E-03
  12  Prefactor     .10000E-03    .97776        .78251E-03** at limit **
  13  Prefactor     .10000E-03    13.475        .18142E-02** at limit **
  14  norm          .10000E-03    2.4969        .12524E-02** at limit **
  15  Prefactor     .10000E-03    134.36        .18142E-02** at limit **
  16  norm          .10025E-03    6946.1        .36510E-02** at limit **
  17  Prefactor     .10000E-03    6.3859        .18142E-02** at limit **
  18  Prefactor     11.211        18.072        .11966E-03   -.15867E-04
  19  Prefactor     .10000E-03    5.1439        .17984E-02** at limit **
  20  Prefactor     23.794        22.132        .82124E-04    .68109E-04
  21  norm          2.7801        1.4092        .61845E-04    .24265E-03
  22  Prefactor     1.3614        7.7650        .18715E-02    .44868E-04
  23  Normalizat    1.1762        .23971        .27730E-03    .61824E-04
  24  Prefactor     .86037        .15587        .21812E-03    .32251E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6592.697     FROM SIMPLEX   STATUS=PROGRESS     953 CALLS     4824 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4517        31.209        .11126E-06   -1.5467    
   2  norm          5.3165        9.6218        .12857E-06   -1.5247    
   3  norm          .31860        .70922        .12879E-06   -1.5595    
   4  Prefactor     .10004E-03    21.529        .46357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4696        1.2129        .10057E-06   -1.5466    
   6  norm          .20971        1.5295        .10881E-06   -1.5616    
   7  Prefactor     12.097        10.586        .11271E-06   -1.5012    
   8  norm          1.6960        6.4017        .14495E-06   -1.5448    
   9  Prefactor     1.1230        512.32        .10921E-04   -1.5496    
  10  Prefactor     106.24        33.130        .17653E-06   -1.3643    
  11  Prefactor     48.258        47.476        .40128E-06   -1.4317    
  12  Prefactor     .10000E-03    .97776        .95162E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.475        .64289E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4969        .96534E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    134.36        .55953E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10025E-03    6946.1        .11864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3859        .22467E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.211        18.072        .90102E-07   -1.5038    
  19  Prefactor     .10000E-03    5.1439        .19606E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.794        22.132        .88688E-07   -1.4732    
  21  norm          2.7801        1.4092        .91883E-07   -1.5374    
  22  Prefactor     1.3614        7.7650        .92529E-07   -1.5475    
  23  Normalizat    1.1762        .23971        .52247E-07   -.87343    
  24  Prefactor     .86037        .15587        .58295E-07   -.97540    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6592.697     FROM MIGRAD    STATUS=CONVERGED    382 CALLS     5206 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4517        31.133        .14345E-04   -.23776E-05
   2  norm          5.3165        9.6172        .34857E-04   -.19569E-05
   3  norm          .31860        .70909        .40097E-05   -.45365E-04
   4  Prefactor     .10000E-03    21.770        .70323E-03** at limit **
   5  norm          1.4696        1.2127        .31298E-05   -.14530E-05
   6  norm          .20972        1.5245        .70215E-05    .64765E-06
   7  Prefactor     12.097        10.567        .46060E-05   -.39492E-05
   8  norm          1.6958        5.9528        .10788E-04   -.84096E-04
   9  Prefactor     1.1238        446.65        .17533E-02    .76836E-05
  10  Prefactor     106.24        32.978        .78036E-05   -.34964E-04
  11  Prefactor     48.257        47.460        .11548E-04   -.78756E-06
  12  Prefactor     .10000E-03    .97779        .15650E-03** at limit **
  13  Prefactor     .10000E-03    13.475        .36285E-03** at limit **
  14  norm          .10000E-03    2.4969        .25049E-03** at limit **
  15  Prefactor     .10000E-03    134.37        .36285E-03** at limit **
  16  norm          .10000E-03    6958.2        .73020E-03** at limit **
  17  Prefactor     .10000E-03    6.3860        .36285E-03** at limit **
  18  Prefactor     11.211        18.073        .47863E-05   -.95011E-06
  19  Prefactor     .10000E-03    5.1439        .35969E-03** at limit **
  20  Prefactor     23.794        22.128        .32850E-05   -.13843E-05
  21  norm          2.7801        1.4085        .24738E-05   -.27574E-05
  22  Prefactor     1.3614        7.7416        .74859E-04   -.75934E-06
  23  Normalizat    1.1762        .23833        .11092E-04   -.66005E-04
  24  Prefactor     .86037        .15586        .43625E-04   -.64577E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.45171
  norm       = 5.31651
  norm       = 0.318601
  Prefactor  = 0.0001
  norm       = 1.46958
  norm       = 0.20972
  Prefactor  = 12.0969
  norm       = 1.69581
  Prefactor  = 1.12376
  Prefactor  = 106.24
  Prefactor  = 48.257
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.2111
  Prefactor  = 0.0001
  Prefactor  = 23.7936
  norm       = 2.78009
  Prefactor  = 1.36143
  Normalizat = 1.17617
  Prefactor  = 0.860366
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.697     FROM HESSE     STATUS=OK           375 CALLS     5581 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4517        31.169        .28690E-05   -1.5467    
   2  norm          5.3165        9.6123        .13943E-05   -1.5247    
   3  norm          .31860        .70919        .80194E-06   -1.5595    
   4  Prefactor     .10000E-03    21.780        .14065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4696        1.2126        .62596E-06   -1.5466    
   6  norm          .20972        1.5246        .14043E-05   -1.5616    
   7  Prefactor     12.097        10.566        .92119E-06   -1.5012    
   8  norm          1.6958        5.8582        .21576E-05   -1.5448    
   9  Prefactor     1.1238        430.26        .70133E-04   -1.5496    
  10  Prefactor     106.24        32.945        .15607E-05   -1.3643    
  11  Prefactor     48.257        47.443        .23097E-05   -1.4317    
  12  Prefactor     .10000E-03    .97779        .31300E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    13.475        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4969        .50097E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    134.37        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6958.5        .14604E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.3860        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.211        18.062        .95725E-06   -1.5038    
  19  Prefactor     .10000E-03    5.1439        .71937E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.794        22.094        .65699E-06   -1.4732    
  21  norm          2.7801        1.4075        .49476E-06   -1.5374    
  22  Prefactor     1.3614        7.7457        .29944E-05   -1.5475    
  23  Normalizat    1.1762        .23809        .22184E-05   -.87343    
  24  Prefactor     .86037        .15587        .87250E-05   -.97540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87834e-11
Minuit parameter uncertainties:
  1  13.4609
  2  9.61505
  3  0.709205
  4  3.06087e-05
  5  1.21262
  6  1.13068
  7  10.5678
  8  5.86019
  9  44.2998
  10  32.9508
  11  47.4801
  12  1.18335e-08
  13  2.04273e-07
  14  5.32679e-08
  15  2.08944e-06
  16  0.002955
  17  8.42333e-08
  18  18.0712
  19  3.59198e-08
  20  22.1019
  21  1.4075
  22  6.49573
  23  0.238304
  24  0.155952
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.062e+02  3.295e+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:  8.604e-01  1.560e-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.176e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.84
Ra Dec: 117.164 24.017
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 2.25e-07 +/- 6.98e-08
Energy Flux (Fixed Index): 8.03e-05 +/- 2.49e-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) = 6588.78149781
delta logL = 3.91586492083

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6588.77621439
delta logL = 3.92114833736

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.050       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2546       1.0000          .0000       10.000    
     3 'Normalizat'    1.0247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93219       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.

 FCN=   6588.776     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      255 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.058        93.356        .18272E-02   -.32123E-04
   2  Index         3.2547        1.5837        .46196E-01    .15946E-03
   3  Normalizat    1.0248        .12710        .66281E-01    .10099E-03
   4  Prefactor     .93225        .81331E-01    .45414E-01   -.50164E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.0576
  Index      = 3.25467
  Normalizat = 1.02478
  Prefactor  = 0.932253
 **********
 **   18 **HESSE 
 **********

 FCN=   6588.776     FROM HESSE     STATUS=OK            31 CALLS      286 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.058        22.013        .73089E-04   -1.4611    
   2  Index         3.2547        .38890        .20061E-03   -.35657    
   3  Normalizat    1.0248        .23289        .29320E-03   -.92205    
   4  Prefactor     .93225        .15633        .21035E-03   -.95023    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10176e-11
Minuit parameter uncertainties:
  1  22.0188
  2  0.38935
  3  0.233118
  4  0.156408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907331': 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) = 6588.77621118
delta logL = 3.92115155366

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  3.006e+01  2.202e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  3.255e+00  3.893e-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:  9.323e-01  1.564e-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.025e+00  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 34.88
Ra Dec: 117.164 24.017
Photon Index (Free Index): 3.25 +/- 0.39
Photon Flux (Free Index): 3.45e-07 +/- 8.80e-08
Energy Flux (Free Index): 6.20e-05 +/- 1.56e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/907331/cmap_HighResolution_241401601_241660801_4FGL_J0748.6+2400_daily_bin8.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.25e-07', energy_flux2='6.20e-05', photon_flux_error='6.98e-08', dlogl='3.92e+00', energy_flux='8.03e-05', photon_flux2='3.45e-07', job_status='DONE', time_completed='2021-08-28 14:39:52.294477', photon_index_error2='0.39', photon_index2='3.25', ts='25.84', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.56e-05', EG='1.18', time_epoch_completed='1630186792.29', return_code='0', job_id='907331', GAL2='0.93', EG2='1.02', return_code2='0', energy_flux_error='2.49e-05', photon_flux_error2='8.80e-08', ts2='34.88', photon_index='2.34' WHERE bin_id='8' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:39:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 907331: <4FGL_J0748.6+2400_daily_bin8> in cluster <slac> Done

Job <4FGL_J0748.6+2400_daily_bin8> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Aug 28 14:25:21 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:25:22 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:25:22 2021
Terminated at Sat Aug 28 14:39:52 2021
Results reported at Sat Aug 28 14:39:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin8 117.164 24.0166 241401601 241660801 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 :                                   840.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            871 sec.

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

