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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin1294
RA = 117.164, Dec = 24.0166
tmin = 574732801, tmax = 574992001
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='917768', job_status='RUN', time_executed='2021-08-28 14:57:30.739760', time_epoch_executed='1630187850.74' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='1294'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917768

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917768/ft1_4FGL_J0748.6+2400_daily_bin1294.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917768/ft1_4FGL_J0748.6+2400_daily_bin1294.fits outfile=/scratch/kocevski/917768/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin1294.fits ra=117.164 dec=24.0166 rad=12.0 tmin=574732801.0 tmax=574992001.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 7.27
user 5.05
sys 2.11

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917768/ft1_filtered_4FGL_J0748.6+2400_daily_bin1294.fits" evtable="EVENTS" scfile=/scratch/kocevski/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits sctable="SC_DATA" outfile=/scratch/kocevski/917768/ltcube_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.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/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits
.....................!
real 15.11
user 11.27
sys 2.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917768/ft1_filtered_4FGL_J0748.6+2400_daily_bin1294.fits evtable="EVENTS" scfile=/scratch/kocevski/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits sctable="SC_DATA" expcube=/scratch/kocevski/917768/ltcube_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.fits outfile=/scratch/kocevski/917768/expmap_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.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/917768/ltcube_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.fits
.....................!
real 194.02
user 185.04
sys 7.34

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/917768/ft1_filtered_4FGL_J0748.6+2400_daily_bin1294.fits scfile=/scratch/kocevski/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits outfile=/scratch/kocevski/917768/cmap_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.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.40
user 0.37
sys 2.01

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917768/ft1_filtered_4FGL_J0748.6+2400_daily_bin1294.fits scfile=/scratch/kocevski/917768/ft2_4FGL_J0748.6+2400_daily_bin1294.fits outfile=/scratch/kocevski/917768/cmap_HighResolution_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.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.42
user 0.39
sys 2.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.656       1.0000         .10000E-03   10000.    
     2 'norm      '    11.163       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.0587       1.0000         .10000E-03   10000.    
     6 'norm      '    .77254       1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.883       1.0000         .10000E-03   10000.    
     8 'norm      '    5.7749       1.0000         .10000E-03   10000.    
     9 'Prefactor '    24.949       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    84.347       1.0000         .10000E-03   10000.    
    12 'Prefactor '    18.098       1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.5110       1.0000         .10000E-03   10000.    
    14 'norm      '    .62026       1.0000         .10000E-03   10000.    
    15 'Prefactor '    43.489       1.0000         .10000E-03   10000.    
    16 'norm      '    .10166E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.308       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.766       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1095       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0317       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=   6407.171     FROM MIGRAD    STATUS=CONVERGED    554 CALLS     3173 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.657        12.815        .34000E-06   -.63450E-04
   2  norm          11.163        13.222       -.20257E-05    .30901E-03
   3  norm          .10000E-03    .26280       -.15325E-08** at limit **
   4  Prefactor     .10000E-03    3.6764        .15522E-07** at limit **
   5  norm          3.0587        1.8801       -.10438E-06    .20438E-04
   6  norm          .77320        2.6918       -.28316E-05   -.13849E-02
   7  Prefactor     17.876        23.397        .52227E-05   -.29509E-04
   8  norm          5.7771        5.6121       -.45315E-06   -.20925E-03
   9  Prefactor     24.950        60.457       -.27202E-05   -.57140E-05
  10  Prefactor     .10000E-03    69.714       -.18696E-06** at limit **
  11  Prefactor     84.340        66.452       -.44898E-05    .21788E-03
  12  Prefactor     18.098        7.4617        .28198E-06    .22817E-04
  13  Prefactor     8.5181        82.886        .10452E-04   -.85637E-04
  14  norm          .61449        6.5594       -.16944E-05    .24477E-04
  15  Prefactor     43.475        223.93       -.21060E-04    .66909E-04
  16  norm          .10000E-03    147.54       -.75475E-06** at limit **
  17  Prefactor     14.308        15.931        .63065E-07   -.13857E-05
  18  Prefactor     10.767        19.239        .15162E-07   -.13190E-04
  19  Prefactor     .10000E-03    8.6730        .27851E-07** at limit **
  20  Prefactor     .10000E-03    10.821       -.24559E-08** at limit **
  21  norm          .10000E-03    .78310       -.33924E-07** at limit **
  22  Prefactor     .10000E-03    11.445        .57507E-07** at limit **
  23  Normalizat    1.1094        .22230       -.25777E-06    .21913E-03
  24  Prefactor     1.0317        .14797        .66580E-06    .21433E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.6567
  norm       = 11.1632
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.05868
  norm       = 0.773196
  Prefactor  = 17.876
  norm       = 5.77712
  Prefactor  = 24.9496
  Prefactor  = 0.0001
  Prefactor  = 84.3397
  Prefactor  = 18.0978
  Prefactor  = 8.51808
  norm       = 0.614486
  Prefactor  = 43.475
  norm       = 0.0001
  Prefactor  = 14.3082
  Prefactor  = 10.7668
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.10941
  Prefactor  = 1.0317
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.171     FROM HESSE     STATUS=OK           405 CALLS     3578 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.657        12.807        .11260E-03   -1.4996    
   2  norm          11.163        13.099        .11991E-03   -1.5040    
   3  norm          .10000E-03    .31650        .79827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.7059        .14982E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.0587        1.8786        .82558E-04   -1.5358    
   6  norm          .77320        2.9340        .15733E-03   -1.5532    
   7  Prefactor     17.876        24.897        .94710E-04   -1.4862    
   8  norm          5.7771        5.5861        .15253E-03   -1.5227    
   9  Prefactor     24.950        59.682        .80198E-04   -1.4709    
  10  Prefactor     .10000E-03    72.166        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     84.340        66.988        .43739E-04   -1.3869    
  12  Prefactor     18.098        7.4395        .94148E-04   -1.4857    
  13  Prefactor     8.5181        78.208        .13741E-03   -1.5124    
  14  norm          .61449        20.058        .39416E-02   -1.5551    
  15  Prefactor     43.475        212.16        .60792E-04   -1.4388    
  16  norm          .10000E-03    148.05        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.308        15.936        .10589E-03   -1.4951    
  18  Prefactor     10.767        19.238        .12211E-03   -1.5052    
  19  Prefactor     .10000E-03    8.6770        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.7114        .13630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1094        .25862        .30626E-03   -.89450    
  24  Prefactor     1.0317        .17370        .21687E-03   -.91680    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.6937e-09
