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


Performing analysis on: 4FGL_J1212.0-2326_daily_bin1765
RA = 183.001, Dec = -23.4494
tmin = 696816001, tmax = 697075201
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='634013', job_status='RUN', time_executed='2023-02-03 00:59:07.195647', time_epoch_executed='1675414747.2' WHERE source_name='4FGL J1212.0-2326' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634013

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634013/ft1_4FGL_J1212.0-2326_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634013/ft1_4FGL_J1212.0-2326_daily_bin1765.fits outfile=/scratch/kocevski/634013/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1765.fits ra=183.001 dec=-23.4494 rad=12.0 tmin=696816001.0 tmax=697075201.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.74
user 3.47
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.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/634013/ft1_filteredMKT_4FGL_J1212.0-2326_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.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.55
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 1016

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/634013/ltcube_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.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/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits
.....................!
real 16.68
user 16.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/634013/ltcube_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits outfile=/scratch/kocevski/634013/expmap_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.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/634013/ltcube_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits
.....................!
real 191.05
user 186.14
sys 4.36

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/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits outfile=/scratch/kocevski/634013/cmap_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.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.57
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits outfile=/scratch/kocevski/634013/cmap_HighResolution_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/634013/Model_4FGL_J1212.0-2326_daily_bin1765.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/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits.....................!
real 82.72
user 81.24
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits', '/scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits', expMap='/scratch/kocevski/634013/expmap_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits', expCube='/scratch/kocevski/634013/ltcube_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/634013/Model_4FGL_J1212.0-2326_daily_bin1765.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/634013/ft1_filtered_4FGL_J1212.0-2326_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/634013/ft2_4FGL_J1212.0-2326_daily_bin1765.fits
Exposure map: /scratch/kocevski/634013/expmap_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits
Exposure cube: /scratch/kocevski/634013/ltcube_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/634013/Model_4FGL_J1212.0-2326_daily_bin1765.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) = 10597.3391794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50724E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .70553       1.0000          .0000       .10000E+07
     3 'Prefactor '    .81731E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .44573E-04   1.0000          .0000       .10000E+07
     5 'norm      '    41.114       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.4016       1.0000          .0000       .10000E+07
     7 'norm      '    .64715E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4239       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.6083       1.0000          .0000       .10000E+07
    10 'Prefactor '    8.7366       1.0000          .0000       .10000E+07
    11 'Prefactor '    .17716E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15526E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .25624E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.8900       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.7852       1.0000          .0000       .10000E+07
    16 'norm      '    2.0112       1.0000          .0000       .10000E+07
    17 'Prefactor '    .10669E-02   1.0000          .0000       .10000E+07
    18 'norm      '    2.7648       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19188E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3898       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .90206       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=   10597.28     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     1311 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44642E-06    6.8518       -.29512E-07** at limit **
   2  norm          .70471        .69320        .37630E-07    .26567E-02
   3  Prefactor     .45880E-06    12.121       -.39998E-07** at limit **
   4  Prefactor      .0000        2.2346        .54438E-07** at limit **
   5  norm          40.310        17.766       -.29831E-08    .93973E-01
   6  Prefactor     5.4028        9.8069        .12608E-06    .49730E-03
   7  norm           .0000        1.2121       -.79924E-07** at limit **
   8  Prefactor     2.4690        4.3784       -.56678E-07    .16564E-02
   9  Prefactor     2.0559        32.812        .21835E-07   -.26399E-01
  10  Prefactor     8.2107        14.473       -.84553E-07   -.29187E-02
  11  Prefactor     .30032E-07    72.039        .14455E-08** at limit **
  12  Prefactor      .0000        3.6461        .13145E-06** at limit **
  13  Prefactor      .0000        3.7643        .13348E-06** at limit **
  14  Prefactor     6.8879        2.0679        .18161E-06    .20984E-03
  15  Prefactor     7.7614        8.1653        .26623E-07    .49213E-03
  16  norm          2.0098        .79844       -.73613E-08   -.15157E-02
  17  Prefactor     .74940E-08    14.584       -.18075E-07** at limit **
  18  norm          2.7606        3.1739       -.67368E-07   -.98421E-03
  19  Prefactor      .0000        1.0319       -.70651E-07** at limit **
  20  Normalizat    1.3902        .21450        .15221E-05    .31834E-04
  21  Prefactor     .90261        .10954       -.76104E-06    .13697E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46421e-07
  norm       = 0.704715
  Prefactor  = 4.588e-07
  Prefactor  = 0
  norm       = 40.3104
  Prefactor  = 5.40277
  norm       = 0
  Prefactor  = 2.46901
  Prefactor  = 2.05587
  Prefactor  = 8.21069
  Prefactor  = 3.00315e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.88791
  Prefactor  = 7.76137
  norm       = 2.00985
  Prefactor  = 7.49401e-09
  norm       = 2.76063
  Prefactor  = 0
  Normalizat = 1.39022
  Prefactor  = 0.902615
 **********
 **   18 **HESSE 
 **********

 FCN=   10597.28     FROM HESSE     STATUS=OK           359 CALLS     1670 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44642E-06    20.354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .70471        .70558        .60260E-03   -1.5691    
   3  Prefactor     .45880E-06    17.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.2276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          40.310        23.289        .15597E-03   -1.5581    
   6  Prefactor     5.4028        9.8153        .43214E-03   -1.5661    
   7  norm           .0000        1.2154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4690        4.9380        .65711E-03   -1.5677    
   9  Prefactor     2.0559        87.463        .63136E-03   -1.5679    
  10  Prefactor     8.2107        14.486        .33888E-03   -1.5651    
  11  Prefactor     .30032E-07    71.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        3.6552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.7497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8879        2.0678        .38212E-02   -1.5183    
  15  Prefactor     7.7614        8.1682        .35914E-03   -1.5652    
  16  norm          2.0098        .80097        .72970E-03   -1.5680    
  17  Prefactor     .74940E-08    14.822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.7606        3.1834        .61185E-03   -1.5675    
  19  Prefactor      .0000        1.0320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3902        .18149        .69186E-01   -.80912    
  21  Prefactor     .90261        .92486E-01    .45031E-01   -.96050    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.25658e-07
