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 20 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_J0753.9+0923_weekly_bin759
RA = 118.491, Dec = 9.3904
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='580820', job_status='RUN', time_executed='2023-02-21 03:00:50.170092', time_epoch_executed='1676977250.17' WHERE source_name='4FGL J0753.9+0923' and cadence='weekly' and bin_id='759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/580820

Creating custom pfile directory:
/scratch/kocevski/580820/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/580820/ft1_4FGL_J0753.9+0923_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/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/580820/ft1_4FGL_J0753.9+0923_weekly_bin759.fits outfile=/scratch/kocevski/580820/ft1_filteredMKT_4FGL_J0753.9+0923_weekly_bin759.fits ra=118.491 dec=9.3904 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.54
user 8.24
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_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/580820/ft1_filteredMKT_4FGL_J0753.9+0923_weekly_bin759.fits evtable="EVENTS" outfile="/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_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.40
sys 0.14

Number of photons that the gtmktime cut: 992

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits" evtable="EVENTS" scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits sctable="SC_DATA" outfile=/scratch/kocevski/580820/ltcube_698025601_698630401_4FGL_J0753.9+0923_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/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits
.....................!
real 26.63
user 26.25
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits sctable="SC_DATA" expcube=/scratch/kocevski/580820/ltcube_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits outfile=/scratch/kocevski/580820/expmap_698025601_698630401_4FGL_J0753.9+0923_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/580820/ltcube_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits
.....................!
real 190.86
user 186.58
sys 3.96

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Added 166 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0753.9+0923 @ 118.491 9.3904

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits outfile=/scratch/kocevski/580820/cmap_698025601_698630401_4FGL_J0753.9+0923_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=118.491 yref=9.3904 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.42
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits outfile=/scratch/kocevski/580820/cmap_HighResolution_698025601_698630401_4FGL_J0753.9+0923_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=118.491 yref=9.3904 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.44
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits evtable="EVENTS" scfile=/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/580820/Model_4FGL_J0753.9+0923_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
adding source Rosette
Working on...
/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits.....................!
real 148.98
user 147.29
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits', '/scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits', expMap='/scratch/kocevski/580820/expmap_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits', expCube='/scratch/kocevski/580820/ltcube_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/580820/Model_4FGL_J0753.9+0923_weekly_bin759.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0753.9+0923'

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.323e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/580820/ft1_filtered_4FGL_J0753.9+0923_weekly_bin759.fits
Spacecraft file(s): /scratch/kocevski/580820/ft2_4FGL_J0753.9+0923_weekly_bin759.fits
Exposure map: /scratch/kocevski/580820/expmap_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits
Exposure cube: /scratch/kocevski/580820/ltcube_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/580820/Model_4FGL_J0753.9+0923_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) = 11395.278525

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1005       1.0000          .0000       .10000E+07
     2 'norm      '    .84384       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.4079       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20912E-02   1.0000          .0000       .10000E+07
     5 'norm      '    10.248       1.0000          .0000       .10000E+07
     6 'norm      '    9.5048       1.0000          .0000       .10000E+07
     7 'Prefactor '    .29280E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.550       1.0000          .0000       .10000E+07
     9 'Prefactor '    8.1141       1.0000          .0000       .10000E+07
    10 'norm      '    6.2990       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23011E-02   1.0000          .0000       .10000E+07
    12 'norm      '    261.57       1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1605       1.0000          .0000       .10000E+07
    14 'norm      '    10.679       1.0000          .0000       .10000E+07
    15 'norm      '    30.647       1.0000          .0000       .10000E+07
    16 'norm      '    10.266       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10950E-03   1.0000          .0000       .10000E+07
    18 'norm      '    .59283       1.0000          .0000       .10000E+07
    19 'Normalizat'    .55148       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1058       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11395.26     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1524 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1035        1.7407        .11060E-07    .31897E-02
   2  norm          .84373        .86841       -.13035E-07   -.30018E-02
   3  Prefactor     5.3104        15.766       -.66828E-06   -.10919    
   4  Prefactor     .16653E-08    11.658       -.17367E-06** at limit **
   5  norm          10.242        2.2517       -.32826E-08   -.51043E-02
   6  norm          9.5087        2.0873       -.23569E-08    .75380E-03
   7  Prefactor      .0000        20.703        .41128E-09** at limit **
   8  Prefactor     18.445        39.937       -.53713E-06    .41984E-01
   9  Prefactor     8.1188        4.1257       -.10159E-07   -.22954E-02
  10  norm          6.3316        15.097       -.57478E-07   -.11363E-02
  11  Prefactor     .26645E-08    11.536        .23291E-06** at limit **
  12  norm          263.04        137.78       -.23782E-06   -.34980E-01
  13  Prefactor     5.6035        39.173        .12040E-05   -.45214E-01
  14  norm          10.562        8.1840       -.22783E-08    .87297E-04
  15  norm          30.416        25.709       -.17874E-06    .29852E-01
  16  norm          10.270        3.8454        .14348E-08    .27563E-02
  17  Prefactor      .0000        5.1000        .57824E-08** at limit **
  18  norm          .59577        .91745        .41371E-08    .72170E-03
  19  Normalizat    .55021        .20200       -.10696E-05   -.10164E-04
  20  Prefactor     1.1062        .11408        .65793E-06    .13073E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.10354
  norm       = 0.843734
  Prefactor  = 5.31036
  Prefactor  = 1.66533e-09
  norm       = 10.2421
  norm       = 9.50869
  Prefactor  = 0
  Prefactor  = 18.4453
  Prefactor  = 8.11878
  norm       = 6.33155
  Prefactor  = 2.66454e-09
  norm       = 263.035
  Prefactor  = 5.60354
  norm       = 10.5616
  norm       = 30.4164
  norm       = 10.2695
  Prefactor  = 0
  norm       = 0.595771
  Normalizat = 0.550215
  Prefactor  = 1.10618
 **********
 **   18 **HESSE 
 **********

 FCN=   11395.26     FROM HESSE     STATUS=OK           339 CALLS     1863 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1035        1.7414        .49761E-03   -1.5667    
   2  norm          .84373        .87461        .49723E-03   -1.5690    
   3  Prefactor     5.3104        42.277        .43188E-03   -1.5662    
   4  Prefactor     .16653E-08    11.648        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          10.242        2.2563        .31276E-03   -1.5644    
   6  norm          9.5087        2.0951        .32481E-03   -1.5646    
   7  Prefactor      .0000        20.483        .16489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     18.445        41.261        .23880E-03   -1.5622    
   9  Prefactor     8.1188        4.1345        .35173E-03   -1.5651    
  10  norm          6.3316        15.156        .39971E-03   -1.5658    
  11  Prefactor     .26645E-08    11.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          263.04        140.83        .61839E-04   -1.5384    
  13  Prefactor     5.6035        49.274        .44231E-03   -1.5661    
  14  norm          10.562        8.1774        .30634E-03   -1.5643    
  15  norm          30.416        27.434        .18066E-03   -1.5598    
  16  norm          10.270        3.8507        .31248E-03   -1.5644    
  17  Prefactor      .0000        5.0979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .59577        .92889        .69873E-03   -1.5693    
  19  Normalizat    .55021        .19257        .10105       -1.1014    
  20  Prefactor     1.1062        .10624        .37371E-01   -.89269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.81626e-06
