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


Performing analysis on: 4FGL_J1738.3+3228_daily_bin1770
RA = 264.584, Dec = 32.4823
tmin = 698112001, tmax = 698371201
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='493775', job_status='RUN', time_executed='2023-02-18 01:21:48.681806', time_epoch_executed='1676712108.68' WHERE source_name='4FGL J1738.3+3228' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493775/ft1_4FGL_J1738.3+3228_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493775/ft1_4FGL_J1738.3+3228_daily_bin1770.fits outfile=/scratch/kocevski/493775/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin1770.fits ra=264.584 dec=32.4823 rad=12.0 tmin=698112001.0 tmax=698371201.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 3.38
user 3.17
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.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/493775/ft1_filteredMKT_4FGL_J1738.3+3228_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.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.41
user 0.26
sys 0.14

Number of photons that the gtmktime cut: 1001

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/493775/ltcube_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.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/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits
.....................!
real 9.07
user 8.77
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/493775/ltcube_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits outfile=/scratch/kocevski/493775/expmap_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.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/493775/ltcube_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits
.....................!
real 143.80
user 140.13
sys 3.36

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
Added 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1738.3+3228 @ 264.584 32.4823

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits outfile=/scratch/kocevski/493775/cmap_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.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=264.584 yref=32.4823 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.45
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits outfile=/scratch/kocevski/493775/cmap_HighResolution_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.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=264.584 yref=32.4823 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.44
user 0.29
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/493775/Model_4FGL_J1738.3+3228_daily_bin1770.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
Working on...
/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits.....................!
real 62.06
user 61.02
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits', '/scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits', expMap='/scratch/kocevski/493775/expmap_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits', expCube='/scratch/kocevski/493775/ltcube_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/493775/Model_4FGL_J1738.3+3228_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1738.3+3228'

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  7.549e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.454e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/493775/ft1_filtered_4FGL_J1738.3+3228_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/493775/ft2_4FGL_J1738.3+3228_daily_bin1770.fits
Exposure map: /scratch/kocevski/493775/expmap_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits
Exposure cube: /scratch/kocevski/493775/ltcube_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/493775/Model_4FGL_J1738.3+3228_daily_bin1770.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) = 10552.2433852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.1487       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71953       1.0000          .0000       .10000E+07
     3 'norm      '    .36838E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .20760E-04   1.0000          .0000       .10000E+07
     5 'norm      '    35.958       1.0000          .0000       .10000E+07
     6 'Prefactor '    82.574       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32736E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18805E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .38462E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.7513       1.0000          .0000       .10000E+07
    11 'Prefactor '    107.38       1.0000          .0000       .10000E+07
    12 'Prefactor '    .41343E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .76082       1.0000          .0000       .10000E+07
    14 'norm      '    .43524E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .24198E-01   1.0000          .0000       .10000E+07
    16 'norm      '    4.6442       1.0000          .0000       .10000E+07
    17 'Prefactor '    .44075E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    16.382       1.0000          .0000       .10000E+07
    19 'Normalizat'    .56257       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1518       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10552.24     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     1675 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.1478        2.0679       -.12558E-08   -.17173E-03
   2  Prefactor     .51410        441.31        .32475E-05   -.49113E-02
   3  norm           .0000        8.0883        .75176E-08** at limit **
   4  norm           .0000        1.9049       -.48399E-07** at limit **
   5  norm          35.934        14.474        .15257E-06    .56609E-01
   6  Prefactor     82.610        43.132       -.66078E-07   -.23319E-01
   7  Prefactor     .26038E-04    539.51       -.21339E-06** at limit **
   8  Prefactor      .0000        6.0485       -.12902E-06** at limit **
   9  Prefactor      .0000        4.4496        .28288E-07** at limit **
  10  Prefactor     .20544E-03    1320.5       -.27132E-05** at limit **
  11  Prefactor     110.39        65.586        .52554E-07   -.28024E-01
  12  Prefactor     .55511E-10    7.1158        .22579E-06** at limit **
  13  norm          .76204        1.1322       -.32490E-07   -.57141E-03
  14  norm           .0000        18.795       -.12343E-08** at limit **
  15  Prefactor      .0000        29.921        .10533E-07** at limit **
  16  norm          4.6691        4.4589       -.51975E-08    .56580E-04
  17  Prefactor      .0000        1.5946       -.98698E-08** at limit **
  18  Prefactor     16.400        15.524        .94533E-07   -.54427E-02
  19  Normalizat    .56328        .19264       -.14065E-05   -.29741E-04
  20  Prefactor     1.1517        .10433       -.18540E-06   -.63769E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.14782
  Prefactor  = 0.514102
  norm       = 0
  norm       = 0
  norm       = 35.9345
  Prefactor  = 82.6102
  Prefactor  = 2.60384e-05
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.000205436
  Prefactor  = 110.393
  Prefactor  = 5.55112e-11
  norm       = 0.762036
  norm       = 0
  Prefactor  = 0
  norm       = 4.66914
  Prefactor  = 0
  Prefactor  = 16.4005
  Normalizat = 0.563278
  Prefactor  = 1.15165
 **********
 **   18 **HESSE 
 **********

 FCN=   10552.24     FROM HESSE     STATUS=OK           351 CALLS     2026 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.1478        2.0786        .40463E-03   -1.5658    
   2  Prefactor     .51410        458.95        .59137E-03   -1.5694    
   3  norm           .0000        8.0993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.9015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          35.934        54.769        .16678E-03   -1.5588    
   6  Prefactor     82.610        48.739        .11005E-03   -1.5526    
   7  Prefactor     .26038E-04    45.257        .22375E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.0713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        4.4457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .20544E-03    75.183        .11358E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     110.39        99.708        .96508E-04   -1.5498    
  12  Prefactor     .55511E-10    7.0642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .76204        1.1440        .55902E-03   -1.5691    
  14  norm           .0000        18.732        .15808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.5810        .98034E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.6691        4.4605        .46677E-03   -1.5665    
  17  Prefactor      .0000        1.5942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.400        15.467        .24718E-03   -1.5627    
  19  Normalizat    .56328        .18065        .92794E-01   -1.0957    
  20  Prefactor     1.1517        .94509E-01    .35885E-01   -.87832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8393e-07