Minuit parameter uncertainties:
  1  0.00602872
  2  0.705578
  3  0.00560128
  4  5.62459e-06
  5  23.2886
  6  9.81531
  7  4.20097e-06
  8  4.93797
  9  26.8193
  10  14.4861
  11  0.00293266
  12  1.64723e-05
  13  6.22294e-06
  14  2.06779
  15  8.16818
  16  0.800969
  17  0.000667178
  18  3.18341
  19  3.62333e-06
  20  0.181571
  21  0.0925023
Done.

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

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  8.211e+00  1.449e+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:  9.026e-01  9.250e-02  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.390e+00  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.47
Ra Dec: 183.001 -23.449
Photon Flux Upper Limit: 6.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/634013/likelihoodResults_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.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) = 10596.2358466
delta logL = 1.04270099106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10596.1525097
delta logL = 1.12603793371

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86764       1.0000          .0000       .10000E+07
     2 'Index     '    3.2898       1.0000          .0000       10.000    
     3 'Normalizat'    1.3098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92135       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.

 FCN=   10596.15     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      269 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86411        8.8639        .48023E-03    .11420E-01
   2  Index         3.2912        1.6140        .68761E-01    .36624E-03
   3  Normalizat    1.3098        .56282E-01    .70868E-01   -.90987E-04
   4  Prefactor     .92140        .27904E-01    .45277E-01   -.20818E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.864109
  Index      = 3.29123
  Normalizat = 1.30978
  Prefactor  = 0.921403
 **********
 **   18 **HESSE 
 **********

 FCN=   10596.15     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      300 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86411        17.668        .60242E-05   -1.5689    
   2  Index         3.2912        2.6901        .35418E-02   -.34878    
   3  Normalizat    1.3098        .19998        .31357E-03   -.83275    
   4  Prefactor     .92140        .98589E-01    .18823E-03   -.95397    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.18618e-06
Minuit parameter uncertainties:
  1  7.81474
  2  2.86422
  3  0.200094
  4  0.0986084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634013': 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): 102
logL (Free Index) = 10596.1525081
delta logL = 1.12603947994

Extracting fit parameters...

4FGL J1212.0-2326
   Spectrum: PowerLaw
297    Prefactor:  8.641e-01  7.815e+00  0.000e+00  1.000e+06 ( 1.000e-14)
298        Index:  3.291e+00  2.864e+00  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:  9.214e-01  9.861e-02  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.310e+00  2.001e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.80
Ra Dec: 183.001 -23.449
Photon Index (Free Index): 3.29 +/- 2.86
Photon Flux (Free Index): 8.47e-08 +/- 6.70e-08
Energy Flux (Free Index): 1.50e-05 +/- 1.25e-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/634013/cmap_HighResolution_696816001_697075201_4FGL_J1212.0-2326_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.88e-03', comment='SUCCESS', energy_flux2='1.50e-05', dlogl='1.13e+00', photon_flux2='8.47e-08', job_status='DONE', time_completed='2023-02-03 01:11:15.703244', photon_index_error2='2.86', photon_index2='3.29', ts='0.47', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='6.56e-08', energy_flux_error2='1.25e-05', EG='1.39', time_epoch_completed='1675415475.7', return_code='0', job_id='634013', GAL2='0.92', EG2='1.31', return_code2='102', photon_flux_error2='6.70e-08', ts2='2.80', photon_index='1.90' WHERE bin_id='1765' AND source_name='4FGL J1212.0-2326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:11:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 634013: <4FGL_J1212.0-2326_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1212.0-2326_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:55:14 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:55:45 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:55:45 2023
Terminated at Fri Feb  3 01:11:16 2023
Results reported at Fri Feb  3 01:11:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1212.0-2326_daily_bin1765 183.001 -23.4494 696816001 697075201 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 :                                   730.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             286.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            962 sec.

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

