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 57 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7681
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0739.2+0137_daily_bin1780
RA = 114.82, Dec = 1.6216
tmin = 700704001, tmax = 700963201
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='49994', job_status='RUN', time_executed='2023-03-20 00:07:11.820491', time_epoch_executed='1679296031.82' WHERE source_name='4FGL J0739.2+0137' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49994

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49994/ft1_4FGL_J0739.2+0137_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49994/ft1_4FGL_J0739.2+0137_daily_bin1780.fits outfile=/scratch/kocevski/49994/ft1_filteredMKT_4FGL_J0739.2+0137_daily_bin1780.fits ra=114.82 dec=1.6216 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.07
user 3.84
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.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/49994/ft1_filteredMKT_4FGL_J0739.2+0137_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.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.65
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 945

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/49994/ltcube_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.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/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits
.....................!
real 14.96
user 14.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/49994/ltcube_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits outfile=/scratch/kocevski/49994/expmap_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.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/49994/ltcube_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits
.....................!
real 191.40
user 185.28
sys 5.46

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 Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 149 point sources and 2 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 J0739.2+0137 @ 114.82 1.6216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits outfile=/scratch/kocevski/49994/cmap_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.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=114.82 yref=1.6216 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits outfile=/scratch/kocevski/49994/cmap_HighResolution_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.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=114.82 yref=1.6216 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49994/Model_4FGL_J0739.2+0137_daily_bin1780.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 Monoceros
adding source Rosette
Working on...
/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits.....................!
real 149.86
user 148.26
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits', '/scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits', expMap='/scratch/kocevski/49994/expmap_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits', expCube='/scratch/kocevski/49994/ltcube_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49994/Model_4FGL_J0739.2+0137_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0739.2+0137'

4FGL J0739.2+0137
   Spectrum: LogParabola
204         norm:  4.536e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
205        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
206         beta:  9.503e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
207           Eb:  4.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/49994/ft1_filtered_4FGL_J0739.2+0137_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/49994/ft2_4FGL_J0739.2+0137_daily_bin1780.fits
Exposure map: /scratch/kocevski/49994/expmap_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits
Exposure cube: /scratch/kocevski/49994/ltcube_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49994/Model_4FGL_J0739.2+0137_daily_bin1780.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) = 10105.7052469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.3621       1.0000          .0000       .10000E+07
     2 'norm      '    .45809E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .51465       1.0000          .0000       .10000E+07
     4 'norm      '    .36767E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .45998E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .83950E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    25.413       1.0000          .0000       .10000E+07
     8 'norm      '    19.522       1.0000          .0000       .10000E+07
     9 'Prefactor '    .71458E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.735       1.0000          .0000       .10000E+07
    11 'norm      '    .50480E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.3017       1.0000          .0000       .10000E+07
    13 'Prefactor '    .12093E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .94726E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .79050E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .18069E-02   1.0000          .0000       .10000E+07
    17 'norm      '    2.5804       1.0000          .0000       .10000E+07
    18 'norm      '    .38833E-04   1.0000          .0000       .10000E+07
    19 'norm      '    9.1727       1.0000          .0000       .10000E+07
    20 'Normalizat'    .45418       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0604       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10105.65     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1356 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.3603        9.8578        .55977E-06   -.68788E-02
   2  norm          .11624E-04    19.080        .49301E-05** at limit **
   3  norm          .50292        3.2931        .33031E-05    .24487E-01
   4  norm          .10547E-08    3.4375        .98113E-06** at limit **
   5  Prefactor     .64486E-05    16.591        .52549E-05** at limit **
   6  Prefactor     .12773E-06    6.3222       -.32029E-05** at limit **
   7  Prefactor     27.133        22.491        .22692E-05   -.22482E-01
   8  norm          19.498        3.3537        .24984E-06    .28166E-02
   9  Prefactor     .38858E-09    10.027        .30309E-05** at limit **
  10  Prefactor     14.751        4.7574       -.18991E-06    .60850E-02
  11  norm           .0000        6.4515       -.33428E-05** at limit **
  12  Prefactor     8.3038        7.6955       -.99053E-07   -.23983E-03
  13  Prefactor     .12212E-08    3.3724       -.39400E-06** at limit **
  14  Prefactor     .67668E-06    18.687        .37905E-06** at limit **
  15  norm          .48214E-05    25.365       -.40147E-05** at limit **
  16  norm          .54290E-07    7.6038        .19950E-05** at limit **
  17  norm          2.5836        1.8178       -.64580E-08    .21914E-02
  18  norm          .12740E-06    3.3502        .49091E-07** at limit **
  19  norm          9.1695        4.3399        .38366E-06    .41377E-02
  20  Normalizat    .45247        .19383        .25411E-04    .42108E-04
  21  Prefactor     1.0606        .68074E-01   -.48144E-05    .18305E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.36034
  norm       = 1.16239e-05
  norm       = 0.502925
  norm       = 1.05471e-09
  Prefactor  = 6.44856e-06
  Prefactor  = 1.27731e-07
  Prefactor  = 27.1333
  norm       = 19.498
  Prefactor  = 3.88578e-10
  Prefactor  = 14.7505
  norm       = 0
  Prefactor  = 8.30383
  Prefactor  = 1.22125e-09
  Prefactor  = 6.76681e-07
  norm       = 4.82142e-06
  norm       = 5.42899e-08
  norm       = 2.58359
  norm       = 1.27398e-07
  norm       = 9.16955
  Normalizat = 0.452475
  Prefactor  = 1.0606
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.65     FROM HESSE     STATUS=OK           367 CALLS     1723 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.3603        10.157        .36941E-03   -1.5654    
   2  norm          .11624E-04    33.724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .50292        3.3984        .77249E-02   -1.5694    
   4  norm          .10547E-08    .57995        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .64486E-05    26.492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12773E-06    7.9034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.133        34.647        .19841E-03   -1.5604    
   8  norm          19.498        3.3911        .22641E-03   -1.5620    
   9  Prefactor     .38858E-09    10.572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.751        4.7822        .26067E-03   -1.5631    
  11  norm           .0000        6.8216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.3038        7.6961        .34771E-03   -1.5650    
  13  Prefactor     .12212E-08    3.3989        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .67668E-06    19.846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .48214E-05    53.699        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .54290E-07    1.1656        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5836        1.8550        .63506E-03   -1.5676    
  18  norm          .12740E-06    7.2478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          9.1695        4.3524        .33067E-03   -1.5647    
  20  Normalizat    .45247        .19954        .13487       -1.1467    
  21  Prefactor     1.0606        .69185E-01    .39336E-01   -.90736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.73905e-07
