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


Performing analysis on: 4FGL_J0748.3+4928_daily_bin1529
RA = 117.082, Dec = 49.4748
tmin = 635644801, tmax = 635904001
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='906029', job_status='RUN', time_executed='2021-08-28 14:21:33.039037', time_epoch_executed='1630185693.04' WHERE source_name='4FGL J0748.3+4928' and cadence='daily' and bin_id='1529'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906029

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906029/ft1_4FGL_J0748.3+4928_daily_bin1529.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906029/ft1_4FGL_J0748.3+4928_daily_bin1529.fits outfile=/scratch/kocevski/906029/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1529.fits ra=117.082 dec=49.4748 rad=12.0 tmin=635644801.0 tmax=635904001.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 6.30
user 4.10
sys 2.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.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/906029/ft1_filteredMKT_4FGL_J0748.3+4928_daily_bin1529.fits evtable="EVENTS" outfile="/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.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.44
user 0.32
sys 2.10

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits" evtable="EVENTS" scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits sctable="SC_DATA" outfile=/scratch/kocevski/906029/ltcube_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.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/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits
.....................!
real 14.20
user 11.63
sys 2.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits sctable="SC_DATA" expcube=/scratch/kocevski/906029/ltcube_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits outfile=/scratch/kocevski/906029/expmap_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.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/906029/ltcube_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits
.....................!
real 193.58
user 185.86
sys 7.32

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
Added 207 point sources and 0 extended sources

