aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 98 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 = 7532
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0742.9-5242_daily_bin1704
RA = 115.74, Dec = -52.7033
tmin = 681004801, tmax = 681264001
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='364218', job_status='RUN', time_executed='2022-08-04 01:52:19.486546', time_epoch_executed='1659603139.49' WHERE source_name='4FGL J0742.9-5242' and cadence='daily' and bin_id='1704'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/364218

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/364218/ft1_4FGL_J0742.9-5242_daily_bin1704.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/364218/ft1_4FGL_J0742.9-5242_daily_bin1704.fits outfile=/scratch/kocevski/364218/ft1_filteredMKT_4FGL_J0742.9-5242_daily_bin1704.fits ra=115.74 dec=-52.7033 rad=12.0 tmin=681004801.0 tmax=681264001.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.99
user 2.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.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/364218/ft1_filteredMKT_4FGL_J0742.9-5242_daily_bin1704.fits evtable="EVENTS" outfile="/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 4501

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits" evtable="EVENTS" scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits sctable="SC_DATA" outfile=/scratch/kocevski/364218/ltcube_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.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/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits
.....................!
real 15.92
user 15.54
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits sctable="SC_DATA" expcube=/scratch/kocevski/364218/ltcube_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits outfile=/scratch/kocevski/364218/expmap_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.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/364218/ltcube_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits
.....................!
real 194.49
user 187.57
sys 5.24

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 Puppis A in ROI with RadialDisk spatial model.
Extended source Vela X in ROI with RadialDisk spatial model.
Extended source Vela Junior in ROI with RadialDisk spatial model.
Extended source LMC-North in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/LMC-North.fits is the correct path to the extended template.
Added 217 point sources and 4 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 J0742.9-5242 @ 115.74 -52.7033

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits outfile=/scratch/kocevski/364218/cmap_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.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=115.74 yref=-52.7033 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits outfile=/scratch/kocevski/364218/cmap_HighResolution_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.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=115.74 yref=-52.7033 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits evtable="EVENTS" scfile=/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/364218/Model_4FGL_J0742.9-5242_daily_bin1704.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 LMC-North
adding source Puppis A
adding source Vela Junior
adding source Vela X
Working on...
/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits.....................!
real 1984.59
user 1976.52
sys 1.47

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits', '/scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits', expMap='/scratch/kocevski/364218/expmap_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits', expCube='/scratch/kocevski/364218/ltcube_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/364218/Model_4FGL_J0742.9-5242_daily_bin1704.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0742.9-5242'

4FGL J0742.9-5242
   Spectrum: LogParabola