Minuit parameter uncertainties:
  1  1.74143
  2  0.874606
  3  29.9673
  4  0.00027946
  5  2.25633
  6  2.09513
  7  2.11531e-06
  8  41.2612
  9  4.13451
  10  15.1558
  11  0.000349908
  12  140.828
  13  33.2334
  14  8.17739
  15  27.434
  16  3.85075
  17  4.81362e-06
  18  0.928886
  19  0.192801
  20  0.10626
Done.

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

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  6.332e+00  1.516e+01  0.000e+00  1.000e+06 ( 1.000e-13)
260        alpha:  2.464e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
261         beta:  3.240e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.106e+00  1.063e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  5.502e-01  1.928e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 118.491 9.390
Photon Flux Upper Limit: 5.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/580820/likelihoodResults_698025601_698630401_4FGL_J0753.9+0923_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): 0
logL (Free Index) = 11394.9564694
delta logL = 0.302884684121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11394.9495406
delta logL = 0.309813436434

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8963       1.0000          .0000       .10000E+07
     2 'alpha     '    3.8413       1.0000          .0000       5.0000    
     3 'Normalizat'    .50670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+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=   11394.95     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      276 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8958        176.56        .19915E-04   -.12717E-01
   2  alpha         3.8411        2.5823        .23974E-01   -.92008E-04
   3  Normalizat    .50669        .24144        .46588E-03   -.86209E-03
   4  Prefactor     1.1204        .12349        .18751E-03   -.22437E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 2.8958
  alpha      = 3.84109
  Normalizat = 0.506694
  Prefactor  = 1.12035
 **********
 **   18 **HESSE 
 **********

 FCN=   11394.95     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8958        7.9683        .79659E-06   -1.5674    
   2  alpha         3.8411        1.4649        .95894E-03    .56621    
   3  Normalizat    .50669        .19599        .18635E-04   -1.1211    
   4  Prefactor     1.1204        .11011        .37502E-04   -.88819    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50124e-09
Minuit parameter uncertainties:
  1  7.96828
  2  1.61918
  3  0.196255
  4  0.110131
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/580820': 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) = 11394.9495405
delta logL = 0.309813604032

Extracting fit parameters...

4FGL J0753.9+0923
   Spectrum: LogParabola
259         norm:  2.896e+00  7.968e+00  0.000e+00  1.000e+06 ( 1.000e-13)
260        alpha:  3.841e+00  1.619e+00  0.000e+00  5.000e+00 ( 1.000e+00)
261         beta:  3.240e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
262           Eb:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.120e+00  1.101e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  5.067e-01  1.963e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
Ra Dec: 118.491 9.390

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/580820/cmap_HighResolution_698025601_698630401_4FGL_J0753.9+0923_weekly_bin759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.69e-05', job_status='DONE', photon_flux_upper_limit='5.83e-08', time_completed='2023-02-21 03:14:31.844801', job_id='580820', GAL2='1.12', fit_tolerance='1e-08', EG2='0.51', EG='0.55', time_epoch_completed='1676978071.84', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.10e-01', ts2='0.90', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='759' AND source_name='4FGL J0753.9+0923' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Feb 21 03:14:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0160>
Subject: Job 580820: <4FGL_J0753.9+0923_weekly_bin759> in cluster <slac> Done

Job <4FGL_J0753.9+0923_weekly_bin759> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 03:00:21 2023
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 03:00:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 03:00:21 2023
Terminated at Tue Feb 21 03:14:32 2023
Results reported at Tue Feb 21 03:14:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0753.9+0923_weekly_bin759 118.491 9.3904 698025601 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0753.9+0923 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   818.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             323.28 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   851 sec.
    Turnaround time :                            851 sec.

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

