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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin23
RA = 117.164, Dec = 24.0166
tmin = 245289601, tmax = 245548801
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='908507', job_status='RUN', time_executed='2021-08-28 14:32:42.936134', time_epoch_executed='1630186362.94' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='23'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/908507

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/908507/ft1_4FGL_J0748.6+2400_daily_bin23.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/908507/ft1_4FGL_J0748.6+2400_daily_bin23.fits outfile=/scratch/kocevski/908507/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin23.fits ra=117.164 dec=24.0166 rad=12.0 tmin=245289601.0 tmax=245548801.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 2.07
user 1.28
sys 0.78

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.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/908507/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin23.fits evtable="EVENTS" outfile="/scratch/kocevski/908507/ft1_filtered_4FGL_J0748.6+2400_daily_bin23.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/908507/ft1_filtered_4FGL_J0748.6+2400_daily_bin23.fits" evtable="EVENTS" scfile=/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits sctable="SC_DATA" outfile=/scratch/kocevski/908507/ltcube_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.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/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits
.....................!
real 13.49
user 12.43
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/908507/ft1_filtered_4FGL_J0748.6+2400_daily_bin23.fits evtable="EVENTS" scfile=/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits sctable="SC_DATA" expcube=/scratch/kocevski/908507/ltcube_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.fits outfile=/scratch/kocevski/908507/expmap_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.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/908507/ltcube_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.fits
.....................!
real 191.38
user 186.39
sys 4.60

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/908507/ft1_filtered_4FGL_J0748.6+2400_daily_bin23.fits scfile=/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits outfile=/scratch/kocevski/908507/cmap_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.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 1.12
user 0.38
sys 0.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/908507/ft1_filtered_4FGL_J0748.6+2400_daily_bin23.fits scfile=/scratch/kocevski/908507/ft2_4FGL_J0748.6+2400_daily_bin23.fits outfile=/scratch/kocevski/908507/cmap_HighResolution_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.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 1.13
user 0.38
sys 0.74

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    53.964       1.0000         .10000E-03   10000.    
     3 'norm      '    2.6200       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.8864       1.0000         .10000E-03   10000.    
     5 'norm      '    .70101       1.0000         .10000E-03   10000.    
     6 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11390E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .15353E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.313       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.603       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.893       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.074       1.0000         .10000E-03   10000.    
    15 'Prefactor '    35.303       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    35.432       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15227E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .75997       1.0000         .10000E-03   10000.    
    21 'norm      '    .74317       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.668       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0425       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92038       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5986.403     FROM MIGRAD    STATUS=CONVERGED    111 CALLS     2307 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1670       -.14350E-06** at limit **
   2  norm          53.960        1.2432       -.41813E-06   -.61953E-04
   3  norm          2.6200        .98016       -.80061E-08    .45642E-03
   4  Prefactor     1.8845        6.8320       -.35477E-05   -.16192E-03
   5  norm          .70127        .94149       -.85050E-07   -.19903E-03
   6  norm          .10000E-03    .59687        .17105E-06** at limit **
   7  Prefactor     .10000E-03    8.0404        .85370E-07** at limit **
   8  norm          .10000E-03    10.697        .56556E-06** at limit **
   9  Prefactor     20.462        35.405        .17192E-04    .40978E-02
  10  Prefactor     31.630        20.765       -.11583E-04   -.12221E-01
  11  Prefactor     16.818        17.817        .71750E-05   -.42137E-02
  12  Prefactor     .10000E-03    1.0233       -.17039E-06** at limit **
  13  Prefactor     .10006E-03    28.724       -.12897E-04** at limit **
  14  norm          10.074        1.2981       -.16789E-05   -.26415E-03
  15  Prefactor     35.204        33.657       -.23788E-04    .11526E-01
  16  norm          .10013E-03    50.049       -.11484E-04** at limit **
  17  Prefactor     35.419        3.1223       -.73624E-06   -.70510E-03
  18  Prefactor     .10005E-03    32.209        .12745E-04** at limit **
  19  Prefactor     .10000E-03    11.626       -.22234E-06** at limit **
  20  Prefactor     .75078        1.3769        .37190E-05    .19174E-04
  21  norm          .74253        .78857       -.57392E-06    .40450E-03
  22  Prefactor     12.669        9.2292        .16027E-04    .47400E-02
  23  Normalizat    1.0425        .23594       -.42866E-05   -.47651E-04
  24  Prefactor     .92049        .16086        .26163E-05   -.68107E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 53.9603
  norm       = 2.62001
  Prefactor  = 1.88452
  norm       = 0.701274
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 20.4617
  Prefactor  = 31.63
  Prefactor  = 16.8184
  Prefactor  = 0.0001
  Prefactor  = 0.000100063
  norm       = 10.0737
  Prefactor  = 35.2036
  norm       = 0.000100134
  Prefactor  = 35.4186
  Prefactor  = 0.000100053
  Prefactor  = 0.0001
  Prefactor  = 0.750777
  norm       = 0.742528
  Prefactor  = 12.6694
  Normalizat = 1.04248
  Prefactor  = 0.920486
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.403     FROM HESSE     STATUS=OK           461 CALLS     2768 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.0674        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          53.960        16.256        .13650E-02   -1.4237    
   3  norm          2.6200        .98273        .62993E-02   -1.5384    
   4  Prefactor     1.8845        6.8764        .75754E-02   -1.5433    
   5  norm          .70127        1.0662        .19978E-01   -1.5540    
   6  norm          .10000E-03    .58409        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.8312        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.6923        .62197E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.462        44.734        .22217E-02   -1.4803    
  10  Prefactor     31.630        22.932        .17819E-02   -1.4583    
  11  Prefactor     16.818        30.543        .24361E-02   -1.4888    
  12  Prefactor     .10000E-03    1.0196        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10006E-03    28.709        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.074        11.072        .31561E-02   -1.5073    
  15  Prefactor     35.204        115.50        .16862E-02   -1.4521    
  16  norm          .10013E-03    50.125        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     35.419        34.537        .16831E-02   -1.4517    
  18  Prefactor     .10005E-03    32.244        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.613        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .75078        10.813        .12290       -1.5535    
  21  norm          .74253        .83919        .12226E-01   -1.5536    
  22  Prefactor     12.669        9.3139        .28136E-02   -1.4996    
  23  Normalizat    1.0425        .21049        .64564E-01   -.91621    
  24  Prefactor     .92049        .13777        .45264E-01   -.95429    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.33365e-06
