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


Performing analysis on: 4FGL_J1754.2+3212_daily_bin1674
RA = 268.553, Dec = 32.2007
tmin = 673228801, tmax = 673488001
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='671116', job_status='RUN', time_executed='2022-05-06 02:58:46.778590', time_epoch_executed='1651831126.78' WHERE source_name='4FGL J1754.2+3212' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/671116

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/671116/ft1_4FGL_J1754.2+3212_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/671116/ft1_4FGL_J1754.2+3212_daily_bin1674.fits outfile=/scratch/kocevski/671116/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1674.fits ra=268.553 dec=32.2007 rad=12.0 tmin=673228801.0 tmax=673488001.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.78
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.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/671116/ft1_filteredMKT_4FGL_J1754.2+3212_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.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.52
user 0.33
sys 0.17

Number of photons that the gtmktime cut: 1487

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/671116/ltcube_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.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/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits
.....................!
real 16.52
user 16.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/671116/ltcube_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits outfile=/scratch/kocevski/671116/expmap_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.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/671116/ltcube_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits
.....................!
real 195.20
user 188.69
sys 6.07

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

Setting source of interest to:
4FGL J1754.2+3212 @ 268.553 32.2007

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits outfile=/scratch/kocevski/671116/cmap_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.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=268.553 yref=32.2007 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.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits outfile=/scratch/kocevski/671116/cmap_HighResolution_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.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=268.553 yref=32.2007 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.58
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/671116/Model_4FGL_J1754.2+3212_daily_bin1674.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/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits.....................!
real 124.85
user 123.31
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits', '/scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits', expMap='/scratch/kocevski/671116/expmap_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits', expCube='/scratch/kocevski/671116/ltcube_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/671116/Model_4FGL_J1754.2+3212_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1754.2+3212'

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.314e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/671116/ft1_filtered_4FGL_J1754.2+3212_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/671116/ft2_4FGL_J1754.2+3212_daily_bin1674.fits
Exposure map: /scratch/kocevski/671116/expmap_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits
Exposure cube: /scratch/kocevski/671116/ltcube_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/671116/Model_4FGL_J1754.2+3212_daily_bin1674.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) = 15696.839566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5208       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.278       1.0000         .10000E-03   10000.    
     3 'norm      '    .10561E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.756       1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.472       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9032       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10307E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11664E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.421       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .17538       1.0000         .10000E-03   10000.    
    13 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    5.6960       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .83330       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.406       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    1.0628       1.0000         .10000E-03   10000.    
    23 'norm      '    .74660       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0785       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0072       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15696.77     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2941 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5230        4.6907        .17241E-06    .88670E-04
   2  Prefactor     20.291        28.080        .14225E-05    .11060E-03
   3  norm          .10000E-03    1.6665       -.86201E-06** at limit **
   4  Prefactor     17.715        44.261       -.52994E-05   -.14977E-03
   5  Prefactor     26.501        50.491        .35069E-05    .13094E-03
   6  Prefactor     2.8824        10.767        .73358E-06    .98202E-05
   7  Prefactor     .10000E-03    38.438       -.16029E-06** at limit **
   8  Prefactor     .10000E-03    4.7376       -.52930E-06** at limit **
   9  Prefactor     .10000E-03    15.645       -.18311E-06** at limit **
  10  Prefactor     32.406        37.762       -.16233E-05   -.11733E-03
  11  Prefactor     .10000E-03    4.9472        .62619E-06** at limit **
  12  norm          .18340        .65386       -.53563E-07   -.54714E-04
  13  norm          .10000E-03    16.018        .32935E-06** at limit **
  14  norm          .10000E-03    6.3882       -.64145E-06** at limit **
  15  Prefactor     .10000E-03    1.6364        .26308E-07** at limit **
  16  norm          5.6934        6.5402        .35585E-05   -.19396E-03
  17  Prefactor     .83278        1.8772        .56966E-06   -.25040E-03
  18  Prefactor     .10000E-03    11.952       -.11200E-05** at limit **
  19  norm          .10000E-03    7.5832        .18561E-06** at limit **
  20  Prefactor     12.406        6.8644       -.81807E-07   -.15381E-03
  21  norm          .10000E-03    7.9886        .41894E-06** at limit **
  22  norm          1.0634        2.6910        .11335E-05   -.60028E-05
  23  norm          .74571        1.6718       -.11841E-06   -.39472E-03
  24  Normalizat    1.0781        .15451        .80420E-06   -.18237E-03
  25  Prefactor     1.0074        .70404E-01   -.82732E-06    .58200E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.52298
  Prefactor  = 20.2906
  norm       = 0.0001
  Prefactor  = 17.7152
  Prefactor  = 26.5012
  Prefactor  = 2.88241
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.4058
  Prefactor  = 0.0001
  norm       = 0.183398
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.69343
  Prefactor  = 0.832779
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.4062
  norm       = 0.0001
  norm       = 1.06342
  norm       = 0.745707
  Normalizat = 1.07813
  Prefactor  = 1.00737
 **********
 **   18 **HESSE 
 **********

 FCN=   15696.77     FROM HESSE     STATUS=OK           425 CALLS     3366 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5230        4.6927        .17100E-03   -1.5238    
   2  Prefactor     20.291        28.206        .88945E-04   -1.4807    
   3  norm          .10000E-03    1.6710        .15704E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.715        45.285        .95049E-04   -1.4866    
   5  Prefactor     26.501        51.104        .77861E-04   -1.4678    
   6  Prefactor     2.8824        10.721        .23847E-03   -1.5368    
   7  Prefactor     .10000E-03    38.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     32.406        37.904        .70373E-04   -1.4569    
  11  Prefactor     .10000E-03    5.1116        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .18340        3.3849        .18120E-02   -1.5622    
  13  norm          .10000E-03    16.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.5089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.6634        .15645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          5.6934        6.5765        .84152E-03   -1.5231    
  17  Prefactor     .83278        1.8601        .24557E-03   -1.5525    
  18  Prefactor     .10000E-03    12.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.6022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     12.406        6.7821        .11373E-03   -1.5003    
  21  norm          .10000E-03    7.9960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.0634        2.3476        .22990E-03   -1.5502    
  23  norm          .74571        1.2360        .16649E-02   -1.5535    
  24  Normalizat    1.0781        .17965        .34743E-03   -.90457    
  25  Prefactor     1.0074        .82286E-01    .16724E-03   -.92484    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58296e-08
