/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 180 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin1334
RA = 333.226, Dec = -25.4335
tmin = 585100801, tmax = 585360001
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='225729', job_status='RUN', time_executed='2021-09-28 07:18:29.660364', time_epoch_executed='1632838709.66' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='1334'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/225729

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/225729/ft1_4FGL_J2212.9-2526_daily_bin1334.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/225729/ft1_4FGL_J2212.9-2526_daily_bin1334.fits outfile=/scratch/kocevski/225729/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1334.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=585100801.0 tmax=585360001.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.03
user 2.79
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.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/225729/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin1334.fits evtable="EVENTS" outfile="/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits" evtable="EVENTS" scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits sctable="SC_DATA" outfile=/scratch/kocevski/225729/ltcube_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.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/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits
.....................!
real 12.50
user 12.14
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits sctable="SC_DATA" expcube=/scratch/kocevski/225729/ltcube_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits outfile=/scratch/kocevski/225729/expmap_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.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/225729/ltcube_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits
.....................!
real 191.12
user 185.61
sys 4.96

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits outfile=/scratch/kocevski/225729/cmap_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.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=333.226 yref=-25.4335 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits outfile=/scratch/kocevski/225729/cmap_HighResolution_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.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=333.226 yref=-25.4335 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits evtable="EVENTS" scfile=/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/225729/Model_4FGL_J2212.9-2526_daily_bin1334.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/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits.....................!
real 32.47
user 30.56
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits', '/scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits', expMap='/scratch/kocevski/225729/expmap_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits', expCube='/scratch/kocevski/225729/ltcube_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/225729/Model_4FGL_J2212.9-2526_daily_bin1334.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/225729/ft1_filtered_4FGL_J2212.9-2526_daily_bin1334.fits
Spacecraft file(s): /scratch/kocevski/225729/ft2_4FGL_J2212.9-2526_daily_bin1334.fits
Exposure map: /scratch/kocevski/225729/expmap_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits
Exposure cube: /scratch/kocevski/225729/ltcube_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/225729/Model_4FGL_J2212.9-2526_daily_bin1334.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) = 2900.23704996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.778       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.101       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.015       1.0000         .10000E-03   10000.    
     4 'norm      '    6.7245       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .16008E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .98652       1.0000         .10000E-03   10000.    
     9 'Prefactor '    95.701       1.0000         .10000E-03   10000.    
    10 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.964       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    51.358       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.8665       1.0000         .10000E-03   10000.    
    17 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.343       1.0000         .10000E-03   10000.    
    20 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.564       1.0000         .10000E-03   10000.    
    23 'norm      '    2.9602       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3284       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2900.226     FROM MIGRAD    STATUS=CONVERGED    602 CALLS     3067 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.778        19.841       -.20992E-07   -.34106E-05
   2  Prefactor     20.101        25.940       -.36825E-06    .14462E-04
   3  Prefactor     45.036        41.705        .60731E-07    .26523E-04
   4  norm          6.7331        23.905       -.85850E-06   -.31593E-04
   5  Prefactor     .10000E-03    914.36       -.23656E-04** at limit **
   6  Prefactor     .10000E-03    26.037        .19933E-06** at limit **
   7  Prefactor     .10000E-03    62.285        .59619E-06** at limit **
   8  norm          .98280        15.946        .51573E-05    .20055E-04
   9  Prefactor     95.676        72.216       -.27169E-05    .16322E-04
  10  norm          .10000E-03    .31456       -.21809E-06** at limit **
  11  Prefactor     18.964        17.181       -.27565E-07   -.90315E-06
  12  Prefactor     .10000E-03    8.6301        .24714E-07** at limit **
  13  Prefactor     .10000E-03    5.7646        .86603E-07** at limit **
  14  Prefactor     .10000E-03    117.58        .19477E-06** at limit **
  15  norm          51.350        43.138        .21216E-06   -.17970E-04
  16  Prefactor     8.8687        22.340        .80450E-06   -.38269E-05
  17  norm          .10000E-03    1.7198       -.12369E-07** at limit **
  18  Prefactor     .10000E-03    52.254       -.33212E-06** at limit **
  19  Prefactor     15.344        19.806        .37350E-06   -.10763E-04
  20  norm          .10000E-03    2.2534       -.34172E-07** at limit **
  21  Prefactor     .10000E-03    8.7147       -.44543E-07** at limit **
  22  Prefactor     20.566        20.219        .12860E-05   -.46423E-04
  23  norm          2.9599        1.5130       -.10327E-06    .13060E-03
  24  Prefactor     .10000E-03    15.706       -.13582E-07** at limit **
  25  Normalizat    1.3282        .37469       -.28157E-05    .23497E-04
  26  Prefactor     1.0247        .29061       -.80024E-06   -.13884E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.7779
  Prefactor  = 20.1006
  Prefactor  = 45.0361
  norm       = 6.73309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.982803
  Prefactor  = 95.676
  norm       = 0.0001
  Prefactor  = 18.964
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 51.3498
  Prefactor  = 8.8687
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.3441
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.5662
  norm       = 2.95987
  Prefactor  = 0.0001
  Normalizat = 1.32824
  Prefactor  = 1.02472
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.226     FROM HESSE     STATUS=OK           460 CALLS     3527 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.778        19.842        .90061E-04   -1.4818    
   2  Prefactor     20.101        25.971        .89335E-04   -1.4811    
   3  Prefactor     45.036        41.737        .29878E-03   -1.4365    
   4  norm          6.7331        23.887        .15473E-03   -1.5189    
   5  Prefactor     .10000E-03    917.68        .40838E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    62.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .98280        16.573        .40352E-03   -1.5510    
   9  Prefactor     95.676        71.646        .20543E-03   -1.3749    
  10  norm          .10000E-03    .46445        .57919E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.964        17.184        .91973E-04   -1.4837    
  12  Prefactor     .10000E-03    8.6311        .15453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7814        .12629E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    117.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          51.350        43.152        .55962E-04   -1.4274    
  16  Prefactor     8.8687        22.534        .13461E-03   -1.5112    
  17  norm          .10000E-03    1.7431        .68933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    52.442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.344        20.014        .10225E-03   -1.4924    
  20  norm          .10000E-03    2.2562        .78902E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.7168        .15524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     20.566        21.071        .44162E-03   -1.4801    
  23  norm          2.9599        1.5629        .35381E-04   -1.5364    
  24  Prefactor     .10000E-03    15.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3282        .47022        .29979E-03   -.82727    
  26  Prefactor     1.0247        .36570        .27692E-03   -.91910    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65445e-11
