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


Performing analysis on: 4FGL_J0144.6+2705_daily_bin1780
RA = 26.1502, Dec = 27.0899
tmin = 700704001, tmax = 700963201
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='49100', job_status='RUN', time_executed='2023-03-20 00:05:53.759979', time_epoch_executed='1679295953.76' WHERE source_name='4FGL J0144.6+2705' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/49100

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/49100/ft1_4FGL_J0144.6+2705_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/49100/ft1_4FGL_J0144.6+2705_daily_bin1780.fits outfile=/scratch/kocevski/49100/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1780.fits ra=26.1502 dec=27.0899 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.15
user 3.89
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.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/49100/ft1_filteredMKT_4FGL_J0144.6+2705_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.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.56
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 620

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/49100/ltcube_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.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/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits
.....................!
real 12.37
user 11.97
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/49100/ltcube_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits outfile=/scratch/kocevski/49100/expmap_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.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/49100/ltcube_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits
.....................!
real 191.33
user 185.86
sys 5.06

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

Setting source of interest to:
4FGL J0144.6+2705 @ 26.1502 27.0899

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits outfile=/scratch/kocevski/49100/cmap_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.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=26.1502 yref=27.0899 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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits outfile=/scratch/kocevski/49100/cmap_HighResolution_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.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=26.1502 yref=27.0899 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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/49100/Model_4FGL_J0144.6+2705_daily_bin1780.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/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits....................!
real 75.84
user 73.76
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits', '/scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits', expMap='/scratch/kocevski/49100/expmap_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits', expCube='/scratch/kocevski/49100/ltcube_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/49100/Model_4FGL_J0144.6+2705_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0144.6+2705'

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.270e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/49100/ft1_filtered_4FGL_J0144.6+2705_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/49100/ft2_4FGL_J0144.6+2705_daily_bin1780.fits
Exposure map: /scratch/kocevski/49100/expmap_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits
Exposure cube: /scratch/kocevski/49100/ltcube_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/49100/Model_4FGL_J0144.6+2705_daily_bin1780.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) = 6493.65771335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59176E-02   1.0000          .0000       .10000E+07
     2 'norm      '    3.6605       1.0000          .0000       .10000E+07
     3 'norm      '    20.344       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13587E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14842E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .78326E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .42424E-03   1.0000          .0000       .10000E+07
     8 'norm      '    1.2841       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24930E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    11.992       1.0000          .0000       .10000E+07
    11 'Prefactor '    39.634       1.0000          .0000       .10000E+07
    12 'norm      '    .19013E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .79714E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    .42449E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .72351       1.0000          .0000       .10000E+07
    16 'norm      '    .22463E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .52684E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .10991E-04   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2453       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95253       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6493.626     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1186 TOTAL
                     EDM=   .93E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37192E-08    6.7243       -.45875E-05** at limit **
   2  norm          3.6608        1.1348       -.76891E-06    .14342E-02
   3  norm          20.345        3.3185       -.19655E-06   -.59442E-02
   4  Prefactor     .51070E-08    57.372       -.14574E-04** at limit **
   5  Prefactor     .18319E-08    4.0559       -.67613E-05** at limit **
   6  Prefactor     .16653E-09    4.8463       -.35379E-05** at limit **
   7  Prefactor     .12379E-06    9.7634        .10045E-04** at limit **
   8  norm          1.2834        .76009        .49361E-06    .13383E-01
   9  Prefactor     .14710E-06    10.002       -.41312E-05** at limit **
  10  Prefactor     12.037        2.1498        .93760E-06    .11435    
  11  Prefactor     39.458        1.2053        .99917E-07    .17572E-02
  12  norm          .88818E-09    2.5056        .23161E-05** at limit **
  13  Prefactor     .49960E-09    4.0158        .31595E-06** at limit **
  14  Prefactor      .0000        2.5467       -.73545E-06** at limit **
  15  norm          .72347        .54706        .72387E-06    .37822E-02
  16  norm          .11657E-08    28.652        .97513E-05** at limit **
  17  Prefactor     .11102E-09    21.702       -.69368E-05** at limit **
  18  norm          .63449E-07    6.2718        .70314E-05** at limit **
  19  Normalizat    1.2453        .27589       -.64770E-04    .26920E-04
  20  Prefactor     .95266        .15858        .20614E-04   -.12696E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.71925e-09
  norm       = 3.66083
  norm       = 20.3449
  Prefactor  = 5.10703e-09
  Prefactor  = 1.83187e-09
  Prefactor  = 1.66533e-10
  Prefactor  = 1.2379e-07
  norm       = 1.28344
  Prefactor  = 1.47105e-07
  Prefactor  = 12.0373
  Prefactor  = 39.4581
  norm       = 8.88178e-10
  Prefactor  = 4.996e-10
  Prefactor  = 0
  norm       = 0.723467
  norm       = 1.16573e-09
  Prefactor  = 1.11022e-10
  norm       = 6.34492e-08
  Normalizat = 1.24533
  Prefactor  = 0.95266
 **********
 **   18 **HESSE 
 **********

 FCN=   6493.626     FROM HESSE     STATUS=OK           329 CALLS     1515 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37192E-08    6.7765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.6608        1.1348        .52772E-03   -1.5670    
   3  norm          20.345        3.3192        .22178E-03   -1.5618    
   4  Prefactor     .51070E-08    57.266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .18319E-08    4.0728        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    4.8674        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12379E-06    11.855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2834        .76979        .97831E-03   -1.5685    
   9  Prefactor     .14710E-06    13.424        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.037        12.696        .28902E-03   -1.5639    
  11  Prefactor     39.458        24.987        .15886E-03   -1.5582    
  12  norm          .88818E-09    2.5150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .49960E-09    4.0353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .72347        .55244        .58820E-03   -1.5691    
  16  norm          .11657E-08    28.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .11102E-09    21.689        .15435E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .63449E-07    1.6532        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2453        .23342        .72383E-01   -.85213    
  20  Prefactor     .95266        .13365        .45671E-01   -.94325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9972e-07
