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 224 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_J0749.9+1823_daily_bin1770
RA = 117.485, Dec = 18.387
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='476011', job_status='RUN', time_executed='2023-02-18 00:11:37.812801', time_epoch_executed='1676707897.81' WHERE source_name='4FGL J0749.9+1823' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/476011

Creating custom pfile directory:
/scratch/kocevski/476011/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/476011/ft1_4FGL_J0749.9+1823_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/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/476011/ft1_4FGL_J0749.9+1823_daily_bin1770.fits outfile=/scratch/kocevski/476011/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin1770.fits ra=117.485 dec=18.387 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 4.31
user 4.10
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_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/476011/ft1_filteredMKT_4FGL_J0749.9+1823_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_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.50
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 427

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/476011/ltcube_698112001_698371201_4FGL_J0749.9+1823_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/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits
.....................!
real 12.04
user 11.75
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/476011/ltcube_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits outfile=/scratch/kocevski/476011/expmap_698112001_698371201_4FGL_J0749.9+1823_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/476011/ltcube_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits
.....................!
real 190.09
user 186.01
sys 3.76

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 Monoceros in ROI with RadialGaussian spatial model.
Added 162 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0749.9+1823 @ 117.485 18.387

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits outfile=/scratch/kocevski/476011/cmap_698112001_698371201_4FGL_J0749.9+1823_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=117.485 yref=18.387 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits outfile=/scratch/kocevski/476011/cmap_HighResolution_698112001_698371201_4FGL_J0749.9+1823_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=117.485 yref=18.387 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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/476011/Model_4FGL_J0749.9+1823_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
adding source Monoceros
Working on...
/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits.....................!
real 62.15
user 60.99
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits', '/scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits', expMap='/scratch/kocevski/476011/expmap_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits', expCube='/scratch/kocevski/476011/ltcube_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/476011/Model_4FGL_J0749.9+1823_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0749.9+1823'

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  7.199e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/476011/ft1_filtered_4FGL_J0749.9+1823_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/476011/ft2_4FGL_J0749.9+1823_daily_bin1770.fits
Exposure map: /scratch/kocevski/476011/expmap_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits
Exposure cube: /scratch/kocevski/476011/ltcube_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/476011/Model_4FGL_J0749.9+1823_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) = 4768.89317047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17375E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    21.575       1.0000          .0000       .10000E+07
     3 'norm      '    31.712       1.0000          .0000       .10000E+07
     4 'norm      '    .50229       1.0000          .0000       .10000E+07
     5 'norm      '    10.648       1.0000          .0000       .10000E+07
     6 'norm      '    .45568E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    85.454       1.0000          .0000       .10000E+07
     8 'Prefactor '    46.998       1.0000          .0000       .10000E+07
     9 'Prefactor '    57.245       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88249E-02   1.0000          .0000       .10000E+07
    11 'norm      '    13.984       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22281E-02   1.0000          .0000       .10000E+07
    13 'norm      '    47.685       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10146E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .96126E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.837       1.0000          .0000       .10000E+07
    17 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.943       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2601       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .70064       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4768.838     FROM MIGRAD    STATUS=CONVERGED    203 CALLS     1681 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.731       -.34085E-06** at limit **
   2  Prefactor     21.643        18.020       -.64034E-06    .30078E-02
   3  norm          31.783        17.131       -.12301E-05    .50035E-02
   4  norm          .50808        1.2560        .11722E-06   -.34989E-02
   5  norm          10.723        3.2911        .67908E-07   -.63122E-02
   6  norm          .11102E-09    3.7825       -.27628E-06** at limit **
   7  Prefactor     87.715        60.260        .93875E-07   -.14738E-03
   8  Prefactor     47.276        28.802        .18236E-06   -.12805E-02
   9  Prefactor     49.787        68.328       -.15940E-08   -.22391E-03
  10  Prefactor     .21649E-08    6.5927        .15686E-05** at limit **
  11  norm          14.100        20.643       -.31529E-05    .41998E-02
  12  Prefactor     .55511E-10    7.9561       -.12806E-06** at limit **
  13  norm          67.261        128.52       -.71447E-05    .13034E-02
  14  Prefactor     .55511E-09    19.059        .10105E-05** at limit **
  15  Prefactor     .72164E-09    9.3543       -.96966E-06** at limit **
  16  Prefactor     34.657        37.091       -.22333E-05    .19034E-02
  17  norm          .27756E-09    .86395       -.63372E-06** at limit **
  18  Prefactor     15.800        16.717        .47063E-07   -.89482E-05
  19  Normalizat    1.2623        .30794        .85553E-05   -.11317E-03
  20  Prefactor     .69790        .18223        .67314E-05   -.18063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 21.6435
  norm       = 31.7828
  norm       = 0.508076
  norm       = 10.7229
  norm       = 1.11022e-10
  Prefactor  = 87.7145
  Prefactor  = 47.2757
  Prefactor  = 49.7867
  Prefactor  = 2.16493e-09
  norm       = 14.0997
  Prefactor  = 5.55112e-11
  norm       = 67.2614
  Prefactor  = 5.55112e-10
  Prefactor  = 7.21645e-10
  Prefactor  = 34.6566
  norm       = 2.77556e-10
  Prefactor  = 15.7999
  Normalizat = 1.26226
  Prefactor  = 0.697899
 **********
 **   18 **HESSE 
 **********

 FCN=   4768.838     FROM HESSE     STATUS=OK           335 CALLS     2016 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        23.717        .17216E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     21.643        18.014        .21535E-03   -1.5615    
   3  norm          31.783        17.119        .17760E-03   -1.5595    
   4  norm          .50808        1.2758        .78480E-03   -1.5694    
   5  norm          10.723        3.2921        .30679E-03   -1.5642    
   6  norm          .11102E-09    3.7869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     87.715        59.744        .10818E-03   -1.5521    
   8  Prefactor     47.276        28.775        .14588E-03   -1.5570    
   9  Prefactor     49.787        67.547        .13218E-03   -1.5567    
  10  Prefactor     .21649E-08    6.5540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.100        20.621        .26759E-03   -1.5633    
  12  Prefactor     .55511E-10    7.9883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          67.261        128.40        .14483E-03   -1.5544    
  14  Prefactor     .55511E-09    19.050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .72164E-09    9.3645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.657        36.780        .17193E-03   -1.5590    
  17  norm          .27756E-09    .86244        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.800        16.576        .25057E-03   -1.5628    
  19  Normalizat    1.2623        .26092        .65282E-01   -.84700    
  20  Prefactor     .69790        .15664        .42410E-01   -1.0361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.32646e-09