Setting source of interest to:
4FGL J0748.3+4928 @ 117.082 49.4748

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits outfile=/scratch/kocevski/906029/cmap_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.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.082 yref=49.4748 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.45
user 0.39
sys 2.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits outfile=/scratch/kocevski/906029/cmap_HighResolution_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.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.082 yref=49.4748 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.47
user 0.40
sys 2.05

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits evtable="EVENTS" scfile=/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906029/Model_4FGL_J0748.3+4928_daily_bin1529.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
Working on...
/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits.....................!
real 53.97
user 50.05
sys 3.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits', '/scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits', expMap='/scratch/kocevski/906029/expmap_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits', expCube='/scratch/kocevski/906029/ltcube_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906029/Model_4FGL_J0748.3+4928_daily_bin1529.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0748.3+4928'

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  1.597e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906029/ft1_filtered_4FGL_J0748.3+4928_daily_bin1529.fits
Spacecraft file(s): /scratch/kocevski/906029/ft2_4FGL_J0748.3+4928_daily_bin1529.fits
Exposure map: /scratch/kocevski/906029/expmap_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits
Exposure cube: /scratch/kocevski/906029/ltcube_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906029/Model_4FGL_J0748.3+4928_daily_bin1529.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) = 4664.23716235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6151       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10631E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.567       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10694E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .46424       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10494E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .69512       1.0000         .10000E-03   10000.    
    12 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.9844       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .94249E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .27379E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    60.113       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.9271       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.1500       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .50193       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.4206       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.9750       1.0000         .10000E-03   10000.    
    28 'Prefactor '    12.194       1.0000         .10000E-03   10000.    
    29 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    20.759       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0329       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .82494       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4664.174     FROM MIGRAD    STATUS=CONVERGED    941 CALLS     4717 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.4474       -.75957E-07** at limit **
   2  norm          5.6170        4.4439       -.16025E-06    .80335E-05
   3  Prefactor     .10000E-03    82.241       -.99547E-07** at limit **
   4  norm          .10000E-03    1.8402       -.32437E-07** at limit **
   5  Prefactor     .10000E-03    7.8213       -.51032E-07** at limit **
   6  Prefactor     .10000E-03    1.9240       -.31806E-07** at limit **
   7  Prefactor     12.576        14.372       -.26223E-06    .29162E-04
   8  Prefactor     .10000E-03    21.865       -.33685E-06** at limit **
   9  norm          .49606        4.9154       -.22287E-06   -.14361E-03
  10  Prefactor     .10000E-03    81.509       -.24094E-05** at limit **
  11  Prefactor     .58627        244.77        .10361E-04   -.82631E-04
  12  norm          .10000E-03    .71634       -.32196E-06** at limit **
  13  Prefactor     5.9894        9.3268        .37649E-07    .33525E-04
  14  Prefactor     .10000E-03    10.064       -.13727E-06** at limit **
  15  norm          .87669E-01    2.3539        .41749E-06   -.24082E-03
  16  Prefactor     .10010E-03    17.231        .80832E-06** at limit **
  17  Prefactor     60.015        53.007       -.81675E-06   -.28398E-03
  18  Prefactor     .10000E-03    11.074       -.14207E-06** at limit **
  19  Prefactor     4.9271        6.9863       -.79876E-06   -.51868E-03
  20  norm          .10000E-03    1.5885       -.35359E-07** at limit **
  21  norm          1.1501        1.6828       -.10594E-06   -.35775E-05
  22  Prefactor     .10000E-03    3.4915       -.23474E-07** at limit **
  23  norm          .50264        .64727        .21013E-06   -.37656E-04
  24  Prefactor     .10000E-03    34.411       -.12729E-05** at limit **
  25  Prefactor     3.4209        6.1213       -.48305E-06    .18282E-04
  26  Prefactor     .10000E-03    7.6131       -.56986E-07** at limit **
  27  Prefactor     8.9751        8.5244       -.55058E-08    .11252E-04
  28  Prefactor     12.195        8.3322       -.65595E-07    .74900E-04
  29  norm          .10000E-03    7.3991       -.79245E-06** at limit **
  30  norm          .10000E-03    2.9609       -.31332E-07** at limit **
  31  Prefactor     20.762        17.447       -.49619E-07    .37046E-04
  32  Normalizat    1.0329        .21007        .21404E-05    .15953E-03
  33  Prefactor     .82497        .13496        .48179E-06    .31119E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.61701
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.576
  Prefactor  = 0.0001
  norm       = 0.496061
  Prefactor  = 0.000100001
  Prefactor  = 0.586267
  norm       = 0.0001
  Prefactor  = 5.98936
  Prefactor  = 0.0001
  norm       = 0.0876685
  Prefactor  = 0.000100101
  Prefactor  = 60.0149
  Prefactor  = 0.0001
  Prefactor  = 4.92715
  norm       = 0.0001
  norm       = 1.15006
  Prefactor  = 0.0001
  norm       = 0.502644
  Prefactor  = 0.000100001
  Prefactor  = 3.4209
  Prefactor  = 0.0001
  Prefactor  = 8.97506
  Prefactor  = 12.1946
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.7618
  Normalizat = 1.03286
  Prefactor  = 0.824968
 **********
 **   18 **HESSE 
 **********

 FCN=   4664.174     FROM HESSE     STATUS=OK           703 CALLS     5420 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.5932        .28141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6170        4.4543        .12287E-03   -1.5234    
   3  Prefactor     .10000E-03    84.826        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8487        .90481E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.9314        .92508E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.576        14.347        .11299E-03   -1.4999    
   8  Prefactor     .10000E-03    21.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .49606        22.790        .28772E-02   -1.5567    
  10  Prefactor     .10000E-03    82.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .58627        292.01        .71890E-02   -1.5555    
  12  norm          .10000E-03    1.1519        .11176E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.9894        9.4331        .16414E-03   -1.5218    
  14  Prefactor     .10000E-03    10.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .87669E-01    24.998        .17890E-02   -1.5649    
  16  Prefactor     .10010E-03    32.271        .40742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     60.015        54.778        .51749E-04   -1.4157    
  18  Prefactor     .10000E-03    11.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.9271        7.2127        .90597E-03   -1.5264    
  20  norm          .10000E-03    1.5925        .84043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.1501        1.6415        .10392E-03   -1.5493    
  22  Prefactor     .10000E-03    3.4950        .12463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .50264        .60683        .58900E-03   -1.5566    
  24  Prefactor     .10000E-03    35.523        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     3.4209        6.1156        .21515E-03   -1.5338    
  26  Prefactor     .10000E-03    7.6149        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.9751        8.5220        .13379E-03   -1.5109    
  28  Prefactor     12.195        8.3327        .11471E-03   -1.5009    
  29  norm          .10000E-03    35.227        .35309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    2.9670        .11475E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     20.762        17.446        .87910E-04   -1.4796    
  32  Normalizat    1.0329        .23967        .26516E-03   -.91938    
  33  Prefactor     .82497        .15836        .19588E-03   -.98814    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.69913e-09