Minuit parameter uncertainties:
  1  10.1566
  2  0.0395983
  3  2.61469
  4  4.97854e-05
  5  0.026141
  6  0.00200942
  7  34.6475
  8  3.39112
  9  0.000126385
  10  4.78223
  11  2.4221e-07
  12  7.69616
  13  0.000130217
  14  0.00732931
  15  0.0321812
  16  0.000502997
  17  1.85505
  18  0.00192174
  19  4.35243
  20  0.199855
  21  0.0691903
Done.

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

Extracting fit parameters...

4FGL J0739.2+0137
   Spectrum: LogParabola
204         norm:  1.950e+01  3.391e+00  0.000e+00  1.000e+06 ( 1.000e-11)
205        alpha:  2.313e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
206         beta:  9.503e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
207           Eb:  4.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.061e+00  6.919e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  4.525e-01  1.999e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 98.88
Ra Dec: 114.820 1.622
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 4.83e-07 +/- 8.40e-08
Energy Flux (Fixed Index): 1.56e-04 +/- 2.72e-05

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) = 10105.6341273
delta logL = 0.0169991324583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10105.63228
delta logL = 0.0188464427192

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.655       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2785       1.0000          .0000       5.0000    
     3 'Normalizat'    .45875       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0595       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10105.63     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.654        4.0303        .22564E-03   -.53809E-02
   2  alpha         2.2784        .20542        .15110        .41344E-04
   3  Normalizat    .45883        .18526        .13402        .69589E-04
   4  Prefactor     1.0595        .64327E-01    .39381E-01   -.54052E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.6542
  alpha      = 2.27839
  Normalizat = 0.458831
  Prefactor  = 1.05955
 **********
 **   18 **HESSE 
 **********

 FCN=   10105.63     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.654        3.4524        .72028E-05   -1.5619    
   2  alpha         2.2784        .17877        .65621E-03   -.88759E-01
   3  Normalizat    .45883        .18473        .59495E-03   -1.1436    
   4  Prefactor     1.0595        .64398E-01    .14334E-03   -.90770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56364e-11
Minuit parameter uncertainties:
  1  3.45244
  2  0.178926
  3  0.184978
  4  0.0644029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49994': 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) = 10105.6322797
delta logL = 0.0188467547905

Extracting fit parameters...

4FGL J0739.2+0137
   Spectrum: LogParabola
204         norm:  1.965e+01  3.452e+00  0.000e+00  1.000e+06 ( 1.000e-11)
205        alpha:  2.278e+00  1.789e-01  0.000e+00  5.000e+00 ( 1.000e+00)
206         beta:  9.503e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
207           Eb:  4.724e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  1.060e+00  6.440e-02  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  4.588e-01  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 98.65
Ra Dec: 114.820 1.622
Photon Index (Free Index): 2.28 +/- 0.18
Photon Flux (Free Index): 4.74e-07 +/- 9.38e-08
Energy Flux (Free Index): 1.59e-04 +/- 3.08e-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/49994/cmap_HighResolution_700704001_700963201_4FGL_J0739.2+0137_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.83e-07', energy_flux2='1.59e-04', photon_flux_error='8.40e-08', dlogl='1.88e-02', energy_flux='1.56e-04', photon_flux2='4.74e-07', job_status='DONE', time_completed='2023-03-20 00:18:06.679969', photon_index_error2='0.18', photon_index2='2.28', ts='98.88', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='3.08e-05', EG='0.45', time_epoch_completed='1679296686.68', return_code='0', job_id='49994', GAL2='1.06', EG2='0.46', return_code2='0', energy_flux_error='2.72e-05', photon_flux_error2='9.38e-08', ts2='98.65', photon_index='2.31' WHERE bin_id='1780' AND source_name='4FGL J0739.2+0137' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:18:06 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0152>
Subject: Job 50097: <4FGL_J0739.2+0137_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0739.2+0137_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:05:59 2023
Job was executed on host(s) <bullet0152>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:06:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:06:04 2023
Terminated at Mon Mar 20 00:17:52 2023
Results reported at Mon Mar 20 00:17:52 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0739.2+0137_daily_bin1780 114.82 1.6216 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0739.2+0137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.13 sec.
    Max Memory :                                 617 MB
    Average Memory :                             329.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            713 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0284>
Subject: Job 49994: <4FGL_J0739.2+0137_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0739.2+0137_daily_bin1780> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Mar 20 00:05:54 2023
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:06:01 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:06:01 2023
Terminated at Mon Mar 20 00:18:07 2023
Results reported at Mon Mar 20 00:18:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0739.2+0137_daily_bin1780 114.82 1.6216 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0739.2+0137 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   656.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   726 sec.
    Turnaround time :                            733 sec.

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

