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


Performing analysis on: 4FGL_J0152.2+2206_daily_bin1764
RA = 28.0727, Dec = 22.1133
tmin = 696556801, tmax = 696816001
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='434307', job_status='RUN', time_executed='2023-01-31 00:10:29.616373', time_epoch_executed='1675152629.62' WHERE source_name='4FGL J0152.2+2206' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/434307

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/434307/ft1_4FGL_J0152.2+2206_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/434307/ft1_4FGL_J0152.2+2206_daily_bin1764.fits outfile=/scratch/kocevski/434307/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1764.fits ra=28.0727 dec=22.1133 rad=12.0 tmin=696556801.0 tmax=696816001.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 3.74
user 3.48
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.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/434307/ft1_filteredMKT_4FGL_J0152.2+2206_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.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.54
user 0.34
sys 0.18

Number of photons that the gtmktime cut: 872

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/434307/ltcube_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.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/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits
.....................!
real 15.15
user 14.75
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/434307/ltcube_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits outfile=/scratch/kocevski/434307/expmap_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.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/434307/ltcube_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits
.....................!
real 195.04
user 188.92
sys 5.74

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 J0152.2+2206 @ 28.0727 22.1133

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits outfile=/scratch/kocevski/434307/cmap_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.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=28.0727 yref=22.1133 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.40
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits outfile=/scratch/kocevski/434307/cmap_HighResolution_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.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=28.0727 yref=22.1133 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.62
user 0.41
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/434307/Model_4FGL_J0152.2+2206_daily_bin1764.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/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits.....................!
real 102.70
user 101.14
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits', '/scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits', expMap='/scratch/kocevski/434307/expmap_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits', expCube='/scratch/kocevski/434307/ltcube_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/434307/Model_4FGL_J0152.2+2206_daily_bin1764.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0152.2+2206'

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  3.965e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/434307/ft1_filtered_4FGL_J0152.2+2206_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/434307/ft2_4FGL_J0152.2+2206_daily_bin1764.fits
Exposure map: /scratch/kocevski/434307/expmap_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits
Exposure cube: /scratch/kocevski/434307/ltcube_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/434307/Model_4FGL_J0152.2+2206_daily_bin1764.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) = 9220.5018151

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0201       1.0000          .0000       .10000E+07
     2 'Prefactor '    .93661       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10404E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .86430E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .35872E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .68572       1.0000          .0000       .10000E+07
     7 'Prefactor '    .82532       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12144E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .22667E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .11336E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.640       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.0929       1.0000          .0000       .10000E+07
    13 'Prefactor '    .57722E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .78791E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    25.525       1.0000          .0000       .10000E+07
    16 'Prefactor '    57.391       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.2257       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .98797       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9220.500     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1320 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0197        .65013       -.25310E-07    .47186E-02
   2  Prefactor     1.2665        68.164       -.57424E-05   -.31620E-01
   3  Prefactor     .66613E-08    3.5841       -.13289E-05** at limit **
   4  Prefactor     .23870E-07    3.7892       -.21344E-05** at limit **
   5  Prefactor     .17431E-07    13.493        .24896E-06** at limit **
   6  norm          .68585        .50204        .83513E-08   -.27531E-03
   7  Prefactor     .79295        .58032        .11118E-06   -.50694E-02
   8  Prefactor     .50460E-07    5.3003        .27438E-05** at limit **
   9  Prefactor     .21594E-07    4.5415       -.23549E-05** at limit **
  10  norm          .10270E-06    4.7704        .42906E-05** at limit **
  11  Prefactor     10.639        3.8458       -.21894E-08   -.93066E-04
  12  Prefactor     5.0775        6.6663        .32014E-06   -.20232E-02
  13  Prefactor     .93259E-08    10.100       -.41923E-06** at limit **
  14  norm          .27756E-09    25.902        .35449E-06** at limit **
  15  Prefactor     25.924        11.703       -.19835E-05    .24528    
  16  Prefactor     57.269        5.0109        .20118E-06    .25402E-01
  17  Normalizat    1.2256        .21033        .29875E-05   -.11701E-03
  18  Prefactor     .98779        .11648        .66896E-06   -.62773E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.01966
  Prefactor  = 1.26648
  Prefactor  = 6.66134e-09
  Prefactor  = 2.38698e-08
  Prefactor  = 1.74305e-08
  norm       = 0.685852
  Prefactor  = 0.792946
  Prefactor  = 5.04596e-08
  Prefactor  = 2.15938e-08
  norm       = 1.02696e-07
  Prefactor  = 10.6393
  Prefactor  = 5.07751
  Prefactor  = 9.32587e-09
  norm       = 2.77556e-10
  Prefactor  = 25.9242
  Prefactor  = 57.2687
  Normalizat = 1.22561
  Prefactor  = 0.987795
 **********
 **   18 **HESSE 
 **********

 FCN=   9220.500     FROM HESSE     STATUS=OK           280 CALLS     1600 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0197        .64875        .72785E-03   -1.5680    
   2  Prefactor     1.2665        76.028        .43261E-03   -1.5685    
   3  Prefactor     .66613E-08    3.5254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23870E-07    3.7765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17431E-07    13.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .68585        .50555        .61875E-03   -1.5691    
   7  Prefactor     .79295        23.703        .51066E-03   -1.5690    
   8  Prefactor     .50460E-07    5.3169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21594E-07    4.5215        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10270E-06    4.7404        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.639        3.8388        .30690E-03   -1.5643    
  12  Prefactor     5.0775        6.6482        .44529E-03   -1.5663    
  13  Prefactor     .93259E-08    9.8827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .27756E-09    25.886        .14538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     25.924        33.220        .19797E-03   -1.5606    
  16  Prefactor     57.269        46.188        .13201E-03   -1.5557    
  17  Normalizat    1.2256        .18700        .71867E-01   -.85815    
  18  Prefactor     .98779        .10272        .46117E-01   -.93137    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.92034e-06
