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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1773
RA = 183.001, Dec = -23.4494
tmin = 698889601, tmax = 699148801
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='789162', job_status='RUN', time_executed='2023-02-27 09:45:22.454022', time_epoch_executed='1677519922.45' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/789162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/789162/ft1_4FGL_J1212.0-2326_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/789162/ft1_4FGL_J1212.0-2326_daily_bin1773.fits outfile=/scratch/kocevski/789162/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1773.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.95
user 2.72
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.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/789162/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 701

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/789162/ltcube_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.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/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits
.....................!
real 15.15
user 14.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/789162/ltcube_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits outfile=/scratch/kocevski/789162/expmap_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.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/789162/ltcube_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits
.....................!
real 190.46
user 185.35
sys 4.75

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

Setting source of interest to:
4FGL J1212.0-2326 @ 183.001 -23.4494

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits outfile=/scratch/kocevski/789162/cmap_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.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=183.001 yref=-23.4494 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits outfile=/scratch/kocevski/789162/cmap_HighResolution_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.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=183.001 yref=-23.4494 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/789162/Model_4FGL_J1212.0-2326_daily_bin1773.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/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits.....................!
real 65.67
user 64.08
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits', '/scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits', expMap='/scratch/kocevski/789162/expmap_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits', expCube='/scratch/kocevski/789162/ltcube_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/789162/Model_4FGL_J1212.0-2326_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1212.0-2326'

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  1.799e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/789162/ft1_filtered_4FGL_J1212.0-2326_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/789162/ft2_4FGL_J1212.0-2326_daily_bin1773.fits
Exposure map: /scratch/kocevski/789162/expmap_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits
Exposure cube: /scratch/kocevski/789162/ltcube_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/789162/Model_4FGL_J1212.0-2326_daily_bin1773.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) = 7740.23815787

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9072       1.0000          .0000       .10000E+07
     2 'norm      '    .64776E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .70411       1.0000          .0000       .10000E+07
     4 'Prefactor '    10.883       1.0000          .0000       .10000E+07
     5 'norm      '    9.1678       1.0000          .0000       .10000E+07
     6 'Prefactor '    .57397       1.0000          .0000       .10000E+07
     7 'norm      '    3.8667       1.0000          .0000       .10000E+07
     8 'Prefactor '    .80860E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    75.921       1.0000          .0000       .10000E+07
    10 'Prefactor '    46.488       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.882       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.2008       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5836       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.4022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.142       1.0000          .0000       .10000E+07
    16 'norm      '    1.0256       1.0000          .0000       .10000E+07
    17 'Prefactor '    31.007       1.0000          .0000       .10000E+07
    18 'norm      '    .43197E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.0338       1.0000          .0000       .10000E+07
    20 'Normalizat'    1.2190       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0860       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7740.231     FROM MIGRAD    STATUS=CONVERGED    174 CALLS     1773 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9364        17.761       -.16831E-06    .17432E-01
   2  norm           .0000        1.3884        .66746E-08** at limit **
   3  Prefactor     .41705E-05    97.553        .19157E-06** at limit **
   4  Prefactor     10.873        8.0926       -.92337E-08    .49180E-03
   5  norm          9.1633        11.094       -.14108E-07    .33065E-03
   6  Prefactor     .31281E-06    63.534       -.98935E-06** at limit **
   7  norm          3.8859        6.6954       -.26827E-06   -.32229E-02
   8  Prefactor     .78826E-08    10.886       -.16210E-06** at limit **
   9  Prefactor     76.564        30.039        .62352E-07   -.24790    
  10  Prefactor     46.713        13.620        .83169E-07    .62743E-01
  11  Prefactor     13.857        30.894       -.34359E-06   -.11500    
  12  Prefactor     7.2263        9.8552        .81972E-07    .86738E-01
  13  Prefactor     1.5815        8.3725        .10251E-06    .68943E-03
  14  Prefactor     5.4024        2.6432       -.66434E-07   -.26327E-05
  15  Prefactor     14.108        12.833        .15610E-07    .40804E-02
  16  norm          1.0245        .76501        .21448E-08    .20978E-02
  17  Prefactor     33.048        75.366        .66357E-06   -.42615E-01
  18  norm          .11102E-09    24.688       -.47970E-06** at limit **
  19  Prefactor     4.0288        4.0686        .74053E-07    .44432E-02
  20  Normalizat    1.2205        .32028       -.10518E-05   -.73817E-04
  21  Prefactor     1.0855        .14615        .31469E-06   -.82404E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.93636
  norm       = 0
  Prefactor  = 4.1705e-06
  Prefactor  = 10.8735
  norm       = 9.16334
  Prefactor  = 3.12805e-07
  norm       = 3.88586
  Prefactor  = 7.88258e-09
  Prefactor  = 76.5637
  Prefactor  = 46.7125
  Prefactor  = 13.8572
  Prefactor  = 7.22631
  Prefactor  = 1.58148
  Prefactor  = 5.40244
  Prefactor  = 14.1079
  norm       = 1.02449
  Prefactor  = 33.0482
  norm       = 1.11022e-10
  Prefactor  = 4.02875
  Normalizat = 1.22049
  Prefactor  = 1.08548
 **********
 **   18 **HESSE 
 **********

 FCN=   7740.231     FROM HESSE     STATUS=OK           367 CALLS     2140 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9364        18.178        .38150E-03   -1.5655    
   2  norm           .0000        1.3634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .41705E-05    98.975        .60375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.873        8.0722        .30345E-03   -1.5642    
   5  norm          9.1633        11.094        .33076E-03   -1.5647    
   6  Prefactor     .31281E-06    68.117        .71593E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.8859        6.7887        .51293E-03   -1.5669    
   8  Prefactor     .78826E-08    10.814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     76.564        37.621        .11477E-03   -1.5533    
  10  Prefactor     46.713        33.581        .14668E-03   -1.5571    
  11  Prefactor     13.857        48.662        .25937E-03   -1.5634    
  12  Prefactor     7.2263        21.028        .37357E-03   -1.5654    
  13  Prefactor     1.5815        8.5177        .84342E-03   -1.5683    
  14  Prefactor     5.4024        2.6596        .43224E-02   -1.5243    
  15  Prefactor     14.108        12.831        .26608E-03   -1.5633    
  16  norm          1.0245        .77788        .12632E-02   -1.5688    
  17  Prefactor     33.048        79.179        .17961E-03   -1.5593    
  18  norm          .11102E-09    25.587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0288        4.0930        .50183E-03   -1.5668    
  20  Normalizat    1.2205        .27623        .87103E-01   -.85972    
  21  Prefactor     1.0855        .12427        .38143E-01   -.89932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.00716e-06
