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


Performing analysis on: 4FGL_J0749.9+1823_weekly_bin759
RA = 117.485, Dec = 18.387
tmin = 698025601, tmax = 698630401
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='579602', job_status='RUN', time_executed='2023-02-21 02:56:45.190233', time_epoch_executed='1676977005.19' WHERE source_name='4FGL J0749.9+1823' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579602

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579602/ft1_4FGL_J0749.9+1823_weekly_bin759.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579602/ft1_4FGL_J0749.9+1823_weekly_bin759.fits outfile=/scratch/kocevski/579602/ft1_filteredMKT_4FGL_J0749.9+1823_weekly_bin759.fits ra=117.485 dec=18.387 rad=12.0 tmin=698025601.0 tmax=698630401.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 8.52
user 8.17
sys 0.29

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.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/579602/ft1_filteredMKT_4FGL_J0749.9+1823_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.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.55
user 0.37
sys 0.16

Number of photons that the gtmktime cut: 843

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/579602/ltcube_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.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/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits
.....................!
real 27.49
user 27.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/579602/ltcube_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits outfile=/scratch/kocevski/579602/expmap_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.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/579602/ltcube_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits
.....................!
real 191.30
user 185.41
sys 5.17

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/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits outfile=/scratch/kocevski/579602/cmap_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.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.57
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits outfile=/scratch/kocevski/579602/cmap_HighResolution_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/579602/Model_4FGL_J0749.9+1823_weekly_bin759.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/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits.....................!
real 110.75
user 109.25
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits', '/scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits', expMap='/scratch/kocevski/579602/expmap_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits', expCube='/scratch/kocevski/579602/ltcube_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/579602/Model_4FGL_J0749.9+1823_weekly_bin759.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/579602/ft1_filtered_4FGL_J0749.9+1823_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/579602/ft2_4FGL_J0749.9+1823_weekly_bin759.fits
Exposure map: /scratch/kocevski/579602/expmap_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits
Exposure cube: /scratch/kocevski/579602/ltcube_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/579602/Model_4FGL_J0749.9+1823_weekly_bin759.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) = 9622.89514642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42660E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.144       1.0000          .0000       .10000E+07
     3 'norm      '    43.554       1.0000          .0000       .10000E+07
     4 'norm      '    .79578       1.0000          .0000       .10000E+07
     5 'norm      '    10.094       1.0000          .0000       .10000E+07
     6 'norm      '    .45297E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    50.280       1.0000          .0000       .10000E+07
     8 'Prefactor '    24.774       1.0000          .0000       .10000E+07
     9 'Prefactor '    .15960       1.0000          .0000       .10000E+07
    10 'Prefactor '    5.7935       1.0000          .0000       .10000E+07
    11 'norm      '    5.4637       1.0000          .0000       .10000E+07
    12 'Prefactor '    .41687E-02   1.0000          .0000       .10000E+07
    13 'norm      '    166.11       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12755E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .85782E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .76558       1.0000          .0000       .10000E+07
    17 'norm      '    1.0151       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.4725       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85149       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=   9622.878     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1558 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73275E-08    11.935        .12214E-05** at limit **
   2  Prefactor     10.158        9.7146       -.21334E-06   -.99357E-02
   3  norm          43.578        5.3328        .18594E-06    .75793E-01
   4  norm          .79613        .82516       -.83730E-07   -.17248E-02
   5  norm          10.096        2.2003        .12726E-06    .34201E-02
   6  norm           .0000        2.1858       -.57931E-06** at limit **
   7  Prefactor     51.666        14.449        .34350E-06   -.53729E-01
   8  Prefactor     24.754        16.025        .10477E-05    .52071E-01
   9  Prefactor     .28117E-01    60.551       -.54657E-05** at limit **
  10  Prefactor     5.7952        3.8398        .10151E-06    .11927E-02
  11  norm          5.5329        14.227        .35995E-06    .39252E-02
  12  Prefactor     .61062E-09    8.4517       -.14497E-05** at limit **
  13  norm          165.89        9.0742       -.26029E-06    .24886    
  14  Prefactor     .15454E-06    67.551       -.22198E-05** at limit **
  15  Prefactor      .0000        4.2753       -.29701E-06** at limit **
  16  Prefactor     .37309E-04    267.76       -.78822E-05** at limit **
  17  norm          1.0317        1.1270        .32320E-06    .57489E-03
  18  Prefactor     7.5178        11.419        .49055E-06    .18782E-02
  19  Normalizat    1.0586        .21573        .91305E-05    .12816E-04
  20  Prefactor     .85164        .13110       -.68364E-05   -.67158E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32747e-09
  Prefactor  = 10.1581
  norm       = 43.5784
  norm       = 0.79613
  norm       = 10.0963
  norm       = 0
  Prefactor  = 51.6656
  Prefactor  = 24.7538
  Prefactor  = 0.0281175
  Prefactor  = 5.79517
  norm       = 5.53287
  Prefactor  = 6.10623e-10
  norm       = 165.894
  Prefactor  = 1.54543e-07
  Prefactor  = 0
  Prefactor  = 3.7309e-05
  norm       = 1.03166
  Prefactor  = 7.51782
  Normalizat = 1.05859
  Prefactor  = 0.851643
 **********
 **   18 **HESSE 
 **********

 FCN=   9622.878     FROM HESSE     STATUS=OK           345 CALLS     1903 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73275E-08    11.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.158        10.423        .31436E-03   -1.5644    
   3  norm          43.578        12.897        .15154E-03   -1.5576    
   4  norm          .79613        .83421        .53250E-03   -1.5690    
   5  norm          10.096        2.2233        .31514E-03   -1.5644    
   6  norm           .0000        2.1856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     51.666        39.955        .14104E-03   -1.5564    
   8  Prefactor     24.754        16.691        .20095E-03   -1.5608    
   9  Prefactor     .28117E-01    28.156        .15754E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.7952        3.8601        .41703E-03   -1.5660    
  11  norm          5.5329        14.633        .42964E-03   -1.5661    
  12  Prefactor     .61062E-09    8.4805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          165.89        100.97        .77597E-04   -1.5450    
  14  Prefactor     .15454E-06    76.529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.2816        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .37309E-04    266.91        .55537E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.0317        1.3123        .24233E-02   -1.5688    
  18  Prefactor     7.5178        11.489        .36665E-03   -1.5653    
  19  Normalizat    1.0586        .18782        .71067E-01   -.91093    
  20  Prefactor     .85164        .11183        .44384E-01   -.97852    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08449e-06
