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


Performing analysis on: 4FGL_J1012.7+2439_weekly_bin755
RA = 153.199, Dec = 24.6638
tmin = 695606401, tmax = 696211201
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='719316', job_status='RUN', time_executed='2023-01-24 01:19:05.832776', time_epoch_executed='1674551945.83' WHERE source_name='4FGL J1012.7+2439' and cadence='weekly' and bin_id='755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/719316

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/719316/ft1_4FGL_J1012.7+2439_weekly_bin755.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/719316/ft1_4FGL_J1012.7+2439_weekly_bin755.fits outfile=/scratch/kocevski/719316/ft1_filteredMKT_4FGL_J1012.7+2439_weekly_bin755.fits ra=153.199 dec=24.6638 rad=12.0 tmin=695606401.0 tmax=696211201.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.66
user 8.25
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.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/719316/ft1_filteredMKT_4FGL_J1012.7+2439_weekly_bin755.fits evtable="EVENTS" outfile="/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.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.57
user 0.39
sys 0.15

Number of photons that the gtmktime cut: 888

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits" evtable="EVENTS" scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits sctable="SC_DATA" outfile=/scratch/kocevski/719316/ltcube_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.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/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits
.....................!
real 33.43
user 32.69
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits sctable="SC_DATA" expcube=/scratch/kocevski/719316/ltcube_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits outfile=/scratch/kocevski/719316/expmap_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.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/719316/ltcube_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits
.....................!
real 192.51
user 187.05
sys 4.57

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

Setting source of interest to:
4FGL J1012.7+2439 @ 153.199 24.6638

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits outfile=/scratch/kocevski/719316/cmap_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.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=153.199 yref=24.6638 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.59
user 0.43
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits outfile=/scratch/kocevski/719316/cmap_HighResolution_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.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=153.199 yref=24.6638 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.60
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits evtable="EVENTS" scfile=/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/719316/Model_4FGL_J1012.7+2439_weekly_bin755.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/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits.....................!
real 82.76
user 80.09
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits', '/scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits', expMap='/scratch/kocevski/719316/expmap_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits', expCube='/scratch/kocevski/719316/ltcube_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/719316/Model_4FGL_J1012.7+2439_weekly_bin755.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1012.7+2439'

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  8.685e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/719316/ft1_filtered_4FGL_J1012.7+2439_weekly_bin755.fits
Spacecraft file(s): /scratch/kocevski/719316/ft2_4FGL_J1012.7+2439_weekly_bin755.fits
Exposure map: /scratch/kocevski/719316/expmap_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits
Exposure cube: /scratch/kocevski/719316/ltcube_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/719316/Model_4FGL_J1012.7+2439_weekly_bin755.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) = 10232.1481883

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20802E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28410E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .49501E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .27297       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.9115       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.7382       1.0000          .0000       .10000E+07
     7 'norm      '    1.6386       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.7324       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.874       1.0000          .0000       .10000E+07
    10 'Prefactor '    .53191E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .19547E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22193E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19540E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96588       1.0000          .0000       .10000E+07
    15 'Prefactor '    .25070E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    8.8886       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10551E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33174E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2422       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .92111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10232.09     FROM MIGRAD    STATUS=CONVERGED    123 CALLS     1212 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.5058       -.38774E-06** at limit **
   2  Prefactor     .44581E-06    6.5288       -.33346E-06** at limit **
   3  Prefactor     .23315E-08    9.1716        .92788E-07** at limit **
   4  Prefactor     .25801        .74707        .55850E-07   -.52463E-02
   5  Prefactor     5.9129        6.3051        .43085E-07    .12498E-02
   6  Prefactor     2.7365        1.7624        .79375E-07   -.51920E-03
   7  norm          1.6353        2.6109       -.69968E-07    .44686E-03
   8  Prefactor     5.7337        3.8773       -.72340E-07   -.69075E-03
   9  Prefactor     12.668        1.2964       -.66841E-08   -.56868E-02
  10  Prefactor      .0000        2.2346       -.63713E-07** at limit **
  11  Prefactor     .12546E-06    10.977       -.30530E-07** at limit **
  12  Prefactor     .33307E-09    5.3808        .56366E-07** at limit **
  13  Prefactor      .0000        .83962        .36180E-07** at limit **
  14  Prefactor     .95786        2.8953        .10918E-06   -.26710E-01
  15  Prefactor      .0000        18.950       -.18046E-06** at limit **
  16  Prefactor     8.8887        6.8046       -.62456E-07    .40194E-02
  17  Prefactor      .0000        3.8435        .66165E-08** at limit **
  18  Prefactor     .76661E-07    9.6415       -.41504E-06** at limit **
  19  Normalizat    1.2424        .16361       -.17989E-05   -.29046E-04
  20  Prefactor     .92112        .16068        .32243E-05   -.31947E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 4.4581e-07
  Prefactor  = 2.33147e-09
  Prefactor  = 0.258015
  Prefactor  = 5.91287
  Prefactor  = 2.73649
  norm       = 1.63528
  Prefactor  = 5.73372
  Prefactor  = 12.668
  Prefactor  = 0
  Prefactor  = 1.25455e-07
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 0.957857
  Prefactor  = 0
  Prefactor  = 8.8887
  Prefactor  = 0
  Prefactor  = 7.66609e-08
  Normalizat = 1.24237
  Prefactor  = 0.921118
 **********
 **   18 **HESSE 
 **********

 FCN=   10232.09     FROM HESSE     STATUS=OK           335 CALLS     1547 TOTAL
                     EDM=   .91E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.4983        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .44581E-06    15.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .23315E-08    9.2058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .25801        2.4887        .88637E-02   -1.5698    
   5  Prefactor     5.9129        6.3054        .41279E-03   -1.5659    
   6  Prefactor     2.7365        1.7699        .61504E-03   -1.5675    
   7  norm          1.6353        2.6441        .82526E-03   -1.5682    
   8  Prefactor     5.7337        3.8780        .41928E-03   -1.5660    
   9  Prefactor     12.668        17.359        .27892E-03   -1.5637    
  10  Prefactor      .0000        2.2308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .12546E-06    12.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .33307E-09    5.3574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        .83500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .95786        17.089        .42554E-03   -1.5688    
  15  Prefactor      .0000        18.688        .16723E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.8887        7.7862        .33595E-03   -1.5648    
  17  Prefactor      .0000        3.8437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .76661E-07    16.643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2424        .14076        .51996E-01   -.85303    
  20  Prefactor     .92112        .13527        .45274E-01   -.95407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.0818e-08