Minuit parameter uncertainties:
  1  0.000317824
  2  1.1348
  3  3.31919
  4  0.00107916
  5  0.000171788
  6  5.20567e-05
  7  0.00242292
  8  0.769791
  9  0.00281049
  10  12.6959
  11  24.987
  12  9.39003e-05
  13  9.03624e-05
  14  1.30178e-05
  15  0.552436
  16  0.000362812
  17  9.30442e-05
  18  0.000647723
  19  0.233613
  20  0.133695
Done.

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

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.283e+00  7.698e-01  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.033e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
245         beta:  8.399e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.527e-01  1.337e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.245e+00  2.336e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.68
Ra Dec: 26.150 27.090
Photon Index (Fixed Index): 2.03 +/- 0.00
Photon Flux (Fixed Index): 6.51e-08 +/- 3.90e-08
Energy Flux (Fixed Index): 3.43e-05 +/- 2.06e-05

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) = 6493.56345477
delta logL = 0.0627225311891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6493.55815246
delta logL = 0.0680248352319

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6493.558     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2143        13.851        .10256E-02    .16068E-01
   2  alpha         2.2252        3.4841        .34451        .85091E-04
   3  Normalizat    1.2308        .10271        .72742E-01    .89565E-06
   4  Prefactor     .95776        .52059E-01    .45738E-01    .10008E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21432
  alpha      = 2.22523
  Normalizat = 1.23078
  Prefactor  = 0.957759
 **********
 **   18 **HESSE 
 **********

 FCN=   6493.558     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2143        .77445        .50046E-05   -1.5686    
   2  alpha         2.2252        .53879        .12868E-01   -.11013    
   3  Normalizat    1.2308        .27642        .32190E-03   -.85657    
   4  Prefactor     .95776        .15915        .20729E-03   -.94151    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75316e-10
Minuit parameter uncertainties:
  1  0.774454
  2  0.543109
  3  0.276751
  4  0.159228
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/49100': 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) = 6493.55815159
delta logL = 0.0680257051454

Extracting fit parameters...

4FGL J0144.6+2705
   Spectrum: LogParabola
243         norm:  1.214e+00  7.745e-01  0.000e+00  1.000e+06 ( 1.000e-11)
244        alpha:  2.225e+00  5.431e-01  0.000e+00  5.000e+00 ( 1.000e+00)
245         beta:  8.399e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
246           Eb:  7.595e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  9.578e-01  1.592e-01  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  1.231e+00  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.78
Ra Dec: 26.150 27.090
Photon Index (Free Index): 2.23 +/- 0.54
Photon Flux (Free Index): 7.60e-08 +/- 5.18e-08
Energy Flux (Free Index): 3.02e-05 +/- 2.03e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/49100/cmap_HighResolution_700704001_700963201_4FGL_J0144.6+2705_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.51e-08', energy_flux2='3.02e-05', photon_flux_error='3.90e-08', dlogl='6.80e-02', energy_flux='3.43e-05', photon_flux2='7.60e-08', job_status='DONE', time_completed='2023-03-20 00:14:26.042865', photon_index_error2='0.54', photon_index2='2.23', ts='5.68', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.03e-05', EG='1.25', time_epoch_completed='1679296466.04', return_code='0', job_id='49100', GAL2='0.96', EG2='1.23', return_code2='0', energy_flux_error='2.06e-05', photon_flux_error2='5.18e-08', ts2='5.78', photon_index='2.03' WHERE bin_id='1780' AND source_name='4FGL J0144.6+2705' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:14:26 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 49100: <4FGL_J0144.6+2705_daily_bin1780> in cluster <slac> Done

Job <4FGL_J0144.6+2705_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 00:05:02 2023
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:05:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:05:02 2023
Terminated at Mon Mar 20 00:14:26 2023
Results reported at Mon Mar 20 00:14:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0144.6+2705_daily_bin1780 26.1502 27.0899 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0144.6+2705 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   513.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             362.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   564 sec.
    Turnaround time :                            564 sec.

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