Minuit parameter uncertainties:
  1  4.69305
  2  28.2242
  3  1.25481e-05
  4  45.3731
  5  51.189
  6  10.7279
  7  3.69842e-05
  8  6.24735e-06
  9  2.82793e-05
  10  37.932
  11  3.74512e-05
  12  1.57548
  13  3.86208e-05
  14  3.33224e-05
  15  2.82346e-07
  16  6.57731
  17  1.86021
  18  0.000151863
  19  1.77677e-05
  20  6.7825
  21  3.99581e-05
  22  2.34776
  23  1.23608
  24  0.179753
  25  0.0822962
Done.

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

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  1.834e-01  1.575e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  1.748e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  1.007e+00  8.230e-02  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.078e+00  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 268.553 32.201
Photon Flux Upper Limit: 3.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/671116/likelihoodResults_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.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) = 15695.624616
delta logL = 1.14626275081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15695.4523599
delta logL = 1.31851882778

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15695.45     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      243 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .51461        3.8921        .11330E-01    .37057E-02
   2  alpha         3.1004        1.9538        .26779        .18468E-03
   3  Normalizat    1.0312        .34222E-01    .79999E-01    .47139E-04
   4  Prefactor     1.0128        .15749E-01    .42950E-01   -.90328E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.514613
  alpha      = 3.10044
  Normalizat = 1.03124
  Prefactor  = 1.01278
 **********
 **   18 **HESSE 
 **********

 FCN=   15695.45     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .51461        11.660        .60931E-03   -1.5565    
   2  alpha         3.1004        3.9985        .14443E-01    .24255    
   3  Normalizat    1.0312        .17350        .35412E-03   -.91991    
   4  Prefactor     1.0128        .75520E-01    .16674E-03   -.92305    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.10807e-10
Minuit parameter uncertainties:
  1  4.89983
  2  5.10151
  3  0.173591
  4  0.0755283
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/671116': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15695.4523596
delta logL = 1.31851907778

Extracting fit parameters...

4FGL J1754.2+3212
   Spectrum: LogParabola
348         norm:  5.146e-01  4.900e+00  1.000e-04  1.000e+04 ( 1.000e-12)
349        alpha:  3.100e+00  5.102e+00  0.000e+00  5.000e+00 ( 1.000e+00)
350         beta:  1.054e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
351           Eb:  1.404e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  1.013e+00  7.553e-02  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  1.031e+00  1.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.70
Ra Dec: 268.553 32.201
Photon Index (Free Index): 3.10 +/- 5.10
Photon Flux (Free Index): 5.35e-08 +/- 6.86e-08
Energy Flux (Free Index): 1.16e-05 +/- 1.87e-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/671116/cmap_HighResolution_673228801_673488001_4FGL_J1754.2+3212_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-05', comment='SUCCESS', energy_flux2='1.16e-05', dlogl='1.32e+00', photon_flux2='5.35e-08', job_status='DONE', time_completed='2022-05-06 03:24:25.458460', photon_index_error2='5.10', photon_index2='3.10', ts='0.01', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='3.84e-08', energy_flux_error2='1.87e-05', EG='1.08', time_epoch_completed='1651832665.46', return_code='0', job_id='671116', GAL2='1.01', EG2='1.03', return_code2='102', photon_flux_error2='6.86e-08', ts2='2.70', photon_index='1.75' WHERE bin_id='1674' AND source_name='4FGL J1754.2+3212' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:24:25 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 671129: <4FGL_J1754.2+3212_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:08:15 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:17 2022
Terminated at Fri May  6 03:24:23 2022
Results reported at Fri May  6 03:24:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin1674 268.553 32.2007 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.2+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1530.00 sec.
    Max Memory :                                 619 MB
    Average Memory :                             328.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1565 sec.
    Turnaround time :                            11768 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 671116: <4FGL_J1754.2+3212_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1754.2+3212_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:08:14 2022
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:58:10 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:58:10 2022
Terminated at Fri May  6 03:24:26 2022
Results reported at Fri May  6 03:24:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1754.2+3212_daily_bin1674 268.553 32.2007 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1754.2+3212 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1540.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             362.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1575 sec.
    Turnaround time :                            11772 sec.

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