334         norm:  1.082e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
335        alpha:  2.809e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  3.053e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  8.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/364218/ft1_filtered_4FGL_J0742.9-5242_daily_bin1704.fits
Spacecraft file(s): /scratch/kocevski/364218/ft2_4FGL_J0742.9-5242_daily_bin1704.fits
Exposure map: /scratch/kocevski/364218/expmap_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits
Exposure cube: /scratch/kocevski/364218/ltcube_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/364218/Model_4FGL_J0742.9-5242_daily_bin1704.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) = 36712.327299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.459       1.0000         .10000E-03   10000.    
     5 'norm      '    .10807E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.8091       1.0000         .10000E-03   10000.    
     8 'norm      '    .10225E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3871       1.0000         .10000E-03   10000.    
    12 'norm      '    2.6070       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4716       1.0000         .10000E-03   10000.    
    15 'norm      '    4.5627       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.741       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.0027       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.5699       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99295       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   36712.20     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     1786 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.2240       -.59031E-07** at limit **
   2  Prefactor     .10000E-03    36.418        .13857E-05** at limit **
   3  Prefactor     .10000E-03    11.562        .19443E-06** at limit **
   4  Prefactor     12.457        21.079       -.79650E-06    .50010E-05
   5  norm          .10003E-03    2.5830       -.39214E-06** at limit **
   6  Prefactor     .10000E-03    2.2517        .56010E-07** at limit **
   7  norm          3.8077        5.2669        .10365E-06   -.57223E-04
   8  norm          .10000E-03    5.5578        .49425E-05** at limit **
   9  Prefactor     .10000E-03    3.8878       -.66114E-07** at limit **
  10  Prefactor     .10000E-03    70.362       -.27090E-06** at limit **
  11  Prefactor     6.3686        37.213       -.24323E-04   -.56665E-04
  12  norm          2.6063        1.0992        .25121E-06   -.42061E-02
  13  Prefactor     .10000E-03    5.3869       -.31166E-05** at limit **
  14  Prefactor     4.4698        5.1996        .47709E-06    .11375E-03
  15  norm          4.5628        4.5167       -.14005E-07   -.29458E-06
  16  Prefactor     23.740        15.681       -.15131E-06   -.24192E-04
  17  Prefactor     .10000E-03    5.9231       -.17078E-05** at limit **
  18  norm          2.0026        3.9638       -.54519E-06   -.20612E-03
  19  Normalizat    1.5699        .18891        .15733E-05    .11709E-03
  20  Prefactor     .99295        .42033E-01    .56538E-07    .43836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4571
  norm       = 0.000100033
  Prefactor  = 0.0001
  norm       = 3.80768
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.36862
  norm       = 2.60628
  Prefactor  = 0.0001
  Prefactor  = 4.46982
  norm       = 4.56283
  Prefactor  = 23.7396
  Prefactor  = 0.0001
  norm       = 2.00265
  Normalizat = 1.56993
  Prefactor  = 0.992946
 **********
 **   18 **HESSE 
 **********

 FCN=   36712.20     FROM HESSE     STATUS=OK           299 CALLS     2085 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    36.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.457        21.123        .11348E-03   -1.5002    
   5  norm          .10003E-03    2.6558        .10134       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.2596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8077        5.2455        .20681E-03   -1.5318    
   8  norm          .10000E-03    5.6576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.9301        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    70.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3686        37.271        .15882E-03   -1.5203    
  12  norm          2.6063        3.1049        .12633E-02   -1.5385    
  13  Prefactor     .10000E-03    5.5393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4698        5.1598        .19041E-03   -1.5285    
  15  norm          4.5628        4.5375        .18846E-03   -1.5281    
  16  Prefactor     23.740        15.679        .41105E-03   -1.4733    
  17  Prefactor     .10000E-03    5.9465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0026        3.9691        .29263E-03   -1.5425    
  19  Normalizat    1.5699        .20374        .68006E-03   -.75832    
  20  Prefactor     .99295        .45421E-01    .18987E-03   -.92965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.73032e-09
Minuit parameter uncertainties:
  1  3.70772e-06
  2  3.24271e-06
  3  1.96021e-05
  4  21.136
  5  0.000590998
  6  2.78132e-06
  7  5.24609
  8  7.75287e-05
  9  2.38158e-06
  10  3.27421e-06
  11  30.8421
  12  3.10506
  13  2.5585e-06
  14  5.16027
  15  4.53787
  16  15.6818
  17  9.46703e-06
  18  3.96959
  19  0.203852
  20  0.0454228
Done.

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

Extracting fit parameters...

4FGL J0742.9-5242
   Spectrum: LogParabola
334         norm:  2.606e+00  3.105e+00  1.000e-04  1.000e+04 ( 1.000e-12)
335        alpha:  2.809e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
336         beta:  3.053e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  8.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.929e-01  4.542e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
722   Normalization:  1.570e+00  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.01
Ra Dec: 115.740 -52.703
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 2.53e-08 +/- 3.01e-08
Energy Flux (Fixed Index): 7.05e-06 +/- 8.40e-06