Minuit parameter uncertainties:
  1  0.000591876
  2  10.4235
  3  12.8971
  4  0.834211
  5  2.22335
  6  3.5863e-06
  7  39.9552
  8  16.6907
  9  1.77952
  10  3.86012
  11  14.633
  12  0.000145169
  13  100.968
  14  0.00687772
  15  1.09241e-05
  16  0.199591
  17  1.31227
  18  11.4889
  19  0.187937
  20  0.111863
Done.

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

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  2.812e-02  1.780e+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

GAL_V02
   Spectrum: PowerLaw
529    Prefactor:  8.516e-01  1.119e-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.059e+00  1.879e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 117.485 18.387
Photon Flux Upper Limit: 9.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/579602/likelihoodResults_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.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) = 9622.87843124
delta logL = 1.87974364962e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9622.87843122
delta logL = 3.57722456101e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28115E-01   1.0000          .0000       .10000E+07
     2 'Index     '    2.5218       1.0000          .0000       10.000    
     3 'Normalizat'    1.0586       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85165       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.

 FCN=   9622.877     FROM MIGRAD    STATUS=CONVERGED    150 CALLS      322 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1930        93.910        .24239E-01    .16125E-02
   2  Index         2.2523        2.8385        .50000       -.44700E-06
   3  Normalizat    1.0578        .98792E-02    .71088E-01    .48503E-04
   4  Prefactor     .85153        .62160E-02    .44386E-01    .21461E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19304
  Index      = 2.25231
  Normalizat = 1.0578
  Prefactor  = 0.851534
 **********
 **   18 **HESSE 
 **********

 FCN=   9622.877     FROM HESSE     STATUS=OK            35 CALLS      357 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1930        286.25        .84828E-03   -1.5678    
   2  Index         2.2523        3.3511        .32697E-01   -.58181    
   3  Normalizat    1.0578        .20118        .31455E-03   -.91119    
   4  Prefactor     .85153        .12637        .21703E-03   -.97856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75921e-08
Minuit parameter uncertainties:
  1  50.1124
  2  3.88903
  3  0.201322
  4  0.126408
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579602': 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) = 9622.87693663
delta logL = 0.00149463386333

Extracting fit parameters...

4FGL J0749.9+1823
   Spectrum: PowerLaw
256    Prefactor:  2.193e+00  5.011e+01  0.000e+00  1.000e+06 ( 1.000e-13)
257        Index:  2.252e+00  3.889e+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:  8.515e-01  1.264e-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.058e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 117.485 18.387

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/579602/cmap_HighResolution_698025601_698630401_4FGL_J0749.9+1823_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.20e-03', job_status='DONE', photon_flux_upper_limit='9.25e-08', time_completed='2023-02-21 03:08:57.863543', job_id='579602', GAL2='0.85', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1676977737.86', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='1.49e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='759' AND source_name='4FGL J0749.9+1823' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:08:57 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0160>
Subject: Job 579602: <4FGL_J0749.9+1823_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0749.9+1823_weekly_bin759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Feb 21 02:55:22 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 02:55:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 02:55:23 2023
Terminated at Tue Feb 21 03:08:58 2023
Results reported at Tue Feb 21 03:08:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0749.9+1823_weekly_bin759 117.485 18.387 698025601 698630401 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 :                                   732.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            816 sec.

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

