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 123 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_J1230.2+2517_daily_bin1780
RA = 187.56, Dec = 25.2983
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='62596', job_status='RUN', time_executed='2023-03-20 00:52:30.841387', time_epoch_executed='1679298750.84' WHERE source_name='4FGL J1230.2+2517' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62596

Creating custom pfile directory:
/scratch/kocevski/62596/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/62596/ft1_4FGL_J1230.2+2517_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/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62596/ft1_4FGL_J1230.2+2517_daily_bin1780.fits outfile=/scratch/kocevski/62596/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1780.fits ra=187.56 dec=25.2983 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.06
user 3.86
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_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/62596/ft1_filteredMKT_4FGL_J1230.2+2517_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 537

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62596/ltcube_700704001_700963201_4FGL_J1230.2+2517_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/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits
.....................!
real 12.21
user 11.85
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62596/ltcube_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits outfile=/scratch/kocevski/62596/expmap_700704001_700963201_4FGL_J1230.2+2517_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/62596/ltcube_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits
.....................!
real 191.46
user 185.78
sys 5.25

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

Setting source of interest to:
4FGL J1230.2+2517 @ 187.56 25.2983

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits outfile=/scratch/kocevski/62596/cmap_700704001_700963201_4FGL_J1230.2+2517_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=187.56 yref=25.2983 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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits outfile=/scratch/kocevski/62596/cmap_HighResolution_700704001_700963201_4FGL_J1230.2+2517_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=187.56 yref=25.2983 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62596/Model_4FGL_J1230.2+2517_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/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits.....................!
real 55.04
user 53.81
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits', '/scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits', expMap='/scratch/kocevski/62596/expmap_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits', expCube='/scratch/kocevski/62596/ltcube_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62596/Model_4FGL_J1230.2+2517_daily_bin1780.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1230.2+2517'

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  6.557e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/62596/ft1_filtered_4FGL_J1230.2+2517_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/62596/ft2_4FGL_J1230.2+2517_daily_bin1780.fits
Exposure map: /scratch/kocevski/62596/expmap_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits
Exposure cube: /scratch/kocevski/62596/ltcube_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62596/Model_4FGL_J1230.2+2517_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) = 6135.07028294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.014       1.0000          .0000       .10000E+07
     2 'Prefactor '    .71077E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2779       1.0000          .0000       .10000E+07
     4 'norm      '    21.547       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.0370       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0832       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55245E-06   1.0000          .0000       .10000E+07
     8 'norm      '    3.9449       1.0000          .0000       .10000E+07
     9 'Prefactor '    .33370E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .61254E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.5780       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.7518       1.0000          .0000       .10000E+07
    13 'norm      '    .10547E-08   1.0000          .0000       .10000E+07
    14 'norm      '    1.7646       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28725       1.0000          .0000       .10000E+07
    16 'Prefactor '    .42708E-04   1.0000          .0000       .10000E+07
    17 'norm      '    10.412       1.0000          .0000       .10000E+07
    18 'Prefactor '    .14926E-01   1.0000          .0000       .10000E+07
    19 'norm      '    .11292E-05   1.0000          .0000       .10000E+07
    20 'norm      '    18.476       1.0000          .0000       .10000E+07
    21 'norm      '    7.1205       1.0000          .0000       .10000E+07
    22 'norm      '    .11797E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .50699       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3642       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5900E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6135.043     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2031 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.344        27.260       -.77265E-06    .85452E-02
   2  Prefactor     .11102E-09    7.6133       -.24681E-06** at limit **
   3  Prefactor     1.2862        1.7430        .10880E-06   -.28651E-02
   4  norm          21.559        2.8578        .85747E-07   -.56444E-02
   5  Prefactor     5.0378        5.2919        .19332E-05    .67461E-02
   6  Prefactor     1.0826        2.0840        .38441E-06   -.16952E-02
   7  Prefactor      .0000        1.0002       -.23458E-06** at limit **
   8  norm          3.9449        2.6622       -.84555E-06   -.74876E-03
   9  Prefactor     .92389E-05    1.8703       -.21526E-06** at limit **
  10  Prefactor     .42744E-08    8.1632        .10068E-06** at limit **
  11  Prefactor     2.5810        2.3153        .10739E-06   -.20085E-02
  12  Prefactor     1.7440        3.6164        .21842E-06   -.45934E-03
  13  norm           .0000        .19877        .15415E-06** at limit **
  14  norm          1.7673        3.4334        .36558E-06   -.11379E-03
  15  Prefactor     .18381        1.5204       -.17230E-06** at limit **
  16  Prefactor      .0000        3.5899       -.23059E-06** at limit **
  17  norm          10.419        4.7218       -.33774E-06   -.14664E-02
  18  Prefactor     .71720E-05    2.6988       -.37815E-06** at limit **
  19  norm           .0000        1.4783       -.13103E-06** at limit **
  20  norm          18.473        4.7240        .21033E-06   -.31359E-02
  21  norm          7.1275        2.8691        .27160E-06    .44925E-02
  22  norm          .24425E-08    13.569        .37593E-06** at limit **
  23  Normalizat    .50787        .22191       -.27237E-04   -.81783E-04
  24  Prefactor     1.3641        .24025        .84237E-05   -.97431E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.3443
  Prefactor  = 1.11022e-10
  Prefactor  = 1.28619
  norm       = 21.5592
  Prefactor  = 5.0378
  Prefactor  = 1.08258
  Prefactor  = 0
  norm       = 3.94492
  Prefactor  = 9.23889e-06
  Prefactor  = 4.27436e-09
  Prefactor  = 2.58103
  Prefactor  = 1.74399
  norm       = 0
  norm       = 1.76731
  Prefactor  = 0.183811
  Prefactor  = 0
  norm       = 10.4185
  Prefactor  = 7.17199e-06
  norm       = 0
  norm       = 18.4734
  norm       = 7.12745
  norm       = 2.44249e-09
  Normalizat = 0.507869
  Prefactor  = 1.36407
 **********
 **   18 **HESSE 
 **********

 FCN=   6135.043     FROM HESSE     STATUS=OK           479 CALLS     2510 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.344        27.652        .19244E-03   -1.5605    
   2  Prefactor     .11102E-09    7.6241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2862        1.7881        .98209E-03   -1.5685    
   4  norm          21.559        2.8650        .21549E-03   -1.5615    
   5  Prefactor     5.0378        5.4280        .44780E-03   -1.5663    
   6  Prefactor     1.0826        2.6293        .35314E-02   -1.5687    
   7  Prefactor      .0000        .99944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.9449        2.8324        .50765E-03   -1.5668    
   9  Prefactor     .92389E-05    3.8951        .10698E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .42744E-08    1.3483        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.5810        2.3777        .63538E-03   -1.5676    
  12  Prefactor     1.7440        3.6697        .79179E-03   -1.5682    
  13  norm           .0000        .10837        .10147E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.7673        3.4831        .78829E-03   -1.5681    
  15  Prefactor     .18381        6.4872        .10392E-01   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.5934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.419        4.8727        .31027E-03   -1.5643    
  18  Prefactor     .71720E-05    20.078        .11471E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        1.4774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          18.473        10.509        .23273E-03   -1.5622    
  21  norm          7.1275        17.635        .37569E-03   -1.5655    
  22  norm          .24425E-08    13.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .50787        .19998        .82197E-01   -1.1205    
  24  Prefactor     1.3641        .20953        .58551E-01   -.81421    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.33528e-08
