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


Performing analysis on: 4FGL_J0754.7+4823_daily_bin1771
RA = 118.693, Dec = 48.3932
tmin = 698371201, tmax = 698630401
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='542017', job_status='RUN', time_executed='2023-02-21 00:32:37.340229', time_epoch_executed='1676968357.34' WHERE source_name='4FGL J0754.7+4823' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/542017

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/542017/ft1_4FGL_J0754.7+4823_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/542017/ft1_4FGL_J0754.7+4823_daily_bin1771.fits outfile=/scratch/kocevski/542017/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1771.fits ra=118.693 dec=48.3932 rad=12.0 tmin=698371201.0 tmax=698630401.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.08
user 2.84
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.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/542017/ft1_filteredMKT_4FGL_J0754.7+4823_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.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.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 371

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/542017/ltcube_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.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/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits
.....................!
real 12.78
user 12.40
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/542017/ltcube_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits outfile=/scratch/kocevski/542017/expmap_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.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/542017/ltcube_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits
.....................!
real 190.10
user 184.91
sys 4.82

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

Setting source of interest to:
4FGL J0754.7+4823 @ 118.693 48.3932

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits outfile=/scratch/kocevski/542017/cmap_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.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=118.693 yref=48.3932 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits outfile=/scratch/kocevski/542017/cmap_HighResolution_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.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=118.693 yref=48.3932 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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/542017/Model_4FGL_J0754.7+4823_daily_bin1771.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/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits.....................!
real 49.18
user 47.82
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits', '/scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits', expMap='/scratch/kocevski/542017/expmap_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits', expCube='/scratch/kocevski/542017/ltcube_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/542017/Model_4FGL_J0754.7+4823_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0754.7+4823'

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/542017/ft1_filtered_4FGL_J0754.7+4823_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/542017/ft2_4FGL_J0754.7+4823_daily_bin1771.fits
Exposure map: /scratch/kocevski/542017/expmap_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits
Exposure cube: /scratch/kocevski/542017/ltcube_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/542017/Model_4FGL_J0754.7+4823_daily_bin1771.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) = 4110.75226326

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14743E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .96770E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .49521E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .43020E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    48.628       1.0000          .0000       .10000E+07
     6 'Prefactor '    .38258E-03   1.0000          .0000       .10000E+07
     7 'norm      '    4.7969       1.0000          .0000       .10000E+07
     8 'Prefactor '    46.622       1.0000          .0000       .10000E+07
     9 'Prefactor '    26.108       1.0000          .0000       .10000E+07
    10 'norm      '    4.1130       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.371       1.0000          .0000       .10000E+07
    12 'Prefactor '    19.796       1.0000          .0000       .10000E+07
    13 'norm      '    1.9438       1.0000          .0000       .10000E+07
    14 'Prefactor '    4.7491       1.0000          .0000       .10000E+07
    15 'Prefactor '    106.86       1.0000          .0000       .10000E+07
    16 'Prefactor '    16.398       1.0000          .0000       .10000E+07
    17 'norm      '    .16198E-03   1.0000          .0000       .10000E+07
    18 'norm      '    2.2740       1.0000          .0000       .10000E+07
    19 'Prefactor '    14.447       1.0000          .0000       .10000E+07
    20 'norm      '    1.3785       1.0000          .0000       .10000E+07
    21 'Prefactor '    .35139E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .15598E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    17.705       1.0000          .0000       .10000E+07
    24 'Prefactor '    .20908E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .43345E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .37913E-03   1.0000          .0000       .10000E+07
    27 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    28 'norm      '    .11430E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    35.990       1.0000          .0000       .10000E+07
    30 'Prefactor '    .29638E-04   1.0000          .0000       .10000E+07
    31 'Normalizat'    1.0496       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .81805       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4110.341     FROM MIGRAD    STATUS=CONVERGED    256 CALLS     3202 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1004       -.84299E-09** at limit **
   2  norm          .14211E-07    33.390        .25888E-05** at limit **
   3  norm           .0000        1.9426        .30972E-06** at limit **
   4  Prefactor      .0000        2.5361       -.12831E-06** at limit **
   5  Prefactor     48.069        7.0489       -.38154E-09   -.20502E-01
   6  Prefactor     .17764E-08    30.044       -.10090E-05** at limit **
   7  norm          4.7890        9.5586       -.42016E-08    .18420E-03
   8  Prefactor     46.328        25.162        .13822E-05    .84003E-02
   9  Prefactor     26.454        21.398        .85896E-06    .23143E-01
  10  norm          4.1117        1.5817        .17054E-07   -.21344E-02
  11  Prefactor     14.692        17.741       -.29589E-05    .10958E-01
  12  Prefactor     20.069        25.841        .20992E-05   -.83934E-02
  13  norm          1.9368        3.5912        .66422E-06    .33800E-03
  14  Prefactor     5.2839        13.281       -.17520E-05   -.19299E-01
  15  Prefactor     99.837        131.42       -.23262E-05   -.44859E-02
  16  Prefactor     16.528        12.188        .13436E-05    .25315E-01
  17  norm           .0000        2.3139       -.14380E-06** at limit **
  18  norm          2.2728        2.1937       -.55831E-07   -.25342E-03
  19  Prefactor     14.608        16.496        .45292E-06   -.35689E-02
  20  norm          1.3819        1.2545        .63306E-07   -.90322E-04
  21  Prefactor     .51625E-08    18.370        .46637E-05** at limit **
  22  Prefactor     .11102E-09    11.966       -.61314E-08** at limit **
  23  Prefactor     17.740        10.901        .91437E-07   -.35982E-02
  24  Prefactor     .16653E-08    20.832       -.22906E-05** at limit **
  25  Prefactor      .0000        7.8842       -.26599E-07** at limit **
  26  Prefactor     .56066E-08    16.822        .64659E-06** at limit **
  27  norm           .0000        3.7252       -.68960E-06** at limit **
  28  norm          .55511E-10    5.0929       -.14076E-06** at limit **
  29  Prefactor     36.278        40.040        .29679E-05   -.14536E-01
  30  Prefactor     .19540E-07    287.68        .13560E-05** at limit **
  31  Normalizat    1.0518        .33092       -.14346E-04   -.35516E-04
  32  Prefactor     .81723        .18885       -.94029E-05    .20158E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  norm       = 1.42109e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 48.0686
  Prefactor  = 1.77636e-09
  norm       = 4.78904
  Prefactor  = 46.3278
  Prefactor  = 26.4541
  norm       = 4.11173
  Prefactor  = 14.692
  Prefactor  = 20.0694
  norm       = 1.93676
  Prefactor  = 5.28391
  Prefactor  = 99.8371
  Prefactor  = 16.5275
  norm       = 0
  norm       = 2.27281
  Prefactor  = 14.6078
  norm       = 1.38195
  Prefactor  = 5.16254e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 17.7402
  Prefactor  = 1.66533e-09
  Prefactor  = 0
  Prefactor  = 5.60663e-09
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 36.2781
  Prefactor  = 1.95399e-08
  Normalizat = 1.05177
  Prefactor  = 0.817228
 **********
 **   18 **HESSE 
 **********

 FCN=   4110.341     FROM HESSE     STATUS=OK           727 CALLS     3929 TOTAL
                     EDM=   .92E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.0968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .14211E-07    3.7798        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        1.9458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.5353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     48.069        26.239        .14341E-03   -1.5569    
   6  Prefactor     .17764E-08    30.363        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7890        9.5727        .45911E-03   -1.5664    
   8  Prefactor     46.328        34.998        .14647E-03   -1.5572    
   9  Prefactor     26.454        41.823        .19575E-03   -1.5605    
  10  norm          4.1117        1.5941        .49682E-03   -1.5667    
  11  Prefactor     14.692        19.422        .26395E-03   -1.5631    
  12  Prefactor     20.069        35.964        .22483E-03   -1.5618    
  13  norm          1.9368        3.6515        .74426E-03   -1.5680    
  14  Prefactor     5.2839        19.144        .46147E-03   -1.5662    
  15  Prefactor     99.837        132.67        .96745E-04   -1.5508    
  16  Prefactor     16.528        15.157        .24706E-03   -1.5627    
  17  norm           .0000        2.3124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.2728        2.2020        .68071E-03   -1.5678    
  19  Prefactor     14.608        16.614        .26325E-03   -1.5632    
  20  norm          1.3819        1.2513        .92700E-03   -1.5684    
  21  Prefactor     .51625E-08    18.563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .11102E-09    11.949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     17.740        10.995        .23776E-03   -1.5624    
  24  Prefactor     .16653E-08    20.879        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        7.8925        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .56066E-08    17.006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm           .0000        3.7278        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .55511E-10    5.0978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     36.278        44.716        .16671E-03   -1.5587    
  30  Prefactor     .19540E-07    286.02        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.0518        .28946        .72677E-01   -.91316    
  32  Prefactor     .81723        .16616        .43952E-01   -.99096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.18324e-08
