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 30 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0137.6-2430_daily_bin1695
RA = 24.4069, Dec = -24.5163
tmin = 678672001, tmax = 678931201
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='720447', job_status='RUN', time_executed='2022-07-08 00:05:35.766620', time_epoch_executed='1657263935.77' WHERE source_name='4FGL J0137.6-2430' and cadence='daily' and bin_id='1695'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/720447

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/720447/ft1_4FGL_J0137.6-2430_daily_bin1695.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/720447/ft1_4FGL_J0137.6-2430_daily_bin1695.fits outfile=/scratch/kocevski/720447/ft1_filteredMKT_4FGL_J0137.6-2430_daily_bin1695.fits ra=24.4069 dec=-24.5163 rad=12.0 tmin=678672001.0 tmax=678931201.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 5.10
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.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/720447/ft1_filteredMKT_4FGL_J0137.6-2430_daily_bin1695.fits evtable="EVENTS" outfile="/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.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.80
user 0.32
sys 0.14

Number of photons that the gtmktime cut: 442

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits" evtable="EVENTS" scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits sctable="SC_DATA" outfile=/scratch/kocevski/720447/ltcube_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.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/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits
.....................!
real 12.02
user 11.39
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits sctable="SC_DATA" expcube=/scratch/kocevski/720447/ltcube_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits outfile=/scratch/kocevski/720447/expmap_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.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/720447/ltcube_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits
.....................!
real 191.57
user 185.49
sys 5.09

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

Setting source of interest to:
4FGL J0137.6-2430 @ 24.4069 -24.5163

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits outfile=/scratch/kocevski/720447/cmap_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.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=24.4069 yref=-24.5163 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 1.54
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits outfile=/scratch/kocevski/720447/cmap_HighResolution_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.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=24.4069 yref=-24.5163 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 1.06
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits evtable="EVENTS" scfile=/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/720447/Model_4FGL_J0137.6-2430_daily_bin1695.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/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits.....................!
real 63.37
user 42.71
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits', '/scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits', expMap='/scratch/kocevski/720447/expmap_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits', expCube='/scratch/kocevski/720447/ltcube_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/720447/Model_4FGL_J0137.6-2430_daily_bin1695.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0137.6-2430'

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.902e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.406e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/720447/ft1_filtered_4FGL_J0137.6-2430_daily_bin1695.fits
Spacecraft file(s): /scratch/kocevski/720447/ft2_4FGL_J0137.6-2430_daily_bin1695.fits
Exposure map: /scratch/kocevski/720447/expmap_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits
Exposure cube: /scratch/kocevski/720447/ltcube_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/720447/Model_4FGL_J0137.6-2430_daily_bin1695.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) = 4960.62244641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    130.78       1.0000         .10000E-03   10000.    
     2 'norm      '    9.8232       1.0000         .10000E-03   10000.    
     3 'norm      '    5.3943       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.4975       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7028       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.7353       1.0000         .10000E-03   10000.    
     7 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.6032       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.4383       1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.067       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    4.9532       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.0488       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1056       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .73778       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4960.615     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2149 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     130.67        132.55       -.95921E-04    .25239E-05
   2  norm          9.8253        11.564        .45481E-05    .40013E-04
   3  norm          5.3938        4.6685       -.28188E-06   -.95291E-04
   4  Prefactor     6.4997        8.3654        .19788E-05   -.17077E-04
   5  Prefactor     2.7024        9.9890       -.12475E-05   -.18093E-03
   6  Prefactor     4.7377        6.2940        .52563E-06   -.40077E-04
   7  norm          .10000E-03    .92188        .82601E-07** at limit **
   8  norm          3.6037        2.3783       -.11049E-06    .13215E-03
   9  Prefactor     .10000E-03    8.6570       -.10482E-06** at limit **
  10  Prefactor     .10000E-03    1.6719       -.24174E-07** at limit **
  11  norm          1.4383        1.0684       -.22481E-06   -.15154E-02
  12  norm          .10000E-03    .48380       -.33673E-07** at limit **
  13  Prefactor     12.068        6.1471       -.29509E-06    .69369E-04
  14  norm          .10000E-03    2.1626       -.66813E-06** at limit **
  15  Prefactor     .10000E-03    20.149        .12394E-08** at limit **
  16  norm          4.9531        2.2829       -.21486E-06   -.30449E-04
  17  Prefactor     .10000E-03    2.8494       -.29627E-07** at limit **
  18  Prefactor     4.0485        3.9152       -.35419E-06   -.76235E-04
  19  Prefactor     .10000E-03    3.7095       -.12570E-06** at limit **
  20  Normalizat    1.1054        .17704        .43276E-05   -.19386E-04
  21  Prefactor     .73811        .20122       -.31873E-07    .21629E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 130.674
  norm       = 9.82528
  norm       = 5.39384
  Prefactor  = 6.49972
  Prefactor  = 2.70242
  Prefactor  = 4.73769
  norm       = 0.0001
  norm       = 3.60369
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.4383
  norm       = 0.0001
  Prefactor  = 12.0679
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 4.95306
  Prefactor  = 0.0001
  Prefactor  = 4.04848
  Prefactor  = 0.0001
  Normalizat = 1.10538
  Prefactor  = 0.738112
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.615     FROM HESSE     STATUS=OK           323 CALLS     2472 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     130.67        132.55        .17604E-03   -1.3417    
   2  norm          9.8253        11.562        .12785E-03   -1.5081    
   3  norm          5.3938        4.6705        .68674E-03   -1.5243    
   4  Prefactor     6.4997        8.3390        .15744E-03   -1.5198    
   5  Prefactor     2.7024        9.9319        .24778E-03   -1.5379    
   6  Prefactor     4.7377        6.1840        .18491E-03   -1.5273    
   7  norm          .10000E-03    1.3431        .12905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.6037        2.3792        .85145E-04   -1.5328    
   9  Prefactor     .10000E-03    8.6959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.6864        .88873E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4383        1.0689        .17991E-03   -1.5468    
  12  norm          .10000E-03    .48617        .47827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.068        6.1523        .11532E-03   -1.5013    
  14  norm          .10000E-03    4.7668        .19856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    20.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.9531        2.2815        .69458E-04   -1.5263    
  17  Prefactor     .10000E-03    2.8531        .11611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.0485        3.9120        .13262E-03   -1.5306    
  19  Prefactor     .10000E-03    3.7444        .13243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1054        .20688        .20811E-03   -.89579    
  21  Prefactor     .73811        .23617        .28956E-03   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06868e-09