Minuit parameter uncertainties:
  1  12.8097
  2  13.1026
  3  6.12211e-07
  4  1.12043e-06
  5  1.87864
  6  2.93455
  7  24.9109
  8  5.58661
  9  59.8256
  10  6.57424e-05
  11  67.0481
  12  7.43987
  13  51.7104
  14  7.02349
  15  193.196
  16  0.000251874
  17  15.9405
  18  19.2493
  19  2.94603e-06
  20  2.30002e-06
  21  3.10538e-06
  22  1.15928e-05
  23  0.258913
  24  0.173798
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  6.574e-05  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.032e+00  1.738e-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.109e+00  2.589e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.164 24.017
Photon Flux Upper Limit: 9.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917768/likelihoodResults_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6407.17083339
delta logL = -6.60404384689e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6407.17076753
delta logL = -1.84515556612e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4747       1.0000          .0000       10.000    
     3 'Normalizat'    1.1094       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0317       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=   6407.171     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      247 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    35.527        .90712E-02** at limit **
   2  Index         2.4195        5.9616        .50000        .59797E-05
   3  Normalizat    1.1094        .41457E-02    .69219E-01   -.49382E-03
   4  Prefactor     1.0317        .28563E-02    .41126E-01   -.27155E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100016
  Index      = 2.41954
  Normalizat = 1.1094
  Prefactor  = 1.03171
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.171     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    1064.2        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4195        5.2883        .50000       -.54228    
   3  Normalizat    1.1094        .22926E-01    .30626E-03   -.89450    
   4  Prefactor     1.0317        .15813E-01    .21687E-03   -.91680    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.86504e-07
Minuit parameter uncertainties:
  1  0.00847778
  2  429.984
  3  0.0229267
  4  0.0158135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917768': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6407.17076743
delta logL = -7.85294105299e-08

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.000e-04  8.478e-03  1.000e-04  1.000e+04 ( 1.000e-13)
257        Index:  2.420e+00  4.300e+02  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.032e+00  1.581e-02  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.109e+00  2.293e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.164 24.017

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/917768/cmap_HighResolution_574732801_574992001_4FGL_J0748.6+2400_daily_bin1294.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-03', job_status='DONE', photon_flux_upper_limit='9.43e-08', time_completed='2021-08-28 15:10:35.314991', job_id='917768', GAL2='1.03', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630188635.32', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='-7.85e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1294' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 15:10:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 917768: <4FGL_J0748.6+2400_daily_bin1294> in cluster <slac> Done

Job <4FGL_J0748.6+2400_daily_bin1294> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 14:55:25 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 14:56:25 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:56:25 2021
Terminated at Sat Aug 28 15:10:35 2021
Results reported at Sat Aug 28 15:10:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin1294 117.164 24.0166 574732801 574992001 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 :                                   797.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            910 sec.

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

