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


Performing analysis on: 4FGL_J0748.6+2400_daily_bin1
RA = 117.164, Dec = 24.0166
tmin = 239587201, tmax = 239846401
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='907319', job_status='RUN', time_executed='2021-08-28 14:28:57.866444', time_epoch_executed='1630186137.87' WHERE source_name='4FGL J0748.6+2400' and cadence='daily' and bin_id='1'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907319

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907319/ft1_4FGL_J0748.6+2400_daily_bin1.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907319/ft1_4FGL_J0748.6+2400_daily_bin1.fits outfile=/scratch/kocevski/907319/ft1_filteredMKT_4FGL_J0748.6+2400_daily_bin1.fits ra=117.164 dec=24.0166 rad=12.0 tmin=239587201.0 tmax=239846401.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.37
user 1.11
sys 1.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907319/ft1_filtered_4FGL_J0748.6+2400_daily_bin1.fits" evtable="EVENTS" scfile=/scratch/kocevski/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits sctable="SC_DATA" outfile=/scratch/kocevski/907319/ltcube_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.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/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits
.....................!
real 13.58
user 12.06
sys 1.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907319/ft1_filtered_4FGL_J0748.6+2400_daily_bin1.fits evtable="EVENTS" scfile=/scratch/kocevski/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits sctable="SC_DATA" expcube=/scratch/kocevski/907319/ltcube_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.fits outfile=/scratch/kocevski/907319/expmap_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.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/907319/ltcube_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.fits
.....................!
real 194.55
user 188.90
sys 5.23

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/907319/ft1_filtered_4FGL_J0748.6+2400_daily_bin1.fits scfile=/scratch/kocevski/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits outfile=/scratch/kocevski/907319/cmap_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.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.52
user 0.37
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907319/ft1_filtered_4FGL_J0748.6+2400_daily_bin1.fits scfile=/scratch/kocevski/907319/ft2_4FGL_J0748.6+2400_daily_bin1.fits outfile=/scratch/kocevski/907319/cmap_HighResolution_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.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.52
user 0.37
sys 1.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.6903       1.0000         .10000E-03   10000.    
     3 'norm      '    4.4281       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.0146       1.0000         .10000E-03   10000.    
     6 'norm      '    .15195       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .32289E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.426       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.7102       1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.357       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4242       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    62.479       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16512E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10310E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.5668       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .59069       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0567       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=   7738.917     FROM MIGRAD    STATUS=CONVERGED    545 CALLS     2753 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3284       -.47218E-08** at limit **
   2  norm          5.6887        6.7701       -.22891E-06   -.13700E-03
   3  norm          4.4283        1.0799       -.28557E-07    .22071E-04
   4  Prefactor     .10000E-03    3.9808       -.74488E-07** at limit **
   5  norm          1.0143        .91909       -.54434E-07   -.69774E-03
   6  norm          .14946        1.0522       -.41173E-06   -.97336E-03
   7  Prefactor     .10045E-03    7.6659       -.95331E-07** at limit **
   8  norm          .10000E-03    1.5705       -.17295E-06** at limit **
   9  Prefactor     30.432        35.852        .81877E-05    .20599E-04
  10  Prefactor     1.7082        13.007       -.24757E-05   -.32683E-03
  11  Prefactor     34.353        26.033       -.31543E-05    .48768E-04
  12  Prefactor     2.4242        2.1253        .37972E-07    .71522E-04
  13  Prefactor     .10000E-03    10.792       -.12596E-05** at limit **
  14  norm          .10000E-03    6.6846        .17300E-07** at limit **
  15  Prefactor     .10000E-03    40.389       -.24650E-05** at limit **
  16  norm          .10000E-03    26.422        .30744E-05** at limit **
  17  Prefactor     62.472        37.260       -.57798E-05    .50375E-04
  18  Prefactor     .10000E-03    24.232       -.10470E-04** at limit **
  19  Prefactor     .10000E-03    28.117        .10069E-04** at limit **
  20  Prefactor     .10000E-03    38.202        .50243E-05** at limit **
  21  norm          2.5679        1.2727       -.29469E-07   -.93238E-03
  22  Prefactor     .10000E-03    11.974        .19036E-05** at limit **
  23  Normalizat    .59050        .16519        .23731E-06   -.33147E-07
  24  Prefactor     1.0569        .10998        .15883E-06    .63917E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 5.68871
  norm       = 4.42827
  Prefactor  = 0.0001
  norm       = 1.01433
  norm       = 0.149465
  Prefactor  = 0.000100448
  norm       = 0.0001
  Prefactor  = 30.4321
  Prefactor  = 1.70819
  Prefactor  = 34.3526
  Prefactor  = 2.42424
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 62.4717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.5679
  Prefactor  = 0.0001
  Normalizat = 0.590496
  Prefactor  = 1.05688
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.917     FROM HESSE     STATUS=OK           399 CALLS     3152 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.3797        .17870E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.6887        6.7782        .16839E-03   -1.5231    
   3  norm          4.4283        1.0798        .43556E-04   -1.5287    
   4  Prefactor     .10000E-03    4.0279        .17128E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.0143        .88631        .77249E-03   -1.5507    
   6  norm          .14946        1.4443        .14037E-02   -1.5631    
   7  Prefactor     .10045E-03    51.212        .37054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.6208        .21480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     30.432        35.768        .72638E-04   -1.4604    
  10  Prefactor     1.7082        13.407        .32146E-03   -1.5447    
  11  Prefactor     34.353        25.855        .68367E-04   -1.4535    
  12  Prefactor     2.4242        2.1310        .11610E-03   -1.5397    
  13  Prefactor     .10000E-03    10.802        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.7171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    40.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    26.408        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     62.472        36.843        .50765E-04   -1.4126    
  18  Prefactor     .10000E-03    23.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.806        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.5679        1.2661        .66300E-04   -1.5387    
  22  Prefactor     .10000E-03    12.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .59050        .18305        .33385E-03   -1.0839    
  24  Prefactor     1.0569        .12407        .17831E-03   -.90857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00025e-08