Minuit parameter uncertainties:
  1  2.51807e-05
  2  4.45459
  3  0.000262147
  4  4.25457e-06
  5  5.91741e-06
  6  5.23739e-06
  7  14.3512
  8  6.49678e-05
  9  6.72673
  10  0.000508526
  11  26.2958
  12  1.6298e-05
  13  9.4354
  14  2.55185e-05
  15  2.96032
  16  0.00361153
  17  54.8236
  18  1.18694e-05
  19  7.214
  20  2.76659e-06
  21  1.64157
  22  3.59673e-06
  23  0.606838
  24  0.000390043
  25  6.11668
  26  6.92441e-06
  27  8.52319
  28  8.33354
  29  0.000105759
  30  4.22809e-06
  31  17.4503
  32  0.23992
  33  0.15845
Done.

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

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  5.989e+00  9.435e+00  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.379e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.250e-01  1.585e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.033e+00  2.399e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.75
Ra Dec: 117.082 49.475
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906029/likelihoodResults_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.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): 0
logL (Free Index) = 4664.13971107
delta logL = 0.0346109594557

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4664.13735525
delta logL = 0.0369667836349

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0968       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0769       1.0000          .0000       10.000    
     3 'Normalizat'    1.0372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82303       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   4664.137     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      264 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0965        13.781        .14090E-03    .30410E-03
   2  Index         2.0769        1.0537        .10918E-01    .69175E-04
   3  Normalizat    1.0372        .22834        .26465E-03   -.58036E-04
   4  Prefactor     .82304        .15314        .19607E-03   -.28411E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.09646
  Index      = 2.07695
  Normalizat = 1.03719
  Prefactor  = 0.823037
 **********
 **   18 **HESSE 
 **********

 FCN=   4664.137     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0965        13.403        .56361E-05   -1.5139    
   2  Index         2.0769        1.0255        .43674E-03   -.62440    
   3  Normalizat    1.0372        .22846        .10586E-04   -.91795    
   4  Prefactor     .82304        .15324        .78430E-05   -.98885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.9891e-10
Minuit parameter uncertainties:
  1  13.4076
  2  1.03673
  3  0.228678
  4  0.153324
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906029': 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) = 4664.13735525
delta logL = 0.0369667843452

Extracting fit parameters...

4FGL J0748.3+4928
   Spectrum: PowerLaw
282    Prefactor:  8.096e+00  1.341e+01  1.000e-04  1.000e+04 ( 1.000e-13)
283        Index:  2.077e+00  1.037e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  1.243e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  8.230e-01  1.533e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  1.037e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.75
Ra Dec: 117.082 49.475

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/906029/cmap_HighResolution_635644801_635904001_4FGL_J0748.3+4928_daily_bin1529.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-28 14:37:04.982061', job_id='906029', GAL2='0.82', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1630186624.98', return_code2='0', ts='0.75', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.70e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='1529' AND source_name='4FGL J0748.3+4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:37:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0108>
Subject: Job 906029: <4FGL_J0748.3+4928_daily_bin1529> in cluster <slac> Done

Job <4FGL_J0748.3+4928_daily_bin1529> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Aug 28 14:20:32 2021
Job was executed on host(s) <bullet0108>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:20:44 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:20:44 2021
Terminated at Sat Aug 28 14:37:06 2021
Results reported at Sat Aug 28 14:37:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.3+4928_daily_bin1529 117.082 49.4748 635644801 635904001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0748.3+4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   948.20 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             307.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            994 sec.

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