Minuit parameter uncertainties:
  1  27.6523
  2  5.54743e-05
  3  1.78811
  4  2.86496
  5  5.42798
  6  2.62929
  7  7.56969e-06
  8  2.8324
  9  0.0119977
  10  0.000152088
  11  2.37765
  12  3.6697
  13  5.39056e-08
  14  3.48312
  15  2.18396
  16  7.92738e-06
  17  4.8727
  18  0.0239999
  19  2.36725e-06
  20  10.5092
  21  17.6349
  22  0.00036525
  23  0.200267
  24  0.209664
Done.

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

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.767e+00  3.483e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.001e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.364e+00  2.097e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  5.079e-01  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 187.560 25.298
Photon Flux Upper Limit: 6.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.03e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/62596/likelihoodResults_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.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) = 6134.96142027
delta logL = 0.081793087189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6134.96085243
delta logL = 0.0823609313857

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6134.961     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      207 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7171        128.79        .80157E-03    .65011E-02
   2  alpha         2.4777        3.2851        .41154        .27840E-04
   3  Normalizat    .50013        .64351E-01    .82805E-01    .40193E-04
   4  Prefactor     1.3677        .68218E-01    .58480E-01   -.33592E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71714
  alpha      = 2.47775
  Normalizat = 0.500131
  Prefactor  = 1.36774
 **********
 **   18 **HESSE 
 **********

 FCN=   6134.961     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7171        3.2423        .15944E-04   -1.5682    
   2  alpha         2.4777        1.2097        .26668E-01   -.89009E-02
   3  Normalizat    .50013        .21335        .36684E-03   -1.1241    
   4  Prefactor     1.3677        .23900        .25856E-03   -.81315    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93268e-12
Minuit parameter uncertainties:
  1  3.24235
  2  1.26267
  3  0.213703
  4  0.239196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62596': 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) = 6134.96085223
delta logL = 0.0823611361657

Extracting fit parameters...

4FGL J1230.2+2517
   Spectrum: LogParabola
325         norm:  1.717e+00  3.242e+00  0.000e+00  1.000e+06 ( 1.000e-12)
326        alpha:  2.478e+00  1.263e+00  0.000e+00  5.000e+00 ( 1.000e+00)
327         beta:  5.434e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
328           Eb:  8.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
587    Prefactor:  1.368e+00  2.392e-01  0.000e+00  1.000e+01 ( 1.000e+00)
588        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
589        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
586   Normalization:  5.001e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.38
Ra Dec: 187.560 25.298

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/62596/cmap_HighResolution_700704001_700963201_4FGL_J1230.2+2517_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.03e-05', job_status='DONE', photon_flux_upper_limit='6.78e-08', time_completed='2023-03-20 01:02:45.100039', job_id='62596', GAL2='1.37', fit_tolerance='1e-08', EG2='0.50', EG='0.51', time_epoch_completed='1679299365.1', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='8.24e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1780' AND source_name='4FGL J1230.2+2517' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:02:45 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 62596: <4FGL_J1230.2+2517_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1230.2+2517_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:50:17 2023
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:50:18 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:50:18 2023
Terminated at Mon Mar 20 01:02:45 2023
Results reported at Mon Mar 20 01:02:45 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1230.2+2517_daily_bin1780 187.56 25.2983 700704001 700963201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1230.2+2517 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   747 sec.
    Turnaround time :                            748 sec.

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