Minuit parameter uncertainties:
  1  132.853
  2  11.5643
  3  4.67084
  4  8.34049
  5  9.93792
  6  6.18479
  7  9.27953e-06
  8  2.37927
  9  2.2043e-05
  10  3.69976e-06
  11  1.06896
  12  2.06855e-06
  13  6.15266
  14  0.000149283
  15  3.21915e-05
  16  2.28151
  17  6.03948e-06
  18  3.91228
  19  2.09764e-05
  20  0.207028
  21  0.236492
Done.

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

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  2.069e-06  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.406e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  7.381e-01  2.365e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  1.105e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 24.407 -24.516
Photon Flux Upper Limit: 4.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/720447/likelihoodResults_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.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) = 4960.61489932
delta logL = -8.23835271149e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4960.61481829
delta logL = -1.35564278025e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4098       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1056       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73806       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+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=   4960.615     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      241 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50665        .47834E-03** at limit **
   2  alpha         2.5589        3.1605        .16474        .11870E-07
   3  Normalizat    1.1054        .20177        .20811E-03   -.17574E-03
   4  Prefactor     .73811        .23467        .28956E-03   -.13474E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.5589
  Normalizat = 1.10538
  Prefactor  = 0.738107
 **********
 **   18 **HESSE 
 **********

 FCN=   4960.615     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .48882        .95669E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5589        2.7486        .65897E-02    .23560E-01
   3  Normalizat    1.1054        .20195        .41622E-04   -.89579    
   4  Prefactor     .73811        .23488        .11583E-04   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39627e-11
Minuit parameter uncertainties:
  1  4.23325e-07
  2  149.804
  3  0.202094
  4  0.235199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/720447': 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) = 4960.61481638
delta logL = 5.5709733715e-07

Extracting fit parameters...

4FGL J0137.6-2430
   Spectrum: LogParabola
274         norm:  1.000e-04  4.233e-07  1.000e-04  1.000e+04 ( 1.000e-11)
275        alpha:  2.559e+00  1.498e+02  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  1.159e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  3.788e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  7.381e-01  2.352e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  1.105e+00  2.021e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 24.407 -24.516

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/720447/cmap_HighResolution_678672001_678931201_4FGL_J0137.6-2430_daily_bin1695.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-05', job_status='DONE', photon_flux_upper_limit='4.21e-08', time_completed='2022-07-08 00:15:21.698933', job_id='720447', GAL2='0.74', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1657264521.7', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='5.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1695' AND source_name='4FGL J0137.6-2430' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul  8 00:15:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 720447: <4FGL_J0137.6-2430_daily_bin1695> in cluster <slac> Done

Job <4FGL_J0137.6-2430_daily_bin1695> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul  8 00:04:49 2022
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul  8 00:04:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul  8 00:04:50 2022
Terminated at Fri Jul  8 00:15:22 2022
Results reported at Fri Jul  8 00:15:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0137.6-2430_daily_bin1695 24.4069 -24.5163 678672001 678931201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0137.6-2430 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   520.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            633 sec.

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