Minuit parameter uncertainties:
  1  0.648746
  2  19.6255
  3  0.000306372
  4  0.000600414
  5  0.000969165
  6  0.50555
  7  8.67068
  8  0.00103609
  9  0.000624632
  10  0.00139532
  11  3.83882
  12  6.6482
  13  0.000606712
  14  0.000164906
  15  33.2205
  16  46.1884
  17  0.187101
  18  0.102738
Done.

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

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  7.929e-01  8.671e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.677e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.878e-01  1.027e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  1.226e+00  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 28.073 22.113
Photon Flux Upper Limit: 9.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/434307/likelihoodResults_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.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) = 9220.49945617
delta logL = 0.000918603007449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9220.49936586
delta logL = 0.00100891268994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79300       1.0000          .0000       .10000E+07
     2 'Index     '    2.8205       1.0000          .0000       10.000    
     3 'Normalizat'    1.2250       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98797       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+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=   9220.499     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      247 TOTAL
                     EDM=   .98E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79836        25.110        .21383E-04   -.43735E-02
   2  Index         2.8292        3.3483        .27931E-01   -.12134E-03
   3  Normalizat    1.2249        .20498        .31809E-03    .64619E-04
   4  Prefactor     .98798        .11591        .19888E-03   -.91274E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.798358
  Index      = 2.82918
  Normalizat = 1.22491
  Prefactor  = 0.987976
 **********
 **   18 **HESSE 
 **********

 FCN=   9220.499     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79836        20.537        .85533E-06   -1.5690    
   2  Index         2.8292        3.1035        .11172E-02   -.44911    
   3  Normalizat    1.2249        .20525        .12724E-04   -.85836    
   4  Prefactor     .98798        .11597        .39777E-04   -.93131    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03853e-08
Minuit parameter uncertainties:
  1  8.09838
  2  3.42383
  3  0.205385
  4  0.116001
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/434307': 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) = 9220.49936158
delta logL = 0.00101319108398

Extracting fit parameters...

4FGL J0152.2+2206
   Spectrum: PowerLaw
218    Prefactor:  7.984e-01  8.098e+00  0.000e+00  1.000e+06 ( 1.000e-12)
219        Index:  2.829e+00  3.424e+00  0.000e+00  1.000e+01 (-1.000e+00)
220        Scale:  5.002e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  9.880e-01  1.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  1.225e+00  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 28.073 22.113

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/434307/cmap_HighResolution_696556801_696816001_4FGL_J0152.2+2206_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', job_status='DONE', photon_flux_upper_limit='9.76e-08', time_completed='2023-01-31 00:21:23.547414', job_id='434307', GAL2='0.99', fit_tolerance='1e-08', EG2='1.22', EG='1.23', time_epoch_completed='1675153283.55', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.01e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='1764' AND source_name='4FGL J0152.2+2206' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:21:23 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 434307: <4FGL_J0152.2+2206_daily_bin1764> in cluster <slac> Done

Job <4FGL_J0152.2+2206_daily_bin1764> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 31 00:04:46 2023
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:07:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:07:16 2023
Terminated at Tue Jan 31 00:21:24 2023
Results reported at Tue Jan 31 00:21:24 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0152.2+2206_daily_bin1764 28.0727 22.1133 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0152.2+2206 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   655.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            998 sec.

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