TS (Fixed Index): 1.01
Ra Dec: 115.740 -52.703
Photon Flux Upper Limit: 9.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/364218/likelihoodResults_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.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) = 36712.1523362
delta logL = 0.0480558885902

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 36712.1506869
delta logL = 0.0497051573839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1397       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4592       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5750       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   36712.15     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      314 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1397        4.0081        .11439E-02   -.12007E-02
   2  alpha         2.4592        1.1359        .66982E-01    .29238E-04
   3  Normalizat    1.5751        .19541        .67919E-03    .40173E-06
   4  Prefactor     .99254        .45026E-01    .18990E-03   -.47893E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 3.13967
  alpha      = 2.4592
  Normalizat = 1.57508
  Prefactor  = 0.992536
 **********
 **   18 **HESSE 
 **********

 FCN=   36712.15     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1397        3.7625        .45756E-04   -1.5354    
   2  alpha         2.4592        1.0739        .26793E-02   -.16321E-01
   3  Normalizat    1.5751        .19531        .27167E-04   -.75690    
   4  Prefactor     .99254        .45031E-01    .37980E-04   -.92979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.27413e-10
Minuit parameter uncertainties:
  1  3.76278
  2  1.11007
  3  0.195405
  4  0.0450328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/364218': 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) = 36712.1506869
delta logL = 0.0497051809798

Extracting fit parameters...

4FGL J0742.9-5242
   Spectrum: LogParabola
334         norm:  3.140e+00  3.763e+00  1.000e-04  1.000e+04 ( 1.000e-12)
335        alpha:  2.459e+00  1.110e+00  0.000e+00  5.000e+00 ( 1.000e+00)
336         beta:  3.053e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
337           Eb:  8.225e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
723    Prefactor:  9.925e-01  4.503e-02  0.000e+00  1.000e+01 ( 1.000e+00)
724        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
725        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
722   Normalization:  1.575e+00  1.954e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 115.740 -52.703
Photon Index (Free Index): 2.46 +/- 1.11
Photon Flux (Free Index): 1.95e-08 +/- 3.02e-08
Energy Flux (Free Index): 6.92e-06 +/- 8.12e-06

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/364218/cmap_HighResolution_681004801_681264001_4FGL_J0742.9-5242_daily_bin1704.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.68e-05', comment='SUCCESS', photon_flux='2.53e-08', energy_flux2='6.92e-06', photon_flux_error='3.01e-08', dlogl='4.97e-02', energy_flux='7.05e-06', photon_flux2='1.95e-08', job_status='DONE', time_completed='2022-08-04 03:10:44.118356', photon_index_error2='1.11', photon_index2='2.46', ts='1.01', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='9.59e-08', energy_flux_error2='8.12e-06', EG='1.57', time_epoch_completed='1659607844.12', return_code='0', job_id='364218', GAL2='0.99', EG2='1.58', return_code2='0', energy_flux_error='8.40e-06', photon_flux_error2='3.02e-08', ts2='1.10', photon_index='2.81' WHERE bin_id='1704' AND source_name='4FGL J0742.9-5242' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug  4 03:10:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 364183: <4FGL_J0742.9-5242_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0742.9-5242_daily_bin1704> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Aug  4 00:06:16 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 01:50:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 01:50:10 2022
Terminated at Thu Aug  4 03:08:54 2022
Results reported at Thu Aug  4 03:08:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0742.9-5242_daily_bin1704 115.74 -52.7033 681004801 681264001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0742.9-5242 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4638.00 sec.
    Max Memory :                                 703 MB
    Average Memory :                             474.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4724 sec.
    Turnaround time :                            10958 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 364218: <4FGL_J0742.9-5242_daily_bin1704> in cluster <slac> Done

Job <4FGL_J0742.9-5242_daily_bin1704> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Aug  4 00:06:17 2022
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug  4 01:50:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug  4 01:50:32 2022
Terminated at Thu Aug  4 03:10:45 2022
Results reported at Thu Aug  4 03:10:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0742.9-5242_daily_bin1704 115.74 -52.7033 681004801 681264001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0742.9-5242 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4680.00 sec.
    Max Memory :                                 1263 MB
    Average Memory :                             475.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4814 sec.
    Turnaround time :                            11068 sec.

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