Minuit parameter uncertainties:
  1  8.19573e-06
  2  0.00533098
  3  0.000293058
  4  1.60265
  5  6.30541
  6  1.76993
  7  2.6441
  8  3.87802
  9  17.3588
  10  4.69416e-07
  11  0.00248862
  12  8.40768e-05
  13  9.17678e-07
  14  8.09162
  15  9.81618e-06
  16  7.78621
  17  1.03977e-05
  18  0.00225885
  19  0.140801
  20  0.135318
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.635e+00  2.644e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  9.211e-01  1.353e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.242e+00  1.408e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.68
Ra Dec: 153.199 24.664
Photon Flux Upper Limit: 3.79e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/719316/likelihoodResults_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.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) = 10232.0270525
delta logL = 0.0605082355141

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10232.0266539
delta logL = 0.060906864659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5969       1.0000          .0000       .10000E+07
     2 'alpha     '    1.7488       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2445       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91968       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10232.03     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      204 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5962        2.6698        .83890E-03    .31183E-02
   2  alpha         1.7474        1.0236        .43787       -.29080E-04
   3  Normalizat    1.2443        .13357        .51961E-01    .82146E-05
   4  Prefactor     .91992        .13494        .45255E-01    .25247E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59623
  alpha      = 1.7474
  Normalizat = 1.24429
  Prefactor  = 0.919915
 **********
 **   18 **HESSE 
 **********

 FCN=   10232.03     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5962        2.5101        .19192E-04   -1.5683    
   2  alpha         1.7474        1.1128        .40340E-01   -.30578    
   3  Normalizat    1.2443        .15795        .22974E-03   -.85245    
   4  Prefactor     .91992        .15956        .26394E-03   -.95449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23246e-09
Minuit parameter uncertainties:
  1  2.51008
  2  1.1578
  3  0.158008
  4  0.159645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/719316': 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) = 10232.026652
delta logL = 0.0609088021956

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.596e+00  2.510e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  1.747e+00  1.158e+00  0.000e+00  5.000e+00 ( 1.000e+00)
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  9.199e-01  1.596e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.244e+00  1.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.68
Ra Dec: 153.199 24.664

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/719316/cmap_HighResolution_695606401_696211201_4FGL_J1012.7+2439_weekly_bin755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.49e-05', job_status='DONE', photon_flux_upper_limit='3.79e-08', time_completed='2023-01-24 01:30:37.746463', job_id='719316', GAL2='0.92', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1674552637.75', return_code2='0', ts='0.68', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.09e-02', ts2='0.80', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='755' AND source_name='4FGL J1012.7+2439' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jan 24 01:30:37 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 719316: <4FGL_J1012.7+2439_weekly_bin755> in cluster <slac> Done

Job <4FGL_J1012.7+2439_weekly_bin755> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jan 24 01:15:28 2023
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 24 01:16:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 24 01:16:12 2023
Terminated at Tue Jan 24 01:30:38 2023
Results reported at Tue Jan 24 01:30:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_weekly_bin755 153.199 24.6638 695606401 696211201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1012.7+2439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   689.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             293.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            910 sec.

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