Minuit parameter uncertainties:
  1  18.1785
  2  3.44966e-06
  3  0.0406344
  4  8.07217
  5  11.0945
  6  0.00923181
  7  6.78867
  8  0.000583413
  9  37.6214
  10  33.5811
  11  48.6629
  12  21.0285
  13  7.34045
  14  2.65965
  15  12.8308
  16  0.777881
  17  79.1817
  18  0.000113487
  19  4.09296
  20  0.276558
  21  0.124302
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  4.671e+01  3.358e+01  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  1.897e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.085e+00  1.243e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.220e+00  2.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.16
Ra Dec: 183.001 -23.449
Photon Index (Fixed Index): 1.90 +/- 0.00
Photon Flux (Fixed Index): 6.31e-08 +/- 4.54e-08
Energy Flux (Fixed Index): 5.70e-05 +/- 4.10e-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) = 7740.2065105
delta logL = 0.0247180927981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7740.20529035
delta logL = 0.0259382468021

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.318       1.0000          .0000       .10000E+07
     2 'Index     '    2.0047       1.0000          .0000       10.000    
     3 'Normalizat'    1.2111       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0868       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   7740.205     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      290 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.322        38.647        .62234E-05   -.19893E-02
   2  Index         2.0052        .51284        .55980E-02   -.50164E-04
   3  Normalizat    1.2105        .30590        .38704E-03   -.67824E-04
   4  Prefactor     1.0871        .14469        .19301E-03    .34528E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.3217
  Index      = 2.00521
  Normalizat = 1.21045
  Prefactor  = 1.08705
 **********
 **   18 **HESSE 
 **********

 FCN=   7740.205     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.322        35.564        .12447E-05   -1.5579    
   2  Index         2.0052        .47143        .22392E-03   -.64220    
   3  Normalizat    1.2105        .30518        .15481E-04   -.86280    
   4  Prefactor     1.0871        .14470        .38602E-04   -.89881    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1664e-10
Minuit parameter uncertainties:
  1  35.564
  2  0.472522
  3  0.305632
  4  0.144748
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/789162': 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) = 7740.20528744
delta logL = 0.0259411514808

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  4.132e+01  3.556e+01  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  2.005e+00  4.725e-01  0.000e+00  1.000e+01 (-1.000e+00)
299        Scale:  4.223e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.087e+00  1.447e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.210e+00  3.056e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.21
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 2.01 +/- 0.47
Photon Flux (Free Index): 7.47e-08 +/- 6.86e-08
Energy Flux (Free Index): 5.10e-05 +/- 3.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/789162/cmap_HighResolution_698889601_699148801_4FGL_J1212.0-2326_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.31e-08', energy_flux2='5.10e-05', photon_flux_error='4.54e-08', dlogl='2.59e-02', energy_flux='5.70e-05', photon_flux2='7.47e-08', job_status='DONE', time_completed='2023-02-27 09:55:29.625714', photon_index_error2='0.47', photon_index2='2.01', ts='9.16', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='3.89e-05', EG='1.22', time_epoch_completed='1677520529.63', return_code='0', job_id='789162', GAL2='1.09', EG2='1.21', return_code2='0', energy_flux_error='4.10e-05', photon_flux_error2='6.86e-08', ts2='9.21', photon_index='1.90' WHERE bin_id='1773' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:55:29 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 789162: <4FGL_J1212.0-2326_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1773> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Feb 27 09:40:15 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:40:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:40:15 2023
Terminated at Mon Feb 27 09:55:38 2023
Results reported at Mon Feb 27 09:55:38 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1773 183.001 -23.4494 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1212.0-2326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   606.07 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