Minuit parameter uncertainties:
  1  19.8487
  2  25.9861
  3  41.7642
  4  23.9213
  5  0.00102382
  6  1.92255e-06
  7  0.000326376
  8  8.07387
  9  71.7109
  10  1.152e-06
  11  17.1881
  12  3.0064e-06
  13  6.3202e-06
  14  8.14976e-05
  15  43.1778
  16  22.5554
  17  2.28515e-06
  18  0.000208233
  19  20.0231
  20  1.73186e-06
  21  5.27001e-06
  22  21.0789
  23  1.56291
  24  8.36983e-06
  25  0.471747
  26  0.366588
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  3.006e-06  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.025e+00  3.666e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.328e+00  4.717e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 9.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/225729/likelihoodResults_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.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): 102
logL (Free Index) = 2900.22623633
delta logL = -0.000511423647367

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2900.22572504
delta logL = -1.29538875626e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2300       1.0000          .0000       10.000    
     3 'Normalizat'    1.3285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   2900.226     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      264 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.861        .15898E-01** at limit **
   2  Index         1.5824        8.7594        .50000       -.50618E-06
   3  Normalizat    1.3282        .15225E-01    .29979E-03    .99968E-04
   4  Prefactor     1.0247        .12615E-01    .27692E-03    .10863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.58235
  Normalizat = 1.32824
  Prefactor  = 1.02472
 **********
 **   18 **HESSE 
 **********

 FCN=   2900.226     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      291 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    329.86        .19296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5824        8.8833        .50000       -.75259    
   3  Normalizat    1.3282        .43947E-01    .59957E-04   -.82727    
   4  Prefactor     1.0247        .36415E-01    .55384E-04   -.91910    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.59646e-08
Minuit parameter uncertainties:
  1  8.6754e-05
  2  887.721
  3  0.0439485
  4  0.0364155
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/225729': 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) = 2900.22572283
delta logL = 2.07827451959e-06

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.000e-04  8.675e-05  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  1.582e+00  8.877e+02  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.025e+00  3.642e-02  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.328e+00  4.395e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 333.226 -25.433

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/225729/cmap_HighResolution_585100801_585360001_4FGL_J2212.9-2526_daily_bin1334.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2021-09-28 07:28:10.520122', job_id='225729', GAL2='1.02', fit_tolerance='1e-08', EG2='1.33', EG='1.33', time_epoch_completed='1632839290.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='2.08e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='1334' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:28:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 225729: <4FGL_J2212.9-2526_daily_bin1334> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin1334> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:15:19 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:15:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:15:21 2021
Terminated at Tue Sep 28 07:28:11 2021
Results reported at Tue Sep 28 07:28:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin1334 333.226 -25.4335 585100801 585360001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   473.12 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             254.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            772 sec.

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