Minuit parameter uncertainties:
  1  2.07857
  2  30.7235
  3  2.35119e-05
  4  8.1814e-07
  5  54.77
  6  48.7389
  7  0.068657
  8  1.50796e-05
  9  3.44494e-06
  10  0.248562
  11  99.7097
  12  4.2112e-05
  13  1.144
  14  1.67258e-06
  15  3.25445e-06
  16  4.46047
  17  4.95669e-07
  18  15.4671
  19  0.180837
  20  0.0945232
Done.

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

Extracting fit parameters...

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  2.604e-05  6.866e-02  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.454e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.152e+00  9.452e-02  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  5.633e-01  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 264.584 32.482
Photon Flux Upper Limit: 6.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/493775/likelihoodResults_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.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) = 10552.2426777
delta logL = -0.000849810148793

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10552.2365855
delta logL = 0.00524239202969

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6024       1.0000          .0000       .10000E+07
     2 'Index     '    2.9788       1.0000          .0000       10.000    
     3 'Normalizat'    .56030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1521       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10552.24     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      386 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6079        110.10        .25286E-04    .44062E-03
   2  Index         2.9816        3.4527        .65157E-02    .15356E-03
   3  Normalizat    .56008        .19224        .41228E-03    .11079E-02
   4  Prefactor     1.1522        .10290        .15879E-03    .21895E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.60785
  Index      = 2.98156
  Normalizat = 0.560078
  Prefactor  = 1.1522
 **********
 **   18 **HESSE 
 **********

 FCN=   10552.24     FROM HESSE     STATUS=OK            23 CALLS      409 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6079        92.216        .10114E-05   -1.5676    
   2  Index         2.9816        3.2264        .26063E-03   -.41554    
   3  Normalizat    .56008        .19235        .16491E-04   -1.0971    
   4  Prefactor     1.1522        .10295        .31758E-04   -.87815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51771e-08
Minuit parameter uncertainties:
  1  31.0158
  2  3.58111
  3  0.192575
  4  0.102963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493775': 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) = 10552.2365843
delta logL = 0.00524357315408

Extracting fit parameters...

4FGL J1738.3+3228
   Spectrum: PowerLaw
322    Prefactor:  2.608e+00  3.102e+01  0.000e+00  1.000e+06 ( 1.000e-14)
323        Index:  2.982e+00  3.581e+00  0.000e+00  1.000e+01 (-1.000e+00)
324        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
666    Prefactor:  1.152e+00  1.030e-01  0.000e+00  1.000e+01 ( 1.000e+00)
667        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
668        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
665   Normalization:  5.601e-01  1.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 264.584 32.482

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/493775/cmap_HighResolution_698112001_698371201_4FGL_J1738.3+3228_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-03', job_status='DONE', photon_flux_upper_limit='6.60e-08', time_completed='2023-02-18 01:32:17.041125', job_id='493775', GAL2='1.15', fit_tolerance='1e-08', EG2='0.56', EG='0.56', time_epoch_completed='1676712737.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='5.24e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1770' AND source_name='4FGL J1738.3+3228' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:32:17 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 493775: <4FGL_J1738.3+3228_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1738.3+3228_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 01:20:17 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:20:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:20:18 2023
Terminated at Sat Feb 18 01:32:17 2023
Results reported at Sat Feb 18 01:32:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1738.3+3228_daily_bin1770 264.584 32.4823 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1738.3+3228 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   629.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             296.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   719 sec.
    Turnaround time :                            720 sec.

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