Minuit parameter uncertainties:
  1  0.000110389
  2  16.2569
  3  0.982737
  4  6.87928
  5  1.06628
  6  1.01441e-05
  7  0.000127199
  8  1.80984e-05
  9  44.8073
  10  22.9385
  11  30.5713
  12  1.48461e-05
  13  0.00268101
  14  11.0739
  15  116.25
  16  0.00518206
  17  34.556
  18  0.00261927
  19  3.52786e-05
  20  5.69939
  21  0.8392
  22  9.31497
  23  0.210658
  24  0.137819
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  3.163e+01  2.294e+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:  9.205e-01  1.378e-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.042e+00  2.107e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.13
Ra Dec: 117.164 24.017
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 6.71e-08 +/- 4.86e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 1.73e-05

TS (Fixed Index): 3.13
Ra Dec: 117.164 24.017
Photon Flux Upper Limit: 1.64e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.26e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/908507/likelihoodResults_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.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) = 5986.26609901
delta logL = 0.136773141497

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5986.25010326
delta logL = 0.152768899281

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.193       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7248       1.0000          .0000       10.000    
     3 'Normalizat'    1.0161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93324       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=   5986.250     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      270 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.195        30.001        .89131E-04    .50255E-04
   2  Index         2.7259        .87113        .49481E-02    .42894E-04
   3  Normalizat    1.0162        .23862        .28883E-03    .26002E-03
   4  Prefactor     .93323        .16243        .20779E-03    .49792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.1948
  Index      = 2.72588
  Normalizat = 1.0162
  Prefactor  = 0.933231
 **********
 **   18 **HESSE 
 **********

 FCN=   5986.250     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.195        25.368        .35653E-05   -1.4809    
   2  Index         2.7259        .73671        .19792E-03   -.47217    
   3  Normalizat    1.0162        .23768        .11553E-04   -.92490    
   4  Prefactor     .93323        .16186        .41559E-04   -.94989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06287e-10
Minuit parameter uncertainties:
  1  25.3813
  2  0.74011
  3  0.237932
  4  0.161944
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/908507': 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) = 5986.25009824
delta logL = 0.152773911726

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  2.019e+01  2.538e+01  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.726e+00  7.401e-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.332e-01  1.619e-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.016e+00  2.379e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.45
Ra Dec: 117.164 24.017
Photon Index (Free Index): 2.73 +/- 0.74
Photon Flux (Free Index): 8.45e-08 +/- 6.12e-08
Energy Flux (Free Index): 1.99e-05 +/- 1.43e-05

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/908507/cmap_HighResolution_245289601_245548801_4FGL_J0748.6+2400_daily_bin23.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', photon_flux='6.71e-08', energy_flux2='1.99e-05', photon_flux_error='4.86e-08', dlogl='1.53e-01', energy_flux='2.39e-05', photon_flux2='8.45e-08', job_status='DONE', time_completed='2021-08-28 14:43:45.991525', photon_index_error2='0.74', photon_index2='2.73', ts='3.13', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.43e-05', EG='1.04', time_epoch_completed='1630187025.99', return_code='0', job_id='908507', GAL2='0.93', EG2='1.02', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='6.12e-08', ts2='3.45', photon_index='2.34' WHERE bin_id='23' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:43:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 908507: <4FGL_J0748.6+2400_daily_bin23> in cluster <slac> Done

Job <4FGL_J0748.6+2400_daily_bin23> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 14:30:17 2021
Job was executed on host(s) <bullet0290>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:30:19 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:30:19 2021
Terminated at Sat Aug 28 14:43:46 2021
Results reported at Sat Aug 28 14:43:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin23 117.164 24.0166 245289601 245548801 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 :                                   668.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            809 sec.

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