Minuit parameter uncertainties:
  1  4.69181e-05
  2  18.0141
  3  17.1194
  4  1.27582
  5  3.29212
  6  4.23223e-05
  7  59.7445
  8  28.7747
  9  67.5481
  10  0.000238318
  11  20.6215
  12  4.01415e-05
  13  128.407
  14  0.000209906
  15  0.000162773
  16  36.7807
  17  3.13551e-05
  18  16.5759
  19  0.261194
  20  0.156737
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  4.979e+01  6.755e+01  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  6.979e-01  1.567e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.262e+00  2.612e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 2.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.57e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/476011/likelihoodResults_698112001_698371201_4FGL_J0749.9+1823_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): 0
logL (Free Index) = 4768.74498087
delta logL = 0.0927184983575

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4768.74161401
delta logL = 0.0960853622773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.565       1.0000          .0000       .10000E+07
     2 'Index     '    3.0500       1.0000          .0000       10.000    
     3 'Normalizat'    1.2402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5360E+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=   4768.742     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      290 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.531        106.79        .72362E-05   -.22479E-02
   2  Index         3.0520        2.1285        .82525E-02   -.12589E-03
   3  Normalizat    1.2405        .28900        .29087E-03    .33830E-03
   4  Prefactor     .70861        .17863        .23343E-03    .42481E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5311
  Index      = 3.05197
  Normalizat = 1.24046
  Prefactor  = 0.708606
 **********
 **   18 **HESSE 
 **********

 FCN=   4768.742     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.531        71.638        .14472E-05   -1.5597    
   2  Index         3.0520        1.4570        .33010E-03   -.40020    
   3  Normalizat    1.2405        .28847        .58175E-04   -.85362    
   4  Prefactor     .70861        .17748        .46686E-04   -1.0319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.48372e-10
Minuit parameter uncertainties:
  1  71.6396
  2  1.48246
  3  0.288847
  4  0.177626
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/476011': 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) = 4768.7416109
delta logL = 0.0960884687538

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  3.053e+01  7.164e+01  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  3.052e+00  1.482e+00  0.000e+00  1.000e+01 (-1.000e+00)
258        Scale:  7.475e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  7.086e-01  1.776e-01  0.000e+00  1.000e+01 ( 1.000e+00)
530        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
531        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
528   Normalization:  1.240e+00  2.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 117.485 18.387

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/476011/cmap_HighResolution_698112001_698371201_4FGL_J0749.9+1823_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', job_status='DONE', photon_flux_upper_limit='2.01e-07', time_completed='2023-02-18 00:19:59.313188', job_id='476011', GAL2='0.71', fit_tolerance='1e-08', EG2='1.24', EG='1.26', time_epoch_completed='1676708399.31', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='9.61e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1770' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:19:59 PST 2023

UCCESS', return_code='0', GAL='0.70', dlogl='9.61e-02', ts2='0.90', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1770' AND source_name='4FGL J0749.9+1823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 00:16:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0168>
Subject: Job 476034: <4FGL_J0749.9+1823_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:06:08 2023
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:07:46 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:07:46 2023
Terminated at Sat Feb 18 00:16:26 2023
Results reported at Sat Feb 18 00:16:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin1770 117.485 18.387 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   382.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            618 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 476011: <4FGL_J0749.9+1823_daily_bin1770> in cluster <slac> Done

Job <4FGL_J0749.9+1823_daily_bin1770> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Feb 18 00:06:07 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:07:44 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:07:44 2023
Terminated at Sat Feb 18 00:20:00 2023
Results reported at Sat Feb 18 00:20:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_daily_bin1770 117.485 18.387 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0749.9+1823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   503.29 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            833 sec.

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