Minuit parameter uncertainties:
  1  1.89092e-06
  2  6.77916
  3  1.07981
  4  1.66616e-05
  5  0.886318
  6  0.928948
  7  0.00958972
  8  2.3216e-05
  9  35.7934
  10  9.57379
  11  25.8635
  12  2.13109
  13  3.99884e-05
  14  1.03807e-05
  15  1.83576e-06
  16  1.34925e-06
  17  36.8562
  18  0.000203751
  19  2.3377e-05
  20  2.02842e-05
  21  1.26613
  22  2.37442e-05
  23  0.183239
  24  0.124105
Done.

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

Extracting fit parameters...

4FGL J0748.6+2400
   Spectrum: PowerLaw
256    Prefactor:  1.708e+00  9.574e+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

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.057e+00  1.241e-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:  5.905e-01  1.832e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/907319/likelihoodResults_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.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) = 7738.41221852
delta logL = 0.504876511037

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7738.21822164
delta logL = 0.698873384753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.6809       1.0000         .10000E-03   10000.    
     2 'Index     '    1.3027       1.0000          .0000       10.000    
     3 'Normalizat'    .59454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0522       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=   7738.218     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      218 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.6913        8.9825        .38811E-02    .66375E-04
   2  Index         1.3024        .48418        .32249       -.64934E-04
   3  Normalizat    .59469        .15394        .75121E-01    .56448E-04
   4  Prefactor     1.0522        .10817        .39781E-01    .17994E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.69134
  Index      = 1.30237
  Normalizat = 0.59469
  Prefactor  = 1.05221
 **********
 **   18 **HESSE 
 **********

 FCN=   7738.218     FROM HESSE     STATUS=OK            33 CALLS      251 TOTAL
                     EDM=   .54E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.6913        10.520        .77622E-03   -1.5191    
   2  Index         1.3024        .68919        .11705E-01   -.83236    
   3  Normalizat    .59469        .17191        .33260E-03   -1.0821    
   4  Prefactor     1.0522        .12116        .17854E-03   -.91009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.35421e-12
Minuit parameter uncertainties:
  1  10.5228
  2  0.694099
  3  0.172065
  4  0.121191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907319': 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) = 7738.21821947
delta logL = 0.698875555404

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.052e+00  1.212e-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:  5.947e-01  1.721e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.44
Ra Dec: 117.164 24.017
Photon Index (Free Index): 1.30 +/- 0.69
Photon Flux (Free Index): 4.50e-09 +/- 7.23e-09
Energy Flux (Free Index): 2.73e-05 +/- 4.84e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/907319/cmap_HighResolution_239587201_239846401_4FGL_J0748.6+2400_daily_bin1.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.79e-03', comment='SUCCESS', energy_flux2='2.73e-05', dlogl='6.99e-01', photon_flux2='4.50e-09', job_status='DONE', time_completed='2021-08-28 14:41:43.166868', photon_index_error2='0.69', photon_index2='1.30', ts='0.04', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', photon_flux_upper_limit='6.22e-08', energy_flux_error2='4.84e-05', EG='0.59', time_epoch_completed='1630186903.17', return_code='0', job_id='907319', GAL2='1.05', EG2='0.59', return_code2='0', photon_flux_error2='7.23e-09', ts2='1.44', photon_index='2.34' WHERE bin_id='1' AND source_name='4FGL J0748.6+2400' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 14:41:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 907319: <4FGL_J0748.6+2400_daily_bin1> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0748.6+2400_daily_bin1 117.164 24.0166 239587201 239846401 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 :                                   780.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