Minuit parameter uncertainties:
  1  4.52273e-07
  2  0.000463119
  3  1.53437e-07
  4  1.87236e-06
  5  26.2386
  6  0.000462707
  7  9.57269
  8  34.9983
  9  41.8235
  10  1.59407
  11  19.4221
  12  35.9641
  13  3.65154
  14  19.1438
  15  132.675
  16  15.1575
  17  1.64151e-06
  18  2.20198
  19  16.6144
  20  1.25129
  21  0.000619323
  22  6.60672e-05
  23  10.9954
  24  0.000371861
  25  2.65809e-05
  26  0.000617094
  27  9.73229e-07
  28  3.02021e-05
  29  44.7162
  30  0.0047282
  31  0.289895
  32  0.16626
Done.

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

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.937e+00  3.652e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  1.983e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.172e-01  1.663e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.052e+00  2.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 118.693 48.393
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/542017/likelihoodResults_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.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) = 4110.19871557
delta logL = 0.142233430485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4110.19028355
delta logL = 0.150665447826

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5673       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6175       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82178       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+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=   4110.190     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5676        3.1969        .11046E-04    .17496E-03
   2  alpha         2.6177        1.2495        .16841E-01    .46936E-05
   3  Normalizat    1.0354        .30609        .32366E-03    .11152E-03
   4  Prefactor     .82166        .18645        .21872E-03    .19930E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56758
  alpha      = 2.61773
  Normalizat = 1.03543
  Prefactor  = 0.821655
 **********
 **   18 **HESSE 
 **********

 FCN=   4110.190     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5676        2.9460        .44186E-06   -1.5683    
   2  alpha         2.6177        1.1590        .67365E-03    .47109E-01
   3  Normalizat    1.0354        .30603        .12946E-04   -.91853    
   4  Prefactor     .82166        .18643        .43745E-04   -.98935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.8904e-11
Minuit parameter uncertainties:
  1  2.94603
  2  1.20528
  3  0.306552
  4  0.186571
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/542017': 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) = 4110.19028323
delta logL = 0.150665775484

Extracting fit parameters...

4FGL J0754.7+4823
   Spectrum: LogParabola
274         norm:  1.568e+00  2.946e+00  0.000e+00  1.000e+06 ( 1.000e-12)
275        alpha:  2.618e+00  1.205e+00  0.000e+00  5.000e+00 ( 1.000e+00)
276         beta:  8.608e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
277           Eb:  1.063e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  8.217e-01  1.866e-01  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  1.035e+00  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.47
Ra Dec: 118.693 48.393

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/542017/cmap_HighResolution_698371201_698630401_4FGL_J0754.7+4823_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-05', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2023-02-21 00:44:25.660117', job_id='542017', GAL2='0.82', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1676969065.66', return_code2='0', ts='0.47', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='1.51e-01', ts2='0.77', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1771' AND source_name='4FGL J0754.7+4823' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:44:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0066>
Subject: Job 542017: <4FGL_J0754.7+4823_daily_bin1771> in cluster <slac> Done

Job <4FGL_J0754.7+4823_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:30:17 2023
Job was executed on host(s) <bullet0066>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:30:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:30:18 2023
Terminated at Tue Feb 21 00:44:26 2023
Results reported at Tue Feb 21 00:44:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0754.7+4823_daily_bin1771 118.693 48.3932 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0754.7+4823 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   710.13 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             267.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            849 sec.

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

